From f05d6f0e8ccb353d0b69fe3a109199e01afedf15 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 12 Dec 2024 23:57:46 +0000 Subject: [PATCH] =?UTF-8?q?build(release):=20=F0=9F=9A=80=20v10.0.0-next.1?= =?UTF-8?q?=20=F0=9F=A6=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # [10.0.0-next.1](https://github.com/readmeio/rdme/compare/v9.0.5...v10.0.0-next.1) (2024-12-12) * feat!: v10 release ([#1113](https://github.com/readmeio/rdme/issues/1113)) ([f260a00](https://github.com/readmeio/rdme/commit/f260a004d53a4ece9d33236b1d66665cab3ba68e)) ### BREAKING CHANGES * `categories`, `custompages`, `docs` and `versions` have now been removed. Please use a bidirectional syncing workflow instead. Read more in [our migration guide](https://github.com/readmeio/rdme/tree/v10/documentation/migration-guide.md). * `rdme openapi` has been replaced by `rdme openapi upload`. Read more in [our migration guide](https://github.com/readmeio/rdme/tree/v10/documentation/migration-guide.md). [skip ci] --- CHANGELOG.md | 16 ++++++++++++++++ dist-gha/commands.js | 38 +++++++++++++++++++------------------- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 38 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5a81b980..7d229074b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# [10.0.0-next.1](https://github.com/readmeio/rdme/compare/v9.0.5...v10.0.0-next.1) (2024-12-12) + + +* feat!: v10 release ([#1113](https://github.com/readmeio/rdme/issues/1113)) ([f260a00](https://github.com/readmeio/rdme/commit/f260a004d53a4ece9d33236b1d66665cab3ba68e)) + + +### BREAKING CHANGES + +* `categories`, `custompages`, `docs` and `versions` have +now been removed. Please use a bidirectional syncing workflow instead. +Read more in [our migration +guide](https://github.com/readmeio/rdme/tree/v10/documentation/migration-guide.md). +* `rdme openapi` has been replaced by `rdme openapi +upload`. Read more in [our migration +guide](https://github.com/readmeio/rdme/tree/v10/documentation/migration-guide.md). + ## [9.0.5](https://github.com/readmeio/rdme/compare/v9.0.4...v9.0.5) (2024-12-12) diff --git a/dist-gha/commands.js b/dist-gha/commands.js index ef253d0b8..8fcb1c983 100644 --- a/dist-gha/commands.js +++ b/dist-gha/commands.js @@ -1,4 +1,4 @@ -import require$$0$6,{fileURLToPath}from"node:url";import fs$6,{readFileSync}from"node:fs";import fs$7,{constants as constants$9}from"node:fs/promises";import require$$1$2,{format as format$5,promisify}from"node:util";import path$1 from"node:path";import require$$0$7 from"fs";import require$$0$8 from"path";import require$$0$9 from"os";import os$1 from"node:os";import require$$1$1 from"tty";import*as require$$0$5 from"util";import require$$0__default from"util";import require$$6$1 from"inspector";import require$$0$a from"node:perf_hooks";import require$$0$b from"stream";import require$$0$c from"events";import require$$0$d from"node:readline";import process$2 from"node:process";import tty from"node:tty";import require$$0$e from"crypto";import require$$2$1 from"http";import require$$1$4 from"https";import require$$0$g from"net";import require$$1$3 from"tls";import require$$0$f from"assert";import require$$7$1 from"buffer";import require$$8 from"querystring";import require$$13 from"stream/web";import require$$0$i from"node:stream";import require$$0$h,{EventEmitter}from"node:events";import require$$0$j from"worker_threads";import require$$2$2 from"perf_hooks";import require$$5$1 from"util/types";import require$$4$2 from"async_hooks";import require$$1$5 from"console";import require$$0$k from"url";import zlib from"zlib";import require$$6$2 from"string_decoder";import require$$0$l from"diagnostics_channel";import require$$2$3,{spawn}from"child_process";import require$$6$3 from"timers";import require$$0$m from"readline";import require$$0$n from"constants";import crypto from"node:crypto";import{Buffer as Buffer$1}from"node:buffer";import childProcess,{execFile}from"node:child_process";import vm from"vm";var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lib$h={},util$f={},hasRequiredUtil$f;function requireUtil$f(){if(hasRequiredUtil$f)return util$f;function e(t,n){if(t=void 0===t?0:t,n=void 0===n?0:n,Array.isArray(t)&&Array.isArray(n)){if(0===t.length&&0===n.length)return 0;const r=e(t[0],n[0]);return 0!==r?r:e(t.slice(1),n.slice(1))}return tn?1:0}return hasRequiredUtil$f=1,Object.defineProperty(util$f,"__esModule",{value:!0}),util$f.pickBy=function(e,t){return Object.entries(e).reduce(((e,[n,r])=>(t(r)&&(e[n]=r),e)),{})},util$f.compact=function(e){return e.filter((e=>Boolean(e)))},util$f.uniqBy=function(e,t){return e.filter(((n,r)=>{const i=t(n);return!e.some(((e,n)=>n>r&&t(e)===i))}))},util$f.last=function(e){if(!e)return;return e.at(-1)},util$f.sortBy=function(t,n){return t.sort(((t,r)=>e(n(t),n(r))))},util$f.castArray=function(e){return void 0===e?[]:Array.isArray(e)?e:[e]},util$f.isProd=function(){return!["development","test"].includes(process.env.NODE_ENV??"")},util$f.maxBy=function(e,t){if(0===e.length)return;return e.reduce(((e,n)=>t(n)>t(e)?n:e))},util$f.sumBy=function(e,t){return e.reduce(((e,n)=>e+t(n)),0)},util$f.capitalize=function(e){return e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():""},util$f.isTruthy=function(e){return["1","true","y","yes"].includes(e.toLowerCase())},util$f.isNotFalsy=function(e){return!["0","false","n","no"].includes(e.toLowerCase())},util$f.uniq=function(e){return[...new Set(e)].sort()},util$f.mapValues=function(e,t){return Object.entries(e).reduce(((e,[n,r])=>(e[n]=t(r,n),e)),{})},util$f.mergeNestedObjects=function(e,t){return Object.fromEntries(e.flatMap((e=>Object.entries(function(e,t){return t.split(".").reduce(((e,t)=>e?.[t]),e)}(e,t)??{}))).reverse())},util$f}var re={exports:{}},constants$8,hasRequiredConstants$8,debug_1,hasRequiredDebug,hasRequiredRe,parseOptions_1,hasRequiredParseOptions,identifiers,hasRequiredIdentifiers,semver$2,hasRequiredSemver$1,parse_1$2,hasRequiredParse$6,valid_1,hasRequiredValid$1,clean_1,hasRequiredClean,inc_1,hasRequiredInc,diff_1,hasRequiredDiff,major_1,hasRequiredMajor,minor_1,hasRequiredMinor,patch_1,hasRequiredPatch,prerelease_1,hasRequiredPrerelease,compare_1,hasRequiredCompare,rcompare_1,hasRequiredRcompare,compareLoose_1,hasRequiredCompareLoose,compareBuild_1,hasRequiredCompareBuild,sort_1,hasRequiredSort,rsort_1,hasRequiredRsort,gt_1,hasRequiredGt,lt_1,hasRequiredLt,eq_1$1,hasRequiredEq$1,neq_1,hasRequiredNeq,gte_1,hasRequiredGte,lte_1,hasRequiredLte,cmp_1,hasRequiredCmp,coerce_1,hasRequiredCoerce,lrucache,hasRequiredLrucache,range,hasRequiredRange,comparator,hasRequiredComparator,satisfies_1,hasRequiredSatisfies,toComparators_1,hasRequiredToComparators,maxSatisfying_1,hasRequiredMaxSatisfying,minSatisfying_1,hasRequiredMinSatisfying,minVersion_1,hasRequiredMinVersion,valid,hasRequiredValid,outside_1,hasRequiredOutside,gtr_1,hasRequiredGtr,ltr_1,hasRequiredLtr,intersects_1,hasRequiredIntersects,simplify,hasRequiredSimplify,subset_1,hasRequiredSubset,semver$1,hasRequiredSemver;function requireConstants$8(){if(hasRequiredConstants$8)return constants$8;hasRequiredConstants$8=1;const e=Number.MAX_SAFE_INTEGER||9007199254740991;return constants$8={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}function requireDebug(){if(hasRequiredDebug)return debug_1;hasRequiredDebug=1;const e="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};return debug_1=e}function requireRe(){return hasRequiredRe||(hasRequiredRe=1,function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=requireConstants$8(),o=requireDebug(),s=(t=e.exports={}).re=[],a=t.safeRe=[],c=t.src=[],l=t.t={};let u=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,r]],f=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=u++;o(e,i,t),l[e]=i,c[i]=t,s[i]=new RegExp(t,n?"g":void 0),a[i]=new RegExp(r,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),f("FULL",`^${c[l.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),f("LOOSE",`^${c[l.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),f("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),f("COERCE",`${c[l.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",c[l.COERCEPLAIN]+`(?:${c[l.PRERELEASE]})?`+`(?:${c[l.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",c[l.COERCE],!0),f("COERCERTLFULL",c[l.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(re,re.exports)),re.exports}function requireParseOptions(){if(hasRequiredParseOptions)return parseOptions_1;hasRequiredParseOptions=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return parseOptions_1=n=>n?"object"!=typeof n?e:n:t,parseOptions_1}function requireIdentifiers(){if(hasRequiredIdentifiers)return identifiers;hasRequiredIdentifiers=1;const e=/^[0-9]+$/,t=(t,n)=>{const r=e.test(t),i=e.test(n);return r&&i&&(t=+t,n=+n),t===n?0:r&&!i?-1:i&&!r?1:tt(n,e)}}function requireSemver$1(){if(hasRequiredSemver$1)return semver$2;hasRequiredSemver$1=1;const e=requireDebug(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:n}=requireConstants$8(),{safeRe:r,t:i}=requireRe(),o=requireParseOptions(),{compareIdentifiers:s}=requireIdentifiers();class a{constructor(s,c){if(c=o(c),s instanceof a){if(s.loose===!!c.loose&&s.includePrerelease===!!c.includePrerelease)return s;s=s.version}else if("string"!=typeof s)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",s,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;const l=s.trim().match(c.loose?r[i.LOOSE]:r[i.FULL]);if(!l)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");l[4]?this.prerelease=l[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===s(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return semver$2=a}function requireParse$6(){if(hasRequiredParse$6)return parse_1$2;hasRequiredParse$6=1;const e=requireSemver$1();return parse_1$2=(t,n,r=!1)=>{if(t instanceof e)return t;try{return new e(t,n)}catch(e){if(!r)return null;throw e}},parse_1$2}function requireValid$1(){if(hasRequiredValid$1)return valid_1;hasRequiredValid$1=1;const e=requireParse$6();return valid_1=(t,n)=>{const r=e(t,n);return r?r.version:null},valid_1}function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;const e=requireParse$6();return clean_1=(t,n)=>{const r=e(t.trim().replace(/^[=v]+/,""),n);return r?r.version:null},clean_1}function requireInc(){if(hasRequiredInc)return inc_1;hasRequiredInc=1;const e=requireSemver$1();return inc_1=(t,n,r,i,o)=>{"string"==typeof r&&(o=i,i=r,r=void 0);try{return new e(t instanceof e?t.version:t,r).inc(n,i,o).version}catch(e){return null}},inc_1}function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;const e=requireParse$6();return diff_1=(t,n)=>{const r=e(t,null,!0),i=e(n,null,!0),o=r.compare(i);if(0===o)return null;const s=o>0,a=s?r:i,c=s?i:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l)return c.patch||c.minor?a.patch?"patch":a.minor?"minor":"major":"major";const u=l?"pre":"";return r.major!==i.major?u+"major":r.minor!==i.minor?u+"minor":r.patch!==i.patch?u+"patch":"prerelease"}}function requireMajor(){if(hasRequiredMajor)return major_1;hasRequiredMajor=1;const e=requireSemver$1();return major_1=(t,n)=>new e(t,n).major}function requireMinor(){if(hasRequiredMinor)return minor_1;hasRequiredMinor=1;const e=requireSemver$1();return minor_1=(t,n)=>new e(t,n).minor}function requirePatch(){if(hasRequiredPatch)return patch_1;hasRequiredPatch=1;const e=requireSemver$1();return patch_1=(t,n)=>new e(t,n).patch}function requirePrerelease(){if(hasRequiredPrerelease)return prerelease_1;hasRequiredPrerelease=1;const e=requireParse$6();return prerelease_1=(t,n)=>{const r=e(t,n);return r&&r.prerelease.length?r.prerelease:null},prerelease_1}function requireCompare(){if(hasRequiredCompare)return compare_1;hasRequiredCompare=1;const e=requireSemver$1();return compare_1=(t,n,r)=>new e(t,r).compare(new e(n,r))}function requireRcompare(){if(hasRequiredRcompare)return rcompare_1;hasRequiredRcompare=1;const e=requireCompare();return rcompare_1=(t,n,r)=>e(n,t,r)}function requireCompareLoose(){if(hasRequiredCompareLoose)return compareLoose_1;hasRequiredCompareLoose=1;const e=requireCompare();return compareLoose_1=(t,n)=>e(t,n,!0)}function requireCompareBuild(){if(hasRequiredCompareBuild)return compareBuild_1;hasRequiredCompareBuild=1;const e=requireSemver$1();return compareBuild_1=(t,n,r)=>{const i=new e(t,r),o=new e(n,r);return i.compare(o)||i.compareBuild(o)}}function requireSort(){if(hasRequiredSort)return sort_1;hasRequiredSort=1;const e=requireCompareBuild();return sort_1=(t,n)=>t.sort(((t,r)=>e(t,r,n))),sort_1}function requireRsort(){if(hasRequiredRsort)return rsort_1;hasRequiredRsort=1;const e=requireCompareBuild();return rsort_1=(t,n)=>t.sort(((t,r)=>e(r,t,n))),rsort_1}function requireGt(){if(hasRequiredGt)return gt_1;hasRequiredGt=1;const e=requireCompare();return gt_1=(t,n,r)=>e(t,n,r)>0}function requireLt(){if(hasRequiredLt)return lt_1;hasRequiredLt=1;const e=requireCompare();return lt_1=(t,n,r)=>e(t,n,r)<0}function requireEq$1(){if(hasRequiredEq$1)return eq_1$1;hasRequiredEq$1=1;const e=requireCompare();return eq_1$1=(t,n,r)=>0===e(t,n,r)}function requireNeq(){if(hasRequiredNeq)return neq_1;hasRequiredNeq=1;const e=requireCompare();return neq_1=(t,n,r)=>0!==e(t,n,r)}function requireGte(){if(hasRequiredGte)return gte_1;hasRequiredGte=1;const e=requireCompare();return gte_1=(t,n,r)=>e(t,n,r)>=0}function requireLte(){if(hasRequiredLte)return lte_1;hasRequiredLte=1;const e=requireCompare();return lte_1=(t,n,r)=>e(t,n,r)<=0}function requireCmp(){if(hasRequiredCmp)return cmp_1;hasRequiredCmp=1;const e=requireEq$1(),t=requireNeq(),n=requireGt(),r=requireGte(),i=requireLt(),o=requireLte();return cmp_1=(s,a,c,l)=>{switch(a){case"===":return"object"==typeof s&&(s=s.version),"object"==typeof c&&(c=c.version),s===c;case"!==":return"object"==typeof s&&(s=s.version),"object"==typeof c&&(c=c.version),s!==c;case"":case"=":case"==":return e(s,c,l);case"!=":return t(s,c,l);case">":return n(s,c,l);case">=":return r(s,c,l);case"<":return i(s,c,l);case"<=":return o(s,c,l);default:throw new TypeError(`Invalid operator: ${a}`)}}}function requireCoerce(){if(hasRequiredCoerce)return coerce_1;hasRequiredCoerce=1;const e=requireSemver$1(),t=requireParse$6(),{safeRe:n,t:r}=requireRe();return coerce_1=(i,o)=>{if(i instanceof e)return i;if("number"==typeof i&&(i=String(i)),"string"!=typeof i)return null;let s=null;if((o=o||{}).rtl){const e=o.includePrerelease?n[r.COERCERTLFULL]:n[r.COERCERTL];let t;for(;(t=e.exec(i))&&(!s||s.index+s[0].length!==i.length);)s&&t.index+t[0].length===s.index+s[0].length||(s=t),e.lastIndex=t.index+t[1].length+t[2].length;e.lastIndex=-1}else s=i.match(o.includePrerelease?n[r.COERCEFULL]:n[r.COERCE]);if(null===s)return null;const a=s[2],c=s[3]||"0",l=s[4]||"0",u=o.includePrerelease&&s[5]?`-${s[5]}`:"",d=o.includePrerelease&&s[6]?`+${s[6]}`:"";return t(`${a}.${c}.${l}${u}${d}`,o)},coerce_1}function requireLrucache(){if(hasRequiredLrucache)return lrucache;hasRequiredLrucache=1;return lrucache=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}}function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const e=/\s+/g;class t{constructor(n,o){if(o=r(o),n instanceof t)return n.loose===!!o.loose&&n.includePrerelease===!!o.includePrerelease?n:new t(n.raw,o);if(n instanceof i)return this.raw=n.value,this.set=[[n]],this.formatted=void 0,this;if(this.options=o,this.loose=!!o.loose,this.includePrerelease=!!o.includePrerelease,this.raw=n.trim().replace(e," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!_(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&p)|(this.options.loose&&f))+":"+e,r=n.get(t);if(r)return r;const s=this.options.loose,m=s?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];e=e.replace(m,D(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[c.COMPARATORTRIM],l),o("comparator trim",e),e=e.replace(a[c.TILDETRIM],u),o("tilde trim",e),e=e.replace(a[c.CARETTRIM],d),o("caret trim",e);let h=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>k(e,this.options)));s&&(h=h.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[c.COMPARATORLOOSE]))))),o("range list",h);const A=new Map,y=h.map((e=>new i(e,this.options)));for(const e of y){if(_(e))return[e];A.set(e.value,e)}A.size>1&&A.has("")&&A.delete("");const v=[...A.values()];return n.set(t,v),v}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((t=>h(t,n)&&e.set.some((e=>h(e,n)&&t.every((t=>e.every((e=>t.intersects(e,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},g=(e,t)=>(o("comp",e,t),e=b(e,t),o("caret",e),e=y(e,t),o("tildes",e),e=E(e,t),o("xrange",e),e=S(e,t),o("stars",e),e),A=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>{const n=t.loose?a[c.TILDELOOSE]:a[c.TILDE];return e.replace(n,((t,n,r,i,s)=>{let a;return o("tilde",e,t,n,r,i,s),A(n)?a="":A(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:A(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:s?(o("replaceTilde pr",s),a=`>=${n}.${r}.${i}-${s} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o("tilde return",a),a}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>C(e,t))).join(" "),C=(e,t)=>{o("caret",e,t);const n=t.loose?a[c.CARETLOOSE]:a[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,s,a)=>{let c;return o("caret",e,t,n,i,s,a),A(n)?c="":A(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:A(s)?c="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(o("replaceCaret pr",a),c="0"===n?"0"===i?`>=${n}.${i}.${s}-${a} <${n}.${i}.${+s+1}-0`:`>=${n}.${i}.${s}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${s}-${a} <${+n+1}.0.0-0`):(o("no pr"),c="0"===n?"0"===i?`>=${n}.${i}.${s}${r} <${n}.${i}.${+s+1}-0`:`>=${n}.${i}.${s}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${s} <${+n+1}.0.0-0`),o("caret return",c),c}))},E=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const n=t.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return e.replace(n,((n,r,i,s,a,c)=>{o("xRange",e,n,r,i,s,a,c);const l=A(i),u=l||A(s),d=u||A(a),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(s=0),a=0,">"===r?(r=">=",u?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):"<="===r&&(r="<",u?i=+i+1:s=+s+1),"<"===r&&(c="-0"),n=`${r+i}.${s}.${a}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${s}.0${c} <${i}.${+s+1}.0-0`),o("xRange return",n),n}))},S=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[c.STAR],"")),k=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),D=e=>(t,n,r,i,o,s,a,c,l,u,d,p)=>`${n=A(r)?"":A(i)?`>=${r}.0.0${e?"-0":""}`:A(o)?`>=${r}.${i}.0${e?"-0":""}`:s?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=A(l)?"":A(u)?`<${+l+1}.0.0-0`:A(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`}`.trim(),w=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return range}function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,i){if(i=n(i),r instanceof t){if(r.loose===!!i.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),s("comparator",r,i),this.options=i,this.loose=!!i.loose,this.parse(r),this.semver===e?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(t){const n=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],o=t.match(n);if(!o)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==o[1]?o[1]:"","="===this.operator&&(this.operator=""),o[2]?this.semver=new a(o[2],this.options.loose):this.semver=e}toString(){return this.value}test(t){if(s("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new a(t,this.options)}catch(e){return!1}return o(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new c(e.value,r).test(this.value):""===e.operator?""===e.value||new c(this.value,r).test(e.semver):(!(r=n(r)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(o(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(o(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}comparator=t;const n=requireParseOptions(),{safeRe:r,t:i}=requireRe(),o=requireCmp(),s=requireDebug(),a=requireSemver$1(),c=requireRange();return comparator}function requireSatisfies(){if(hasRequiredSatisfies)return satisfies_1;hasRequiredSatisfies=1;const e=requireRange();return satisfies_1=(t,n,r)=>{try{n=new e(n,r)}catch(e){return!1}return n.test(t)},satisfies_1}function requireToComparators(){if(hasRequiredToComparators)return toComparators_1;hasRequiredToComparators=1;const e=requireRange();return toComparators_1=(t,n)=>new e(t,n).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" "))),toComparators_1}function requireMaxSatisfying(){if(hasRequiredMaxSatisfying)return maxSatisfying_1;hasRequiredMaxSatisfying=1;const e=requireSemver$1(),t=requireRange();return maxSatisfying_1=(n,r,i)=>{let o=null,s=null,a=null;try{a=new t(r,i)}catch(e){return null}return n.forEach((t=>{a.test(t)&&(o&&-1!==s.compare(t)||(o=t,s=new e(o,i)))})),o},maxSatisfying_1}function requireMinSatisfying(){if(hasRequiredMinSatisfying)return minSatisfying_1;hasRequiredMinSatisfying=1;const e=requireSemver$1(),t=requireRange();return minSatisfying_1=(n,r,i)=>{let o=null,s=null,a=null;try{a=new t(r,i)}catch(e){return null}return n.forEach((t=>{a.test(t)&&(o&&1!==s.compare(t)||(o=t,s=new e(o,i)))})),o},minSatisfying_1}function requireMinVersion(){if(hasRequiredMinVersion)return minVersion_1;hasRequiredMinVersion=1;const e=requireSemver$1(),t=requireRange(),n=requireGt();return minVersion_1=(r,i)=>{r=new t(r,i);let o=new e("0.0.0");if(r.test(o))return o;if(o=new e("0.0.0-0"),r.test(o))return o;o=null;for(let t=0;t{const r=new e(t.semver.version);switch(t.operator){case">":0===r.prerelease.length?r.patch++:r.prerelease.push(0),r.raw=r.format();case"":case">=":s&&!n(r,s)||(s=r);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}})),!s||o&&!n(o,s)||(o=s)}return o&&r.test(o)?o:null},minVersion_1}function requireValid(){if(hasRequiredValid)return valid;hasRequiredValid=1;const e=requireRange();return valid=(t,n)=>{try{return new e(t,n).range||"*"}catch(e){return null}},valid}function requireOutside(){if(hasRequiredOutside)return outside_1;hasRequiredOutside=1;const e=requireSemver$1(),t=requireComparator(),{ANY:n}=t,r=requireRange(),i=requireSatisfies(),o=requireGt(),s=requireLt(),a=requireLte(),c=requireGte();return outside_1=(l,u,d,p)=>{let f,_,m,h,g;switch(l=new e(l,p),u=new r(u,p),d){case">":f=o,_=a,m=s,h=">",g=">=";break;case"<":f=s,_=c,m=o,h="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(l,u,p))return!1;for(let e=0;e{e.semver===n&&(e=new t(">=0.0.0")),i=i||e,o=o||e,f(e.semver,i.semver,p)?i=e:m(e.semver,o.semver,p)&&(o=e)})),i.operator===h||i.operator===g)return!1;if((!o.operator||o.operator===h)&&_(l,o.semver))return!1;if(o.operator===g&&m(l,o.semver))return!1}return!0},outside_1}function requireGtr(){if(hasRequiredGtr)return gtr_1;hasRequiredGtr=1;const e=requireOutside();return gtr_1=(t,n,r)=>e(t,n,">",r),gtr_1}function requireLtr(){if(hasRequiredLtr)return ltr_1;hasRequiredLtr=1;const e=requireOutside();return ltr_1=(t,n,r)=>e(t,n,"<",r),ltr_1}function requireIntersects(){if(hasRequiredIntersects)return intersects_1;hasRequiredIntersects=1;const e=requireRange();return intersects_1=(t,n,r)=>(t=new e(t,r),n=new e(n,r),t.intersects(n,r)),intersects_1}function requireSimplify(){if(hasRequiredSimplify)return simplify;hasRequiredSimplify=1;const e=requireSatisfies(),t=requireCompare();return simplify=(n,r,i)=>{const o=[];let s=null,a=null;const c=n.sort(((e,n)=>t(e,n,i)));for(const t of c){e(t,r,i)?(a=t,s||(s=t)):(a&&o.push([s,a]),a=null,s=null)}s&&o.push([s,null]);const l=[];for(const[e,t]of o)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const u=l.join(" || "),d="string"==typeof r.raw?r.raw:String(r);return u.length=0.0.0-0")],s=[new t(">=0.0.0")],a=(e,t,a)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=a.includePrerelease?o:s}if(1===t.length&&t[0].semver===n){if(a.includePrerelease)return!0;t=s}const u=new Set;let d,p,f,_,m,h,g;for(const t of e)">"===t.operator||">="===t.operator?d=c(d,t,a):"<"===t.operator||"<="===t.operator?p=l(p,t,a):u.add(t.semver);if(u.size>1)return null;if(d&&p){if(f=i(d.semver,p.semver,a),f>0)return null;if(0===f&&(">="!==d.operator||"<="!==p.operator))return null}for(const e of u){if(d&&!r(e,String(d),a))return null;if(p&&!r(e,String(p),a))return null;for(const n of t)if(!r(e,String(n),a))return!1;return!0}let A=!(!p||a.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!d||a.includePrerelease||!d.semver.prerelease.length)&&d.semver;A&&1===A.prerelease.length&&"<"===p.operator&&0===A.prerelease[0]&&(A=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,h=h||"<"===e.operator||"<="===e.operator,d)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(_=c(d,e,a),_===e&&_!==d)return!1}else if(">="===d.operator&&!r(d.semver,String(e),a))return!1;if(p)if(A&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===A.major&&e.semver.minor===A.minor&&e.semver.patch===A.patch&&(A=!1),"<"===e.operator||"<="===e.operator){if(m=l(p,e,a),m===e&&m!==p)return!1}else if("<="===p.operator&&!r(p.semver,String(e),a))return!1;if(!e.operator&&(p||d)&&0!==f)return!1}return!(d&&h&&!p&&0!==f)&&(!(p&&g&&!d&&0!==f)&&(!y&&!A))},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};return subset_1=(t,n,r={})=>{if(t===n)return!0;t=new e(t,r),n=new e(n,r);let i=!1;e:for(const e of t.set){for(const t of n.set){const n=a(e,t,r);if(i=i||null!==n,n)continue e}if(i)return!1}return!0},subset_1}function requireSemver(){if(hasRequiredSemver)return semver$1;hasRequiredSemver=1;const e=requireRe(),t=requireConstants$8(),n=requireSemver$1(),r=requireIdentifiers(),i=requireParse$6(),o=requireValid$1(),s=requireClean(),a=requireInc(),c=requireDiff(),l=requireMajor(),u=requireMinor(),d=requirePatch(),p=requirePrerelease(),f=requireCompare(),_=requireRcompare(),m=requireCompareLoose(),h=requireCompareBuild(),g=requireSort(),A=requireRsort(),y=requireGt(),v=requireLt(),b=requireEq$1(),C=requireNeq(),E=requireGte(),x=requireLte(),S=requireCmp(),k=requireCoerce(),D=requireComparator(),w=requireRange(),I=requireSatisfies(),T=requireToComparators(),F=requireMaxSatisfying(),R=requireMinSatisfying(),P=requireMinVersion(),N=requireValid(),B=requireOutside(),O=requireGtr(),q=requireLtr(),$=requireIntersects(),Q=requireSimplify(),L=requireSubset();return semver$1={parse:i,valid:o,clean:s,inc:a,diff:c,major:l,minor:u,patch:d,prerelease:p,compare:f,rcompare:_,compareLoose:m,compareBuild:h,sort:g,rsort:A,gt:y,lt:v,eq:b,neq:C,gte:E,lte:x,cmp:S,coerce:k,Comparator:D,Range:w,satisfies:I,toComparators:T,maxSatisfying:F,minSatisfying:R,minVersion:P,validRange:N,outside:B,gtr:O,ltr:q,intersects:$,simplifyRange:Q,subset:L,SemVer:n,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:r.compareIdentifiers,rcompareIdentifiers:r.rcompareIdentifiers}}var args={},fs$5={},hasRequiredFs$4,hasRequiredArgs;function requireFs$4(){if(hasRequiredFs$4)return fs$5;hasRequiredFs$4=1,Object.defineProperty(fs$5,"__esModule",{value:!0}),fs$5.fileExists=fs$5.dirExists=void 0,fs$5.readJson=o,fs$5.safeReadJson=async function(e,t=!0){try{return await o(e,t)}catch{}},fs$5.existsSync=function(t){return(0,e.existsSync)(t)};const e=fs$6,t=fs$7,n=requireUtil$f();fs$5.dirExists=async e=>{let n;try{n=await(0,t.stat)(e)}catch{throw new Error(`No directory found at ${e}`)}if(!n.isDirectory())throw new Error(`${e} exists but is not a directory`);return e};fs$5.fileExists=async e=>{let n;try{n=await(0,t.stat)(e)}catch{throw new Error(`No file found at ${e}`)}if(!n.isFile())throw new Error(`${e} exists but is not a file`);return e};class r extends Map{set(e,t){return(0,n.isProd)()&&super.set(e,t),this}}const i=new r;async function o(e,n=!0){if(n&&i.has(e))return JSON.parse(i.get(e));const r=await(0,t.readFile)(e,"utf8");return i.set(e,r),JSON.parse(r)}return fs$5}function requireArgs(){if(hasRequiredArgs)return args;hasRequiredArgs=1,Object.defineProperty(args,"__esModule",{value:!0}),args.string=args.url=args.file=args.directory=args.integer=args.boolean=void 0,args.custom=r;const e=require$$0$6,t=requireFs$4(),n=requireUtil$f();function r(e){return(t={})=>({parse:async(e,t,n)=>e,...e,...t,input:[],type:"option"})}args.boolean=r({parse:async e=>Boolean(e)&&(0,n.isNotFalsy)(e)}),args.integer=r({async parse(e,t,n){if(!/^-?\d+$/.test(e))throw new Error(`Expected an integer but received: ${e}`);const r=Number.parseInt(e,10);if(void 0!==n.min&&rn.max)throw new Error(`Expected an integer less than or equal to ${n.max} but received: ${e}`);return r}}),args.directory=r({parse:async(e,n,r)=>r.exists?(0,t.dirExists)(e):e}),args.file=r({parse:async(e,n,r)=>r.exists?(0,t.fileExists)(e):e}),args.url=r({async parse(t){try{return new e.URL(t)}catch{throw new Error(`Expected a valid url but received: ${t}`)}}});const i=r({});return args.string=i,args}var command$2={},cache$3={},hasRequiredCache$2;function requireCache$2(){if(hasRequiredCache$2)return cache$3;hasRequiredCache$2=1,Object.defineProperty(cache$3,"__esModule",{value:!0});const e=fs$6,t=path$1;class n extends Map{static instance;constructor(){super(),this.set("@oclif/core",this.getOclifCoreMeta())}static getInstance(){return n.instance||(n.instance=new n),n.instance}get(e){return super.get(e)}getOclifCoreMeta(){try{return{name:"@oclif/core",version:require("@oclif/core/package.json").version}}catch{try{return{name:"@oclif/core",version:JSON.parse((0,e.readFileSync)((0,t.join)(__dirname,"..","package.json"),"utf8")).version}}catch{return{name:"@oclif/core",version:"unknown"}}}}}return cache$3.default=n,cache$3}var config$3={},config$2={exports:{}},ejs={},utils$c={},hasRequiredUtils$c;function requireUtils$c(){return hasRequiredUtils$c||(hasRequiredUtils$c=1,function(e){var t=/[|\\{}()[\]^$+*?.]/g,n=Object.prototype.hasOwnProperty,r=function(e,t){return n.apply(e,[t])};e.escapeRegExpChars=function(e){return e?String(e).replace(t,"\\$&"):""};var i={"&":"&","<":"<",">":">",'"':""","'":"'"},o=/[&<>'"]/g;function s(e){return i[e]||e}function a(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'}e.escapeXML=function(e){return null==e?"":String(e).replace(o,s)};try{"function"==typeof Object.defineProperty?Object.defineProperty(e.escapeXML,"toString",{value:a}):e.escapeXML.toString=a}catch(e){console.warn("Unable to set escapeXML.toString (is the Function prototype frozen?)")}e.shallowCopy=function(e,t){if(t=t||{},null!=e)for(var n in t)r(t,n)&&"__proto__"!==n&&"constructor"!==n&&(e[n]=t[n]);return e},e.shallowCopyFromList=function(e,t,n){if(n=n||[],t=t||{},null!=e)for(var i=0;i (http://fleegix.org)",license$1="Apache-2.0",bin$1={ejs:"./bin/cli.js"},main$5="./lib/ejs.js",jsdelivr="ejs.min.js",unpkg="ejs.min.js",repository$1={type:"git",url:"git://github.com/mde/ejs.git"},bugs$1="https://github.com/mde/ejs/issues",homepage="https://github.com/mde/ejs",dependencies$3={jake:"^10.8.5"},devDependencies={browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^4.0.2","lru-cache":"^4.0.1",mocha:"^10.2.0","uglify-js":"^3.3.16"},engines$1={node:">=0.10.0"},scripts$1={test:"npx jake test"},require$$3$3={name:name$1,description:description$3,keywords:keywords$1,version:version$1,author:author$1,license:license$1,bin:bin$1,main:main$5,jsdelivr:jsdelivr,unpkg:unpkg,repository:repository$1,bugs:bugs$1,homepage:homepage,dependencies:dependencies$3,devDependencies:devDependencies,engines:engines$1,scripts:scripts$1},hasRequiredEjs;function requireEjs(){return hasRequiredEjs||(hasRequiredEjs=1,function(e){ +import require$$0$7 from"node:url";import fs$6,{readFileSync}from"node:fs";import require$$0$6 from"node:fs/promises";import require$$1$2,{promisify,format as format$5}from"node:util";import path$1 from"node:path";import require$$0$8 from"fs";import require$$0$9 from"path";import require$$0$a from"os";import os$1 from"node:os";import require$$1$1 from"tty";import*as require$$0$5 from"util";import require$$0__default from"util";import require$$6$1 from"inspector";import require$$0$b from"node:perf_hooks";import require$$0$c from"stream";import require$$0$d from"events";import require$$0$e from"node:readline";import require$$0$f from"crypto";import require$$2$1 from"http";import require$$1$4 from"https";import require$$0$h from"net";import require$$1$3 from"tls";import require$$0$g from"assert";import require$$7$1 from"buffer";import require$$8 from"querystring";import require$$13 from"stream/web";import require$$0$j from"node:stream";import require$$0$i,{EventEmitter}from"node:events";import require$$0$k from"worker_threads";import require$$2$2 from"perf_hooks";import require$$5$1 from"util/types";import require$$4$2 from"async_hooks";import require$$1$5 from"console";import require$$0$l from"url";import zlib from"zlib";import require$$6$2 from"string_decoder";import require$$0$m from"diagnostics_channel";import require$$2$3,{spawn}from"child_process";import require$$6$3 from"timers";import process$2 from"node:process";import tty from"node:tty";import require$$0$n from"readline";import require$$0$o from"constants";import crypto from"node:crypto";import vm from"vm";var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lib$h={},util$f={},hasRequiredUtil$f;function requireUtil$f(){if(hasRequiredUtil$f)return util$f;function e(t,n){if(t=void 0===t?0:t,n=void 0===n?0:n,Array.isArray(t)&&Array.isArray(n)){if(0===t.length&&0===n.length)return 0;const r=e(t[0],n[0]);return 0!==r?r:e(t.slice(1),n.slice(1))}return tn?1:0}return hasRequiredUtil$f=1,Object.defineProperty(util$f,"__esModule",{value:!0}),util$f.pickBy=function(e,t){return Object.entries(e).reduce(((e,[n,r])=>(t(r)&&(e[n]=r),e)),{})},util$f.compact=function(e){return e.filter((e=>Boolean(e)))},util$f.uniqBy=function(e,t){return e.filter(((n,r)=>{const i=t(n);return!e.some(((e,n)=>n>r&&t(e)===i))}))},util$f.last=function(e){if(!e)return;return e.at(-1)},util$f.sortBy=function(t,n){return t.sort(((t,r)=>e(n(t),n(r))))},util$f.castArray=function(e){return void 0===e?[]:Array.isArray(e)?e:[e]},util$f.isProd=function(){return!["development","test"].includes(process.env.NODE_ENV??"")},util$f.maxBy=function(e,t){if(0===e.length)return;return e.reduce(((e,n)=>t(n)>t(e)?n:e))},util$f.sumBy=function(e,t){return e.reduce(((e,n)=>e+t(n)),0)},util$f.capitalize=function(e){return e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():""},util$f.isTruthy=function(e){return["1","true","y","yes"].includes(e.toLowerCase())},util$f.isNotFalsy=function(e){return!["0","false","n","no"].includes(e.toLowerCase())},util$f.uniq=function(e){return[...new Set(e)].sort()},util$f.mapValues=function(e,t){return Object.entries(e).reduce(((e,[n,r])=>(e[n]=t(r,n),e)),{})},util$f.mergeNestedObjects=function(e,t){return Object.fromEntries(e.flatMap((e=>Object.entries(function(e,t){return t.split(".").reduce(((e,t)=>e?.[t]),e)}(e,t)??{}))).reverse())},util$f}var re={exports:{}},constants$8,hasRequiredConstants$8,debug_1,hasRequiredDebug,hasRequiredRe,parseOptions_1,hasRequiredParseOptions,identifiers,hasRequiredIdentifiers,semver$2,hasRequiredSemver$1,parse_1$2,hasRequiredParse$6,valid_1,hasRequiredValid$1,clean_1,hasRequiredClean,inc_1,hasRequiredInc,diff_1,hasRequiredDiff,major_1,hasRequiredMajor,minor_1,hasRequiredMinor,patch_1,hasRequiredPatch,prerelease_1,hasRequiredPrerelease,compare_1,hasRequiredCompare,rcompare_1,hasRequiredRcompare,compareLoose_1,hasRequiredCompareLoose,compareBuild_1,hasRequiredCompareBuild,sort_1,hasRequiredSort,rsort_1,hasRequiredRsort,gt_1,hasRequiredGt,lt_1,hasRequiredLt,eq_1$1,hasRequiredEq$1,neq_1,hasRequiredNeq,gte_1,hasRequiredGte,lte_1,hasRequiredLte,cmp_1,hasRequiredCmp,coerce_1,hasRequiredCoerce,lrucache,hasRequiredLrucache,range,hasRequiredRange,comparator,hasRequiredComparator,satisfies_1,hasRequiredSatisfies,toComparators_1,hasRequiredToComparators,maxSatisfying_1,hasRequiredMaxSatisfying,minSatisfying_1,hasRequiredMinSatisfying,minVersion_1,hasRequiredMinVersion,valid,hasRequiredValid,outside_1,hasRequiredOutside,gtr_1,hasRequiredGtr,ltr_1,hasRequiredLtr,intersects_1,hasRequiredIntersects,simplify,hasRequiredSimplify,subset_1,hasRequiredSubset,semver$1,hasRequiredSemver;function requireConstants$8(){if(hasRequiredConstants$8)return constants$8;hasRequiredConstants$8=1;const e=Number.MAX_SAFE_INTEGER||9007199254740991;return constants$8={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}function requireDebug(){if(hasRequiredDebug)return debug_1;hasRequiredDebug=1;const e="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};return debug_1=e}function requireRe(){return hasRequiredRe||(hasRequiredRe=1,function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=requireConstants$8(),o=requireDebug(),s=(t=e.exports={}).re=[],a=t.safeRe=[],c=t.src=[],u=t.t={};let l=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,r]],f=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=l++;o(e,i,t),u[e]=i,c[i]=t,s[i]=new RegExp(t,n?"g":void 0),a[i]=new RegExp(r,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),f("FULL",`^${c[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),f("LOOSE",`^${c[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),f("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),f("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",c[u.COERCE],!0),f("COERCERTLFULL",c[u.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(re,re.exports)),re.exports}function requireParseOptions(){if(hasRequiredParseOptions)return parseOptions_1;hasRequiredParseOptions=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return parseOptions_1=n=>n?"object"!=typeof n?e:n:t,parseOptions_1}function requireIdentifiers(){if(hasRequiredIdentifiers)return identifiers;hasRequiredIdentifiers=1;const e=/^[0-9]+$/,t=(t,n)=>{const r=e.test(t),i=e.test(n);return r&&i&&(t=+t,n=+n),t===n?0:r&&!i?-1:i&&!r?1:tt(n,e)}}function requireSemver$1(){if(hasRequiredSemver$1)return semver$2;hasRequiredSemver$1=1;const e=requireDebug(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:n}=requireConstants$8(),{safeRe:r,t:i}=requireRe(),o=requireParseOptions(),{compareIdentifiers:s}=requireIdentifiers();class a{constructor(s,c){if(c=o(c),s instanceof a){if(s.loose===!!c.loose&&s.includePrerelease===!!c.includePrerelease)return s;s=s.version}else if("string"!=typeof s)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",s,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;const u=s.trim().match(c.loose?r[i.LOOSE]:r[i.FULL]);if(!u)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===s(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return semver$2=a}function requireParse$6(){if(hasRequiredParse$6)return parse_1$2;hasRequiredParse$6=1;const e=requireSemver$1();return parse_1$2=(t,n,r=!1)=>{if(t instanceof e)return t;try{return new e(t,n)}catch(e){if(!r)return null;throw e}},parse_1$2}function requireValid$1(){if(hasRequiredValid$1)return valid_1;hasRequiredValid$1=1;const e=requireParse$6();return valid_1=(t,n)=>{const r=e(t,n);return r?r.version:null},valid_1}function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;const e=requireParse$6();return clean_1=(t,n)=>{const r=e(t.trim().replace(/^[=v]+/,""),n);return r?r.version:null},clean_1}function requireInc(){if(hasRequiredInc)return inc_1;hasRequiredInc=1;const e=requireSemver$1();return inc_1=(t,n,r,i,o)=>{"string"==typeof r&&(o=i,i=r,r=void 0);try{return new e(t instanceof e?t.version:t,r).inc(n,i,o).version}catch(e){return null}},inc_1}function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;const e=requireParse$6();return diff_1=(t,n)=>{const r=e(t,null,!0),i=e(n,null,!0),o=r.compare(i);if(0===o)return null;const s=o>0,a=s?r:i,c=s?i:r,u=!!a.prerelease.length;if(!!c.prerelease.length&&!u)return c.patch||c.minor?a.patch?"patch":a.minor?"minor":"major":"major";const l=u?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"}}function requireMajor(){if(hasRequiredMajor)return major_1;hasRequiredMajor=1;const e=requireSemver$1();return major_1=(t,n)=>new e(t,n).major}function requireMinor(){if(hasRequiredMinor)return minor_1;hasRequiredMinor=1;const e=requireSemver$1();return minor_1=(t,n)=>new e(t,n).minor}function requirePatch(){if(hasRequiredPatch)return patch_1;hasRequiredPatch=1;const e=requireSemver$1();return patch_1=(t,n)=>new e(t,n).patch}function requirePrerelease(){if(hasRequiredPrerelease)return prerelease_1;hasRequiredPrerelease=1;const e=requireParse$6();return prerelease_1=(t,n)=>{const r=e(t,n);return r&&r.prerelease.length?r.prerelease:null},prerelease_1}function requireCompare(){if(hasRequiredCompare)return compare_1;hasRequiredCompare=1;const e=requireSemver$1();return compare_1=(t,n,r)=>new e(t,r).compare(new e(n,r))}function requireRcompare(){if(hasRequiredRcompare)return rcompare_1;hasRequiredRcompare=1;const e=requireCompare();return rcompare_1=(t,n,r)=>e(n,t,r)}function requireCompareLoose(){if(hasRequiredCompareLoose)return compareLoose_1;hasRequiredCompareLoose=1;const e=requireCompare();return compareLoose_1=(t,n)=>e(t,n,!0)}function requireCompareBuild(){if(hasRequiredCompareBuild)return compareBuild_1;hasRequiredCompareBuild=1;const e=requireSemver$1();return compareBuild_1=(t,n,r)=>{const i=new e(t,r),o=new e(n,r);return i.compare(o)||i.compareBuild(o)}}function requireSort(){if(hasRequiredSort)return sort_1;hasRequiredSort=1;const e=requireCompareBuild();return sort_1=(t,n)=>t.sort(((t,r)=>e(t,r,n))),sort_1}function requireRsort(){if(hasRequiredRsort)return rsort_1;hasRequiredRsort=1;const e=requireCompareBuild();return rsort_1=(t,n)=>t.sort(((t,r)=>e(r,t,n))),rsort_1}function requireGt(){if(hasRequiredGt)return gt_1;hasRequiredGt=1;const e=requireCompare();return gt_1=(t,n,r)=>e(t,n,r)>0}function requireLt(){if(hasRequiredLt)return lt_1;hasRequiredLt=1;const e=requireCompare();return lt_1=(t,n,r)=>e(t,n,r)<0}function requireEq$1(){if(hasRequiredEq$1)return eq_1$1;hasRequiredEq$1=1;const e=requireCompare();return eq_1$1=(t,n,r)=>0===e(t,n,r)}function requireNeq(){if(hasRequiredNeq)return neq_1;hasRequiredNeq=1;const e=requireCompare();return neq_1=(t,n,r)=>0!==e(t,n,r)}function requireGte(){if(hasRequiredGte)return gte_1;hasRequiredGte=1;const e=requireCompare();return gte_1=(t,n,r)=>e(t,n,r)>=0}function requireLte(){if(hasRequiredLte)return lte_1;hasRequiredLte=1;const e=requireCompare();return lte_1=(t,n,r)=>e(t,n,r)<=0}function requireCmp(){if(hasRequiredCmp)return cmp_1;hasRequiredCmp=1;const e=requireEq$1(),t=requireNeq(),n=requireGt(),r=requireGte(),i=requireLt(),o=requireLte();return cmp_1=(s,a,c,u)=>{switch(a){case"===":return"object"==typeof s&&(s=s.version),"object"==typeof c&&(c=c.version),s===c;case"!==":return"object"==typeof s&&(s=s.version),"object"==typeof c&&(c=c.version),s!==c;case"":case"=":case"==":return e(s,c,u);case"!=":return t(s,c,u);case">":return n(s,c,u);case">=":return r(s,c,u);case"<":return i(s,c,u);case"<=":return o(s,c,u);default:throw new TypeError(`Invalid operator: ${a}`)}}}function requireCoerce(){if(hasRequiredCoerce)return coerce_1;hasRequiredCoerce=1;const e=requireSemver$1(),t=requireParse$6(),{safeRe:n,t:r}=requireRe();return coerce_1=(i,o)=>{if(i instanceof e)return i;if("number"==typeof i&&(i=String(i)),"string"!=typeof i)return null;let s=null;if((o=o||{}).rtl){const e=o.includePrerelease?n[r.COERCERTLFULL]:n[r.COERCERTL];let t;for(;(t=e.exec(i))&&(!s||s.index+s[0].length!==i.length);)s&&t.index+t[0].length===s.index+s[0].length||(s=t),e.lastIndex=t.index+t[1].length+t[2].length;e.lastIndex=-1}else s=i.match(o.includePrerelease?n[r.COERCEFULL]:n[r.COERCE]);if(null===s)return null;const a=s[2],c=s[3]||"0",u=s[4]||"0",l=o.includePrerelease&&s[5]?`-${s[5]}`:"",d=o.includePrerelease&&s[6]?`+${s[6]}`:"";return t(`${a}.${c}.${u}${l}${d}`,o)},coerce_1}function requireLrucache(){if(hasRequiredLrucache)return lrucache;hasRequiredLrucache=1;return lrucache=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}}function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const e=/\s+/g;class t{constructor(n,o){if(o=r(o),n instanceof t)return n.loose===!!o.loose&&n.includePrerelease===!!o.includePrerelease?n:new t(n.raw,o);if(n instanceof i)return this.raw=n.value,this.set=[[n]],this.formatted=void 0,this;if(this.options=o,this.loose=!!o.loose,this.includePrerelease=!!o.includePrerelease,this.raw=n.trim().replace(e," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!_(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&p)|(this.options.loose&&f))+":"+e,r=n.get(t);if(r)return r;const s=this.options.loose,m=s?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];e=e.replace(m,D(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[c.COMPARATORTRIM],u),o("comparator trim",e),e=e.replace(a[c.TILDETRIM],l),o("tilde trim",e),e=e.replace(a[c.CARETTRIM],d),o("caret trim",e);let h=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>k(e,this.options)));s&&(h=h.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[c.COMPARATORLOOSE]))))),o("range list",h);const A=new Map,y=h.map((e=>new i(e,this.options)));for(const e of y){if(_(e))return[e];A.set(e.value,e)}A.size>1&&A.has("")&&A.delete("");const v=[...A.values()];return n.set(t,v),v}intersects(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((t=>h(t,n)&&e.set.some((e=>h(e,n)&&t.every((t=>e.every((e=>t.intersects(e,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,m=e=>""===e.value,h=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},g=(e,t)=>(o("comp",e,t),e=b(e,t),o("caret",e),e=y(e,t),o("tildes",e),e=E(e,t),o("xrange",e),e=S(e,t),o("stars",e),e),A=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>{const n=t.loose?a[c.TILDELOOSE]:a[c.TILDE];return e.replace(n,((t,n,r,i,s)=>{let a;return o("tilde",e,t,n,r,i,s),A(n)?a="":A(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:A(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:s?(o("replaceTilde pr",s),a=`>=${n}.${r}.${i}-${s} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o("tilde return",a),a}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>C(e,t))).join(" "),C=(e,t)=>{o("caret",e,t);const n=t.loose?a[c.CARETLOOSE]:a[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,s,a)=>{let c;return o("caret",e,t,n,i,s,a),A(n)?c="":A(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:A(s)?c="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(o("replaceCaret pr",a),c="0"===n?"0"===i?`>=${n}.${i}.${s}-${a} <${n}.${i}.${+s+1}-0`:`>=${n}.${i}.${s}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${s}-${a} <${+n+1}.0.0-0`):(o("no pr"),c="0"===n?"0"===i?`>=${n}.${i}.${s}${r} <${n}.${i}.${+s+1}-0`:`>=${n}.${i}.${s}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${s} <${+n+1}.0.0-0`),o("caret return",c),c}))},E=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const n=t.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return e.replace(n,((n,r,i,s,a,c)=>{o("xRange",e,n,r,i,s,a,c);const u=A(i),l=u||A(s),d=l||A(a),p=d;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(l&&(s=0),a=0,">"===r?(r=">=",l?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):"<="===r&&(r="<",l?i=+i+1:s=+s+1),"<"===r&&(c="-0"),n=`${r+i}.${s}.${a}${c}`):l?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${s}.0${c} <${i}.${+s+1}.0-0`),o("xRange return",n),n}))},S=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[c.STAR],"")),k=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),D=e=>(t,n,r,i,o,s,a,c,u,l,d,p)=>`${n=A(r)?"":A(i)?`>=${r}.0.0${e?"-0":""}`:A(o)?`>=${r}.${i}.0${e?"-0":""}`:s?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=A(u)?"":A(l)?`<${+u+1}.0.0-0`:A(d)?`<${u}.${+l+1}.0-0`:p?`<=${u}.${l}.${d}-${p}`:e?`<${u}.${l}.${+d+1}-0`:`<=${c}`}`.trim(),w=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return range}function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,i){if(i=n(i),r instanceof t){if(r.loose===!!i.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),s("comparator",r,i),this.options=i,this.loose=!!i.loose,this.parse(r),this.semver===e?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(t){const n=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],o=t.match(n);if(!o)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==o[1]?o[1]:"","="===this.operator&&(this.operator=""),o[2]?this.semver=new a(o[2],this.options.loose):this.semver=e}toString(){return this.value}test(t){if(s("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new a(t,this.options)}catch(e){return!1}return o(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new c(e.value,r).test(this.value):""===e.operator?""===e.value||new c(this.value,r).test(e.semver):(!(r=n(r)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(o(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(o(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}comparator=t;const n=requireParseOptions(),{safeRe:r,t:i}=requireRe(),o=requireCmp(),s=requireDebug(),a=requireSemver$1(),c=requireRange();return comparator}function requireSatisfies(){if(hasRequiredSatisfies)return satisfies_1;hasRequiredSatisfies=1;const e=requireRange();return satisfies_1=(t,n,r)=>{try{n=new e(n,r)}catch(e){return!1}return n.test(t)},satisfies_1}function requireToComparators(){if(hasRequiredToComparators)return toComparators_1;hasRequiredToComparators=1;const e=requireRange();return toComparators_1=(t,n)=>new e(t,n).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" "))),toComparators_1}function requireMaxSatisfying(){if(hasRequiredMaxSatisfying)return maxSatisfying_1;hasRequiredMaxSatisfying=1;const e=requireSemver$1(),t=requireRange();return maxSatisfying_1=(n,r,i)=>{let o=null,s=null,a=null;try{a=new t(r,i)}catch(e){return null}return n.forEach((t=>{a.test(t)&&(o&&-1!==s.compare(t)||(o=t,s=new e(o,i)))})),o},maxSatisfying_1}function requireMinSatisfying(){if(hasRequiredMinSatisfying)return minSatisfying_1;hasRequiredMinSatisfying=1;const e=requireSemver$1(),t=requireRange();return minSatisfying_1=(n,r,i)=>{let o=null,s=null,a=null;try{a=new t(r,i)}catch(e){return null}return n.forEach((t=>{a.test(t)&&(o&&1!==s.compare(t)||(o=t,s=new e(o,i)))})),o},minSatisfying_1}function requireMinVersion(){if(hasRequiredMinVersion)return minVersion_1;hasRequiredMinVersion=1;const e=requireSemver$1(),t=requireRange(),n=requireGt();return minVersion_1=(r,i)=>{r=new t(r,i);let o=new e("0.0.0");if(r.test(o))return o;if(o=new e("0.0.0-0"),r.test(o))return o;o=null;for(let t=0;t{const r=new e(t.semver.version);switch(t.operator){case">":0===r.prerelease.length?r.patch++:r.prerelease.push(0),r.raw=r.format();case"":case">=":s&&!n(r,s)||(s=r);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}})),!s||o&&!n(o,s)||(o=s)}return o&&r.test(o)?o:null},minVersion_1}function requireValid(){if(hasRequiredValid)return valid;hasRequiredValid=1;const e=requireRange();return valid=(t,n)=>{try{return new e(t,n).range||"*"}catch(e){return null}},valid}function requireOutside(){if(hasRequiredOutside)return outside_1;hasRequiredOutside=1;const e=requireSemver$1(),t=requireComparator(),{ANY:n}=t,r=requireRange(),i=requireSatisfies(),o=requireGt(),s=requireLt(),a=requireLte(),c=requireGte();return outside_1=(u,l,d,p)=>{let f,_,m,h,g;switch(u=new e(u,p),l=new r(l,p),d){case">":f=o,_=a,m=s,h=">",g=">=";break;case"<":f=s,_=c,m=o,h="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(u,l,p))return!1;for(let e=0;e{e.semver===n&&(e=new t(">=0.0.0")),i=i||e,o=o||e,f(e.semver,i.semver,p)?i=e:m(e.semver,o.semver,p)&&(o=e)})),i.operator===h||i.operator===g)return!1;if((!o.operator||o.operator===h)&&_(u,o.semver))return!1;if(o.operator===g&&m(u,o.semver))return!1}return!0},outside_1}function requireGtr(){if(hasRequiredGtr)return gtr_1;hasRequiredGtr=1;const e=requireOutside();return gtr_1=(t,n,r)=>e(t,n,">",r),gtr_1}function requireLtr(){if(hasRequiredLtr)return ltr_1;hasRequiredLtr=1;const e=requireOutside();return ltr_1=(t,n,r)=>e(t,n,"<",r),ltr_1}function requireIntersects(){if(hasRequiredIntersects)return intersects_1;hasRequiredIntersects=1;const e=requireRange();return intersects_1=(t,n,r)=>(t=new e(t,r),n=new e(n,r),t.intersects(n,r)),intersects_1}function requireSimplify(){if(hasRequiredSimplify)return simplify;hasRequiredSimplify=1;const e=requireSatisfies(),t=requireCompare();return simplify=(n,r,i)=>{const o=[];let s=null,a=null;const c=n.sort(((e,n)=>t(e,n,i)));for(const t of c){e(t,r,i)?(a=t,s||(s=t)):(a&&o.push([s,a]),a=null,s=null)}s&&o.push([s,null]);const u=[];for(const[e,t]of o)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const l=u.join(" || "),d="string"==typeof r.raw?r.raw:String(r);return l.length=0.0.0-0")],s=[new t(">=0.0.0")],a=(e,t,a)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=a.includePrerelease?o:s}if(1===t.length&&t[0].semver===n){if(a.includePrerelease)return!0;t=s}const l=new Set;let d,p,f,_,m,h,g;for(const t of e)">"===t.operator||">="===t.operator?d=c(d,t,a):"<"===t.operator||"<="===t.operator?p=u(p,t,a):l.add(t.semver);if(l.size>1)return null;if(d&&p){if(f=i(d.semver,p.semver,a),f>0)return null;if(0===f&&(">="!==d.operator||"<="!==p.operator))return null}for(const e of l){if(d&&!r(e,String(d),a))return null;if(p&&!r(e,String(p),a))return null;for(const n of t)if(!r(e,String(n),a))return!1;return!0}let A=!(!p||a.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!d||a.includePrerelease||!d.semver.prerelease.length)&&d.semver;A&&1===A.prerelease.length&&"<"===p.operator&&0===A.prerelease[0]&&(A=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,h=h||"<"===e.operator||"<="===e.operator,d)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(_=c(d,e,a),_===e&&_!==d)return!1}else if(">="===d.operator&&!r(d.semver,String(e),a))return!1;if(p)if(A&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===A.major&&e.semver.minor===A.minor&&e.semver.patch===A.patch&&(A=!1),"<"===e.operator||"<="===e.operator){if(m=u(p,e,a),m===e&&m!==p)return!1}else if("<="===p.operator&&!r(p.semver,String(e),a))return!1;if(!e.operator&&(p||d)&&0!==f)return!1}return!(d&&h&&!p&&0!==f)&&(!(p&&g&&!d&&0!==f)&&(!y&&!A))},c=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=i(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};return subset_1=(t,n,r={})=>{if(t===n)return!0;t=new e(t,r),n=new e(n,r);let i=!1;e:for(const e of t.set){for(const t of n.set){const n=a(e,t,r);if(i=i||null!==n,n)continue e}if(i)return!1}return!0},subset_1}function requireSemver(){if(hasRequiredSemver)return semver$1;hasRequiredSemver=1;const e=requireRe(),t=requireConstants$8(),n=requireSemver$1(),r=requireIdentifiers(),i=requireParse$6(),o=requireValid$1(),s=requireClean(),a=requireInc(),c=requireDiff(),u=requireMajor(),l=requireMinor(),d=requirePatch(),p=requirePrerelease(),f=requireCompare(),_=requireRcompare(),m=requireCompareLoose(),h=requireCompareBuild(),g=requireSort(),A=requireRsort(),y=requireGt(),v=requireLt(),b=requireEq$1(),C=requireNeq(),E=requireGte(),x=requireLte(),S=requireCmp(),k=requireCoerce(),D=requireComparator(),w=requireRange(),I=requireSatisfies(),T=requireToComparators(),F=requireMaxSatisfying(),R=requireMinSatisfying(),P=requireMinVersion(),N=requireValid(),B=requireOutside(),O=requireGtr(),q=requireLtr(),$=requireIntersects(),Q=requireSimplify(),L=requireSubset();return semver$1={parse:i,valid:o,clean:s,inc:a,diff:c,major:u,minor:l,patch:d,prerelease:p,compare:f,rcompare:_,compareLoose:m,compareBuild:h,sort:g,rsort:A,gt:y,lt:v,eq:b,neq:C,gte:E,lte:x,cmp:S,coerce:k,Comparator:D,Range:w,satisfies:I,toComparators:T,maxSatisfying:F,minSatisfying:R,minVersion:P,validRange:N,outside:B,gtr:O,ltr:q,intersects:$,simplifyRange:Q,subset:L,SemVer:n,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:r.compareIdentifiers,rcompareIdentifiers:r.rcompareIdentifiers}}var args={},fs$5={},hasRequiredFs$4,hasRequiredArgs;function requireFs$4(){if(hasRequiredFs$4)return fs$5;hasRequiredFs$4=1,Object.defineProperty(fs$5,"__esModule",{value:!0}),fs$5.fileExists=fs$5.dirExists=void 0,fs$5.readJson=o,fs$5.safeReadJson=async function(e,t=!0){try{return await o(e,t)}catch{}},fs$5.existsSync=function(t){return(0,e.existsSync)(t)};const e=fs$6,t=require$$0$6,n=requireUtil$f();fs$5.dirExists=async e=>{let n;try{n=await(0,t.stat)(e)}catch{throw new Error(`No directory found at ${e}`)}if(!n.isDirectory())throw new Error(`${e} exists but is not a directory`);return e};fs$5.fileExists=async e=>{let n;try{n=await(0,t.stat)(e)}catch{throw new Error(`No file found at ${e}`)}if(!n.isFile())throw new Error(`${e} exists but is not a file`);return e};class r extends Map{set(e,t){return(0,n.isProd)()&&super.set(e,t),this}}const i=new r;async function o(e,n=!0){if(n&&i.has(e))return JSON.parse(i.get(e));const r=await(0,t.readFile)(e,"utf8");return i.set(e,r),JSON.parse(r)}return fs$5}function requireArgs(){if(hasRequiredArgs)return args;hasRequiredArgs=1,Object.defineProperty(args,"__esModule",{value:!0}),args.string=args.url=args.file=args.directory=args.integer=args.boolean=void 0,args.custom=r;const e=require$$0$7,t=requireFs$4(),n=requireUtil$f();function r(e){return(t={})=>({parse:async(e,t,n)=>e,...e,...t,input:[],type:"option"})}args.boolean=r({parse:async e=>Boolean(e)&&(0,n.isNotFalsy)(e)}),args.integer=r({async parse(e,t,n){if(!/^-?\d+$/.test(e))throw new Error(`Expected an integer but received: ${e}`);const r=Number.parseInt(e,10);if(void 0!==n.min&&rn.max)throw new Error(`Expected an integer less than or equal to ${n.max} but received: ${e}`);return r}}),args.directory=r({parse:async(e,n,r)=>r.exists?(0,t.dirExists)(e):e}),args.file=r({parse:async(e,n,r)=>r.exists?(0,t.fileExists)(e):e}),args.url=r({async parse(t){try{return new e.URL(t)}catch{throw new Error(`Expected a valid url but received: ${t}`)}}});const i=r({});return args.string=i,args}var command$2={},cache$3={},hasRequiredCache$2;function requireCache$2(){if(hasRequiredCache$2)return cache$3;hasRequiredCache$2=1,Object.defineProperty(cache$3,"__esModule",{value:!0});const e=fs$6,t=path$1;class n extends Map{static instance;constructor(){super(),this.set("@oclif/core",this.getOclifCoreMeta())}static getInstance(){return n.instance||(n.instance=new n),n.instance}get(e){return super.get(e)}getOclifCoreMeta(){try{return{name:"@oclif/core",version:require("@oclif/core/package.json").version}}catch{try{return{name:"@oclif/core",version:JSON.parse((0,e.readFileSync)((0,t.join)(__dirname,"..","package.json"),"utf8")).version}}catch{return{name:"@oclif/core",version:"unknown"}}}}}return cache$3.default=n,cache$3}var config$3={},config$2={exports:{}},ejs={},utils$c={},hasRequiredUtils$c;function requireUtils$c(){return hasRequiredUtils$c||(hasRequiredUtils$c=1,function(e){var t=/[|\\{}()[\]^$+*?.]/g,n=Object.prototype.hasOwnProperty,r=function(e,t){return n.apply(e,[t])};e.escapeRegExpChars=function(e){return e?String(e).replace(t,"\\$&"):""};var i={"&":"&","<":"<",">":">",'"':""","'":"'"},o=/[&<>'"]/g;function s(e){return i[e]||e}function a(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'}e.escapeXML=function(e){return null==e?"":String(e).replace(o,s)};try{"function"==typeof Object.defineProperty?Object.defineProperty(e.escapeXML,"toString",{value:a}):e.escapeXML.toString=a}catch(e){console.warn("Unable to set escapeXML.toString (is the Function prototype frozen?)")}e.shallowCopy=function(e,t){if(t=t||{},null!=e)for(var n in t)r(t,n)&&"__proto__"!==n&&"constructor"!==n&&(e[n]=t[n]);return e},e.shallowCopyFromList=function(e,t,n){if(n=n||[],t=t||{},null!=e)for(var i=0;i (http://fleegix.org)",license$1="Apache-2.0",bin$1={ejs:"./bin/cli.js"},main$5="./lib/ejs.js",jsdelivr="ejs.min.js",unpkg="ejs.min.js",repository$1={type:"git",url:"git://github.com/mde/ejs.git"},bugs$1="https://github.com/mde/ejs/issues",homepage="https://github.com/mde/ejs",dependencies$3={jake:"^10.8.5"},devDependencies={browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^4.0.2","lru-cache":"^4.0.1",mocha:"^10.2.0","uglify-js":"^3.3.16"},engines$1={node:">=0.10.0"},scripts$1={test:"npx jake test"},require$$3$3={name:name$1,description:description$3,keywords:keywords$1,version:version$1,author:author$1,license:license$1,bin:bin$1,main:main$5,jsdelivr:jsdelivr,unpkg:unpkg,repository:repository$1,bugs:bugs$1,homepage:homepage,dependencies:dependencies$3,devDependencies:devDependencies,engines:engines$1,scripts:scripts$1},hasRequiredEjs;function requireEjs(){return hasRequiredEjs||(hasRequiredEjs=1,function(e){ /** * @file Embedded JavaScript templating engine. {@link http://ejs.co} * @author Matthew Eernisse @@ -6,7 +6,7 @@ import require$$0$6,{fileURLToPath}from"node:url";import fs$6,{readFileSync}from * @project EJS * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0} */ -var t=require$$0$7,n=require$$0$8,r=requireUtils$c(),i=!1,o=require$$3$3.version,s="locals",a=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],c=a.concat("cache"),l=/^\uFEFF/,u=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;function d(n,r){var i;if(r.some((function(r){return i=e.resolveInclude(n,r,!0),t.existsSync(i)})))return i}function p(t,n){var r,i=t.filename,o=arguments.length>1;if(t.cache){if(!i)throw new Error("cache option requires a filename");if(r=e.cache.get(i))return r;o||(n=f(i).toString().replace(l,""))}else if(!o){if(!i)throw new Error("Internal EJS error: no file name or template provided");n=f(i).toString().replace(l,"")}return r=e.compile(n,t),t.cache&&e.cache.set(i,r),r}function f(t){return e.fileLoader(t)}function _(n,i){var o=r.shallowCopy(r.createNullProtoObjWherePossible(),i);if(o.filename=function(n,r){var i,o,s=r.views,a=/^[A-Za-z]+:\\|^\//.exec(n);if(a&&a.length)n=n.replace(/^\/*/,""),i=Array.isArray(r.root)?d(n,r.root):e.resolveInclude(n,r.root||"/",!0);else if(r.filename&&(o=e.resolveInclude(n,r.filename),t.existsSync(o)&&(i=o)),!i&&Array.isArray(s)&&(i=d(n,s)),!i&&"function"!=typeof r.includer)throw new Error('Could not find the include file "'+r.escapeFunction(n)+'"');return i}(n,o),"function"==typeof i.includer){var s=i.includer(n,o.filename);if(s&&(s.filename&&(o.filename=s.filename),s.template))return p(o,s.template)}return p(o)}function m(e,t,n,r,i){var o=t.split("\n"),s=Math.max(r-3,0),a=Math.min(o.length,r+3),c=i(n),l=o.slice(s,a).map((function(e,t){var n=t+s+1;return(n==r?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=c,e.message=(c||"ejs")+":"+r+"\n"+l+"\n\n"+e.message,e}function h(e){return e.replace(/;(\s*$)/,"$1")}function g(t,n){var i=r.hasOwnOnlyObject(n),o=r.createNullProtoObjWherePossible();this.templateText=t,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",o.client=i.client||!1,o.escapeFunction=i.escape||i.escapeFunction||r.escapeXML,o.compileDebug=!1!==i.compileDebug,o.debug=!!i.debug,o.filename=i.filename,o.openDelimiter=i.openDelimiter||e.openDelimiter||"<",o.closeDelimiter=i.closeDelimiter||e.closeDelimiter||">",o.delimiter=i.delimiter||e.delimiter||"%",o.strict=i.strict||!1,o.context=i.context,o.cache=i.cache||!1,o.rmWhitespace=i.rmWhitespace,o.root=i.root,o.includer=i.includer,o.outputFunctionName=i.outputFunctionName,o.localsName=i.localsName||e.localsName||s,o.views=i.views,o.async=i.async,o.destructuredLocals=i.destructuredLocals,o.legacyInclude=void 0===i.legacyInclude||!!i.legacyInclude,o.strict?o._with=!1:o._with=void 0===i._with||i._with,this.opts=o,this.regex=this.createRegex()}e.cache=r.cache,e.fileLoader=t.readFileSync,e.localsName=s,e.promiseImpl=new Function("return this;")().Promise,e.resolveInclude=function(e,t,r){var i=n.dirname,o=n.extname,s=(0,n.resolve)(r?t:i(t),e);return o(e)||(s+=".ejs"),s},e.compile=function(e,t){return t&&t.scope&&(i||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),i=!0),t.context||(t.context=t.scope),delete t.scope),new g(e,t).compile()},e.render=function(e,t,n){var i=t||r.createNullProtoObjWherePossible(),o=n||r.createNullProtoObjWherePossible();return 2==arguments.length&&r.shallowCopyFromList(o,i,a),p(o,e)(i)},e.renderFile=function(){var t,n,i,o=Array.prototype.slice.call(arguments),s=o.shift(),a={filename:s};return"function"==typeof arguments[arguments.length-1]&&(t=o.pop()),o.length?(n=o.shift(),o.length?r.shallowCopy(a,o.pop()):(n.settings&&(n.settings.views&&(a.views=n.settings.views),n.settings["view cache"]&&(a.cache=!0),(i=n.settings["view options"])&&r.shallowCopy(a,i)),r.shallowCopyFromList(a,n,c)),a.filename=s):n=r.createNullProtoObjWherePossible(),function(t,n,r){var i;if(!r){if("function"==typeof e.promiseImpl)return new e.promiseImpl((function(e,r){try{e(i=p(t)(n))}catch(e){r(e)}}));throw new Error("Please provide a callback function")}try{i=p(t)(n)}catch(e){return r(e)}r(null,i)}(a,n,t)},e.Template=g,e.clearCache=function(){e.cache.reset()},g.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},g.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=r.escapeRegExpChars(this.opts.delimiter),n=r.escapeRegExpChars(this.opts.openDelimiter),i=r.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(//g,i),new RegExp(e)},compile:function(){var e,t,i,o=this.opts,s="",a="",c=o.escapeFunction,l=o.filename?JSON.stringify(o.filename):"undefined";if(!this.source){if(this.generateSource(),s+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',o.outputFunctionName){if(!u.test(o.outputFunctionName))throw new Error("outputFunctionName is not a valid JS identifier.");s+=" var "+o.outputFunctionName+" = __append;\n"}if(o.localsName&&!u.test(o.localsName))throw new Error("localsName is not a valid JS identifier.");if(o.destructuredLocals&&o.destructuredLocals.length){for(var d=" var __locals = ("+o.localsName+" || {}),\n",p=0;p0&&(d+=",\n "),d+=f+" = __locals."+f}s+=d+";\n"}!1!==o._with&&(s+=" with ("+o.localsName+" || {}) {\n",a+=" }\n"),a+=" return __output;\n",this.source=s+this.source+a}e=o.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+l+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,o.client&&(e="escapeFn = escapeFn || "+c.toString()+";\n"+e,o.compileDebug&&(e="rethrow = rethrow || "+m.toString()+";\n"+e)),o.strict&&(e='"use strict";\n'+e),o.debug&&console.log(e),o.compileDebug&&o.filename&&(e=e+"\n//# sourceURL="+l+"\n");try{if(o.async)try{i=new Function("return (async function(){}).constructor;")()}catch(e){throw e instanceof SyntaxError?new Error("This environment does not support async/await"):e}else i=Function;t=new i(o.localsName+", escapeFn, include, rethrow",e)}catch(e){throw e instanceof SyntaxError&&(o.filename&&(e.message+=" in "+o.filename),e.message+=" while compiling ejs\n\n",e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",e.message+="https://github.com/RyanZim/EJS-Lint",o.async||(e.message+="\n",e.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),e}var h=o.client?t:function(e){return t.apply(o.context,[e||r.createNullProtoObjWherePossible(),c,function(t,n){var i=r.shallowCopy(r.createNullProtoObjWherePossible(),e);return n&&(i=r.shallowCopy(i,n)),_(t,o)(i)},m])};if(o.filename&&"function"==typeof Object.defineProperty){var g=o.filename,A=n.basename(g,n.extname(g));try{Object.defineProperty(h,"name",{value:A,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}return h},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(o,s){var a;if(0===o.indexOf(r+n)&&0!==o.indexOf(r+n+n)&&(a=t[s+2])!=n+i&&a!="-"+n+i&&a!="_"+n+i)throw new Error('Could not find matching close tag for "'+o+'".');e.scanLine(o)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,r=n.exec(t),i=[];r;)0!==(e=r.index)&&(i.push(t.substring(0,e)),t=t.slice(e)),i.push(r[0]),t=t.slice(r[0].length),r=n.exec(t);return t&&i.push(t),i},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case r+n:case r+n+"_":this.mode=g.modes.EVAL;break;case r+n+"=":this.mode=g.modes.ESCAPED;break;case r+n+"-":this.mode=g.modes.RAW;break;case r+n+"#":this.mode=g.modes.COMMENT;break;case r+n+n:this.mode=g.modes.LITERAL,this.source+=' ; __append("'+e.replace(r+n+n,r+n)+'")\n';break;case n+n+i:this.mode=g.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+i,n+i)+'")\n';break;case n+i:case"-"+n+i:case"_"+n+i:this.mode==g.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case g.modes.EVAL:case g.modes.ESCAPED:case g.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case g.modes.EVAL:this.source+=" ; "+e+"\n";break;case g.modes.ESCAPED:this.source+=" ; __append(escapeFn("+h(e)+"))\n";break;case g.modes.RAW:this.source+=" ; __append("+h(e)+")\n";break;case g.modes.COMMENT:break;case g.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},e.escapeXML=r.escapeXML,e.__express=e.renderFile,e.VERSION=o,e.name="ejs","undefined"!=typeof window&&(window.ejs=e)}(ejs)),ejs}var isWsl$2={exports:{}},isDocker_1,hasRequiredIsDocker,hasRequiredIsWsl;function requireIsDocker(){if(hasRequiredIsDocker)return isDocker_1;hasRequiredIsDocker=1;const e=require$$0$7;let t;return isDocker_1=()=>(void 0===t&&(t=function(){try{return e.statSync("/.dockerenv"),!0}catch(e){return!1}}()||function(){try{return e.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(e){return!1}}()),t)}function requireIsWsl(){if(hasRequiredIsWsl)return isWsl$2.exports;hasRequiredIsWsl=1;const e=require$$0$9,t=require$$0$7,n=requireIsDocker(),r=()=>{if("linux"!==process.platform)return!1;if(e.release().toLowerCase().includes("microsoft"))return!n();try{return!!t.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")&&!n()}catch(e){return!1}};return process.env.__IS_WSL_TEST__?isWsl$2.exports=r:isWsl$2.exports=r(),isWsl$2.exports}var errors$4={},error$2={},logger={},src$8={exports:{}},browser={exports:{}},ms,hasRequiredMs,common$6,hasRequiredCommon$5,hasRequiredBrowser;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var e=1e3,t=60*e,n=60*t,r=24*n,i=7*r,o=365.25*r;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}return ms=function(a,c){c=c||{};var l=typeof a;if("string"===l&&a.length>0)return function(s){if(s=String(s),s.length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(a);if("number"===l&&isFinite(a))return c.long?function(i){var o=Math.abs(i);if(o>=r)return s(i,o,r,"day");if(o>=n)return s(i,o,n,"hour");if(o>=t)return s(i,o,t,"minute");if(o>=e)return s(i,o,e,"second");return i+" ms"}(a):function(i){var o=Math.abs(i);if(o>=r)return Math.round(i/r)+"d";if(o>=n)return Math.round(i/n)+"h";if(o>=t)return Math.round(i/t)+"m";if(o>=e)return Math.round(i/e)+"s";return i+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},ms}function requireCommon$5(){if(hasRequiredCommon$5)return common$6;return hasRequiredCommon$5=1,common$6=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=requireCommon$5()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(browser,browser.exports)),browser.exports}var node={exports:{}},hasFlag$1,hasRequiredHasFlag,supportsColor_1$1,hasRequiredSupportsColor$2,hasRequiredNode,hasRequiredSrc$8,hasRequiredLogger;function requireHasFlag(){return hasRequiredHasFlag?hasFlag$1:(hasRequiredHasFlag=1,hasFlag$1=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((e=>e in r))||"codeship"===r.CI_NAME?1:l;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=Number.parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:l}function s(e,t={}){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(o(e,{streamIsTTY:e&&e.isTTY,...t}))}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?i=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(i=1),supportsColor_1$1={supportsColor:s,stdout:s({isTTY:t.isatty(1)}),stderr:s({isTTY:t.isatty(2)})}}function requireNode(){return hasRequiredNode||(hasRequiredNode=1,function(e,t){const n=require$$1$1,r=require$$0__default;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=requireSupportsColor$2();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=requireCommon$5()(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}}(node,node.exports)),node.exports}function requireSrc$8(){return hasRequiredSrc$8||(hasRequiredSrc$8=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?src$8.exports=requireBrowser():src$8.exports=requireNode()),src$8.exports}function requireLogger(){if(hasRequiredLogger)return logger;hasRequiredLogger=1;var e=logger&&logger.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(logger,"__esModule",{value:!0}),logger.getLogger=o,logger.makeDebug=function(e){return(t,...n)=>o(e).debug(t,...n)},logger.setLogger=function(e){e&&"string"!=typeof e&&"logger"in e&&e.logger?s(e.logger):s(r(n))},logger.clearLoggers=function(){i.clear()};const t=e(requireSrc$8()),n="oclif";function r(e=n){const i=(0,t.default)(e);return{child:(t,n)=>r(`${e}${n??":"}${t}`),debug:i,error:(t,...n)=>r(`${e}:error`).debug(t,...n),info:i,namespace:e,trace:i,warn:i}}const i=new Map;function o(e){let t=i.get("root");if(t||s(r(n)),t=i.get("root"),e){const n=i.get(e);if(n)return n;const r=t.child(e);return i.set(e,r),r}return t}function s(e){i.has(e.namespace)||i.has("root")||(!function(e){return"function"==typeof e.child&&"function"==typeof e.debug&&"function"==typeof e.error&&"function"==typeof e.info&&"function"==typeof e.trace&&"function"==typeof e.warn&&"string"==typeof e.namespace}(e)?process.emitWarning("Logger does not match the Logger interface. Using default logger."):(i.set(e.namespace,e),i.set("root",e)))}return logger}var write={},hasRequiredWrite;function requireWrite(){if(hasRequiredWrite)return write;hasRequiredWrite=1,Object.defineProperty(write,"__esModule",{value:!0}),write.stderr=write.stdout=void 0;const e=require$$1$2;write.stdout=(t,...n)=>{!t&&n?console.log((0,e.format)(...n)):t?"string"==typeof t?console.log((0,e.format)(t,...n)):console.log((0,e.format)(...t,...n)):console.log()};return write.stderr=(t,...n)=>{!t&&n?console.error((0,e.format)(...n)):t?"string"==typeof t?console.error((0,e.format)(t,...n)):console.error((0,e.format)(...t,...n)):console.error()},write}var cli={},escapeStringRegexp,hasRequiredEscapeStringRegexp,cleanStack,hasRequiredCleanStack,indentString$1,hasRequiredIndentString;function requireEscapeStringRegexp(){return hasRequiredEscapeStringRegexp||(hasRequiredEscapeStringRegexp=1,escapeStringRegexp=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),escapeStringRegexp}function requireCleanStack(){if(hasRequiredCleanStack)return cleanStack;hasRequiredCleanStack=1;const e=require$$0$9,t=requireEscapeStringRegexp(),n=/\s+at.*[(\s](.*)\)?/,r=/^(?:(?:(?:node|(?:(?:node:)?internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)(?:\.js)?:\d+:\d+)|native)/,i=void 0===e.homedir?"":e.homedir();return cleanStack=(e,{pretty:o=!1,basePath:s}={})=>{const a=s&&new RegExp(`(at | \\()${t(s)}`,"g");return e.replace(/\\/g,"/").split("\n").filter((e=>{const t=e.match(n);if(null===t||!t[1])return!0;const i=t[1];return!i.includes(".app/Contents/Resources/electron.asar")&&!i.includes(".app/Contents/Resources/default_app.asar")&&!r.test(i)})).filter((e=>""!==e.trim())).map((e=>(a&&(e=e.replace(a,"$1")),o&&(e=e.replace(n,((e,t)=>e.replace(t,t.replace(i,"~"))))),e))).join("\n")},cleanStack}function requireIndentString(){return hasRequiredIndentString||(hasRequiredIndentString=1,indentString$1=(e,t=1,n)=>{if(n={indent:" ",includeEmptyLines:!1,...n},"string"!=typeof e)throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if("number"!=typeof t)throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if("string"!=typeof n.indent)throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n.indent}\``);if(0===t)return e;const r=n.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(r,n.indent.repeat(t))}),indentString$1}var stringWidth$1={exports:{}},ansiRegex$1,hasRequiredAnsiRegex,stripAnsi$1,hasRequiredStripAnsi;function requireAnsiRegex(){return hasRequiredAnsiRegex||(hasRequiredAnsiRegex=1,ansiRegex$1=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),ansiRegex$1}function requireStripAnsi(){if(hasRequiredStripAnsi)return stripAnsi$1;hasRequiredStripAnsi=1;const e=requireAnsiRegex();return stripAnsi$1=t=>"string"==typeof t?t.replace(e(),""):t,stripAnsi$1}var isFullwidthCodePoint={exports:{}},hasRequiredIsFullwidthCodePoint,emojiRegex$1,hasRequiredEmojiRegex,hasRequiredStringWidth;function requireIsFullwidthCodePoint(){if(hasRequiredIsFullwidthCodePoint)return isFullwidthCodePoint.exports;hasRequiredIsFullwidthCodePoint=1;const e=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));return isFullwidthCodePoint.exports=e,isFullwidthCodePoint.exports.default=e,isFullwidthCodePoint.exports}function requireEmojiRegex(){return hasRequiredEmojiRegex?emojiRegex$1:(hasRequiredEmojiRegex=1,emojiRegex$1=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g})}function requireStringWidth(){if(hasRequiredStringWidth)return stringWidth$1.exports;hasRequiredStringWidth=1;const e=requireStripAnsi(),t=requireIsFullwidthCodePoint(),n=requireEmojiRegex(),r=r=>{if("string"!=typeof r||0===r.length)return 0;if(0===(r=e(r)).length)return 0;r=r.replace(n()," ");let i=0;for(let e=0;e=127&&n<=159||(n>=768&&n<=879||(n>65535&&e++,i+=t(n)?2:1))}return i};return stringWidth$1.exports=r,stringWidth$1.exports.default=r,stringWidth$1.exports}var ansiStyles$1={exports:{}},colorName,hasRequiredColorName,conversions,hasRequiredConversions,route,hasRequiredRoute,colorConvert,hasRequiredColorConvert,hasRequiredAnsiStyles,wrapAnsi_1,hasRequiredWrapAnsi;function requireColorName(){return hasRequiredColorName?colorName:(hasRequiredColorName=1,colorName={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]})}function requireConversions(){if(hasRequiredConversions)return conversions;hasRequiredConversions=1;const e=requireColorName(),t={};for(const n of Object.keys(e))t[e[n]]=n;const n={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};conversions=n;for(const e of Object.keys(n)){if(!("channels"in n[e]))throw new Error("missing channels property: "+e);if(!("labels"in n[e]))throw new Error("missing channel labels property: "+e);if(n[e].labels.length!==n[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=n[e];delete n[e].channels,delete n[e].labels,Object.defineProperty(n[e],"channels",{value:t}),Object.defineProperty(n[e],"labels",{value:r})}return n.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=o-i;let a,c;o===i?a=0:t===o?a=(n-r)/s:n===o?a=2+(r-t)/s:r===o&&(a=4+(t-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+o)/2;return c=o===i?0:l<=.5?s/(o+i):s/(2-o-i),[a,100*c,100*l]},n.rgb.hsv=function(e){let t,n,r,i,o;const s=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(s,a,c),u=l-Math.min(s,a,c),d=function(e){return(l-e)/6/u+.5};return 0===u?(i=0,o=0):(o=u/l,t=d(s),n=d(a),r=d(c),s===l?i=r-n:a===l?i=1/3+t-r:c===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},n.rgb.hwb=function(e){const t=e[0],r=e[1];let i=e[2];const o=n.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,i));return i=1-1/255*Math.max(t,Math.max(r,i)),[o,100*s,100*i]},n.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},n.rgb.keyword=function(n){const r=t[n];if(r)return r;let i,o=1/0;for(const t of Object.keys(e)){const r=e[t],c=(a=r,((s=n)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);c.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},n.rgb.lab=function(e){const t=n.rgb.xyz(e);let r=t[0],i=t[1],o=t[2];r/=95.047,i/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*i-16,500*(r-i),200*(i-o)]},n.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,s;if(0===n)return s=255*r,[s,s,s];i=r<.5?r*(1+n):r+n-r*n;const a=2*r-i,c=[0,0,0];for(let e=0;e<3;e++)o=t+1/3*-(e-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,c[e]=255*s;return c},n.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;return[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},n.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),c=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,c,s];case 1:return[a,r,s];case 2:return[s,r,c];case 3:return[s,a,r];case 4:return[c,s,r];case 5:return[r,s,a]}},n.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,s;s=(2-n)*r;const a=(2-n)*i;return o=n*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},n.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const s=Math.floor(6*t),a=1-r;o=6*t-s,1&s&&(o=1-o);const c=n+o*(a-n);let l,u,d;switch(s){default:case 6:case 0:l=a,u=c,d=n;break;case 1:l=c,u=a,d=n;break;case 2:l=n,u=a,d=c;break;case 3:l=n,u=c,d=a;break;case 4:l=c,u=n,d=a;break;case 5:l=a,u=n,d=c}return[255*l,255*u,255*d]},n.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},n.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},n.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},n.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,s=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},n.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(n*n+r*r),i]},n.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},n.rgb.ansi16=function(e,t=null){const[r,i,o]=e;let s=null===t?n.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));return 2===s&&(a+=60),a},n.hsv.ansi16=function(e){return n.rgb.ansi16(n.hsv.rgb(e),e[2])},n.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},n.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},n.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},n.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},n.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},n.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),s=i-o;let a,c;return a=s<1?o/(1-s):0,c=s<=0?0:i===t?(n-r)/s%6:i===n?2+(r-t)/s:4+(t-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},n.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},n.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},n.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let c=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-n)*r,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},n.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},n.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},n.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},n.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},n.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},n.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},n.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},n.gray.hsl=function(e){return[0,0,e[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(e){return[0,100,e[0]]},n.gray.cmyk=function(e){return[0,0,0,e[0]]},n.gray.lab=function(e){return[e[0],0,0]},n.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},n.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]},conversions}function requireRoute(){if(hasRequiredRoute)return route;hasRequiredRoute=1;const e=requireConversions();function t(t){const n=function(){const t={},n=Object.keys(e);for(let e=n.length,r=0;r{n[r]={},Object.defineProperty(n[r],"channels",{value:e[r].channels}),Object.defineProperty(n[r],"labels",{value:e[r].labels});const i=t(r);Object.keys(i).forEach((e=>{const t=i[e];n[r][e]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(t)}))})),colorConvert=n}function requireAnsiStyles(){return hasRequiredAnsiStyles||(hasRequiredAnsiStyles=1,function(e){const t=(e,t)=>(...n)=>`[${e(...n)+t}m`,n=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};5;${r}m`},r=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`},i=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let a;const c=(e,t,n,r)=>{void 0===a&&(a=requireColorConvert());const i=r?10:0,o={};for(const[r,s]of Object.entries(a)){const a="ansi16"===r?"ansi":r;r===t?o[a]=e(n,i):"object"==typeof s&&(o[a]=e(s[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[t,n]of Object.entries(a)){for(const[t,r]of Object.entries(n))a[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=a[t],e.set(r[0],r[1]);Object.defineProperty(a,t,{value:n,enumerable:!1})}return Object.defineProperty(a,"codes",{value:e,enumerable:!1}),a.color.close="",a.bgColor.close="",s(a.color,"ansi",(()=>c(t,"ansi16",i,!1))),s(a.color,"ansi256",(()=>c(n,"ansi256",i,!1))),s(a.color,"ansi16m",(()=>c(r,"rgb",o,!1))),s(a.bgColor,"ansi",(()=>c(t,"ansi16",i,!0))),s(a.bgColor,"ansi256",(()=>c(n,"ansi256",i,!0))),s(a.bgColor,"ansi16m",(()=>c(r,"rgb",o,!0))),a}})}(ansiStyles$1)),ansiStyles$1.exports}function requireWrapAnsi(){if(hasRequiredWrapAnsi)return wrapAnsi_1;hasRequiredWrapAnsi=1;const e=requireStringWidth(),t=requireStripAnsi(),n=requireAnsiStyles(),r=new Set(["","›"]),i="]8;;",o=e=>`${r.values().next().value}[${e}m`,s=e=>`${r.values().next().value}${i}${e}`,a=(n,o,s)=>{const a=[...o];let c=!1,l=!1,u=e(t(n[n.length-1]));for(const[t,o]of a.entries()){const d=e(o);u+d<=s?n[n.length-1]+=o:(n.push(o),u=0),r.has(o)&&(c=!0,l=a.slice(t+1).join("").startsWith(i)),c?l?""===o&&(c=!1,l=!1):"m"===o&&(c=!1):(u+=d,u===s&&t0&&n.length>1&&(n[n.length-2]+=n.pop())},c=t=>{const n=t.split(" ");let r=n.length;for(;r>0&&!(e(n[r-1])>0);)r--;return r===n.length?t:n.slice(0,r).join(" ")+n.slice(r).join("")},l=(t,l,u={})=>{if(!1!==u.trim&&""===t.trim())return"";let d,p,f="";const _=(t=>t.split(" ").map((t=>e(t))))(t);let m=[""];for(const[n,r]of t.split(" ").entries()){!1!==u.trim&&(m[m.length-1]=m[m.length-1].trimStart());let t=e(m[m.length-1]);if(0!==n&&(t>=l&&(!1===u.wordWrap||!1===u.trim)&&(m.push(""),t=0),(t>0||!1===u.trim)&&(m[m.length-1]+=" ",t++)),u.hard&&_[n]>l){const e=l-t,i=1+Math.floor((_[n]-e-1)/l);Math.floor((_[n]-1)/l)l&&t>0&&_[n]>0){if(!1===u.wordWrap&&tl&&!1===u.wordWrap?a(m,r,l):m[m.length-1]+=r}}!1!==u.trim&&(m=m.map(c));const h=[...m.join("\n")];for(const[e,t]of h.entries()){if(f+=t,r.has(t)){const{groups:t}=new RegExp(`(?:\\[(?\\d+)m|\\${i}(?.*))`).exec(h.slice(e).join(""))||{groups:{}};if(void 0!==t.code){const e=Number.parseFloat(t.code);d=39===e?void 0:e}else void 0!==t.uri&&(p=0===t.uri.length?void 0:t.uri)}const a=n.codes.get(Number(d));"\n"===h[e+1]?(p&&(f+=s("")),d&&a&&(f+=o(a))):"\n"===t&&(d&&a&&(f+=o(d)),p&&(f+=s(p)))}return f};return wrapAnsi_1=(e,t,n)=>String(e).normalize().replace(/\r\n/g,"\n").split("\n").map((e=>l(e,t,n))).join("\n"),wrapAnsi_1}ansiStyles$1.exports;var screen={},settings$4={},hasRequiredSettings$4,hasRequiredScreen;function requireSettings$4(){return hasRequiredSettings$4||(hasRequiredSettings$4=1,Object.defineProperty(settings$4,"__esModule",{value:!0}),settings$4.settings=void 0,commonjsGlobal.oclif||(commonjsGlobal.oclif={}),settings$4.settings=commonjsGlobal.oclif),settings$4}function requireScreen(){if(hasRequiredScreen)return screen;hasRequiredScreen=1,Object.defineProperty(screen,"__esModule",{value:!0}),screen.errtermwidth=screen.stdtermwidth=void 0;const e=requireSettings$4();function t(e){if(!e.isTTY)return 80;const t=e.getWindowSize()[0];return t<1?80:t<40?40:t}const n=Number.parseInt(process.env.OCLIF_COLUMNS,10)||e.settings.columns;return screen.stdtermwidth=n||t(process.stdout),screen.errtermwidth=n||t(process.stderr),screen}var theme$1={},ansis$1={exports:{}},ansis=ansis$1.exports,hasRequiredAnsis;function requireAnsis(){if(hasRequiredAnsis)return ansis$1.exports;hasRequiredAnsis=1,Object.defineProperty(ansis,"__esModule",{value:!0});const{round:e,floor:t,max:n}=Math,r=e=>{let[,t]=/([a-f\d]{3,6})/i.exec(e)||[],n=t?t.length:0;if(3===n)t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2];else if(6!==n)return[0,0,0];let r=parseInt(t,16);return[r>>16&255,r>>8&255,255&r]},i=(t,n,r)=>t===n&&n===r?t<8?16:t>248?231:e((t-8)/247*24)+232:16+36*e(t/51)+6*e(n/51)+e(r/51),o=r=>{let i,o,s,a,c,l;return r<8?30+r:r<16?r-8+90:(r>=232?i=o=s=(10*(r-232)+8)/255:(l=(r-=16)%36,i=t(r/36)/5,o=t(l/6)/5,s=l%6/5),a=2*n(i,o,s),0===a?30:(c=30+(e(s)<<2|e(o)<<1|e(i)),2===a?c+60:c))},s=(e,t,n)=>o(i(e,t,n)),a=(()=>{const e=e=>!!a.find((t=>e.test(t))),t=globalThis,n=t.Deno,r=null!=n,i=t.process||n||{},o=i.stdout,s="win32"===(r?n.build.os:i.platform),a=i.argv||i.args||[];let c=i.env||{},l=-1;if(r)try{c=c.toObject()}catch(e){l=0}const u="FORCE_COLOR",d=c[u],p=parseInt(d),f="false"===d?0:isNaN(p)?3:p,_="NO_COLOR"in c||0===f||e(/^-{1,2}(no-color|color=(false|never))$/),m=u in c&&f||e(/^-{1,2}color=?(true|always)?$/),h=(c.NEXT_RUNTIME||"").indexOf("edge")>-1||"PM2_HOME"in c&&"pm_id"in c||(r?n.isatty(1):o&&"isTTY"in o);return _?0:(l<0&&(l=((e,t,n)=>{const{TERM:r,COLORTERM:i}=e;return"TF_BUILD"in e?1:"TEAMCITY_VERSION"in e?2:"CI"in e?["GITHUB_ACTIONS","GITEA_ACTIONS"].some((t=>t in e))?3:1:!t||/-mono|dumb/i.test(r)?0:n||"truecolor"===i||"24bit"===i||"xterm-kitty"===r?3:/-256(colou?r)?$/i.test(r)?2:/^screen|^tmux|^xterm|^vt[1-5][0-9]([0-9])?|^ansi|color|cygwin|linux|mintty|rxvt/i.test(r)?1:3})(c,h,s)),m&&0===l?3:l)})(),c=a>0,l={open:"",close:""},u=c?(e,t)=>({open:`[${e}m`,close:`[${t}m`}):()=>l,d=39,p=49,f=e=>(t,n,r)=>e(i(t,n,r)),_=e=>t=>{let[n,i,o]=r(t);return e(n,i,o)};let m=e=>u(`38;5;${e}`,d),h=e=>u(`48;5;${e}`,p),g=(e,t,n)=>u(`38;2;${e};${t};${n}`,d),A=(e,t,n)=>u(`48;2;${e};${t};${n}`,p);1===a?(m=e=>u(o(e),d),h=e=>u(o(e)+10,p),g=(e,t,n)=>u(s(e,t,n),d),A=(e,t,n)=>u(s(e,t,n)+10,p)):2===a&&(g=f(m),A=f(h));let y,v,b={ansi256:m,bgAnsi256:h,fg:m,bg:h,rgb:g,bgRgb:A,hex:_(g),bgHex:_(A),visible:l,reset:u(0,0),inverse:u(7,27),hidden:u(8,28),bold:u(1,22),dim:u(2,22),italic:u(3,23),underline:u(4,24),strikethrough:u(9,29),strike:u(9,29),grey:u(90,d),gray:u(90,d),bgGrey:u(100,p),bgGray:u(100,p)},C=["black","red","green","yellow","blue","magenta","cyan","white"],E="Bright",x=30;for(y of C)v="bg"+y[0].toUpperCase()+y.slice(1),b[y]=u(x,d),b[y+E]=u(x+60,d),b[v]=u(x+10,p),b[v+E]=u(x+70,p),x++;const{defineProperty:S,defineProperties:k,setPrototypeOf:D}=Object,w=/[›][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,I=/(\r?\n)/g,T={},F=({_p:e},{open:t,close:n})=>{const r=(e,...t)=>{if(!e)return"";let n=r._p,{_a:i,_b:o}=n,s=null!=e.raw?String.raw(e,...t):""+e;if(s.includes(""))for(;null!=n;){let e=n.close,t=e.length;if(t){let r,i=0,o="";for(;~(r=s.indexOf(e,i));)o+=s.slice(i,r)+n.open,i=r+t;i&&(s=o+s.slice(i))}n=n._p}return s.includes("\n")&&(s=s.replace(I,o+"$1"+i)),i+s+o};let i=t,o=n;return null!=e&&(i=e._a+t,o=n+e._b),D(r,P),r._p={open:t,close:n,_a:i,_b:o,_p:e},r.open=i,r.close=o,r},R=function(){const e=e=>""+e;return e.isSupported=()=>c,e.strip=e=>e.replace(w,""),e.extend=t=>{for(let e in t){let n=t[e],i=typeof n,o="string"===i?g(...r(n)):n;T[e]="function"===i?{get(){return(...e)=>F(this,n(...e))}}:{get(){let t=F(this,o);return S(this,e,{value:t}),t}}}P=k({},T),D(e,P)},e.extend(b),e};let P;const N=new R;return ansis$1.exports=N,ansis$1.exports.Ansis=R,ansis$1.exports}var theme={},hasRequiredTheme$1;function requireTheme$1(){return hasRequiredTheme$1||(hasRequiredTheme$1=1,Object.defineProperty(theme,"__esModule",{value:!0}),theme.STANDARD_ANSI=void 0,theme.STANDARD_ANSI=["white","black","blue","yellow","green","red","magenta","cyan","gray","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgGray","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","bold","underline","dim","italic","strikethrough"]),theme}var supportsColor$1={},hasRequiredSupportsColor$1,hasRequiredTheme,hasRequiredCli;function requireSupportsColor$1(){if(hasRequiredSupportsColor$1)return supportsColor$1;hasRequiredSupportsColor$1=1,Object.defineProperty(supportsColor$1,"__esModule",{value:!0}),supportsColor$1.supportsColor=function(){return Boolean(e.stdout)&&Boolean(e.stderr)};const e=requireSupportsColor$2();return supportsColor$1}function requireTheme(){if(hasRequiredTheme)return theme$1;hasRequiredTheme=1;var e=theme$1&&theme$1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(theme$1,"__esModule",{value:!0}),theme$1.colorize=function(e,n){if(!e)return n;if(!(0,r.supportsColor)())return n;if(i(e))return t.default[e](n);if(e.startsWith("#"))return t.default.hex(e)(n);if(e.startsWith("rgb")){const[r,i,o]=e.slice(4,-1).split(",").map((e=>Number.parseInt(e.trim(),10)));return t.default.rgb(r,i,o)(n)}return n},theme$1.parseTheme=function e(t){return Object.fromEntries(Object.entries(t).map((([t,n])=>{return[t,"string"==typeof n?(r=n,r.startsWith("#")||r.startsWith("rgb")||i(r)?r:void 0):e(n)];var r})).filter((([e,t])=>t)))};const t=e(requireAnsis()),n=requireTheme$1(),r=requireSupportsColor$1();function i(e){return n.STANDARD_ANSI.includes(e)}return theme$1}function requireCli(){if(hasRequiredCli)return cli;hasRequiredCli=1;var e=cli&&cli.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cli,"__esModule",{value:!0}),cli.CLIError=void 0,cli.addOclifExitCode=c;const t=e(requireCleanStack()),n=e(requireIndentString()),r=e(requireWrapAnsi()),i=e(requireCache$2()),o=requireScreen(),s=requireSettings$4(),a=requireTheme();function c(e,t){return"oclif"in e||(e.oclif={}),e.oclif.exit=void 0===t?.exit?i.default.getInstance().get("exitCodes")?.default??2:t.exit,e}class l extends Error{code;oclif={};skipOclifErrorHandling;suggestions;constructor(e,t={}){super(e instanceof Error?e.message:e),c(this,t),this.code=t.code,this.suggestions=t.suggestions}get bang(){try{return(0,a.colorize)("red","win32"===process.platform?"»":"›")}catch{}}get stack(){return(0,t.default)(super.stack,{pretty:!0})}render(){if(s.settings.debug)return this.stack;let e=`${this.name}: ${this.message}`;return e=(0,r.default)(e,o.errtermwidth-6,{hard:!0,trim:!1}),e=(0,n.default)(e,3),e=(0,n.default)(e,1,{includeEmptyLines:!0,indent:this.bang}),e=(0,n.default)(e,1),e}}return cli.CLIError=l,function(e){e.Warn=class extends e{constructor(e){super(e instanceof Error?e.message:e),this.name="Warning"}get bang(){try{return(0,a.colorize)("yellow","win32"===process.platform?"»":"›")}catch{}}}}(l||(cli.CLIError=l={})),cli}var prettyPrint={},hasRequiredPrettyPrint,hasRequiredError$1;function requirePrettyPrint(){if(hasRequiredPrettyPrint)return prettyPrint;hasRequiredPrettyPrint=1;var e=prettyPrint&&prettyPrint.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(prettyPrint,"__esModule",{value:!0}),prettyPrint.applyPrettyPrintOptions=function(e,t){const n=["message","code","ref","suggestions"];for(const r of n){!(r in e)&&t[r]&&(e[r]=t[r])}return e},prettyPrint.default=function(e){if(i.settings.debug)return e.stack;const{bang:s,code:a,message:c,name:l,ref:u,suggestions:d}=e,p=c?`${l||"Error"}: ${c}`:void 0,f=a?`Code: ${a}`:void 0,_=o(d),m=u?`Reference: ${u}`:void 0,h=[p,f,_,m].filter(Boolean).join("\n");let g=(0,n.default)(h,r.errtermwidth-6,{hard:!0,trim:!1});return g=(0,t.default)(g,3),g=(0,t.default)(g,1,{includeEmptyLines:!0,indent:s||""}),g=(0,t.default)(g,1),g};const t=e(requireIndentString()),n=e(requireWrapAnsi()),r=requireScreen(),i=requireSettings$4();const o=e=>{const n="Try this:";if(!e||0===e.length)return;if(1===e.length)return`${n} ${e[0]}`;const r=e.map((e=>`* ${e}`)).join("\n");return`${n}\n${(0,t.default)(r,2)}`};return prettyPrint}function requireError$1(){if(hasRequiredError$1)return error$2;hasRequiredError$1=1;var e,t=error$2&&error$2.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=error$2&&error$2.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=error$2&&error$2.__importStar||(e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s>>=5)>0&&(n|=32),r+=e.encode(n)}while(i>0);return r},base64Vlq.decode=function(t,n,r){var i,o,s,a,c=t.length,l=0,u=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));i=!!(32&o),l+=(o&=31)<>1,1&~s?a:-a),r.rest=n},base64Vlq}var util$e={},hasRequiredUtil$e;function requireUtil$e(){return hasRequiredUtil$e||(hasRequiredUtil$e=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(t){var n=t,o=r(t);if(o){if(!o.path)return t;n=o.path}for(var s,a=e.isAbsolute(n),c=n.split(/\/+/),l=0,u=c.length-1;u>=0;u--)"."===(s=c[u])?c.splice(u,1):".."===s?l++:l>0&&(""===s?(c.splice(u+1,l),l=0):(c.splice(u,2),l--));return""===(n=c.join("/"))&&(n=a?"/":"."),o?(o.path=n,i(o)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var s=r(t),a=r(e);if(a&&(e=a.path||"/"),s&&!s.scheme)return a&&(s.scheme=a.scheme),i(s);if(s||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,i(a)):c}e.urlParse=r,e.urlGenerate=i,e.normalize=o,e.join=s,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?c:function(e){return l(e)?"$"+e:e},e.fromSetString=a?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=u(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:u(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=u(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=u(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var a=r(n);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var c=a.path.lastIndexOf("/");c>=0&&(a.path=a.path.substring(0,c+1))}t=s(i(a),t)}return o(t)}}(util$e)),util$e}var arraySet={},hasRequiredArraySet;function requireArraySet(){if(hasRequiredArraySet)return arraySet;hasRequiredArraySet=1;var e=requireUtil$e(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i=0)return i}else{var o=e.toSetString(r);if(t.call(this._set,o))return this._set[o]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&ei||o==i&&a>=s||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},mappingList.MappingList=t,mappingList}function requireSourceMapGenerator(){if(hasRequiredSourceMapGenerator)return sourceMapGenerator;hasRequiredSourceMapGenerator=1;var e=requireBase64Vlq(),t=requireUtil$e(),n=requireArraySet().ArraySet,r=requireMappingList().MappingList;function i(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e){var n=e.sourceRoot,r=new i({file:e.file,sourceRoot:n});return e.eachMapping((function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(i.source=e.source,null!=n&&(i.source=t.relative(n,i.source)),i.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(i.name=e.name)),r.addMapping(i)})),e.sources.forEach((function(i){var o=i;null!==n&&(o=t.relative(n,i)),r._sources.has(o)||r._sources.add(o);var s=e.sourceContentFor(i);null!=s&&r.setSourceContent(i,s)})),r},i.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),i=t.getArg(e,"source",null),o=t.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,i,o),null!=i&&(i=String(i),this._sources.has(i)||this._sources.add(i)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:i,name:o})},i.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(e,r,i){var o=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=e.file}var s=this._sourceRoot;null!=s&&(o=t.relative(s,o));var a=new n,c=new n;this._mappings.unsortedForEach((function(n){if(n.source===o&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=i&&(n.source=t.join(i,n.source)),null!=s&&(n.source=t.relative(s,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var l=n.source;null==l||a.has(l)||a.add(l);var u=n.name;null==u||c.has(u)||c.add(u)}),this),this._sources=a,this._names=c,e.sources.forEach((function(n){var r=e.sourceContentFor(n);null!=r&&(null!=i&&(n=t.join(i,n)),null!=s&&(n=t.relative(s,n)),this.setSourceContent(n,r))}),this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},i.prototype._serializeMappings=function(){for(var n,r,i,o,s=0,a=1,c=0,l=0,u=0,d=0,p="",f=this._mappings.toArray(),_=0,m=f.length;_0){if(!t.compareByGeneratedPositionsInflated(r,f[_-1]))continue;n+=","}n+=e.encode(r.generatedColumn-s),s=r.generatedColumn,null!=r.source&&(o=this._sources.indexOf(r.source),n+=e.encode(o-d),d=o,n+=e.encode(r.originalLine-1-l),l=r.originalLine-1,n+=e.encode(r.originalColumn-c),c=r.originalColumn,null!=r.name&&(i=this._names.indexOf(r.name),n+=e.encode(i-u),u=i)),p+=n}return p},i.prototype._generateSourcesContent=function(e,n){return e.map((function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},sourceMapGenerator.SourceMapGenerator=i,sourceMapGenerator}var sourceMapConsumer={},binarySearch={},hasRequiredBinarySearch;function requireBinarySearch(){return hasRequiredBinarySearch||(hasRequiredBinarySearch=1,function(e){function t(n,r,i,o,s,a){var c=Math.floor((r-n)/2)+n,l=s(i,o[c],!0);return 0===l?c:l>0?r-c>1?t(c,r,i,o,s,a):a==e.LEAST_UPPER_BOUND?r1?t(n,c,i,o,s,a):a==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,r,i,o){if(0===r.length)return-1;var s=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===i(r[s],r[s-1],!0);)--s;return s}}(binarySearch)),binarySearch}var quickSort={},hasRequiredQuickSort,hasRequiredSourceMapConsumer;function requireQuickSort(){if(hasRequiredQuickSort)return quickSort;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(n,r,i,o){if(i=0){var a=this._originalMappings[s];if(void 0===n.column)for(var c=a.originalLine;a&&a.originalLine===c;)o.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)o.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return o},sourceMapConsumer.SourceMapConsumer=o,s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(t){var n,r=t;if(null!=this.sourceRoot&&(r=e.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n1&&(o.source=m+c[1],m+=c[1],o.originalLine=f+c[2],f=o.originalLine,o.originalLine+=1,o.originalColumn=_+c[3],_=o.originalColumn,c.length>4&&(o.name=h+c[4],h+=c[4])),C.push(o),"number"==typeof o.originalLine&&b.push(o)}i(C,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,i(b,e.compareByOriginalPositions),this.__originalMappings=b},s.prototype._findMapping=function(e,n,r,i,o,s){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return t.search(e,n,o,s)},s.prototype.computeColumnSpans=function(){for(var e=0;e=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var s=e.getArg(i,"source",null);null!==s&&(s=this._sources.at(s),s=e.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=e.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:s,line:e.getArg(i,"originalLine",null),column:e.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},s.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i,o=t;if(null!=this.sourceRoot&&(o=e.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=e.urlParse(this.sourceRoot))){var s=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(t){var n=e.getArg(t,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",o.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},sourceMapConsumer.BasicSourceMapConsumer=s,c.prototype=Object.create(o.prototype),c.prototype.constructor=o,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var e=[],t=0;t=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},i.prototype.walk=function(e){for(var t,n=0,i=this.children.length;n0){for(t=[],n=0;n>>=0;var i=e.byteLength-n;if(i<0)throw new RangeError("'offset' is out of bounds");if(void 0===r)r=i;else if((r>>>=0)>i)throw new RangeError("'length' is out of bounds");return t?Buffer.from(e.slice(n,n+r)):new Buffer(new Uint8Array(e.slice(n,n+r)))}(n,r,i):"string"==typeof n?function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!Buffer.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');return t?Buffer.from(e,n):new Buffer(e,n)}(n,r):t?Buffer.from(n):new Buffer(n);var o},bufferFrom_1}function requireSourceMapSupport(){return hasRequiredSourceMapSupport||(hasRequiredSourceMapSupport=1,function(e,t){var n,r=requireSourceMap().SourceMapConsumer,i=require$$0$8;try{(n=require("fs")).existsSync&&n.readFileSync||(n=null)}catch(e){}var o=requireBufferFrom();function s(e,t){return e.require(t)}var a=!1,c=!1,l=!1,u="auto",d={},p={},f=/^data:application\/json[^,]+base64,/,_=[],m=[];function h(){return"browser"===u||"node"!==u&&("undefined"!=typeof window&&"function"==typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type))}function g(e){return function(t){for(var n=0;n";var n=this.getLineNumber();if(null!=n){t+=":"+n;var r=this.getColumnNumber();r&&(t+=":"+r)}}var i="",o=this.getFunctionName(),s=!0,a=this.isConstructor();if(!(this.isToplevel()||a)){var c=this.getTypeName();"[object Object]"===c&&(c="null");var l=this.getMethodName();o?(c&&0!=o.indexOf(c)&&(i+=c+"."),i+=o,l&&o.indexOf("."+l)!=o.length-l.length-1&&(i+=" [as "+l+"]")):i+=c+"."+(l||"")}else a?i+="new "+(o||""):o?i+=o:(i+=t,s=!1);return s&&(i+=" ("+t+")"),i}function x(e){var t={};return Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){t[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]})),t.toString=E,t}function S(e,t){if(void 0===t&&(t={nextPosition:null,curPosition:null}),e.isNative())return t.curPosition=null,e;var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var r=e.getLineNumber(),i=e.getColumnNumber()-1,o=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/.test("object"==typeof process&&null!==process?process.version:"")?0:62;1===r&&i>o&&!h()&&!e.isEval()&&(i-=o);var s=b({source:n,line:r,column:i});t.curPosition=s;var a=(e=x(e)).getFunctionName;return e.getFunctionName=function(){return null==t.nextPosition?a():t.nextPosition.name||a()},e.getFileName=function(){return s.source},e.getLineNumber=function(){return s.line},e.getColumnNumber=function(){return s.column+1},e.getScriptNameOrSourceURL=function(){return s.source},e}var c=e.isEval()&&e.getEvalOrigin();return c?(c=C(c),(e=x(e)).getEvalOrigin=function(){return c},e):e}function k(e,t){l&&(d={},p={});for(var n=(e.name||"Error")+": "+(e.message||""),r={nextPosition:null,curPosition:null},i=[],o=t.length-1;o>=0;o--)i.push("\n at "+S(t[o],r)),r.nextPosition=r.curPosition;return r.curPosition=r.nextPosition=null,n+i.reverse().join("")}function D(e){var t=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(t){var r=t[1],i=+t[2],o=+t[3],s=d[r];if(!s&&n&&n.existsSync(r))try{s=n.readFileSync(r,"utf8")}catch(e){s=""}if(s){var a=s.split(/(?:\r\n|\r|\n)/)[i-1];if(a)return r+":"+i+"\n"+a+"\n"+new Array(o).join(" ")+"^"}}return null}function w(e){var t=D(e),n=function(){if("object"==typeof process&&null!==process)return process.stderr}();n&&n._handle&&n._handle.setBlocking&&n._handle.setBlocking(!0),t&&(console.error(),console.error(t)),console.error(e.stack),function(e){if("object"==typeof process&&null!==process&&"function"==typeof process.exit)process.exit(e)}(1)}m.push((function(e){var t,n=function(e){var t;if(h())try{var n=new XMLHttpRequest;n.open("GET",e,!1),n.send(null),t=4===n.readyState?n.responseText:null;var r=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(r)return r}catch(e){}t=A(e);for(var i,o,s=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;o=s.exec(t);)i=o;return i?i[1]:null}(e);if(!n)return null;if(f.test(n)){var r=n.slice(n.indexOf(",")+1);t=o(r,"base64").toString(),n=e}else n=y(e,n),t=A(n);return t?{url:n,map:t}:null}));var I=_.slice(0),T=m.slice(0);t.wrapCallSite=S,t.getErrorSource=D,t.mapSourcePosition=b,t.retrieveSourceMap=v,t.install=function(t){if((t=t||{}).environment&&(u=t.environment,-1===["node","browser","auto"].indexOf(u)))throw new Error("environment "+u+" was unknown. Available options are {auto, browser, node}");if(t.retrieveFile&&(t.overrideRetrieveFile&&(_.length=0),_.unshift(t.retrieveFile)),t.retrieveSourceMap&&(t.overrideRetrieveSourceMap&&(m.length=0),m.unshift(t.retrieveSourceMap)),t.hookRequire&&!h()){var n=s(e,"module"),r=n.prototype._compile;r.__sourceMapSupport||(n.prototype._compile=function(e,t){return d[t]=e,p[t]=void 0,r.call(this,e,t)},n.prototype._compile.__sourceMapSupport=!0)}if(l||(l="emptyCacheBetweenOperations"in t&&t.emptyCacheBetweenOperations),a||(a=!0,Error.prepareStackTrace=k),!c){var i=!("handleUncaughtExceptions"in t)||t.handleUncaughtExceptions;try{!1===s(e,"worker_threads").isMainThread&&(i=!1)}catch(e){}i&&"object"==typeof process&&null!==process&&"function"==typeof process.on&&(c=!0,o=process.emit,process.emit=function(e){if("uncaughtException"===e){var t=arguments[1]&&arguments[1].stack,n=this.listeners(e).length>0;if(t&&!n)return w(arguments[1])}return o.apply(this,arguments)})}var o},t.resetRetrieveHandlers=function(){_.length=0,m.length=0,_=I.slice(0),m=T.slice(0),v=g(m),A=g(_)}}(sourceMapSupport,sourceMapSupport.exports)),sourceMapSupport.exports} +var t=require$$0$8,n=require$$0$9,r=requireUtils$c(),i=!1,o=require$$3$3.version,s="locals",a=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"],c=a.concat("cache"),u=/^\uFEFF/,l=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;function d(n,r){var i;if(r.some((function(r){return i=e.resolveInclude(n,r,!0),t.existsSync(i)})))return i}function p(t,n){var r,i=t.filename,o=arguments.length>1;if(t.cache){if(!i)throw new Error("cache option requires a filename");if(r=e.cache.get(i))return r;o||(n=f(i).toString().replace(u,""))}else if(!o){if(!i)throw new Error("Internal EJS error: no file name or template provided");n=f(i).toString().replace(u,"")}return r=e.compile(n,t),t.cache&&e.cache.set(i,r),r}function f(t){return e.fileLoader(t)}function _(n,i){var o=r.shallowCopy(r.createNullProtoObjWherePossible(),i);if(o.filename=function(n,r){var i,o,s=r.views,a=/^[A-Za-z]+:\\|^\//.exec(n);if(a&&a.length)n=n.replace(/^\/*/,""),i=Array.isArray(r.root)?d(n,r.root):e.resolveInclude(n,r.root||"/",!0);else if(r.filename&&(o=e.resolveInclude(n,r.filename),t.existsSync(o)&&(i=o)),!i&&Array.isArray(s)&&(i=d(n,s)),!i&&"function"!=typeof r.includer)throw new Error('Could not find the include file "'+r.escapeFunction(n)+'"');return i}(n,o),"function"==typeof i.includer){var s=i.includer(n,o.filename);if(s&&(s.filename&&(o.filename=s.filename),s.template))return p(o,s.template)}return p(o)}function m(e,t,n,r,i){var o=t.split("\n"),s=Math.max(r-3,0),a=Math.min(o.length,r+3),c=i(n),u=o.slice(s,a).map((function(e,t){var n=t+s+1;return(n==r?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=c,e.message=(c||"ejs")+":"+r+"\n"+u+"\n\n"+e.message,e}function h(e){return e.replace(/;(\s*$)/,"$1")}function g(t,n){var i=r.hasOwnOnlyObject(n),o=r.createNullProtoObjWherePossible();this.templateText=t,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",o.client=i.client||!1,o.escapeFunction=i.escape||i.escapeFunction||r.escapeXML,o.compileDebug=!1!==i.compileDebug,o.debug=!!i.debug,o.filename=i.filename,o.openDelimiter=i.openDelimiter||e.openDelimiter||"<",o.closeDelimiter=i.closeDelimiter||e.closeDelimiter||">",o.delimiter=i.delimiter||e.delimiter||"%",o.strict=i.strict||!1,o.context=i.context,o.cache=i.cache||!1,o.rmWhitespace=i.rmWhitespace,o.root=i.root,o.includer=i.includer,o.outputFunctionName=i.outputFunctionName,o.localsName=i.localsName||e.localsName||s,o.views=i.views,o.async=i.async,o.destructuredLocals=i.destructuredLocals,o.legacyInclude=void 0===i.legacyInclude||!!i.legacyInclude,o.strict?o._with=!1:o._with=void 0===i._with||i._with,this.opts=o,this.regex=this.createRegex()}e.cache=r.cache,e.fileLoader=t.readFileSync,e.localsName=s,e.promiseImpl=new Function("return this;")().Promise,e.resolveInclude=function(e,t,r){var i=n.dirname,o=n.extname,s=(0,n.resolve)(r?t:i(t),e);return o(e)||(s+=".ejs"),s},e.compile=function(e,t){return t&&t.scope&&(i||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),i=!0),t.context||(t.context=t.scope),delete t.scope),new g(e,t).compile()},e.render=function(e,t,n){var i=t||r.createNullProtoObjWherePossible(),o=n||r.createNullProtoObjWherePossible();return 2==arguments.length&&r.shallowCopyFromList(o,i,a),p(o,e)(i)},e.renderFile=function(){var t,n,i,o=Array.prototype.slice.call(arguments),s=o.shift(),a={filename:s};return"function"==typeof arguments[arguments.length-1]&&(t=o.pop()),o.length?(n=o.shift(),o.length?r.shallowCopy(a,o.pop()):(n.settings&&(n.settings.views&&(a.views=n.settings.views),n.settings["view cache"]&&(a.cache=!0),(i=n.settings["view options"])&&r.shallowCopy(a,i)),r.shallowCopyFromList(a,n,c)),a.filename=s):n=r.createNullProtoObjWherePossible(),function(t,n,r){var i;if(!r){if("function"==typeof e.promiseImpl)return new e.promiseImpl((function(e,r){try{e(i=p(t)(n))}catch(e){r(e)}}));throw new Error("Please provide a callback function")}try{i=p(t)(n)}catch(e){return r(e)}r(null,i)}(a,n,t)},e.Template=g,e.clearCache=function(){e.cache.reset()},g.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},g.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=r.escapeRegExpChars(this.opts.delimiter),n=r.escapeRegExpChars(this.opts.openDelimiter),i=r.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(//g,i),new RegExp(e)},compile:function(){var e,t,i,o=this.opts,s="",a="",c=o.escapeFunction,u=o.filename?JSON.stringify(o.filename):"undefined";if(!this.source){if(this.generateSource(),s+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',o.outputFunctionName){if(!l.test(o.outputFunctionName))throw new Error("outputFunctionName is not a valid JS identifier.");s+=" var "+o.outputFunctionName+" = __append;\n"}if(o.localsName&&!l.test(o.localsName))throw new Error("localsName is not a valid JS identifier.");if(o.destructuredLocals&&o.destructuredLocals.length){for(var d=" var __locals = ("+o.localsName+" || {}),\n",p=0;p0&&(d+=",\n "),d+=f+" = __locals."+f}s+=d+";\n"}!1!==o._with&&(s+=" with ("+o.localsName+" || {}) {\n",a+=" }\n"),a+=" return __output;\n",this.source=s+this.source+a}e=o.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+u+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,o.client&&(e="escapeFn = escapeFn || "+c.toString()+";\n"+e,o.compileDebug&&(e="rethrow = rethrow || "+m.toString()+";\n"+e)),o.strict&&(e='"use strict";\n'+e),o.debug&&console.log(e),o.compileDebug&&o.filename&&(e=e+"\n//# sourceURL="+u+"\n");try{if(o.async)try{i=new Function("return (async function(){}).constructor;")()}catch(e){throw e instanceof SyntaxError?new Error("This environment does not support async/await"):e}else i=Function;t=new i(o.localsName+", escapeFn, include, rethrow",e)}catch(e){throw e instanceof SyntaxError&&(o.filename&&(e.message+=" in "+o.filename),e.message+=" while compiling ejs\n\n",e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",e.message+="https://github.com/RyanZim/EJS-Lint",o.async||(e.message+="\n",e.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),e}var h=o.client?t:function(e){return t.apply(o.context,[e||r.createNullProtoObjWherePossible(),c,function(t,n){var i=r.shallowCopy(r.createNullProtoObjWherePossible(),e);return n&&(i=r.shallowCopy(i,n)),_(t,o)(i)},m])};if(o.filename&&"function"==typeof Object.defineProperty){var g=o.filename,A=n.basename(g,n.extname(g));try{Object.defineProperty(h,"name",{value:A,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}return h},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(o,s){var a;if(0===o.indexOf(r+n)&&0!==o.indexOf(r+n+n)&&(a=t[s+2])!=n+i&&a!="-"+n+i&&a!="_"+n+i)throw new Error('Could not find matching close tag for "'+o+'".');e.scanLine(o)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,r=n.exec(t),i=[];r;)0!==(e=r.index)&&(i.push(t.substring(0,e)),t=t.slice(e)),i.push(r[0]),t=t.slice(r[0].length),r=n.exec(t);return t&&i.push(t),i},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,r=this.opts.openDelimiter,i=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case r+n:case r+n+"_":this.mode=g.modes.EVAL;break;case r+n+"=":this.mode=g.modes.ESCAPED;break;case r+n+"-":this.mode=g.modes.RAW;break;case r+n+"#":this.mode=g.modes.COMMENT;break;case r+n+n:this.mode=g.modes.LITERAL,this.source+=' ; __append("'+e.replace(r+n+n,r+n)+'")\n';break;case n+n+i:this.mode=g.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+i,n+i)+'")\n';break;case n+i:case"-"+n+i:case"_"+n+i:this.mode==g.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case g.modes.EVAL:case g.modes.ESCAPED:case g.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case g.modes.EVAL:this.source+=" ; "+e+"\n";break;case g.modes.ESCAPED:this.source+=" ; __append(escapeFn("+h(e)+"))\n";break;case g.modes.RAW:this.source+=" ; __append("+h(e)+")\n";break;case g.modes.COMMENT:break;case g.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},e.escapeXML=r.escapeXML,e.__express=e.renderFile,e.VERSION=o,e.name="ejs","undefined"!=typeof window&&(window.ejs=e)}(ejs)),ejs}var isWsl={exports:{}},isDocker_1,hasRequiredIsDocker,hasRequiredIsWsl;function requireIsDocker(){if(hasRequiredIsDocker)return isDocker_1;hasRequiredIsDocker=1;const e=require$$0$8;let t;return isDocker_1=()=>(void 0===t&&(t=function(){try{return e.statSync("/.dockerenv"),!0}catch(e){return!1}}()||function(){try{return e.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(e){return!1}}()),t)}function requireIsWsl(){if(hasRequiredIsWsl)return isWsl.exports;hasRequiredIsWsl=1;const e=require$$0$a,t=require$$0$8,n=requireIsDocker(),r=()=>{if("linux"!==process.platform)return!1;if(e.release().toLowerCase().includes("microsoft"))return!n();try{return!!t.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")&&!n()}catch(e){return!1}};return process.env.__IS_WSL_TEST__?isWsl.exports=r:isWsl.exports=r(),isWsl.exports}var errors$4={},error$2={},logger={},src$8={exports:{}},browser={exports:{}},ms,hasRequiredMs,common$6,hasRequiredCommon$5,hasRequiredBrowser;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var e=1e3,t=60*e,n=60*t,r=24*n,i=7*r,o=365.25*r;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}return ms=function(a,c){c=c||{};var u=typeof a;if("string"===u&&a.length>0)return function(s){if(s=String(s),s.length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(a);if("number"===u&&isFinite(a))return c.long?function(i){var o=Math.abs(i);if(o>=r)return s(i,o,r,"day");if(o>=n)return s(i,o,n,"hour");if(o>=t)return s(i,o,t,"minute");if(o>=e)return s(i,o,e,"second");return i+" ms"}(a):function(i){var o=Math.abs(i);if(o>=r)return Math.round(i/r)+"d";if(o>=n)return Math.round(i/n)+"h";if(o>=t)return Math.round(i/t)+"m";if(o>=e)return Math.round(i/e)+"s";return i+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},ms}function requireCommon$5(){if(hasRequiredCommon$5)return common$6;return hasRequiredCommon$5=1,common$6=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=requireCommon$5()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(browser,browser.exports)),browser.exports}var node={exports:{}},hasFlag$1,hasRequiredHasFlag,supportsColor_1$1,hasRequiredSupportsColor$2,hasRequiredNode,hasRequiredSrc$8,hasRequiredLogger;function requireHasFlag(){return hasRequiredHasFlag?hasFlag$1:(hasRequiredHasFlag=1,hasFlag$1=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((e=>e in r))||"codeship"===r.CI_NAME?1:u;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=Number.parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:u}function s(e,t={}){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(o(e,{streamIsTTY:e&&e.isTTY,...t}))}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?i=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(i=1),supportsColor_1$1={supportsColor:s,stdout:s({isTTY:t.isatty(1)}),stderr:s({isTTY:t.isatty(2)})}}function requireNode(){return hasRequiredNode||(hasRequiredNode=1,function(e,t){const n=require$$1$1,r=require$$0__default;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=requireSupportsColor$2();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=requireCommon$5()(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}}(node,node.exports)),node.exports}function requireSrc$8(){return hasRequiredSrc$8||(hasRequiredSrc$8=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?src$8.exports=requireBrowser():src$8.exports=requireNode()),src$8.exports}function requireLogger(){if(hasRequiredLogger)return logger;hasRequiredLogger=1;var e=logger&&logger.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(logger,"__esModule",{value:!0}),logger.getLogger=o,logger.makeDebug=function(e){return(t,...n)=>o(e).debug(t,...n)},logger.setLogger=function(e){e&&"string"!=typeof e&&"logger"in e&&e.logger?s(e.logger):s(r(n))},logger.clearLoggers=function(){i.clear()};const t=e(requireSrc$8()),n="oclif";function r(e=n){const i=(0,t.default)(e);return{child:(t,n)=>r(`${e}${n??":"}${t}`),debug:i,error:(t,...n)=>r(`${e}:error`).debug(t,...n),info:i,namespace:e,trace:i,warn:i}}const i=new Map;function o(e){let t=i.get("root");if(t||s(r(n)),t=i.get("root"),e){const n=i.get(e);if(n)return n;const r=t.child(e);return i.set(e,r),r}return t}function s(e){i.has(e.namespace)||i.has("root")||(!function(e){return"function"==typeof e.child&&"function"==typeof e.debug&&"function"==typeof e.error&&"function"==typeof e.info&&"function"==typeof e.trace&&"function"==typeof e.warn&&"string"==typeof e.namespace}(e)?process.emitWarning("Logger does not match the Logger interface. Using default logger."):(i.set(e.namespace,e),i.set("root",e)))}return logger}var write={},hasRequiredWrite;function requireWrite(){if(hasRequiredWrite)return write;hasRequiredWrite=1,Object.defineProperty(write,"__esModule",{value:!0}),write.stderr=write.stdout=void 0;const e=require$$1$2;write.stdout=(t,...n)=>{!t&&n?console.log((0,e.format)(...n)):t?"string"==typeof t?console.log((0,e.format)(t,...n)):console.log((0,e.format)(...t,...n)):console.log()};return write.stderr=(t,...n)=>{!t&&n?console.error((0,e.format)(...n)):t?"string"==typeof t?console.error((0,e.format)(t,...n)):console.error((0,e.format)(...t,...n)):console.error()},write}var cli={},escapeStringRegexp,hasRequiredEscapeStringRegexp,cleanStack,hasRequiredCleanStack,indentString$1,hasRequiredIndentString;function requireEscapeStringRegexp(){return hasRequiredEscapeStringRegexp||(hasRequiredEscapeStringRegexp=1,escapeStringRegexp=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),escapeStringRegexp}function requireCleanStack(){if(hasRequiredCleanStack)return cleanStack;hasRequiredCleanStack=1;const e=require$$0$a,t=requireEscapeStringRegexp(),n=/\s+at.*[(\s](.*)\)?/,r=/^(?:(?:(?:node|(?:(?:node:)?internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)(?:\.js)?:\d+:\d+)|native)/,i=void 0===e.homedir?"":e.homedir();return cleanStack=(e,{pretty:o=!1,basePath:s}={})=>{const a=s&&new RegExp(`(at | \\()${t(s)}`,"g");return e.replace(/\\/g,"/").split("\n").filter((e=>{const t=e.match(n);if(null===t||!t[1])return!0;const i=t[1];return!i.includes(".app/Contents/Resources/electron.asar")&&!i.includes(".app/Contents/Resources/default_app.asar")&&!r.test(i)})).filter((e=>""!==e.trim())).map((e=>(a&&(e=e.replace(a,"$1")),o&&(e=e.replace(n,((e,t)=>e.replace(t,t.replace(i,"~"))))),e))).join("\n")},cleanStack}function requireIndentString(){return hasRequiredIndentString||(hasRequiredIndentString=1,indentString$1=(e,t=1,n)=>{if(n={indent:" ",includeEmptyLines:!1,...n},"string"!=typeof e)throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if("number"!=typeof t)throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if("string"!=typeof n.indent)throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n.indent}\``);if(0===t)return e;const r=n.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(r,n.indent.repeat(t))}),indentString$1}var stringWidth$1={exports:{}},ansiRegex$1,hasRequiredAnsiRegex,stripAnsi$1,hasRequiredStripAnsi;function requireAnsiRegex(){return hasRequiredAnsiRegex||(hasRequiredAnsiRegex=1,ansiRegex$1=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),ansiRegex$1}function requireStripAnsi(){if(hasRequiredStripAnsi)return stripAnsi$1;hasRequiredStripAnsi=1;const e=requireAnsiRegex();return stripAnsi$1=t=>"string"==typeof t?t.replace(e(),""):t,stripAnsi$1}var isFullwidthCodePoint={exports:{}},hasRequiredIsFullwidthCodePoint,emojiRegex$1,hasRequiredEmojiRegex,hasRequiredStringWidth;function requireIsFullwidthCodePoint(){if(hasRequiredIsFullwidthCodePoint)return isFullwidthCodePoint.exports;hasRequiredIsFullwidthCodePoint=1;const e=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));return isFullwidthCodePoint.exports=e,isFullwidthCodePoint.exports.default=e,isFullwidthCodePoint.exports}function requireEmojiRegex(){return hasRequiredEmojiRegex?emojiRegex$1:(hasRequiredEmojiRegex=1,emojiRegex$1=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g})}function requireStringWidth(){if(hasRequiredStringWidth)return stringWidth$1.exports;hasRequiredStringWidth=1;const e=requireStripAnsi(),t=requireIsFullwidthCodePoint(),n=requireEmojiRegex(),r=r=>{if("string"!=typeof r||0===r.length)return 0;if(0===(r=e(r)).length)return 0;r=r.replace(n()," ");let i=0;for(let e=0;e=127&&n<=159||(n>=768&&n<=879||(n>65535&&e++,i+=t(n)?2:1))}return i};return stringWidth$1.exports=r,stringWidth$1.exports.default=r,stringWidth$1.exports}var ansiStyles$1={exports:{}},colorName,hasRequiredColorName,conversions,hasRequiredConversions,route,hasRequiredRoute,colorConvert,hasRequiredColorConvert,hasRequiredAnsiStyles,wrapAnsi_1,hasRequiredWrapAnsi;function requireColorName(){return hasRequiredColorName?colorName:(hasRequiredColorName=1,colorName={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]})}function requireConversions(){if(hasRequiredConversions)return conversions;hasRequiredConversions=1;const e=requireColorName(),t={};for(const n of Object.keys(e))t[e[n]]=n;const n={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};conversions=n;for(const e of Object.keys(n)){if(!("channels"in n[e]))throw new Error("missing channels property: "+e);if(!("labels"in n[e]))throw new Error("missing channel labels property: "+e);if(n[e].labels.length!==n[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=n[e];delete n[e].channels,delete n[e].labels,Object.defineProperty(n[e],"channels",{value:t}),Object.defineProperty(n[e],"labels",{value:r})}return n.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=o-i;let a,c;o===i?a=0:t===o?a=(n-r)/s:n===o?a=2+(r-t)/s:r===o&&(a=4+(t-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const u=(i+o)/2;return c=o===i?0:u<=.5?s/(o+i):s/(2-o-i),[a,100*c,100*u]},n.rgb.hsv=function(e){let t,n,r,i,o;const s=e[0]/255,a=e[1]/255,c=e[2]/255,u=Math.max(s,a,c),l=u-Math.min(s,a,c),d=function(e){return(u-e)/6/l+.5};return 0===l?(i=0,o=0):(o=l/u,t=d(s),n=d(a),r=d(c),s===u?i=r-n:a===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*u]},n.rgb.hwb=function(e){const t=e[0],r=e[1];let i=e[2];const o=n.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,i));return i=1-1/255*Math.max(t,Math.max(r,i)),[o,100*s,100*i]},n.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},n.rgb.keyword=function(n){const r=t[n];if(r)return r;let i,o=1/0;for(const t of Object.keys(e)){const r=e[t],c=(a=r,((s=n)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);c.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},n.rgb.lab=function(e){const t=n.rgb.xyz(e);let r=t[0],i=t[1],o=t[2];r/=95.047,i/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*i-16,500*(r-i),200*(i-o)]},n.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,s;if(0===n)return s=255*r,[s,s,s];i=r<.5?r*(1+n):r+n-r*n;const a=2*r-i,c=[0,0,0];for(let e=0;e<3;e++)o=t+1/3*-(e-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,c[e]=255*s;return c},n.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;return[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},n.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),c=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,c,s];case 1:return[a,r,s];case 2:return[s,r,c];case 3:return[s,a,r];case 4:return[c,s,r];case 5:return[r,s,a]}},n.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,s;s=(2-n)*r;const a=(2-n)*i;return o=n*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},n.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const s=Math.floor(6*t),a=1-r;o=6*t-s,1&s&&(o=1-o);const c=n+o*(a-n);let u,l,d;switch(s){default:case 6:case 0:u=a,l=c,d=n;break;case 1:u=c,l=a,d=n;break;case 2:u=n,l=a,d=c;break;case 3:u=n,l=c,d=a;break;case 4:u=c,l=n,d=a;break;case 5:u=a,l=n,d=c}return[255*u,255*l,255*d]},n.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},n.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,s=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},n.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},n.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,s=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},n.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360);return[t,Math.sqrt(n*n+r*r),i]},n.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},n.rgb.ansi16=function(e,t=null){const[r,i,o]=e;let s=null===t?n.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));return 2===s&&(a+=60),a},n.hsv.ansi16=function(e){return n.rgb.ansi16(n.hsv.rgb(e),e[2])},n.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},n.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},n.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},n.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},n.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},n.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),s=i-o;let a,c;return a=s<1?o/(1-s):0,c=s<=0?0:i===t?(n-r)/s%6:i===n?2+(r-t)/s:4+(t-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},n.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},n.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},n.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let c=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-n)*r,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},n.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},n.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},n.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},n.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},n.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},n.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},n.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},n.gray.hsl=function(e){return[0,0,e[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(e){return[0,100,e[0]]},n.gray.cmyk=function(e){return[0,0,0,e[0]]},n.gray.lab=function(e){return[e[0],0,0]},n.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},n.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]},conversions}function requireRoute(){if(hasRequiredRoute)return route;hasRequiredRoute=1;const e=requireConversions();function t(t){const n=function(){const t={},n=Object.keys(e);for(let e=n.length,r=0;r{n[r]={},Object.defineProperty(n[r],"channels",{value:e[r].channels}),Object.defineProperty(n[r],"labels",{value:e[r].labels});const i=t(r);Object.keys(i).forEach((e=>{const t=i[e];n[r][e]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(t)}))})),colorConvert=n}function requireAnsiStyles(){return hasRequiredAnsiStyles||(hasRequiredAnsiStyles=1,function(e){const t=(e,t)=>(...n)=>`[${e(...n)+t}m`,n=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};5;${r}m`},r=(e,t)=>(...n)=>{const r=e(...n);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`},i=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let a;const c=(e,t,n,r)=>{void 0===a&&(a=requireColorConvert());const i=r?10:0,o={};for(const[r,s]of Object.entries(a)){const a="ansi16"===r?"ansi":r;r===t?o[a]=e(n,i):"object"==typeof s&&(o[a]=e(s[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[t,n]of Object.entries(a)){for(const[t,r]of Object.entries(n))a[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=a[t],e.set(r[0],r[1]);Object.defineProperty(a,t,{value:n,enumerable:!1})}return Object.defineProperty(a,"codes",{value:e,enumerable:!1}),a.color.close="",a.bgColor.close="",s(a.color,"ansi",(()=>c(t,"ansi16",i,!1))),s(a.color,"ansi256",(()=>c(n,"ansi256",i,!1))),s(a.color,"ansi16m",(()=>c(r,"rgb",o,!1))),s(a.bgColor,"ansi",(()=>c(t,"ansi16",i,!0))),s(a.bgColor,"ansi256",(()=>c(n,"ansi256",i,!0))),s(a.bgColor,"ansi16m",(()=>c(r,"rgb",o,!0))),a}})}(ansiStyles$1)),ansiStyles$1.exports}function requireWrapAnsi(){if(hasRequiredWrapAnsi)return wrapAnsi_1;hasRequiredWrapAnsi=1;const e=requireStringWidth(),t=requireStripAnsi(),n=requireAnsiStyles(),r=new Set(["","›"]),i="]8;;",o=e=>`${r.values().next().value}[${e}m`,s=e=>`${r.values().next().value}${i}${e}`,a=(n,o,s)=>{const a=[...o];let c=!1,u=!1,l=e(t(n[n.length-1]));for(const[t,o]of a.entries()){const d=e(o);l+d<=s?n[n.length-1]+=o:(n.push(o),l=0),r.has(o)&&(c=!0,u=a.slice(t+1).join("").startsWith(i)),c?u?""===o&&(c=!1,u=!1):"m"===o&&(c=!1):(l+=d,l===s&&t0&&n.length>1&&(n[n.length-2]+=n.pop())},c=t=>{const n=t.split(" ");let r=n.length;for(;r>0&&!(e(n[r-1])>0);)r--;return r===n.length?t:n.slice(0,r).join(" ")+n.slice(r).join("")},u=(t,u,l={})=>{if(!1!==l.trim&&""===t.trim())return"";let d,p,f="";const _=(t=>t.split(" ").map((t=>e(t))))(t);let m=[""];for(const[n,r]of t.split(" ").entries()){!1!==l.trim&&(m[m.length-1]=m[m.length-1].trimStart());let t=e(m[m.length-1]);if(0!==n&&(t>=u&&(!1===l.wordWrap||!1===l.trim)&&(m.push(""),t=0),(t>0||!1===l.trim)&&(m[m.length-1]+=" ",t++)),l.hard&&_[n]>u){const e=u-t,i=1+Math.floor((_[n]-e-1)/u);Math.floor((_[n]-1)/u)u&&t>0&&_[n]>0){if(!1===l.wordWrap&&tu&&!1===l.wordWrap?a(m,r,u):m[m.length-1]+=r}}!1!==l.trim&&(m=m.map(c));const h=[...m.join("\n")];for(const[e,t]of h.entries()){if(f+=t,r.has(t)){const{groups:t}=new RegExp(`(?:\\[(?\\d+)m|\\${i}(?.*))`).exec(h.slice(e).join(""))||{groups:{}};if(void 0!==t.code){const e=Number.parseFloat(t.code);d=39===e?void 0:e}else void 0!==t.uri&&(p=0===t.uri.length?void 0:t.uri)}const a=n.codes.get(Number(d));"\n"===h[e+1]?(p&&(f+=s("")),d&&a&&(f+=o(a))):"\n"===t&&(d&&a&&(f+=o(d)),p&&(f+=s(p)))}return f};return wrapAnsi_1=(e,t,n)=>String(e).normalize().replace(/\r\n/g,"\n").split("\n").map((e=>u(e,t,n))).join("\n"),wrapAnsi_1}ansiStyles$1.exports;var screen={},settings$4={},hasRequiredSettings$4,hasRequiredScreen;function requireSettings$4(){return hasRequiredSettings$4||(hasRequiredSettings$4=1,Object.defineProperty(settings$4,"__esModule",{value:!0}),settings$4.settings=void 0,commonjsGlobal.oclif||(commonjsGlobal.oclif={}),settings$4.settings=commonjsGlobal.oclif),settings$4}function requireScreen(){if(hasRequiredScreen)return screen;hasRequiredScreen=1,Object.defineProperty(screen,"__esModule",{value:!0}),screen.errtermwidth=screen.stdtermwidth=void 0;const e=requireSettings$4();function t(e){if(!e.isTTY)return 80;const t=e.getWindowSize()[0];return t<1?80:t<40?40:t}const n=Number.parseInt(process.env.OCLIF_COLUMNS,10)||e.settings.columns;return screen.stdtermwidth=n||t(process.stdout),screen.errtermwidth=n||t(process.stderr),screen}var theme$1={},ansis$1={exports:{}},ansis=ansis$1.exports,hasRequiredAnsis;function requireAnsis(){if(hasRequiredAnsis)return ansis$1.exports;hasRequiredAnsis=1,Object.defineProperty(ansis,"__esModule",{value:!0});const{round:e,floor:t,max:n}=Math,r=e=>{let[,t]=/([a-f\d]{3,6})/i.exec(e)||[],n=t?t.length:0;if(3===n)t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2];else if(6!==n)return[0,0,0];let r=parseInt(t,16);return[r>>16&255,r>>8&255,255&r]},i=(t,n,r)=>t===n&&n===r?t<8?16:t>248?231:e((t-8)/247*24)+232:16+36*e(t/51)+6*e(n/51)+e(r/51),o=r=>{let i,o,s,a,c,u;return r<8?30+r:r<16?r-8+90:(r>=232?i=o=s=(10*(r-232)+8)/255:(u=(r-=16)%36,i=t(r/36)/5,o=t(u/6)/5,s=u%6/5),a=2*n(i,o,s),0===a?30:(c=30+(e(s)<<2|e(o)<<1|e(i)),2===a?c+60:c))},s=(e,t,n)=>o(i(e,t,n)),a=(()=>{const e=e=>!!a.find((t=>e.test(t))),t=globalThis,n=t.Deno,r=null!=n,i=t.process||n||{},o=i.stdout,s="win32"===(r?n.build.os:i.platform),a=i.argv||i.args||[];let c=i.env||{},u=-1;if(r)try{c=c.toObject()}catch(e){u=0}const l="FORCE_COLOR",d=c[l],p=parseInt(d),f="false"===d?0:isNaN(p)?3:p,_="NO_COLOR"in c||0===f||e(/^-{1,2}(no-color|color=(false|never))$/),m=l in c&&f||e(/^-{1,2}color=?(true|always)?$/),h=(c.NEXT_RUNTIME||"").indexOf("edge")>-1||"PM2_HOME"in c&&"pm_id"in c||(r?n.isatty(1):o&&"isTTY"in o);return _?0:(u<0&&(u=((e,t,n)=>{const{TERM:r,COLORTERM:i}=e;return"TF_BUILD"in e?1:"TEAMCITY_VERSION"in e?2:"CI"in e?["GITHUB_ACTIONS","GITEA_ACTIONS"].some((t=>t in e))?3:1:!t||/-mono|dumb/i.test(r)?0:n||"truecolor"===i||"24bit"===i||"xterm-kitty"===r?3:/-256(colou?r)?$/i.test(r)?2:/^screen|^tmux|^xterm|^vt[1-5][0-9]([0-9])?|^ansi|color|cygwin|linux|mintty|rxvt/i.test(r)?1:3})(c,h,s)),m&&0===u?3:u)})(),c=a>0,u={open:"",close:""},l=c?(e,t)=>({open:`[${e}m`,close:`[${t}m`}):()=>u,d=39,p=49,f=e=>(t,n,r)=>e(i(t,n,r)),_=e=>t=>{let[n,i,o]=r(t);return e(n,i,o)};let m=e=>l(`38;5;${e}`,d),h=e=>l(`48;5;${e}`,p),g=(e,t,n)=>l(`38;2;${e};${t};${n}`,d),A=(e,t,n)=>l(`48;2;${e};${t};${n}`,p);1===a?(m=e=>l(o(e),d),h=e=>l(o(e)+10,p),g=(e,t,n)=>l(s(e,t,n),d),A=(e,t,n)=>l(s(e,t,n)+10,p)):2===a&&(g=f(m),A=f(h));let y,v,b={ansi256:m,bgAnsi256:h,fg:m,bg:h,rgb:g,bgRgb:A,hex:_(g),bgHex:_(A),visible:u,reset:l(0,0),inverse:l(7,27),hidden:l(8,28),bold:l(1,22),dim:l(2,22),italic:l(3,23),underline:l(4,24),strikethrough:l(9,29),strike:l(9,29),grey:l(90,d),gray:l(90,d),bgGrey:l(100,p),bgGray:l(100,p)},C=["black","red","green","yellow","blue","magenta","cyan","white"],E="Bright",x=30;for(y of C)v="bg"+y[0].toUpperCase()+y.slice(1),b[y]=l(x,d),b[y+E]=l(x+60,d),b[v]=l(x+10,p),b[v+E]=l(x+70,p),x++;const{defineProperty:S,defineProperties:k,setPrototypeOf:D}=Object,w=/[›][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,I=/(\r?\n)/g,T={},F=({_p:e},{open:t,close:n})=>{const r=(e,...t)=>{if(!e)return"";let n=r._p,{_a:i,_b:o}=n,s=null!=e.raw?String.raw(e,...t):""+e;if(s.includes(""))for(;null!=n;){let e=n.close,t=e.length;if(t){let r,i=0,o="";for(;~(r=s.indexOf(e,i));)o+=s.slice(i,r)+n.open,i=r+t;i&&(s=o+s.slice(i))}n=n._p}return s.includes("\n")&&(s=s.replace(I,o+"$1"+i)),i+s+o};let i=t,o=n;return null!=e&&(i=e._a+t,o=n+e._b),D(r,P),r._p={open:t,close:n,_a:i,_b:o,_p:e},r.open=i,r.close=o,r},R=function(){const e=e=>""+e;return e.isSupported=()=>c,e.strip=e=>e.replace(w,""),e.extend=t=>{for(let e in t){let n=t[e],i=typeof n,o="string"===i?g(...r(n)):n;T[e]="function"===i?{get(){return(...e)=>F(this,n(...e))}}:{get(){let t=F(this,o);return S(this,e,{value:t}),t}}}P=k({},T),D(e,P)},e.extend(b),e};let P;const N=new R;return ansis$1.exports=N,ansis$1.exports.Ansis=R,ansis$1.exports}var theme={},hasRequiredTheme$1;function requireTheme$1(){return hasRequiredTheme$1||(hasRequiredTheme$1=1,Object.defineProperty(theme,"__esModule",{value:!0}),theme.STANDARD_ANSI=void 0,theme.STANDARD_ANSI=["white","black","blue","yellow","green","red","magenta","cyan","gray","blackBright","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgGray","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","bold","underline","dim","italic","strikethrough"]),theme}var supportsColor$1={},hasRequiredSupportsColor$1,hasRequiredTheme,hasRequiredCli;function requireSupportsColor$1(){if(hasRequiredSupportsColor$1)return supportsColor$1;hasRequiredSupportsColor$1=1,Object.defineProperty(supportsColor$1,"__esModule",{value:!0}),supportsColor$1.supportsColor=function(){return Boolean(e.stdout)&&Boolean(e.stderr)};const e=requireSupportsColor$2();return supportsColor$1}function requireTheme(){if(hasRequiredTheme)return theme$1;hasRequiredTheme=1;var e=theme$1&&theme$1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(theme$1,"__esModule",{value:!0}),theme$1.colorize=function(e,n){if(!e)return n;if(!(0,r.supportsColor)())return n;if(i(e))return t.default[e](n);if(e.startsWith("#"))return t.default.hex(e)(n);if(e.startsWith("rgb")){const[r,i,o]=e.slice(4,-1).split(",").map((e=>Number.parseInt(e.trim(),10)));return t.default.rgb(r,i,o)(n)}return n},theme$1.parseTheme=function e(t){return Object.fromEntries(Object.entries(t).map((([t,n])=>{return[t,"string"==typeof n?(r=n,r.startsWith("#")||r.startsWith("rgb")||i(r)?r:void 0):e(n)];var r})).filter((([e,t])=>t)))};const t=e(requireAnsis()),n=requireTheme$1(),r=requireSupportsColor$1();function i(e){return n.STANDARD_ANSI.includes(e)}return theme$1}function requireCli(){if(hasRequiredCli)return cli;hasRequiredCli=1;var e=cli&&cli.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cli,"__esModule",{value:!0}),cli.CLIError=void 0,cli.addOclifExitCode=c;const t=e(requireCleanStack()),n=e(requireIndentString()),r=e(requireWrapAnsi()),i=e(requireCache$2()),o=requireScreen(),s=requireSettings$4(),a=requireTheme();function c(e,t){return"oclif"in e||(e.oclif={}),e.oclif.exit=void 0===t?.exit?i.default.getInstance().get("exitCodes")?.default??2:t.exit,e}class u extends Error{code;oclif={};skipOclifErrorHandling;suggestions;constructor(e,t={}){super(e instanceof Error?e.message:e),c(this,t),this.code=t.code,this.suggestions=t.suggestions}get bang(){try{return(0,a.colorize)("red","win32"===process.platform?"»":"›")}catch{}}get stack(){return(0,t.default)(super.stack,{pretty:!0})}render(){if(s.settings.debug)return this.stack;let e=`${this.name}: ${this.message}`;return e=(0,r.default)(e,o.errtermwidth-6,{hard:!0,trim:!1}),e=(0,n.default)(e,3),e=(0,n.default)(e,1,{includeEmptyLines:!0,indent:this.bang}),e=(0,n.default)(e,1),e}}return cli.CLIError=u,function(e){e.Warn=class extends e{constructor(e){super(e instanceof Error?e.message:e),this.name="Warning"}get bang(){try{return(0,a.colorize)("yellow","win32"===process.platform?"»":"›")}catch{}}}}(u||(cli.CLIError=u={})),cli}var prettyPrint={},hasRequiredPrettyPrint,hasRequiredError$1;function requirePrettyPrint(){if(hasRequiredPrettyPrint)return prettyPrint;hasRequiredPrettyPrint=1;var e=prettyPrint&&prettyPrint.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(prettyPrint,"__esModule",{value:!0}),prettyPrint.applyPrettyPrintOptions=function(e,t){const n=["message","code","ref","suggestions"];for(const r of n){!(r in e)&&t[r]&&(e[r]=t[r])}return e},prettyPrint.default=function(e){if(i.settings.debug)return e.stack;const{bang:s,code:a,message:c,name:u,ref:l,suggestions:d}=e,p=c?`${u||"Error"}: ${c}`:void 0,f=a?`Code: ${a}`:void 0,_=o(d),m=l?`Reference: ${l}`:void 0,h=[p,f,_,m].filter(Boolean).join("\n");let g=(0,n.default)(h,r.errtermwidth-6,{hard:!0,trim:!1});return g=(0,t.default)(g,3),g=(0,t.default)(g,1,{includeEmptyLines:!0,indent:s||""}),g=(0,t.default)(g,1),g};const t=e(requireIndentString()),n=e(requireWrapAnsi()),r=requireScreen(),i=requireSettings$4();const o=e=>{const n="Try this:";if(!e||0===e.length)return;if(1===e.length)return`${n} ${e[0]}`;const r=e.map((e=>`* ${e}`)).join("\n");return`${n}\n${(0,t.default)(r,2)}`};return prettyPrint}function requireError$1(){if(hasRequiredError$1)return error$2;hasRequiredError$1=1;var e,t=error$2&&error$2.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=error$2&&error$2.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=error$2&&error$2.__importStar||(e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s>>=5)>0&&(n|=32),r+=e.encode(n)}while(i>0);return r},base64Vlq.decode=function(t,n,r){var i,o,s,a,c=t.length,u=0,l=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));i=!!(32&o),u+=(o&=31)<>1,1&~s?a:-a),r.rest=n},base64Vlq}var util$e={},hasRequiredUtil$e;function requireUtil$e(){return hasRequiredUtil$e||(hasRequiredUtil$e=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(t){var n=t,o=r(t);if(o){if(!o.path)return t;n=o.path}for(var s,a=e.isAbsolute(n),c=n.split(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(s=c[l])?c.splice(l,1):".."===s?u++:u>0&&(""===s?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return""===(n=c.join("/"))&&(n=a?"/":"."),o?(o.path=n,i(o)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var s=r(t),a=r(e);if(a&&(e=a.path||"/"),s&&!s.scheme)return a&&(s.scheme=a.scheme),i(s);if(s||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,i(a)):c}e.urlParse=r,e.urlGenerate=i,e.normalize=o,e.join=s,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function l(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?c:function(e){return u(e)?"$"+e:e},e.fromSetString=a?c:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=l(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:l(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=l(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:l(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=l(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:l(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var a=r(n);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var c=a.path.lastIndexOf("/");c>=0&&(a.path=a.path.substring(0,c+1))}t=s(i(a),t)}return o(t)}}(util$e)),util$e}var arraySet={},hasRequiredArraySet;function requireArraySet(){if(hasRequiredArraySet)return arraySet;hasRequiredArraySet=1;var e=requireUtil$e(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i=0)return i}else{var o=e.toSetString(r);if(t.call(this._set,o))return this._set[o]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&ei||o==i&&a>=s||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},mappingList.MappingList=t,mappingList}function requireSourceMapGenerator(){if(hasRequiredSourceMapGenerator)return sourceMapGenerator;hasRequiredSourceMapGenerator=1;var e=requireBase64Vlq(),t=requireUtil$e(),n=requireArraySet().ArraySet,r=requireMappingList().MappingList;function i(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(e){var n=e.sourceRoot,r=new i({file:e.file,sourceRoot:n});return e.eachMapping((function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(i.source=e.source,null!=n&&(i.source=t.relative(n,i.source)),i.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(i.name=e.name)),r.addMapping(i)})),e.sources.forEach((function(i){var o=i;null!==n&&(o=t.relative(n,i)),r._sources.has(o)||r._sources.add(o);var s=e.sourceContentFor(i);null!=s&&r.setSourceContent(i,s)})),r},i.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),i=t.getArg(e,"source",null),o=t.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,i,o),null!=i&&(i=String(i),this._sources.has(i)||this._sources.add(i)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:i,name:o})},i.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(e,r,i){var o=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=e.file}var s=this._sourceRoot;null!=s&&(o=t.relative(s,o));var a=new n,c=new n;this._mappings.unsortedForEach((function(n){if(n.source===o&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=i&&(n.source=t.join(i,n.source)),null!=s&&(n.source=t.relative(s,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var u=n.source;null==u||a.has(u)||a.add(u);var l=n.name;null==l||c.has(l)||c.add(l)}),this),this._sources=a,this._names=c,e.sources.forEach((function(n){var r=e.sourceContentFor(n);null!=r&&(null!=i&&(n=t.join(i,n)),null!=s&&(n=t.relative(s,n)),this.setSourceContent(n,r))}),this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},i.prototype._serializeMappings=function(){for(var n,r,i,o,s=0,a=1,c=0,u=0,l=0,d=0,p="",f=this._mappings.toArray(),_=0,m=f.length;_0){if(!t.compareByGeneratedPositionsInflated(r,f[_-1]))continue;n+=","}n+=e.encode(r.generatedColumn-s),s=r.generatedColumn,null!=r.source&&(o=this._sources.indexOf(r.source),n+=e.encode(o-d),d=o,n+=e.encode(r.originalLine-1-u),u=r.originalLine-1,n+=e.encode(r.originalColumn-c),c=r.originalColumn,null!=r.name&&(i=this._names.indexOf(r.name),n+=e.encode(i-l),l=i)),p+=n}return p},i.prototype._generateSourcesContent=function(e,n){return e.map((function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},sourceMapGenerator.SourceMapGenerator=i,sourceMapGenerator}var sourceMapConsumer={},binarySearch={},hasRequiredBinarySearch;function requireBinarySearch(){return hasRequiredBinarySearch||(hasRequiredBinarySearch=1,function(e){function t(n,r,i,o,s,a){var c=Math.floor((r-n)/2)+n,u=s(i,o[c],!0);return 0===u?c:u>0?r-c>1?t(c,r,i,o,s,a):a==e.LEAST_UPPER_BOUND?r1?t(n,c,i,o,s,a):a==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,r,i,o){if(0===r.length)return-1;var s=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===i(r[s],r[s-1],!0);)--s;return s}}(binarySearch)),binarySearch}var quickSort={},hasRequiredQuickSort,hasRequiredSourceMapConsumer;function requireQuickSort(){if(hasRequiredQuickSort)return quickSort;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(n,r,i,o){if(i=0){var a=this._originalMappings[s];if(void 0===n.column)for(var c=a.originalLine;a&&a.originalLine===c;)o.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var u=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==u;)o.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return o},sourceMapConsumer.SourceMapConsumer=o,s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(t){var n,r=t;if(null!=this.sourceRoot&&(r=e.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n1&&(o.source=m+c[1],m+=c[1],o.originalLine=f+c[2],f=o.originalLine,o.originalLine+=1,o.originalColumn=_+c[3],_=o.originalColumn,c.length>4&&(o.name=h+c[4],h+=c[4])),C.push(o),"number"==typeof o.originalLine&&b.push(o)}i(C,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,i(b,e.compareByOriginalPositions),this.__originalMappings=b},s.prototype._findMapping=function(e,n,r,i,o,s){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return t.search(e,n,o,s)},s.prototype.computeColumnSpans=function(){for(var e=0;e=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var s=e.getArg(i,"source",null);null!==s&&(s=this._sources.at(s),s=e.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=e.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:s,line:e.getArg(i,"originalLine",null),column:e.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},s.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var i,o=t;if(null!=this.sourceRoot&&(o=e.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=e.urlParse(this.sourceRoot))){var s=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(t){var n=e.getArg(t,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",o.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},sourceMapConsumer.BasicSourceMapConsumer=s,c.prototype=Object.create(o.prototype),c.prototype.constructor=o,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var e=[],t=0;t=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},i.prototype.walk=function(e){for(var t,n=0,i=this.children.length;n0){for(t=[],n=0;n>>=0;var i=e.byteLength-n;if(i<0)throw new RangeError("'offset' is out of bounds");if(void 0===r)r=i;else if((r>>>=0)>i)throw new RangeError("'length' is out of bounds");return t?Buffer.from(e.slice(n,n+r)):new Buffer(new Uint8Array(e.slice(n,n+r)))}(n,r,i):"string"==typeof n?function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!Buffer.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');return t?Buffer.from(e,n):new Buffer(e,n)}(n,r):t?Buffer.from(n):new Buffer(n);var o},bufferFrom_1}function requireSourceMapSupport(){return hasRequiredSourceMapSupport||(hasRequiredSourceMapSupport=1,function(e,t){var n,r=requireSourceMap().SourceMapConsumer,i=require$$0$9;try{(n=require("fs")).existsSync&&n.readFileSync||(n=null)}catch(e){}var o=requireBufferFrom();function s(e,t){return e.require(t)}var a=!1,c=!1,u=!1,l="auto",d={},p={},f=/^data:application\/json[^,]+base64,/,_=[],m=[];function h(){return"browser"===l||"node"!==l&&("undefined"!=typeof window&&"function"==typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type))}function g(e){return function(t){for(var n=0;n";var n=this.getLineNumber();if(null!=n){t+=":"+n;var r=this.getColumnNumber();r&&(t+=":"+r)}}var i="",o=this.getFunctionName(),s=!0,a=this.isConstructor();if(!(this.isToplevel()||a)){var c=this.getTypeName();"[object Object]"===c&&(c="null");var u=this.getMethodName();o?(c&&0!=o.indexOf(c)&&(i+=c+"."),i+=o,u&&o.indexOf("."+u)!=o.length-u.length-1&&(i+=" [as "+u+"]")):i+=c+"."+(u||"")}else a?i+="new "+(o||""):o?i+=o:(i+=t,s=!1);return s&&(i+=" ("+t+")"),i}function x(e){var t={};return Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){t[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]})),t.toString=E,t}function S(e,t){if(void 0===t&&(t={nextPosition:null,curPosition:null}),e.isNative())return t.curPosition=null,e;var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var r=e.getLineNumber(),i=e.getColumnNumber()-1,o=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/.test("object"==typeof process&&null!==process?process.version:"")?0:62;1===r&&i>o&&!h()&&!e.isEval()&&(i-=o);var s=b({source:n,line:r,column:i});t.curPosition=s;var a=(e=x(e)).getFunctionName;return e.getFunctionName=function(){return null==t.nextPosition?a():t.nextPosition.name||a()},e.getFileName=function(){return s.source},e.getLineNumber=function(){return s.line},e.getColumnNumber=function(){return s.column+1},e.getScriptNameOrSourceURL=function(){return s.source},e}var c=e.isEval()&&e.getEvalOrigin();return c?(c=C(c),(e=x(e)).getEvalOrigin=function(){return c},e):e}function k(e,t){u&&(d={},p={});for(var n=(e.name||"Error")+": "+(e.message||""),r={nextPosition:null,curPosition:null},i=[],o=t.length-1;o>=0;o--)i.push("\n at "+S(t[o],r)),r.nextPosition=r.curPosition;return r.curPosition=r.nextPosition=null,n+i.reverse().join("")}function D(e){var t=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(t){var r=t[1],i=+t[2],o=+t[3],s=d[r];if(!s&&n&&n.existsSync(r))try{s=n.readFileSync(r,"utf8")}catch(e){s=""}if(s){var a=s.split(/(?:\r\n|\r|\n)/)[i-1];if(a)return r+":"+i+"\n"+a+"\n"+new Array(o).join(" ")+"^"}}return null}function w(e){var t=D(e),n=function(){if("object"==typeof process&&null!==process)return process.stderr}();n&&n._handle&&n._handle.setBlocking&&n._handle.setBlocking(!0),t&&(console.error(),console.error(t)),console.error(e.stack),function(e){if("object"==typeof process&&null!==process&&"function"==typeof process.exit)process.exit(e)}(1)}m.push((function(e){var t,n=function(e){var t;if(h())try{var n=new XMLHttpRequest;n.open("GET",e,!1),n.send(null),t=4===n.readyState?n.responseText:null;var r=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(r)return r}catch(e){}t=A(e);for(var i,o,s=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;o=s.exec(t);)i=o;return i?i[1]:null}(e);if(!n)return null;if(f.test(n)){var r=n.slice(n.indexOf(",")+1);t=o(r,"base64").toString(),n=e}else n=y(e,n),t=A(n);return t?{url:n,map:t}:null}));var I=_.slice(0),T=m.slice(0);t.wrapCallSite=S,t.getErrorSource=D,t.mapSourcePosition=b,t.retrieveSourceMap=v,t.install=function(t){if((t=t||{}).environment&&(l=t.environment,-1===["node","browser","auto"].indexOf(l)))throw new Error("environment "+l+" was unknown. Available options are {auto, browser, node}");if(t.retrieveFile&&(t.overrideRetrieveFile&&(_.length=0),_.unshift(t.retrieveFile)),t.retrieveSourceMap&&(t.overrideRetrieveSourceMap&&(m.length=0),m.unshift(t.retrieveSourceMap)),t.hookRequire&&!h()){var n=s(e,"module"),r=n.prototype._compile;r.__sourceMapSupport||(n.prototype._compile=function(e,t){return d[t]=e,p[t]=void 0,r.call(this,e,t)},n.prototype._compile.__sourceMapSupport=!0)}if(u||(u="emptyCacheBetweenOperations"in t&&t.emptyCacheBetweenOperations),a||(a=!0,Error.prepareStackTrace=k),!c){var i=!("handleUncaughtExceptions"in t)||t.handleUncaughtExceptions;try{!1===s(e,"worker_threads").isMainThread&&(i=!1)}catch(e){}i&&"object"==typeof process&&null!==process&&"function"==typeof process.on&&(c=!0,o=process.emit,process.emit=function(e){if("uncaughtException"===e){var t=arguments[1]&&arguments[1].stack,n=this.listeners(e).length>0;if(t&&!n)return w(arguments[1])}return o.apply(this,arguments)})}var o},t.resetRetrieveHandlers=function(){_.length=0,m.length=0,_=I.slice(0),m=T.slice(0),v=g(m),A=g(_)}}(sourceMapSupport,sourceMapSupport.exports)),sourceMapSupport.exports} /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -20,12 +20,12 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. -***************************************************************************** */function requireTypescript(){return hasRequiredTypescript||(hasRequiredTypescript=1,function(e){var t={};(e=>{var t=Object.defineProperty,n=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},r={};n(r,{ANONYMOUS:()=>AZ,AccessFlags:()=>zr,AssertionLevel:()=>ft,AssignmentDeclarationKind:()=>oi,AssignmentKind:()=>Wh,Associativity:()=>tA,BreakpointResolver:()=>l5,BuilderFileEmit:()=>UJ,BuilderProgramKind:()=>AV,BuilderState:()=>MJ,CallHierarchy:()=>d5,CharacterCodes:()=>bi,CheckFlags:()=>jr,CheckMode:()=>$Q,ClassificationType:()=>Oz,ClassificationTypeNames:()=>Bz,CommentDirectiveType:()=>Er,Comparison:()=>s,CompletionInfoFlags:()=>wz,CompletionTriggerKind:()=>vz,Completions:()=>Ese,ContainerFlags:()=>q$,ContextFlags:()=>Pr,Debug:()=>un,DiagnosticCategory:()=>si,Diagnostics:()=>us,DocumentHighlights:()=>x0,ElementFlags:()=>Wr,EmitFlags:()=>Si,EmitHint:()=>Ii,EmitOnly:()=>Dr,EndOfLineState:()=>Fz,ExitStatus:()=>Ir,ExportKind:()=>u0,Extension:()=>Ci,ExternalEmitHelpers:()=>wi,FileIncludeKind:()=>Sr,FilePreprocessingDiagnosticsKind:()=>kr,FileSystemEntryKind:()=>ro,FileWatcherEventKind:()=>$i,FindAllReferences:()=>kce,FlattenLevel:()=>fM,FlowFlags:()=>Cr,ForegroundColorEscapeSequences:()=>$U,FunctionFlags:()=>Pg,GeneratedIdentifierFlags:()=>yr,GetLiteralTextFlags:()=>tf,GoToDefinition:()=>fle,HighlightSpanKind:()=>Cz,IdentifierNameMap:()=>jL,ImportKind:()=>l0,ImportsNotUsedAsValues:()=>mi,IndentStyle:()=>Ez,IndexFlags:()=>Yr,IndexKind:()=>ei,InferenceFlags:()=>ri,InferencePriority:()=>ni,InlayHintKind:()=>bz,InlayHints:()=>Rle,InternalEmitFlags:()=>ki,InternalNodeBuilderFlags:()=>Br,InternalSymbolName:()=>Ur,IntersectionFlags:()=>Rr,InvalidatedProjectKind:()=>dG,JSDocParsingMode:()=>Bi,JsDoc:()=>qle,JsTyping:()=>QW,JsxEmit:()=>_i,JsxFlags:()=>hr,JsxReferenceKind:()=>Kr,LanguageFeatureMinimumTarget:()=>Di,LanguageServiceMode:()=>hz,LanguageVariant:()=>yi,LexicalEnvironmentFlags:()=>Fi,ListFormat:()=>Ri,LogLevel:()=>dn,MapCode:()=>rue,MemberOverrideStatus:()=>Tr,ModifierFlags:()=>mr,ModuleDetectionKind:()=>li,ModuleInstanceState:()=>P$,ModuleKind:()=>fi,ModuleResolutionKind:()=>ci,ModuleSpecifierEnding:()=>qE,NavigateTo:()=>Y1,NavigationBar:()=>a2,NewLineKind:()=>hi,NodeBuilderFlags:()=>Nr,NodeCheckFlags:()=>Jr,NodeFactoryFlags:()=>$S,NodeFlags:()=>_r,NodeResolutionFeatures:()=>Tq,ObjectFlags:()=>Hr,OperationCanceledException:()=>xr,OperatorPrecedence:()=>sA,OrganizeImports:()=>lue,OrganizeImportsMode:()=>yz,OuterExpressionKinds:()=>Ti,OutliningElementsCollector:()=>Mue,OutliningSpanKind:()=>Iz,OutputFileType:()=>Tz,PackageJsonAutoImportPreference:()=>mz,PackageJsonDependencyGroup:()=>_z,PatternMatchKind:()=>K0,PollingInterval:()=>Qi,PollingWatchKind:()=>pi,PragmaKindFlags:()=>Pi,PredicateSemantics:()=>Ar,PreparePasteEdits:()=>x_e,PrivateIdentifierKind:()=>Mk,ProcessLevel:()=>NM,ProgramUpdateLevel:()=>mU,QuotePreference:()=>zK,RegularExpressionFlags:()=>vr,RelationComparisonResult:()=>gr,Rename:()=>Yue,ScriptElementKind:()=>Pz,ScriptElementKindModifier:()=>Nz,ScriptKind:()=>gi,ScriptSnapshot:()=>az,ScriptTarget:()=>Ai,SemanticClassificationFormat:()=>Az,SemanticMeaning:()=>$z,SemicolonPreference:()=>xz,SignatureCheckMode:()=>QQ,SignatureFlags:()=>Zr,SignatureHelp:()=>rde,SignatureInfo:()=>jJ,SignatureKind:()=>Xr,SmartSelectionRange:()=>Ide,SnippetKind:()=>xi,StatisticType:()=>KG,StructureIsReused:()=>wr,SymbolAccessibility:()=>$r,SymbolDisplay:()=>Lde,SymbolDisplayPartKind:()=>Dz,SymbolFlags:()=>Mr,SymbolFormatFlags:()=>qr,SyntaxKind:()=>fr,Ternary:()=>ii,ThrottledCancellationToken:()=>e5,TokenClass:()=>Rz,TokenFlags:()=>br,TransformFlags:()=>Ei,TypeFacts:()=>OQ,TypeFlags:()=>Vr,TypeFormatFlags:()=>Or,TypeMapKind:()=>ti,TypePredicateKind:()=>Qr,TypeReferenceSerializationKind:()=>Lr,UnionReduction:()=>Fr,UpToDateStatusType:()=>qH,VarianceFlags:()=>Gr,Version:()=>yn,VersionRange:()=>bn,WatchDirectoryFlags:()=>vi,WatchDirectoryKind:()=>di,WatchFileKind:()=>ui,WatchLogLevel:()=>EU,WatchType:()=>bH,accessPrivateIdentifier:()=>lM,addEmitFlags:()=>ok,addEmitHelper:()=>Sk,addEmitHelpers:()=>kk,addInternalEmitFlags:()=>ak,addNodeFactoryPatcher:()=>LS,addObjectAllocatorPatcher:()=>Lb,addRange:()=>se,addRelatedInfo:()=>sx,addSyntheticLeadingComment:()=>Ak,addSyntheticTrailingComment:()=>bk,addToSeen:()=>bb,advancedAsyncSuperHelper:()=>CD,affectsDeclarationPathOptionDeclarations:()=>CN,affectsEmitOptionDeclarations:()=>bN,allKeysStartWithDot:()=>a$,altDirectorySeparator:()=>po,and:()=>Xt,append:()=>re,appendIfUnique:()=>ce,arrayFrom:()=>Pe,arrayIsEqualTo:()=>ee,arrayIsHomogeneous:()=>Cx,arrayOf:()=>Re,arrayReverseIterator:()=>ue,arrayToMap:()=>Oe,arrayToMultiMap:()=>$e,arrayToNumericMap:()=>qe,assertType:()=>tn,assign:()=>Ne,asyncSuperHelper:()=>bD,attachFileToDiagnostics:()=>zb,base64decode:()=>Sv,base64encode:()=>xv,binarySearch:()=>Ee,binarySearchKey:()=>xe,bindSourceFile:()=>L$,breakIntoCharacterSpans:()=>_1,breakIntoWordSpans:()=>m1,buildLinkParts:()=>RX,buildOpts:()=>PN,buildOverload:()=>B_e,bundlerModuleNameResolver:()=>Rq,canBeConvertedToAsync:()=>Q1,canHaveDecorators:()=>lP,canHaveExportModifier:()=>Vx,canHaveFlowNode:()=>Nh,canHaveIllegalDecorators:()=>IR,canHaveIllegalModifiers:()=>TR,canHaveIllegalType:()=>DR,canHaveIllegalTypeParameters:()=>wR,canHaveJSDoc:()=>Bh,canHaveLocals:()=>ad,canHaveModifiers:()=>cP,canHaveModuleSpecifier:()=>gh,canHaveSymbol:()=>sd,canIncludeBindAndCheckDiagnostics:()=>fx,canJsonReportNoInputFiles:()=>iO,canProduceDiagnostics:()=>fj,canUsePropertyAccess:()=>Gx,canWatchAffectingLocation:()=>MV,canWatchAtTypes:()=>$V,canWatchDirectoryOrFile:()=>OV,canWatchDirectoryOrFilePath:()=>qV,cartesianProduct:()=>on,cast:()=>tt,chainBundle:()=>BL,chainDiagnosticMessages:()=>eC,changeAnyExtension:()=>Go,changeCompilerHostLikeToUseCache:()=>NU,changeExtension:()=>HE,changeFullExtension:()=>Wo,changesAffectModuleResolution:()=>Xd,changesAffectingProgramStructure:()=>Zd,characterCodeToRegularExpressionFlag:()=>Ps,childIsDecorated:()=>mm,classElementOrClassElementParameterIsDecorated:()=>gm,classHasClassThisAssignment:()=>xM,classHasDeclaredOrExplicitlyAssignedName:()=>TM,classHasExplicitlyAssignedName:()=>IM,classOrConstructorParameterIsDecorated:()=>hm,classicNameResolver:()=>k$,classifier:()=>T5,cleanExtendedConfigCache:()=>AU,clear:()=>D,clearMap:()=>pb,clearSharedExtendedConfigFileWatcher:()=>gU,climbPastPropertyAccess:()=>Xz,clone:()=>Me,cloneCompilerOptions:()=>yK,closeFileWatcher:()=>rb,closeFileWatcherOf:()=>kU,codefix:()=>R5,collapseTextChangeRangesAcrossMultipleVersions:()=>Ka,collectExternalModuleInfo:()=>QL,combine:()=>ie,combinePaths:()=>qo,commandLineOptionOfCustomType:()=>IN,commentPragmas:()=>Ni,commonOptionsWithBuild:()=>mN,compact:()=>te,compareBooleans:()=>Pt,compareDataObjects:()=>db,compareDiagnostics:()=>rC,compareEmitHelpers:()=>Uk,compareNumberOfDirectorySeparators:()=>ME,comparePaths:()=>Zo,comparePathsCaseInsensitive:()=>Xo,comparePathsCaseSensitive:()=>Ko,comparePatternKeys:()=>l$,compareProperties:()=>Rt,compareStringsCaseInsensitive:()=>Ct,compareStringsCaseInsensitiveEslintCompatible:()=>Et,compareStringsCaseSensitive:()=>xt,compareStringsCaseSensitiveUI:()=>Ft,compareTextSpans:()=>yt,compareValues:()=>At,compilerOptionsAffectDeclarationPath:()=>VC,compilerOptionsAffectEmit:()=>JC,compilerOptionsAffectSemanticDiagnostics:()=>UC,compilerOptionsDidYouMeanDiagnostics:()=>WN,compilerOptionsIndicateEsModules:()=>UK,computeCommonSourceDirectoryOfFilenames:()=>IU,computeLineAndCharacterOfPosition:()=>$s,computeLineOfPosition:()=>Qs,computeLineStarts:()=>Ns,computePositionOfLineAndCharacter:()=>Os,computeSignatureWithDiagnostics:()=>bV,computeSuggestionDiagnostics:()=>I1,computedOptions:()=>gC,concatenate:()=>H,concatenateDiagnosticMessageChains:()=>tC,consumesNodeCoreModules:()=>qZ,contains:()=>C,containsIgnoredPath:()=>Px,containsObjectRestOrSpread:()=>sP,containsParseError:()=>gp,containsPath:()=>es,convertCompilerOptionsForTelemetry:()=>OO,convertCompilerOptionsFromJson:()=>lO,convertJsonOption:()=>gO,convertToBase64:()=>Ev,convertToJson:()=>SB,convertToObject:()=>xB,convertToOptionsWithAbsolutePaths:()=>QB,convertToRelativePath:()=>is,convertToTSConfig:()=>wB,convertTypeAcquisitionFromJson:()=>uO,copyComments:()=>tZ,copyEntries:()=>ip,copyLeadingComments:()=>sZ,copyProperties:()=>Ue,copyTrailingAsLeadingComments:()=>cZ,copyTrailingComments:()=>aZ,couldStartTrivia:()=>Ys,countWhere:()=>x,createAbstractBuilder:()=>PV,createAccessorPropertyBackingField:()=>eP,createAccessorPropertyGetRedirector:()=>tP,createAccessorPropertySetRedirector:()=>nP,createBaseNodeFactory:()=>FS,createBinaryExpressionTrampoline:()=>GR,createBuilderProgram:()=>CV,createBuilderProgramUsingIncrementalBuildInfo:()=>DV,createBuilderStatusReporter:()=>JH,createCacheableExportInfoMap:()=>d0,createCachedDirectoryStructureHost:()=>_U,createClassifier:()=>E0,createCommentDirectivesMap:()=>Qp,createCompilerDiagnostic:()=>Xb,createCompilerDiagnosticForInvalidCustomType:()=>QN,createCompilerDiagnosticFromMessageChain:()=>Zb,createCompilerHost:()=>TU,createCompilerHostFromProgramHost:()=>EH,createCompilerHostWorker:()=>PU,createDetachedDiagnostic:()=>Hb,createDiagnosticCollection:()=>uA,createDiagnosticForFileFromMessageChain:()=>Vf,createDiagnosticForNode:()=>$f,createDiagnosticForNodeArray:()=>Qf,createDiagnosticForNodeArrayFromMessageChain:()=>jf,createDiagnosticForNodeFromMessageChain:()=>Mf,createDiagnosticForNodeInSourceFile:()=>Lf,createDiagnosticForRange:()=>Gf,createDiagnosticMessageChainFromDiagnostic:()=>Hf,createDiagnosticReporter:()=>XV,createDocumentPositionMapper:()=>TL,createDocumentRegistry:()=>Q0,createDocumentRegistryInternal:()=>L0,createEmitAndSemanticDiagnosticsBuilderProgram:()=>RV,createEmitHelperFactory:()=>jk,createEmptyExports:()=>MF,createEvaluator:()=>hS,createExpressionForJsxElement:()=>HF,createExpressionForJsxFragment:()=>GF,createExpressionForObjectLiteralElementLike:()=>KF,createExpressionForPropertyName:()=>YF,createExpressionFromEntityName:()=>zF,createExternalHelpersImportDeclarationIfNeeded:()=>mR,createFileDiagnostic:()=>Yb,createFileDiagnosticFromMessageChain:()=>Jf,createFlowNode:()=>$$,createForOfBindingStatement:()=>WF,createFutureSourceFile:()=>c0,createGetCanonicalFileName:()=>Jt,createGetIsolatedDeclarationErrors:()=>hj,createGetSourceFile:()=>FU,createGetSymbolAccessibilityDiagnosticForNode:()=>mj,createGetSymbolAccessibilityDiagnosticForNodeName:()=>_j,createGetSymbolWalker:()=>H$,createIncrementalCompilerHost:()=>PH,createIncrementalProgram:()=>NH,createJsxFactoryExpression:()=>VF,createLanguageService:()=>r5,createLanguageServiceSourceFile:()=>Y8,createMemberAccessForPropertyName:()=>jF,createModeAwareCache:()=>gq,createModeAwareCacheKey:()=>hq,createModeMismatchDetails:()=>pp,createModuleNotFoundChain:()=>dp,createModuleResolutionCache:()=>Cq,createModuleResolutionLoader:()=>aJ,createModuleResolutionLoaderUsingGlobalCache:()=>WV,createModuleSpecifierResolutionHost:()=>JK,createMultiMap:()=>Ve,createNameResolver:()=>yS,createNodeConverters:()=>NS,createNodeFactory:()=>MS,createOptionNameMap:()=>BN,createOverload:()=>N_e,createPackageJsonImportFilter:()=>OZ,createPackageJsonInfo:()=>BZ,createParenthesizerRules:()=>RS,createPatternMatcher:()=>Z0,createPrinter:()=>uU,createPrinterWithDefaults:()=>sU,createPrinterWithRemoveComments:()=>aU,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>cU,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>lU,createProgram:()=>DJ,createProgramHost:()=>kH,createPropertyNameNodeForIdentifierOrLiteral:()=>Mx,createQueue:()=>We,createRange:()=>Pv,createRedirectedBuilderProgram:()=>TV,createResolutionCache:()=>zV,createRuntimeTypeSerializer:()=>MM,createScanner:()=>ha,createSemanticDiagnosticsBuilderProgram:()=>FV,createSet:()=>ze,createSolutionBuilder:()=>WH,createSolutionBuilderHost:()=>HH,createSolutionBuilderWithWatch:()=>zH,createSolutionBuilderWithWatchHost:()=>GH,createSortedArray:()=>K,createSourceFile:()=>LP,createSourceMapGenerator:()=>fL,createSourceMapSource:()=>ZS,createSuperAccessVariableStatement:()=>VM,createSymbolTable:()=>Wd,createSymlinkCache:()=>KC,createSyntacticTypeNodeBuilder:()=>$W,createSystemWatchFunctions:()=>so,createTextChange:()=>FK,createTextChangeFromStartLength:()=>TK,createTextChangeRange:()=>za,createTextRangeFromNode:()=>DK,createTextRangeFromSpan:()=>IK,createTextSpan:()=>Va,createTextSpanFromBounds:()=>Ha,createTextSpanFromNode:()=>SK,createTextSpanFromRange:()=>wK,createTextSpanFromStringLiteralLikeContent:()=>kK,createTextWriter:()=>NA,createTokenRange:()=>$v,createTypeChecker:()=>GQ,createTypeReferenceDirectiveResolutionCache:()=>Eq,createTypeReferenceResolutionLoader:()=>uJ,createWatchCompilerHost:()=>BH,createWatchCompilerHostOfConfigFile:()=>IH,createWatchCompilerHostOfFilesAndCompilerOptions:()=>TH,createWatchFactory:()=>CH,createWatchHost:()=>vH,createWatchProgram:()=>OH,createWatchStatusReporter:()=>nH,createWriteFileMeasuringIO:()=>RU,declarationNameToString:()=>Rf,decodeMappings:()=>bL,decodedTextSpanIntersectsWith:()=>La,deduplicate:()=>Y,defaultInitCompilerOptions:()=>$N,defaultMaximumTruncationLength:()=>Jd,diagnosticCategoryName:()=>ai,diagnosticToString:()=>t0,diagnosticsEqualityComparer:()=>aC,directoryProbablyExists:()=>Iv,directorySeparator:()=>uo,displayPart:()=>yX,displayPartsToString:()=>V8,disposeEmitNodes:()=>nk,documentSpansEqual:()=>uX,dumpTracingLegend:()=>pr,elementAt:()=>pe,elideNodes:()=>zR,emitDetachedComments:()=>by,emitFiles:()=>nU,emitFilesAndReportErrors:()=>hH,emitFilesAndReportErrorsAndGetExitStatus:()=>gH,emitModuleKindIsNonNodeESM:()=>BC,emitNewLineBeforeLeadingCommentOfPosition:()=>vy,emitResolverSkipsTypeChecking:()=>tU,emitSkippedWithNoDiagnostics:()=>RJ,emptyArray:()=>a,emptyFileSystemEntries:()=>rx,emptyMap:()=>c,emptyOptions:()=>gz,endsWith:()=>Ot,ensurePathIsNonModuleName:()=>Ho,ensureScriptKind:()=>vE,ensureTrailingDirectorySeparator:()=>Vo,entityNameToString:()=>qf,enumerateInsertsAndDeletes:()=>rn,equalOwnProperties:()=>Be,equateStringsCaseInsensitive:()=>mt,equateStringsCaseSensitive:()=>ht,equateValues:()=>_t,escapeJsxAttributeString:()=>wA,escapeLeadingUnderscores:()=>_c,escapeNonAsciiString:()=>EA,escapeSnippetText:()=>Qx,escapeString:()=>bA,escapeTemplateSubstitution:()=>pA,evaluatorResult:()=>mS,every:()=>g,exclusivelyPrefixedNodeCoreModules:()=>kS,executeCommandLine:()=>_W,expandPreOrPostfixIncrementOrDecrementExpression:()=>XF,explainFiles:()=>uH,explainIfFileIsRedirectAndImpliedFormat:()=>dH,exportAssignmentIsAlias:()=>mg,expressionResultIsUnused:()=>Rx,extend:()=>je,extensionFromPath:()=>ZE,extensionIsTS:()=>KE,extensionsNotSupportingExtensionlessResolution:()=>FE,externalHelpersModuleNameText:()=>Ud,factory:()=>XS,fileExtensionIs:()=>Eo,fileExtensionIsOneOf:()=>xo,fileIncludeReasonToDiagnostics:()=>_H,fileShouldUseJavaScriptRequire:()=>s0,filter:()=>S,filterMutate:()=>k,filterSemanticDiagnostics:()=>NJ,find:()=>A,findAncestor:()=>dc,findBestPatternMatch:()=>Gt,findChildOfKind:()=>IY,findComputedPropertyNameCacheAssignment:()=>rP,findConfigFile:()=>DU,findConstructorDeclaration:()=>AS,findContainingList:()=>TY,findDiagnosticForNode:()=>LZ,findFirstNonJsxWhitespaceToken:()=>VY,findIndex:()=>v,findLast:()=>y,findLastIndex:()=>b,findListItemInfo:()=>DY,findModifier:()=>sX,findNextToken:()=>GY,findPackageJson:()=>NZ,findPackageJsons:()=>PZ,findPrecedingMatchingToken:()=>iK,findPrecedingToken:()=>WY,findSuperStatementIndexPath:()=>YL,findTokenOnLeftOfPosition:()=>HY,findUseStrictPrologue:()=>rR,first:()=>me,firstDefined:()=>p,firstDefinedIterator:()=>f,firstIterator:()=>he,firstOrOnly:()=>VZ,firstOrUndefined:()=>fe,firstOrUndefinedIterator:()=>_e,fixupCompilerOptions:()=>z1,flatMap:()=>R,flatMapIterator:()=>N,flatMapToMutable:()=>P,flatten:()=>F,flattenCommaList:()=>oP,flattenDestructuringAssignment:()=>_M,flattenDestructuringBinding:()=>gM,flattenDiagnosticMessageText:()=>YU,forEach:()=>u,forEachAncestor:()=>tp,forEachAncestorDirectory:()=>as,forEachAncestorDirectoryStoppingAtGlobalCache:()=>m$,forEachChild:()=>OP,forEachChildRecursively:()=>qP,forEachDynamicImportOrRequireCall:()=>wS,forEachEmittedFile:()=>Oj,forEachEnclosingBlockScopeContainer:()=>Ff,forEachEntry:()=>np,forEachExternalModuleToImportFrom:()=>_0,forEachImportClauseDeclaration:()=>Sh,forEachKey:()=>rp,forEachLeadingCommentRange:()=>oa,forEachNameInAccessChainWalkingLeft:()=>wb,forEachNameOfDefaultExport:()=>C0,forEachPropertyAssignment:()=>U_,forEachResolvedProjectReference:()=>pJ,forEachReturnStatement:()=>D_,forEachRight:()=>d,forEachTrailingCommentRange:()=>sa,forEachTsConfigPropArray:()=>G_,forEachUnique:()=>pX,forEachYieldExpression:()=>w_,formatColorAndReset:()=>HU,formatDiagnostic:()=>qU,formatDiagnostics:()=>OU,formatDiagnosticsWithColorAndContext:()=>zU,formatGeneratedName:()=>ZR,formatGeneratedNamePart:()=>KR,formatLocation:()=>WU,formatMessage:()=>Kb,formatStringFromArgs:()=>jb,formatting:()=>xpe,generateDjb2Hash:()=>Oi,generateTSConfig:()=>$B,getAdjustedReferenceLocation:()=>QY,getAdjustedRenameLocation:()=>LY,getAliasDeclarationFromName:()=>fg,getAllAccessorDeclarations:()=>fy,getAllDecoratorsOfClass:()=>rM,getAllDecoratorsOfClassElement:()=>iM,getAllJSDocTags:()=>al,getAllJSDocTagsOfKind:()=>cl,getAllKeys:()=>Te,getAllProjectOutputs:()=>Xj,getAllSuperTypeNodes:()=>bg,getAllowImportingTsExtensions:()=>AC,getAllowJSCompilerOption:()=>PC,getAllowSyntheticDefaultImports:()=>SC,getAncestor:()=>xg,getAnyExtensionFromPath:()=>Ro,getAreDeclarationMapsEnabled:()=>RC,getAssignedExpandoInitializer:()=>Hm,getAssignedName:()=>kc,getAssignmentDeclarationKind:()=>th,getAssignmentDeclarationPropertyAccessKind:()=>dh,getAssignmentTargetKind:()=>Yh,getAutomaticTypeDirectiveNames:()=>lq,getBaseFileName:()=>To,getBinaryOperatorPrecedence:()=>cA,getBuildInfo:()=>iU,getBuildInfoFileVersionMap:()=>wV,getBuildInfoText:()=>rU,getBuildOrderFromAnyBuildOrder:()=>UH,getBuilderCreationParameters:()=>yV,getBuilderFileEmit:()=>VJ,getCanonicalDiagnostic:()=>Wf,getCheckFlags:()=>ib,getClassExtendsHeritageElement:()=>yg,getClassLikeDeclarationOfSymbol:()=>hb,getCombinedLocalAndExportSymbolFlags:()=>ab,getCombinedModifierFlags:()=>ic,getCombinedNodeFlags:()=>sc,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>oc,getCommentRange:()=>_k,getCommonSourceDirectory:()=>Yj,getCommonSourceDirectoryOfConfig:()=>Kj,getCompilerOptionValue:()=>HC,getCompilerOptionsDiffValue:()=>OB,getConditions:()=>aq,getConfigFileParsingDiagnostics:()=>EJ,getConstantValue:()=>Ek,getContainerFlags:()=>J$,getContainerNode:()=>pY,getContainingClass:()=>Y_,getContainingClassExcludingClassDecorators:()=>Z_,getContainingClassStaticBlock:()=>K_,getContainingFunction:()=>W_,getContainingFunctionDeclaration:()=>z_,getContainingFunctionOrClassStaticBlock:()=>X_,getContainingNodeArray:()=>Nx,getContainingObjectLiteralElement:()=>o5,getContextualTypeFromParent:()=>pZ,getContextualTypeFromParentOrAncestorTypeNode:()=>NY,getDeclarationDiagnostics:()=>gj,getDeclarationEmitExtensionForPath:()=>VA,getDeclarationEmitOutputFilePath:()=>UA,getDeclarationEmitOutputFilePathWorker:()=>JA,getDeclarationFileExtension:()=>XP,getDeclarationFromName:()=>ug,getDeclarationModifierFlagsFromSymbol:()=>ob,getDeclarationOfKind:()=>Hd,getDeclarationsOfKind:()=>Gd,getDeclaredExpandoInitializer:()=>Vm,getDecorators:()=>Dc,getDefaultCompilerOptions:()=>H8,getDefaultFormatCodeSettings:()=>Sz,getDefaultLibFileName:()=>wa,getDefaultLibFilePath:()=>a5,getDefaultLikeExportInfo:()=>v0,getDefaultLikeExportNameFromDeclaration:()=>GZ,getDefaultResolutionModeForFileWorker:()=>FJ,getDiagnosticText:()=>tB,getDiagnosticsWithinSpan:()=>MZ,getDirectoryPath:()=>Io,getDirectoryToWatchFailedLookupLocation:()=>jV,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>VV,getDocumentPositionMapper:()=>k1,getDocumentSpansEqualityComparer:()=>dX,getESModuleInterop:()=>xC,getEditsForFileRename:()=>U0,getEffectiveBaseTypeNode:()=>Ag,getEffectiveConstraintOfTypeParameter:()=>dl,getEffectiveContainerForJSDocTemplateTag:()=>Lh,getEffectiveImplementsTypeNodes:()=>vg,getEffectiveInitializer:()=>Jm,getEffectiveJSDocHost:()=>Uh,getEffectiveModifierFlags:()=>Ly,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>My,getEffectiveModifierFlagsNoCache:()=>Vy,getEffectiveReturnTypeNode:()=>hy,getEffectiveSetAccessorTypeAnnotationNode:()=>Ay,getEffectiveTypeAnnotationNode:()=>_y,getEffectiveTypeParameterDeclarations:()=>ul,getEffectiveTypeRoots:()=>tq,getElementOrPropertyAccessArgumentExpressionOrName:()=>lh,getElementOrPropertyAccessName:()=>uh,getElementsOfBindingOrAssignmentPattern:()=>SR,getEmitDeclarations:()=>IC,getEmitFlags:()=>Xp,getEmitHelpers:()=>wk,getEmitModuleDetectionKind:()=>CC,getEmitModuleFormatOfFileWorker:()=>IJ,getEmitModuleKind:()=>vC,getEmitModuleResolutionKind:()=>bC,getEmitScriptTarget:()=>yC,getEmitStandardClassFields:()=>jC,getEnclosingBlockScopeContainer:()=>Tf,getEnclosingContainer:()=>If,getEncodedSemanticClassifications:()=>R0,getEncodedSyntacticClassifications:()=>q0,getEndLinePosition:()=>xp,getEntityNameFromTypeNode:()=>um,getEntrypointsFromPackageJsonInfo:()=>Kq,getErrorCountForSummary:()=>iH,getErrorSpanForNode:()=>Kf,getErrorSummaryText:()=>cH,getEscapedTextOfIdentifierOrLiteral:()=>Ug,getEscapedTextOfJsxAttributeName:()=>tS,getEscapedTextOfJsxNamespacedName:()=>iS,getExpandoInitializer:()=>Gm,getExportAssignmentExpression:()=>hg,getExportInfoMap:()=>y0,getExportNeedsImportStarHelper:()=>OL,getExpressionAssociativity:()=>nA,getExpressionPrecedence:()=>iA,getExternalHelpersModuleName:()=>fR,getExternalModuleImportEqualsDeclarationExpression:()=>Sm,getExternalModuleName:()=>Ch,getExternalModuleNameFromDeclaration:()=>LA,getExternalModuleNameFromPath:()=>MA,getExternalModuleNameLiteral:()=>gR,getExternalModuleRequireArgument:()=>km,getFallbackOptions:()=>SU,getFileEmitOutput:()=>LJ,getFileMatcherPatterns:()=>mE,getFileNamesFromConfigSpecs:()=>xO,getFileWatcherEventKind:()=>Ki,getFilesInErrorForSummary:()=>oH,getFirstConstructorWithBody:()=>iy,getFirstIdentifier:()=>cv,getFirstNonSpaceCharacterPosition:()=>VX,getFirstProjectOutput:()=>eU,getFixableErrorSpanExpression:()=>UZ,getFormatCodeSettingsForWriting:()=>n0,getFullWidth:()=>sp,getFunctionFlags:()=>Ng,getHeritageClause:()=>Eg,getHostSignatureFromJSDoc:()=>jh,getIdentifierAutoGenerate:()=>$k,getIdentifierGeneratedImportReference:()=>Lk,getIdentifierTypeArguments:()=>Ok,getImmediatelyInvokedFunctionExpression:()=>om,getImpliedNodeFormatForEmitWorker:()=>TJ,getImpliedNodeFormatForFile:()=>xJ,getImpliedNodeFormatForFileWorker:()=>SJ,getImportNeedsImportDefaultHelper:()=>$L,getImportNeedsImportStarHelper:()=>qL,getIndentString:()=>RA,getInferredLibraryNameResolveFrom:()=>mJ,getInitializedVariables:()=>eb,getInitializerOfBinaryExpression:()=>ph,getInitializerOfBindingOrAssignmentElement:()=>yR,getInterfaceBaseTypeNodes:()=>Cg,getInternalEmitFlags:()=>Zp,getInvokedExpression:()=>dm,getIsFileExcluded:()=>A0,getIsolatedModules:()=>EC,getJSDocAugmentsTag:()=>Oc,getJSDocClassTag:()=>$c,getJSDocCommentRanges:()=>A_,getJSDocCommentsAndTags:()=>Oh,getJSDocDeprecatedTag:()=>Wc,getJSDocDeprecatedTagNoCache:()=>zc,getJSDocEnumTag:()=>Yc,getJSDocHost:()=>Jh,getJSDocImplementsTags:()=>qc,getJSDocOverloadTags:()=>Mh,getJSDocOverrideTagNoCache:()=>Gc,getJSDocParameterTags:()=>Tc,getJSDocParameterTagsNoCache:()=>Fc,getJSDocPrivateTag:()=>Mc,getJSDocPrivateTagNoCache:()=>jc,getJSDocProtectedTag:()=>Uc,getJSDocProtectedTagNoCache:()=>Jc,getJSDocPublicTag:()=>Qc,getJSDocPublicTagNoCache:()=>Lc,getJSDocReadonlyTag:()=>Vc,getJSDocReadonlyTagNoCache:()=>Hc,getJSDocReturnTag:()=>Xc,getJSDocReturnType:()=>rl,getJSDocRoot:()=>Vh,getJSDocSatisfiesExpressionType:()=>Zx,getJSDocSatisfiesTag:()=>el,getJSDocTags:()=>ol,getJSDocTemplateTag:()=>Zc,getJSDocThisTag:()=>Kc,getJSDocType:()=>nl,getJSDocTypeAliasName:()=>kR,getJSDocTypeAssertionType:()=>cR,getJSDocTypeParameterDeclarations:()=>gy,getJSDocTypeParameterTags:()=>Pc,getJSDocTypeParameterTagsNoCache:()=>Nc,getJSDocTypeTag:()=>tl,getJSXImplicitImportBase:()=>WC,getJSXRuntimeImport:()=>zC,getJSXTransformEnabled:()=>GC,getKeyForCompilerOptions:()=>fq,getLanguageVariant:()=>uC,getLastChild:()=>vb,getLeadingCommentRanges:()=>ua,getLeadingCommentRangesOfNode:()=>g_,getLeftmostAccessExpression:()=>Db,getLeftmostExpression:()=>Ib,getLibraryNameFromLibFileName:()=>hJ,getLineAndCharacterOfPosition:()=>Ms,getLineInfo:()=>gL,getLineOfLocalPosition:()=>ny,getLineStartPositionForPosition:()=>hY,getLineStarts:()=>qs,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Yv,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>zv,getLinesBetweenPositions:()=>Ls,getLinesBetweenRangeEndAndRangeStart:()=>Jv,getLinesBetweenRangeEndPositions:()=>Vv,getLiteralText:()=>nf,getLocalNameForExternalImport:()=>hR,getLocalSymbolForExportDefault:()=>vv,getLocaleSpecificMessage:()=>Vb,getLocaleTimeString:()=>tH,getMappedContextSpan:()=>hX,getMappedDocumentSpan:()=>mX,getMappedLocation:()=>_X,getMatchedFileSpec:()=>pH,getMatchedIncludeSpec:()=>fH,getMeaningFromDeclaration:()=>Qz,getMeaningFromLocation:()=>Lz,getMembersOfDeclaration:()=>T_,getModeForFileReference:()=>KU,getModeForResolutionAtIndex:()=>XU,getModeForUsageLocation:()=>eJ,getModifiedTime:()=>Mi,getModifiers:()=>wc,getModuleInstanceState:()=>N$,getModuleNameStringLiteralAt:()=>QJ,getModuleSpecifierEndingPreference:()=>$E,getModuleSpecifierResolverHost:()=>VK,getNameForExportedSymbol:()=>HZ,getNameFromImportAttribute:()=>fS,getNameFromIndexInfo:()=>Pf,getNameFromPropertyName:()=>LK,getNameOfAccessExpression:()=>Sb,getNameOfCompilerOptionValue:()=>PB,getNameOfDeclaration:()=>Sc,getNameOfExpando:()=>zm,getNameOfJSDocTypedef:()=>Cc,getNameOfScriptTarget:()=>MC,getNameOrArgument:()=>ch,getNameTable:()=>i5,getNamespaceDeclarationNode:()=>Eh,getNewLineCharacter:()=>Rv,getNewLineKind:()=>e0,getNewLineOrDefaultFromHost:()=>NX,getNewTargetContainer:()=>rm,getNextJSDocCommentLocation:()=>$h,getNodeChildren:()=>qF,getNodeForGeneratedName:()=>YR,getNodeId:()=>JQ,getNodeKind:()=>fY,getNodeModifiers:()=>dK,getNodeModulePathParts:()=>Ux,getNonAssignedNameOfDeclaration:()=>xc,getNonAssignmentOperatorForCompoundAssignment:()=>GL,getNonAugmentationDeclaration:()=>hf,getNonDecoratorTokenPosOfNode:()=>Mp,getNonIncrementalBuildInfoRoots:()=>IV,getNonModifierTokenPosOfNode:()=>jp,getNormalizedAbsolutePath:()=>Lo,getNormalizedAbsolutePathWithoutRoot:()=>jo,getNormalizedPathComponents:()=>Qo,getObjectFlags:()=>gb,getOperatorAssociativity:()=>rA,getOperatorPrecedence:()=>aA,getOptionFromName:()=>YN,getOptionsForLibraryResolution:()=>xq,getOptionsNameMap:()=>ON,getOrCreateEmitNode:()=>tk,getOrUpdate:()=>Q,getOriginalNode:()=>uc,getOriginalNodeId:()=>RL,getOutputDeclarationFileName:()=>Uj,getOutputDeclarationFileNameWorker:()=>Jj,getOutputExtension:()=>Mj,getOutputFileNames:()=>Zj,getOutputJSFileNameWorker:()=>Hj,getOutputPathsFor:()=>Qj,getOwnEmitOutputFilePath:()=>jA,getOwnKeys:()=>Ie,getOwnValues:()=>Fe,getPackageJsonTypesVersionsPaths:()=>eq,getPackageNameFromTypesPackageName:()=>E$,getPackageScopeForPath:()=>e$,getParameterSymbolFromJSDoc:()=>Qh,getParentNodeInSpan:()=>iX,getParseTreeNode:()=>fc,getParsedCommandLineOfConfigFile:()=>nB,getPathComponents:()=>Po,getPathFromPathComponents:()=>No,getPathUpdater:()=>J0,getPathsBasePath:()=>WA,getPatternFromSpec:()=>pE,getPendingEmitKindWithSeen:()=>rV,getPositionOfLineAndCharacter:()=>Bs,getPossibleGenericSignatures:()=>sK,getPossibleOriginalInputExtensionForExtension:()=>HA,getPossibleOriginalInputPathWithoutChangingExt:()=>GA,getPossibleTypeArgumentsInfo:()=>aK,getPreEmitDiagnostics:()=>BU,getPrecedingNonSpaceCharacterPosition:()=>HX,getPrivateIdentifier:()=>aM,getProperties:()=>KL,getProperty:()=>we,getPropertyArrayElementValue:()=>J_,getPropertyAssignmentAliasLikeExpression:()=>gg,getPropertyNameForPropertyNameNode:()=>Lg,getPropertyNameFromType:()=>cS,getPropertyNameOfBindingOrAssignmentElement:()=>CR,getPropertySymbolFromBindingElement:()=>rX,getPropertySymbolsFromContextualType:()=>s5,getQuoteFromPreference:()=>XK,getQuotePreference:()=>KK,getRangesWhere:()=>V,getRefactorContextSpan:()=>jZ,getReferencedFileLocation:()=>bJ,getRegexFromPattern:()=>hE,getRegularExpressionForWildcard:()=>lE,getRegularExpressionsForWildcards:()=>uE,getRelativePathFromDirectory:()=>rs,getRelativePathFromFile:()=>os,getRelativePathToDirectoryOrUrl:()=>ss,getRenameLocation:()=>oZ,getReplacementSpanForContextToken:()=>xK,getResolutionDiagnostic:()=>qJ,getResolutionModeOverride:()=>rJ,getResolveJsonModule:()=>wC,getResolvePackageJsonExports:()=>kC,getResolvePackageJsonImports:()=>DC,getResolvedExternalModuleName:()=>$A,getResolvedModuleFromResolution:()=>lp,getResolvedTypeReferenceDirectiveFromResolution:()=>up,getRestIndicatorOfBindingOrAssignmentElement:()=>bR,getRestParameterElementType:()=>I_,getRightMostAssignedExpression:()=>Km,getRootDeclaration:()=>Xg,getRootDirectoryOfResolutionCache:()=>HV,getRootLength:()=>wo,getScriptKind:()=>MX,getScriptKindFromFileName:()=>bE,getScriptTargetFeatures:()=>ef,getSelectedEffectiveModifierFlags:()=>qy,getSelectedSyntacticModifierFlags:()=>$y,getSemanticClassifications:()=>T0,getSemanticJsxChildren:()=>lA,getSetAccessorTypeAnnotationNode:()=>sy,getSetAccessorValueParameter:()=>oy,getSetExternalModuleIndicator:()=>_C,getShebang:()=>pa,getSingleVariableOfVariableStatement:()=>Rh,getSnapshotText:()=>qK,getSnippetElement:()=>Tk,getSourceFileOfModule:()=>yp,getSourceFileOfNode:()=>Ap,getSourceFilePathInNewDir:()=>KA,getSourceFileVersionAsHashFromText:()=>xH,getSourceFilesToEmit:()=>zA,getSourceMapRange:()=>ck,getSourceMapper:()=>S1,getSourceTextOfNodeFromSourceFile:()=>Up,getSpanOfTokenAtPosition:()=>zf,getSpellingSuggestion:()=>Nt,getStartPositionOfLine:()=>Cp,getStartPositionOfRange:()=>Wv,getStartsOnNewLine:()=>pk,getStaticPropertiesAndClassStaticBlock:()=>ZL,getStrictOptionValue:()=>LC,getStringComparer:()=>St,getSubPatternFromSpec:()=>fE,getSuperCallFromStatement:()=>WL,getSuperContainer:()=>im,getSupportedCodeFixes:()=>G8,getSupportedExtensions:()=>RE,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>PE,getSwitchedType:()=>gZ,getSymbolId:()=>VQ,getSymbolNameForPrivateIdentifier:()=>Jg,getSymbolTarget:()=>jX,getSyntacticClassifications:()=>O0,getSyntacticModifierFlags:()=>jy,getSyntacticModifierFlagsNoCache:()=>Hy,getSynthesizedDeepClone:()=>GX,getSynthesizedDeepCloneWithReplacements:()=>WX,getSynthesizedDeepClones:()=>YX,getSynthesizedDeepClonesWithReplacements:()=>KX,getSyntheticLeadingComments:()=>hk,getSyntheticTrailingComments:()=>yk,getTargetLabel:()=>Zz,getTargetOfBindingOrAssignmentElement:()=>vR,getTemporaryModuleResolutionState:()=>Zq,getTextOfConstantValue:()=>rf,getTextOfIdentifierOrLiteral:()=>jg,getTextOfJSDocComment:()=>ll,getTextOfJsxAttributeName:()=>nS,getTextOfJsxNamespacedName:()=>oS,getTextOfNode:()=>zp,getTextOfNodeFromSourceText:()=>Wp,getTextOfPropertyName:()=>Of,getThisContainer:()=>em,getThisParameter:()=>ay,getTokenAtPosition:()=>UY,getTokenPosOfNode:()=>Lp,getTokenSourceMapRange:()=>uk,getTouchingPropertyName:()=>MY,getTouchingToken:()=>jY,getTrailingCommentRanges:()=>da,getTrailingSemicolonDeferringWriter:()=>BA,getTransformers:()=>xj,getTsBuildInfoEmitOutputFilePath:()=>qj,getTsConfigObjectLiteralExpression:()=>V_,getTsConfigPropArrayElementValue:()=>H_,getTypeAnnotationNode:()=>my,getTypeArgumentOrTypeParameterList:()=>pK,getTypeKeywordOfTypeOnlyImport:()=>cX,getTypeNode:()=>Nk,getTypeNodeIfAccessible:()=>yZ,getTypeParameterFromJsDoc:()=>Hh,getTypeParameterOwner:()=>Xa,getTypesPackageName:()=>b$,getUILocale:()=>It,getUniqueName:()=>iZ,getUniqueSymbolId:()=>JX,getUseDefineForClassFields:()=>NC,getWatchErrorSummaryDiagnosticMessage:()=>sH,getWatchFactory:()=>xU,group:()=>Qe,groupBy:()=>Le,guessIndentation:()=>Bd,handleNoEmitOptions:()=>PJ,handleWatchOptionsConfigDirTemplateSubstitution:()=>WB,hasAbstractModifier:()=>Ry,hasAccessorModifier:()=>Ny,hasAmbientModifier:()=>Py,hasChangesInResolutions:()=>hp,hasContextSensitiveParameters:()=>Bx,hasDecorators:()=>Oy,hasDocComment:()=>lK,hasDynamicName:()=>$g,hasEffectiveModifier:()=>Dy,hasEffectiveModifiers:()=>Sy,hasEffectiveReadonlyModifier:()=>By,hasExtension:()=>Co,hasImplementationTSFileExtension:()=>OE,hasIndexSignature:()=>hZ,hasInferredType:()=>CS,hasInitializer:()=>Td,hasInvalidEscape:()=>_A,hasJSDocNodes:()=>wd,hasJSDocParameterTags:()=>Bc,hasJSFileExtension:()=>NE,hasJsonModuleEmitEnabled:()=>OC,hasOnlyExpressionInitializer:()=>Fd,hasOverrideModifier:()=>Fy,hasPossibleExternalModuleReference:()=>Df,hasProperty:()=>De,hasPropertyAccessExpressionWithName:()=>eY,hasQuestionToken:()=>kh,hasRecordedExternalHelpers:()=>_R,hasResolutionModeOverride:()=>uS,hasRestParameter:()=>$d,hasScopeMarker:()=>Wu,hasStaticModifier:()=>Ty,hasSyntacticModifier:()=>wy,hasSyntacticModifiers:()=>ky,hasTSFileExtension:()=>BE,hasTabstop:()=>Wx,hasTrailingDirectorySeparator:()=>So,hasType:()=>Id,hasTypeArguments:()=>Gh,hasZeroOrOneAsteriskCharacter:()=>YC,hostGetCanonicalFileName:()=>qA,hostUsesCaseSensitiveFileNames:()=>OA,idText:()=>hc,identifierIsThisKeyword:()=>py,identifierToKeywordKind:()=>gc,identity:()=>st,identitySourceMapConsumer:()=>FL,ignoreSourceNewlines:()=>Rk,ignoredPaths:()=>Xi,importFromModuleSpecifier:()=>yh,importSyntaxAffectsModuleResolution:()=>mC,indexOfAnyCharCode:()=>E,indexOfNode:()=>Kp,indicesOf:()=>W,inferredTypesContainingFile:()=>_J,injectClassNamedEvaluationHelperBlockIfMissing:()=>FM,injectClassThisAssignmentIfMissing:()=>SM,insertImports:()=>aX,insertSorted:()=>X,insertStatementAfterCustomPrologue:()=>Op,insertStatementAfterStandardPrologue:()=>Bp,insertStatementsAfterCustomPrologue:()=>Np,insertStatementsAfterStandardPrologue:()=>Pp,intersperse:()=>h,intrinsicTagNameToString:()=>sS,introducesArgumentsExoticObject:()=>O_,inverseJsxOptionMap:()=>uN,isAbstractConstructorSymbol:()=>mb,isAbstractModifier:()=>XD,isAccessExpression:()=>xb,isAccessibilityModifier:()=>AK,isAccessor:()=>pu,isAccessorModifier:()=>ew,isAliasableExpression:()=>_g,isAmbientModule:()=>cf,isAmbientPropertyDeclaration:()=>yf,isAnyDirectorySeparator:()=>mo,isAnyImportOrBareOrAccessedRequire:()=>xf,isAnyImportOrReExport:()=>wf,isAnyImportOrRequireStatement:()=>Sf,isAnyImportSyntax:()=>Ef,isAnySupportedFileExtension:()=>ex,isApplicableVersionedTypesKey:()=>p$,isArgumentExpressionOfElementAccess:()=>aY,isArray:()=>Ye,isArrayBindingElement:()=>xu,isArrayBindingOrAssignmentElement:()=>Fu,isArrayBindingOrAssignmentPattern:()=>Tu,isArrayBindingPattern:()=>Vw,isArrayLiteralExpression:()=>Gw,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>vK,isArrayTypeNode:()=>kw,isArrowFunction:()=>rI,isAsExpression:()=>AI,isAssertClause:()=>aT,isAssertEntry:()=>cT,isAssertionExpression:()=>Vu,isAssertsKeyword:()=>WD,isAssignmentDeclaration:()=>Um,isAssignmentExpression:()=>iv,isAssignmentOperator:()=>tv,isAssignmentPattern:()=>Eu,isAssignmentTarget:()=>Kh,isAsteriskToken:()=>qD,isAsyncFunction:()=>Bg,isAsyncModifier:()=>GD,isAutoAccessorPropertyDeclaration:()=>fu,isAwaitExpression:()=>aI,isAwaitKeyword:()=>zD,isBigIntLiteral:()=>SD,isBinaryExpression:()=>uI,isBinaryLogicalOperator:()=>zy,isBinaryOperatorToken:()=>LR,isBindableObjectDefinePropertyCall:()=>nh,isBindableStaticAccessExpression:()=>oh,isBindableStaticElementAccessExpression:()=>sh,isBindableStaticNameExpression:()=>ah,isBindingElement:()=>Hw,isBindingElementOfBareOrAccessedRequire:()=>$m,isBindingName:()=>nu,isBindingOrAssignmentElement:()=>ku,isBindingOrAssignmentPattern:()=>Du,isBindingPattern:()=>Cu,isBlock:()=>DI,isBlockLike:()=>a0,isBlockOrCatchScoped:()=>sf,isBlockScope:()=>vf,isBlockScopedContainerTopLevel:()=>pf,isBooleanLiteral:()=>su,isBreakOrContinueStatement:()=>Sl,isBreakStatement:()=>$I,isBuildCommand:()=>fW,isBuildInfoFile:()=>Bj,isBuilderProgram:()=>lH,isBundle:()=>VT,isCallChain:()=>hl,isCallExpression:()=>Kw,isCallExpressionTarget:()=>jz,isCallLikeExpression:()=>Bu,isCallLikeOrFunctionLikeExpression:()=>Nu,isCallOrNewExpression:()=>Ou,isCallOrNewExpressionTarget:()=>Jz,isCallSignatureDeclaration:()=>gw,isCallToHelper:()=>ED,isCaseBlock:()=>tT,isCaseClause:()=>OT,isCaseKeyword:()=>rw,isCaseOrDefaultClause:()=>Cd,isCatchClause:()=>QT,isCatchClauseVariableDeclaration:()=>qx,isCatchClauseVariableDeclarationOrBindingElement:()=>af,isCheckJsEnabledForFile:()=>nx,isCircularBuildOrder:()=>jH,isClassDeclaration:()=>zI,isClassElement:()=>uu,isClassExpression:()=>mI,isClassInstanceProperty:()=>_u,isClassLike:()=>du,isClassMemberModifier:()=>Xl,isClassNamedEvaluationHelperBlock:()=>wM,isClassOrTypeElement:()=>Au,isClassStaticBlockDeclaration:()=>fw,isClassThisAssignmentBlock:()=>EM,isColonToken:()=>LD,isCommaExpression:()=>oR,isCommaListExpression:()=>xI,isCommaSequence:()=>sR,isCommaToken:()=>ND,isComment:()=>fK,isCommonJsExportPropertyAssignment:()=>N_,isCommonJsExportedExpression:()=>P_,isCompoundAssignment:()=>HL,isComputedNonLiteralName:()=>Nf,isComputedPropertyName:()=>ow,isConciseBody:()=>Xu,isConditionalExpression:()=>dI,isConditionalTypeNode:()=>Pw,isConstAssertion:()=>gS,isConstTypeReference:()=>Cl,isConstructSignatureDeclaration:()=>Aw,isConstructorDeclaration:()=>_w,isConstructorTypeNode:()=>Ew,isContextualKeyword:()=>wg,isContinueStatement:()=>qI,isCustomPrologue:()=>f_,isDebuggerStatement:()=>VI,isDeclaration:()=>ud,isDeclarationBindingElement:()=>Su,isDeclarationFileName:()=>KP,isDeclarationName:()=>lg,isDeclarationNameOfEnumOrNamespace:()=>Zv,isDeclarationReadonly:()=>n_,isDeclarationStatement:()=>dd,isDeclarationWithTypeParameterChildren:()=>Cf,isDeclarationWithTypeParameters:()=>bf,isDecorator:()=>cw,isDecoratorTarget:()=>Hz,isDefaultClause:()=>qT,isDefaultImport:()=>xh,isDefaultModifier:()=>HD,isDefaultedExpandoInitializer:()=>Wm,isDeleteExpression:()=>iI,isDeleteTarget:()=>ag,isDeprecatedDeclaration:()=>XZ,isDestructuringAssignment:()=>ov,isDiskPathRoot:()=>Ao,isDoStatement:()=>RI,isDocumentRegistryEntry:()=>$0,isDotDotDotToken:()=>PD,isDottedName:()=>lv,isDynamicName:()=>Qg,isEffectiveExternalModule:()=>gf,isEffectiveStrictModeSourceFile:()=>Af,isElementAccessChain:()=>ml,isElementAccessExpression:()=>Yw,isEmittedFileOfProgram:()=>CU,isEmptyArrayLiteral:()=>yv,isEmptyBindingElement:()=>tc,isEmptyBindingPattern:()=>ec,isEmptyObjectLiteral:()=>Av,isEmptyStatement:()=>II,isEmptyStringLiteral:()=>Am,isEntityName:()=>eu,isEntityNameExpression:()=>av,isEnumConst:()=>t_,isEnumDeclaration:()=>XI,isEnumMember:()=>UT,isEqualityOperatorKind:()=>_Z,isEqualsGreaterThanToken:()=>jD,isExclamationToken:()=>$D,isExcludedFile:()=>SO,isExclusivelyTypeOnlyImportOrExport:()=>ZU,isExpandoPropertyDeclaration:()=>lS,isExportAssignment:()=>mT,isExportDeclaration:()=>hT,isExportModifier:()=>VD,isExportName:()=>tR,isExportNamespaceAsDefaultDeclaration:()=>Jp,isExportOrDefaultModifier:()=>WR,isExportSpecifier:()=>AT,isExportsIdentifier:()=>Xm,isExportsOrModuleExportsOrAlias:()=>U$,isExpression:()=>Ju,isExpressionNode:()=>vm,isExpressionOfExternalModuleImportEqualsDeclaration:()=>dY,isExpressionOfOptionalChainRoot:()=>yl,isExpressionStatement:()=>TI,isExpressionWithTypeArguments:()=>gI,isExpressionWithTypeArgumentsInClassExtendsClause:()=>sv,isExternalModule:()=>UP,isExternalModuleAugmentation:()=>_f,isExternalModuleImportEqualsDeclaration:()=>xm,isExternalModuleIndicator:()=>Yu,isExternalModuleNameRelative:()=>Sa,isExternalModuleReference:()=>ET,isExternalModuleSymbol:()=>Yd,isExternalOrCommonJsModule:()=>Zf,isFileLevelReservedGeneratedIdentifier:()=>Gl,isFileLevelUniqueName:()=>Sp,isFileProbablyExternalModule:()=>mP,isFirstDeclarationOfSymbolParameter:()=>gX,isFixablePromiseHandler:()=>N1,isForInOrOfStatement:()=>Ku,isForInStatement:()=>BI,isForInitializer:()=>ed,isForOfStatement:()=>OI,isForStatement:()=>NI,isFullSourceFile:()=>wm,isFunctionBlock:()=>$_,isFunctionBody:()=>Zu,isFunctionDeclaration:()=>WI,isFunctionExpression:()=>nI,isFunctionExpressionOrArrowFunction:()=>$x,isFunctionLike:()=>ru,isFunctionLikeDeclaration:()=>ou,isFunctionLikeKind:()=>cu,isFunctionLikeOrClassStaticBlockDeclaration:()=>iu,isFunctionOrConstructorTypeNode:()=>bu,isFunctionOrModuleBlock:()=>lu,isFunctionSymbol:()=>hh,isFunctionTypeNode:()=>Cw,isGeneratedIdentifier:()=>Vl,isGeneratedPrivateIdentifier:()=>Hl,isGetAccessor:()=>Dd,isGetAccessorDeclaration:()=>mw,isGetOrSetAccessorDeclaration:()=>fl,isGlobalScopeAugmentation:()=>ff,isGlobalSourceFile:()=>Xf,isGrammarError:()=>wp,isHeritageClause:()=>$T,isHoistedFunction:()=>__,isHoistedVariableStatement:()=>h_,isIdentifier:()=>UD,isIdentifierANonContextualKeyword:()=>Fg,isIdentifierName:()=>pg,isIdentifierOrThisTypeNode:()=>RR,isIdentifierPart:()=>_a,isIdentifierStart:()=>fa,isIdentifierText:()=>ma,isIdentifierTypePredicate:()=>M_,isIdentifierTypeReference:()=>bx,isIfStatement:()=>FI,isIgnoredFileFromWildCardWatching:()=>bU,isImplicitGlob:()=>dE,isImportAttribute:()=>uT,isImportAttributeName:()=>Jl,isImportAttributes:()=>lT,isImportCall:()=>l_,isImportClause:()=>oT,isImportDeclaration:()=>iT,isImportEqualsDeclaration:()=>rT,isImportKeyword:()=>nw,isImportMeta:()=>u_,isImportOrExportSpecifier:()=>$l,isImportOrExportSpecifierName:()=>LX,isImportSpecifier:()=>_T,isImportTypeAssertionContainer:()=>sT,isImportTypeNode:()=>Mw,isImportable:()=>p0,isInComment:()=>cK,isInCompoundLikeAssignment:()=>Xh,isInExpressionContext:()=>bm,isInJSDoc:()=>Pm,isInJSFile:()=>Tm,isInJSXText:()=>nK,isInJsonFile:()=>Fm,isInNonReferenceComment:()=>CK,isInReferenceComment:()=>bK,isInRightSideOfInternalImportEqualsDeclaration:()=>Mz,isInString:()=>XY,isInTemplateString:()=>tK,isInTopLevelContext:()=>nm,isInTypeQuery:()=>uy,isIncrementalBuildInfo:()=>_V,isIncrementalBundleEmitBuildInfo:()=>fV,isIncrementalCompilation:()=>FC,isIndexSignatureDeclaration:()=>yw,isIndexedAccessTypeNode:()=>$w,isInferTypeNode:()=>Nw,isInfinityOrNaNString:()=>Ox,isInitializedProperty:()=>eM,isInitializedVariable:()=>tb,isInsideJsxElement:()=>rK,isInsideJsxElementOrAttribute:()=>ZY,isInsideNodeModules:()=>$Z,isInsideTemplateLiteral:()=>gK,isInstanceOfExpression:()=>hv,isInstantiatedModule:()=>HQ,isInterfaceDeclaration:()=>YI,isInternalDeclaration:()=>Md,isInternalModuleImportEqualsDeclaration:()=>Dm,isInternalName:()=>ZF,isIntersectionTypeNode:()=>Rw,isIntrinsicJsxName:()=>TA,isIterationStatement:()=>Hu,isJSDoc:()=>sF,isJSDocAllType:()=>XT,isJSDocAugmentsTag:()=>lF,isJSDocAuthorTag:()=>uF,isJSDocCallbackTag:()=>pF,isJSDocClassTag:()=>dF,isJSDocCommentContainingNode:()=>xd,isJSDocConstructSignature:()=>Dh,isJSDocDeprecatedTag:()=>yF,isJSDocEnumTag:()=>bF,isJSDocFunctionType:()=>rF,isJSDocImplementsTag:()=>TF,isJSDocImportTag:()=>PF,isJSDocIndexSignature:()=>Nm,isJSDocLikeText:()=>_P,isJSDocLink:()=>zT,isJSDocLinkCode:()=>YT,isJSDocLinkLike:()=>qd,isJSDocLinkPlain:()=>KT,isJSDocMemberName:()=>WT,isJSDocNameReference:()=>GT,isJSDocNamepathType:()=>oF,isJSDocNamespaceBody:()=>rd,isJSDocNode:()=>Ed,isJSDocNonNullableType:()=>tF,isJSDocNullableType:()=>eF,isJSDocOptionalParameter:()=>zx,isJSDocOptionalType:()=>nF,isJSDocOverloadTag:()=>AF,isJSDocOverrideTag:()=>gF,isJSDocParameterTag:()=>CF,isJSDocPrivateTag:()=>_F,isJSDocPropertyLikeTag:()=>Dl,isJSDocPropertyTag:()=>IF,isJSDocProtectedTag:()=>mF,isJSDocPublicTag:()=>fF,isJSDocReadonlyTag:()=>hF,isJSDocReturnTag:()=>EF,isJSDocSatisfiesExpression:()=>Xx,isJSDocSatisfiesTag:()=>FF,isJSDocSeeTag:()=>vF,isJSDocSignature:()=>cF,isJSDocTag:()=>Sd,isJSDocTemplateTag:()=>kF,isJSDocThisTag:()=>xF,isJSDocThrowsTag:()=>RF,isJSDocTypeAlias:()=>wh,isJSDocTypeAssertion:()=>aR,isJSDocTypeExpression:()=>HT,isJSDocTypeLiteral:()=>aF,isJSDocTypeTag:()=>SF,isJSDocTypedefTag:()=>DF,isJSDocUnknownTag:()=>wF,isJSDocUnknownType:()=>ZT,isJSDocVariadicType:()=>iF,isJSXTagName:()=>ym,isJsonEqual:()=>_x,isJsonSourceFile:()=>e_,isJsxAttribute:()=>FT,isJsxAttributeLike:()=>Ad,isJsxAttributeName:()=>rS,isJsxAttributes:()=>RT,isJsxCallLike:()=>bd,isJsxChild:()=>gd,isJsxClosingElement:()=>DT,isJsxClosingFragment:()=>TT,isJsxElement:()=>xT,isJsxExpression:()=>NT,isJsxFragment:()=>wT,isJsxNamespacedName:()=>BT,isJsxOpeningElement:()=>kT,isJsxOpeningFragment:()=>IT,isJsxOpeningLikeElement:()=>vd,isJsxOpeningLikeElementTagName:()=>Gz,isJsxSelfClosingElement:()=>ST,isJsxSpreadAttribute:()=>PT,isJsxTagNameExpression:()=>hd,isJsxText:()=>DD,isJumpStatementTarget:()=>tY,isKeyword:()=>Sg,isKeywordOrPunctuation:()=>Dg,isKnownSymbol:()=>Vg,isLabelName:()=>rY,isLabelOfLabeledStatement:()=>nY,isLabeledStatement:()=>jI,isLateVisibilityPaintedStatement:()=>kf,isLeftHandSideExpression:()=>$u,isLet:()=>a_,isLineBreak:()=>Js,isLiteralComputedPropertyDeclarationName:()=>dg,isLiteralExpression:()=>Pl,isLiteralExpressionOfObject:()=>Nl,isLiteralImportTypeNode:()=>d_,isLiteralKind:()=>Rl,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>uY,isLiteralTypeLiteral:()=>Uu,isLiteralTypeNode:()=>Lw,isLocalName:()=>eR,isLogicalOperator:()=>Yy,isLogicalOrCoalescingAssignmentExpression:()=>Xy,isLogicalOrCoalescingAssignmentOperator:()=>Ky,isLogicalOrCoalescingBinaryExpression:()=>ev,isLogicalOrCoalescingBinaryOperator:()=>Zy,isMappedTypeNode:()=>Qw,isMemberName:()=>pl,isMetaProperty:()=>bI,isMethodDeclaration:()=>pw,isMethodOrAccessor:()=>mu,isMethodSignature:()=>dw,isMinusToken:()=>OD,isMissingDeclaration:()=>vT,isMissingPackageJsonInfo:()=>dq,isModifier:()=>Zl,isModifierKind:()=>Yl,isModifierLike:()=>hu,isModuleAugmentationExternal:()=>mf,isModuleBlock:()=>eT,isModuleBody:()=>td,isModuleDeclaration:()=>ZI,isModuleExportName:()=>yT,isModuleExportsAccessExpression:()=>eh,isModuleIdentifier:()=>Zm,isModuleName:()=>BR,isModuleOrEnumDeclaration:()=>od,isModuleReference:()=>md,isModuleSpecifierLike:()=>tX,isModuleWithStringLiteralName:()=>lf,isNameOfFunctionDeclaration:()=>lY,isNameOfModuleDeclaration:()=>cY,isNamedDeclaration:()=>Ec,isNamedEvaluation:()=>zg,isNamedEvaluationSource:()=>Wg,isNamedExportBindings:()=>kl,isNamedExports:()=>gT,isNamedImportBindings:()=>id,isNamedImports:()=>fT,isNamedImportsOrExports:()=>kb,isNamedTupleMember:()=>ww,isNamespaceBody:()=>nd,isNamespaceExport:()=>pT,isNamespaceExportDeclaration:()=>nT,isNamespaceImport:()=>dT,isNamespaceReexportDeclaration:()=>Em,isNewExpression:()=>Xw,isNewExpressionTarget:()=>Uz,isNewScopeNode:()=>TS,isNoSubstitutionTemplateLiteral:()=>ID,isNodeArray:()=>Fl,isNodeArrayMultiLine:()=>Hv,isNodeDescendantOf:()=>cg,isNodeKind:()=>wl,isNodeLikeSystem:()=>ln,isNodeModulesDirectory:()=>cs,isNodeWithPossibleHoistedDeclaration:()=>Zh,isNonContextualKeyword:()=>Ig,isNonGlobalAmbientModule:()=>uf,isNonNullAccess:()=>Kx,isNonNullChain:()=>xl,isNonNullExpression:()=>vI,isNonStaticMethodOrAccessorWithPrivateName:()=>tM,isNotEmittedStatement:()=>bT,isNullishCoalesce:()=>bl,isNumber:()=>Ze,isNumericLiteral:()=>xD,isNumericLiteralName:()=>Lx,isObjectBindingElementWithoutPropertyName:()=>nX,isObjectBindingOrAssignmentElement:()=>Iu,isObjectBindingOrAssignmentPattern:()=>wu,isObjectBindingPattern:()=>Jw,isObjectLiteralElement:()=>Rd,isObjectLiteralElementLike:()=>yu,isObjectLiteralExpression:()=>Ww,isObjectLiteralMethod:()=>Q_,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>L_,isObjectTypeDeclaration:()=>Cb,isOmittedExpression:()=>hI,isOptionalChain:()=>gl,isOptionalChainRoot:()=>Al,isOptionalDeclaration:()=>Yx,isOptionalJSDocPropertyLikeTag:()=>Hx,isOptionalTypeNode:()=>Iw,isOuterExpression:()=>lR,isOutermostOptionalChain:()=>vl,isOverrideModifier:()=>ZD,isPackageJsonInfo:()=>uq,isPackedArrayLiteral:()=>Fx,isParameter:()=>aw,isParameterPropertyDeclaration:()=>Za,isParameterPropertyModifier:()=>Kl,isParenthesizedExpression:()=>tI,isParenthesizedTypeNode:()=>Bw,isParseTreeNode:()=>pc,isPartOfParameterDeclaration:()=>Kg,isPartOfTypeNode:()=>S_,isPartOfTypeOnlyImportOrExportDeclaration:()=>jl,isPartOfTypeQuery:()=>Cm,isPartiallyEmittedExpression:()=>EI,isPatternMatch:()=>Kt,isPinnedComment:()=>$p,isPlainJsFile:()=>vp,isPlusToken:()=>BD,isPossiblyTypeArgumentPosition:()=>oK,isPostfixUnaryExpression:()=>lI,isPrefixUnaryExpression:()=>cI,isPrimitiveLiteralValue:()=>vS,isPrivateIdentifier:()=>JD,isPrivateIdentifierClassElementDeclaration:()=>Wl,isPrivateIdentifierPropertyAccessExpression:()=>zl,isPrivateIdentifierSymbol:()=>Hg,isProgramUptoDate:()=>CJ,isPrologueDirective:()=>p_,isPropertyAccessChain:()=>_l,isPropertyAccessEntityNameExpression:()=>uv,isPropertyAccessExpression:()=>zw,isPropertyAccessOrQualifiedName:()=>Pu,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Ru,isPropertyAssignment:()=>LT,isPropertyDeclaration:()=>uw,isPropertyName:()=>tu,isPropertyNameLiteral:()=>Mg,isPropertySignature:()=>lw,isPrototypeAccess:()=>pv,isPrototypePropertyAssignment:()=>fh,isPunctuation:()=>kg,isPushOrUnshiftIdentifier:()=>Yg,isQualifiedName:()=>iw,isQuestionDotToken:()=>MD,isQuestionOrExclamationToken:()=>FR,isQuestionOrPlusOrMinusToken:()=>NR,isQuestionToken:()=>QD,isReadonlyKeyword:()=>YD,isReadonlyKeywordOrPlusOrMinusToken:()=>PR,isRecognizedTripleSlashComment:()=>qp,isReferenceFileLocation:()=>vJ,isReferencedFile:()=>yJ,isRegularExpressionLiteral:()=>wD,isRequireCall:()=>Bm,isRequireVariableStatement:()=>Lm,isRestParameter:()=>Qd,isRestTypeNode:()=>Tw,isReturnStatement:()=>QI,isReturnStatementWithFixablePromiseHandler:()=>P1,isRightSideOfAccessExpression:()=>_v,isRightSideOfInstanceofExpression:()=>gv,isRightSideOfPropertyAccess:()=>sY,isRightSideOfQualifiedName:()=>oY,isRightSideOfQualifiedNameOrPropertyAccess:()=>fv,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>mv,isRootedDiskPath:()=>go,isSameEntityName:()=>Ym,isSatisfiesExpression:()=>yI,isSemicolonClassElement:()=>kI,isSetAccessor:()=>kd,isSetAccessorDeclaration:()=>hw,isShiftOperatorOrHigher:()=>OR,isShorthandAmbientModuleSymbol:()=>df,isShorthandPropertyAssignment:()=>MT,isSideEffectImport:()=>ES,isSignedNumericLiteral:()=>qg,isSimpleCopiableExpression:()=>JL,isSimpleInlineableExpression:()=>VL,isSimpleParameterList:()=>dM,isSingleOrDoubleQuote:()=>Mm,isSolutionConfig:()=>rO,isSourceElement:()=>_S,isSourceFile:()=>JT,isSourceFileFromLibrary:()=>i0,isSourceFileJS:()=>Im,isSourceFileNotJson:()=>Rm,isSourceMapping:()=>EL,isSpecialPropertyDeclaration:()=>_h,isSpreadAssignment:()=>jT,isSpreadElement:()=>_I,isStatement:()=>fd,isStatementButNotDeclaration:()=>pd,isStatementOrBlock:()=>_d,isStatementWithLocals:()=>bp,isStatic:()=>Iy,isStaticModifier:()=>KD,isString:()=>Xe,isStringANonContextualKeyword:()=>Tg,isStringAndEmptyAnonymousObjectIntersection:()=>hK,isStringDoubleQuoted:()=>jm,isStringLiteral:()=>kD,isStringLiteralLike:()=>Od,isStringLiteralOrJsxExpression:()=>yd,isStringLiteralOrTemplate:()=>mZ,isStringOrNumericLiteralLike:()=>Og,isStringOrRegularExpressionOrTemplateLiteral:()=>_K,isStringTextContainingNode:()=>Ul,isSuperCall:()=>c_,isSuperKeyword:()=>tw,isSuperProperty:()=>sm,isSupportedSourceFileName:()=>QE,isSwitchStatement:()=>MI,isSyntaxList:()=>NF,isSyntheticExpression:()=>CI,isSyntheticReference:()=>CT,isTagName:()=>iY,isTaggedTemplateExpression:()=>Zw,isTaggedTemplateTag:()=>Vz,isTemplateExpression:()=>pI,isTemplateHead:()=>TD,isTemplateLiteral:()=>qu,isTemplateLiteralKind:()=>Bl,isTemplateLiteralToken:()=>Ol,isTemplateLiteralTypeNode:()=>Uw,isTemplateLiteralTypeSpan:()=>jw,isTemplateMiddle:()=>FD,isTemplateMiddleOrTemplateTail:()=>ql,isTemplateSpan:()=>SI,isTemplateTail:()=>RD,isTextWhiteSpaceLike:()=>fX,isThis:()=>_Y,isThisContainerOrFunctionBlock:()=>tm,isThisIdentifier:()=>ly,isThisInTypeQuery:()=>dy,isThisInitializedDeclaration:()=>cm,isThisInitializedObjectBindingExpression:()=>lm,isThisProperty:()=>am,isThisTypeNode:()=>Ow,isThisTypeParameter:()=>jx,isThisTypePredicate:()=>j_,isThrowStatement:()=>UI,isToken:()=>Tl,isTokenKind:()=>Il,isTraceEnabled:()=>LO,isTransientSymbol:()=>zd,isTrivia:()=>Rg,isTryStatement:()=>JI,isTupleTypeNode:()=>Dw,isTypeAlias:()=>Ih,isTypeAliasDeclaration:()=>KI,isTypeAssertionExpression:()=>eI,isTypeDeclaration:()=>Jx,isTypeElement:()=>gu,isTypeKeyword:()=>PK,isTypeKeywordTokenOrIdentifier:()=>BK,isTypeLiteralNode:()=>Sw,isTypeNode:()=>vu,isTypeNodeKind:()=>Eb,isTypeOfExpression:()=>oI,isTypeOnlyExportDeclaration:()=>Ll,isTypeOnlyImportDeclaration:()=>Ql,isTypeOnlyImportOrExportDeclaration:()=>Ml,isTypeOperatorNode:()=>qw,isTypeParameterDeclaration:()=>sw,isTypePredicateNode:()=>vw,isTypeQueryNode:()=>xw,isTypeReferenceNode:()=>bw,isTypeReferenceType:()=>Pd,isTypeUsableAsPropertyName:()=>aS,isUMDExportSymbol:()=>Ab,isUnaryExpression:()=>Lu,isUnaryExpressionWithWrite:()=>ju,isUnicodeIdentifierStart:()=>ks,isUnionTypeNode:()=>Fw,isUrl:()=>ho,isValidBigIntString:()=>yx,isValidESSymbolDeclaration:()=>B_,isValidTypeOnlyAliasUseSite:()=>vx,isValueSignatureDeclaration:()=>eg,isVarAwaitUsing:()=>r_,isVarConst:()=>o_,isVarConstLike:()=>s_,isVarUsing:()=>i_,isVariableDeclaration:()=>HI,isVariableDeclarationInVariableStatement:()=>R_,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>qm,isVariableDeclarationInitializedToRequire:()=>Om,isVariableDeclarationList:()=>GI,isVariableLike:()=>F_,isVariableStatement:()=>wI,isVoidExpression:()=>sI,isWatchSet:()=>nb,isWhileStatement:()=>PI,isWhiteSpaceLike:()=>js,isWhiteSpaceSingleLine:()=>Us,isWithStatement:()=>LI,isWriteAccess:()=>lb,isWriteOnlyAccess:()=>cb,isYieldExpression:()=>fI,jsxModeNeedsExplicitImport:()=>r0,keywordPart:()=>bX,last:()=>Ae,lastOrUndefined:()=>ge,length:()=>l,libMap:()=>fN,libs:()=>pN,lineBreakPart:()=>BX,loadModuleFromGlobalCache:()=>I$,loadWithModeAwareCache:()=>dJ,makeIdentifierFromModuleName:()=>of,makeImport:()=>GK,makeStringLiteral:()=>WK,mangleScopedPackageName:()=>C$,map:()=>w,mapAllOrFail:()=>O,mapDefined:()=>q,mapDefinedIterator:()=>$,mapEntries:()=>U,mapIterator:()=>I,mapOneOrMany:()=>JZ,mapToDisplayParts:()=>OX,matchFiles:()=>gE,matchPatternOrExact:()=>ix,matchedText:()=>Ht,matchesExclude:()=>DO,matchesExcludeWorker:()=>wO,maxBy:()=>vt,maybeBind:()=>Je,maybeSetLocalizedDiagnosticMessages:()=>Jb,memoize:()=>dt,memoizeOne:()=>pt,min:()=>bt,minAndMax:()=>ax,missingFileModifiedTime:()=>Li,modifierToFlag:()=>Wy,modifiersToFlags:()=>Gy,moduleExportNameIsDefault:()=>Gp,moduleExportNameTextEscaped:()=>Hp,moduleExportNameTextUnescaped:()=>Vp,moduleOptionDeclaration:()=>gN,moduleResolutionIsEqualTo:()=>cp,moduleResolutionNameAndModeGetter:()=>sJ,moduleResolutionOptionDeclarations:()=>EN,moduleResolutionSupportsPackageJsonExportsAndImports:()=>QC,moduleResolutionUsesNodeModules:()=>HK,moduleSpecifierToValidIdentifier:()=>zZ,moduleSpecifiers:()=>G$,moduleSymbolToValidIdentifier:()=>WZ,moveEmitHelpers:()=>Ik,moveRangeEnd:()=>Nv,moveRangePastDecorators:()=>Ov,moveRangePastModifiers:()=>qv,moveRangePos:()=>Bv,moveSyntheticComments:()=>Ck,mutateMap:()=>_b,mutateMapSkippingNewValues:()=>fb,needsParentheses:()=>dZ,needsScopeMarker:()=>zu,newCaseClauseTracker:()=>o0,newPrivateEnvironment:()=>sM,noEmitNotification:()=>Fj,noEmitSubstitution:()=>Tj,noTransformers:()=>Ej,noTruncationMaximumTruncationLength:()=>Vd,nodeCanBeDecorated:()=>pm,nodeCoreModules:()=>DS,nodeHasName:()=>bc,nodeIsDecorated:()=>fm,nodeIsMissing:()=>kp,nodeIsPresent:()=>Dp,nodeIsSynthesized:()=>eA,nodeModuleNameResolver:()=>Pq,nodeModulesPathPart:()=>Qq,nodeNextJsonConfigResolver:()=>Nq,nodeOrChildIsDecorated:()=>_m,nodeOverlapsWithStartEnd:()=>CY,nodePosToString:()=>Ep,nodeSeenTracker:()=>OK,nodeStartsNewLexicalEnvironment:()=>Zg,noop:()=>nt,noopFileWatcher:()=>AH,normalizePath:()=>Mo,normalizeSlashes:()=>Bo,normalizeSpans:()=>Ja,not:()=>en,notImplemented:()=>ut,notImplementedResolver:()=>oU,nullNodeConverters:()=>OS,nullParenthesizerRules:()=>PS,nullTransformationContext:()=>Pj,objectAllocator:()=>$b,operatorPart:()=>EX,optionDeclarations:()=>yN,optionMapToObject:()=>TB,optionsAffectingProgramStructure:()=>SN,optionsForBuild:()=>RN,optionsForWatch:()=>_N,optionsHaveChanges:()=>ep,or:()=>Zt,orderedRemoveItem:()=>Lt,orderedRemoveItemAt:()=>Mt,packageIdToPackageName:()=>fp,packageIdToString:()=>_p,parameterIsThisKeyword:()=>cy,parameterNamePart:()=>xX,parseBaseNodeFactory:()=>uP,parseBigInt:()=>gx,parseBuildCommand:()=>eB,parseCommandLine:()=>zN,parseCommandLineWorker:()=>VN,parseConfigFileTextToJson:()=>iB,parseConfigFileWithSystem:()=>rH,parseConfigHostFromCompilerHostLike:()=>BJ,parseCustomTypeOption:()=>MN,parseIsolatedEntityName:()=>MP,parseIsolatedJSDocComment:()=>VP,parseJSDocTypeExpressionForTests:()=>HP,parseJsonConfigFileContent:()=>MB,parseJsonSourceFileConfigFileContent:()=>jB,parseJsonText:()=>jP,parseListTypeOption:()=>jN,parseNodeFactory:()=>dP,parseNodeModuleFromPath:()=>Mq,parsePackageName:()=>s$,parsePseudoBigInt:()=>mx,parseValidBigInt:()=>Ax,pasteEdits:()=>k_e,patchWriteFileEnsuringDirectory:()=>ao,pathContainsNodeModules:()=>Lq,pathIsAbsolute:()=>yo,pathIsBareSpecifier:()=>bo,pathIsRelative:()=>vo,patternText:()=>Vt,performIncrementalCompilation:()=>FH,performance:()=>Un,positionBelongsToNode:()=>xY,positionIsASICandidate:()=>SZ,positionIsSynthesized:()=>YE,positionsAreOnSameLine:()=>Gv,preProcessFile:()=>E1,probablyUsesSemicolons:()=>kZ,processCommentPragmas:()=>ZP,processPragmasIntoFields:()=>eN,processTaggedTemplateExpression:()=>BM,programContainsEsModules:()=>jK,programContainsModules:()=>MK,projectReferenceIsEqualTo:()=>ap,propertyNamePart:()=>SX,pseudoBigIntToString:()=>hx,punctuationPart:()=>CX,pushIfUnique:()=>ae,quote:()=>fZ,quotePreferenceFromString:()=>YK,rangeContainsPosition:()=>AY,rangeContainsPositionExclusive:()=>yY,rangeContainsRange:()=>Kv,rangeContainsRangeExclusive:()=>gY,rangeContainsStartEnd:()=>vY,rangeEndIsOnSameLineAsRangeStart:()=>Uv,rangeEndPositionsAreOnSameLine:()=>Mv,rangeEquals:()=>de,rangeIsOnSingleLine:()=>Qv,rangeOfNode:()=>cx,rangeOfTypeParameters:()=>lx,rangeOverlapsWithStartEnd:()=>bY,rangeStartIsOnSameLineAsRangeEnd:()=>jv,rangeStartPositionsAreOnSameLine:()=>Lv,readBuilderProgram:()=>RH,readConfigFile:()=>rB,readJson:()=>Dv,readJsonConfigFile:()=>oB,readJsonOrUndefined:()=>kv,reduceEachLeadingCommentRange:()=>aa,reduceEachTrailingCommentRange:()=>ca,reduceLeft:()=>Se,reduceLeftIterator:()=>_,reducePathComponents:()=>Oo,refactor:()=>r3,regExpEscape:()=>tE,regularExpressionFlagToCharacterCode:()=>Rs,relativeComplement:()=>ne,removeAllComments:()=>rk,removeEmitHelper:()=>Dk,removeExtension:()=>VE,removeFileExtension:()=>UE,removeIgnoredPath:()=>NV,removeMinAndVersionNumbers:()=>Qt,removePrefix:()=>zt,removeSuffix:()=>qt,removeTrailingDirectorySeparator:()=>Jo,repeatString:()=>$K,replaceElement:()=>Ce,replaceFirstStar:()=>pS,resolutionExtensionIsTSOrJson:()=>XE,resolveConfigFileProjectName:()=>$H,resolveJSModule:()=>Iq,resolveLibrary:()=>Sq,resolveModuleName:()=>Dq,resolveModuleNameFromCache:()=>kq,resolvePackageNameToPackageJson:()=>cq,resolvePath:()=>$o,resolveProjectReferencePath:()=>OJ,resolveTripleslashReference:()=>wU,resolveTypeReferenceDirective:()=>oq,resolvingEmptyArray:()=>jd,returnFalse:()=>rt,returnNoopFileWatcher:()=>yH,returnTrue:()=>it,returnUndefined:()=>ot,returnsPromise:()=>R1,rewriteModuleSpecifier:()=>pM,sameFlatMap:()=>B,sameMap:()=>T,sameMapping:()=>CL,scanTokenAtPosition:()=>Yf,scanner:()=>qz,semanticDiagnosticsOptionDeclarations:()=>vN,serializeCompilerOptions:()=>NB,server:()=>$ge,servicesVersion:()=>k8,setCommentRange:()=>mk,setConfigFileInOptions:()=>UB,setConstantValue:()=>xk,setEmitFlags:()=>ik,setGetSourceFileAsHashVersioned:()=>SH,setIdentifierAutoGenerate:()=>qk,setIdentifierGeneratedImportReference:()=>Qk,setIdentifierTypeArguments:()=>Bk,setInternalEmitFlags:()=>sk,setLocalizedDiagnosticMessages:()=>Ub,setNodeChildren:()=>$F,setNodeFlags:()=>Dx,setObjectAllocator:()=>Mb,setOriginalNode:()=>ek,setParent:()=>wx,setParentRecursive:()=>Ix,setPrivateIdentifier:()=>cM,setSnippetElement:()=>Fk,setSourceMapRange:()=>lk,setStackTraceLimit:()=>qi,setStartsOnNewLine:()=>fk,setSyntheticLeadingComments:()=>gk,setSyntheticTrailingComments:()=>vk,setSys:()=>lo,setSysLog:()=>to,setTextRange:()=>aP,setTextRangeEnd:()=>xx,setTextRangePos:()=>Ex,setTextRangePosEnd:()=>Sx,setTextRangePosWidth:()=>kx,setTokenSourceMapRange:()=>dk,setTypeNode:()=>Pk,setUILocale:()=>Tt,setValueDeclaration:()=>mh,shouldAllowImportingTsExtension:()=>w$,shouldPreserveConstEnums:()=>TC,shouldRewriteModuleSpecifier:()=>bh,shouldUseUriStyleNodeCoreModules:()=>ZZ,showModuleSpecifier:()=>yb,signatureHasRestParameter:()=>KQ,signatureToDisplayParts:()=>QX,single:()=>ve,singleElementArray:()=>nn,singleIterator:()=>M,singleOrMany:()=>be,singleOrUndefined:()=>ye,skipAlias:()=>sb,skipConstraint:()=>QK,skipOuterExpressions:()=>uR,skipParentheses:()=>sg,skipPartiallyEmittedExpressions:()=>El,skipTrivia:()=>Ks,skipTypeChecking:()=>ux,skipTypeCheckingIgnoringNoCheck:()=>dx,skipTypeParentheses:()=>og,skipWhile:()=>cn,sliceAfter:()=>ox,some:()=>J,sortAndDeduplicate:()=>Z,sortAndDeduplicateDiagnostics:()=>ka,sourceFileAffectingCompilerOptions:()=>xN,sourceFileMayBeEmitted:()=>YA,sourceMapCommentRegExp:()=>mL,sourceMapCommentRegExpDontCareLineStart:()=>_L,spacePart:()=>vX,spanMap:()=>j,startEndContainsRange:()=>Xv,startEndOverlapsWithStartEnd:()=>EY,startOnNewLine:()=>pR,startTracing:()=>dr,startsWith:()=>Wt,startsWithDirectory:()=>ts,startsWithUnderscore:()=>KZ,startsWithUseStrict:()=>iR,stringContainsAt:()=>YZ,stringToToken:()=>Ts,stripQuotes:()=>IA,supportedDeclarationExtensions:()=>IE,supportedJSExtensionsFlat:()=>kE,supportedLocaleDirectories:()=>cc,supportedTSExtensionsFlat:()=>EE,supportedTSImplementationExtensions:()=>TE,suppressLeadingAndTrailingTrivia:()=>XX,suppressLeadingTrivia:()=>ZX,suppressTrailingTrivia:()=>eZ,symbolEscapedNameNoDefault:()=>eX,symbolName:()=>Ac,symbolNameNoDefault:()=>ZK,symbolToDisplayParts:()=>$X,sys:()=>co,sysLog:()=>eo,tagNamesAreEquivalent:()=>aN,takeWhile:()=>an,targetOptionDeclaration:()=>hN,targetToLibMap:()=>Da,testFormatSettings:()=>kz,textChangeRangeIsUnchanged:()=>Wa,textChangeRangeNewSpan:()=>Ga,textChanges:()=>zde,textOrKeywordPart:()=>kX,textPart:()=>DX,textRangeContainsPositionInclusive:()=>Ra,textRangeContainsTextSpan:()=>Ba,textRangeIntersectsWithTextSpan:()=>ja,textSpanContainsPosition:()=>Fa,textSpanContainsTextRange:()=>Na,textSpanContainsTextSpan:()=>Pa,textSpanEnd:()=>Ia,textSpanIntersection:()=>Ua,textSpanIntersectsWith:()=>Qa,textSpanIntersectsWithPosition:()=>Ma,textSpanIntersectsWithTextSpan:()=>$a,textSpanIsEmpty:()=>Ta,textSpanOverlap:()=>qa,textSpanOverlapsWith:()=>Oa,textSpansEqual:()=>lX,textToKeywordObj:()=>fs,timestamp:()=>jn,toArray:()=>Ke,toBuilderFileEmit:()=>SV,toBuilderStateFileInfoForMultiEmit:()=>xV,toEditorSettings:()=>U8,toFileNameLowerCase:()=>lt,toPath:()=>Uo,toProgramEmitPending:()=>kV,toSorted:()=>le,tokenIsIdentifierOrKeyword:()=>ds,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ps,tokenToString:()=>Is,trace:()=>QO,tracing:()=>Hn,tracingEnabled:()=>Gn,transferSourceFileChildren:()=>LF,transform:()=>c5,transformClassFields:()=>QM,transformDeclarations:()=>vj,transformECMAScriptModule:()=>dj,transformES2015:()=>sj,transformES2016:()=>ij,transformES2017:()=>JM,transformES2018:()=>HM,transformES2019:()=>GM,transformES2020:()=>WM,transformES2021:()=>zM,transformESDecorators:()=>UM,transformESNext:()=>YM,transformGenerators:()=>aj,transformImpliedNodeFormatDependentModule:()=>pj,transformJsx:()=>nj,transformLegacyDecorators:()=>jM,transformModule:()=>cj,transformNamedEvaluation:()=>PM,transformNodes:()=>Rj,transformSystemModule:()=>uj,transformTypeScript:()=>$M,transpile:()=>W1,transpileDeclaration:()=>j1,transpileModule:()=>M1,transpileOptionValueCompilerOptions:()=>kN,tryAddToSet:()=>L,tryAndIgnoreErrors:()=>FZ,tryCast:()=>et,tryDirectoryExists:()=>TZ,tryExtractTSExtension:()=>bv,tryFileExists:()=>IZ,tryGetClassExtendingExpressionWithTypeArguments:()=>nv,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>rv,tryGetDirectories:()=>DZ,tryGetExtensionFromPath:()=>tx,tryGetImportFromModuleSpecifier:()=>vh,tryGetJSDocSatisfiesTypeNode:()=>eS,tryGetModuleNameFromFile:()=>AR,tryGetModuleSpecifierFromDeclaration:()=>Ah,tryGetNativePerformanceHooks:()=>Qn,tryGetPropertyAccessOrIdentifierToString:()=>dv,tryGetPropertyNameOfBindingOrAssignmentElement:()=>ER,tryGetSourceMappingURL:()=>AL,tryGetTextOfPropertyName:()=>Bf,tryParseJson:()=>wv,tryParsePattern:()=>GE,tryParsePatterns:()=>zE,tryParseRawSourceMap:()=>vL,tryReadDirectory:()=>wZ,tryReadFile:()=>sB,tryRemoveDirectoryPrefix:()=>ZC,tryRemoveExtension:()=>JE,tryRemovePrefix:()=>Yt,tryRemoveSuffix:()=>$t,tscBuildOption:()=>FN,typeAcquisitionDeclarations:()=>NN,typeAliasNamePart:()=>wX,typeDirectiveIsEqualTo:()=>mp,typeKeywords:()=>RK,typeParameterNamePart:()=>IX,typeToDisplayParts:()=>qX,unchangedPollThresholds:()=>Vi,unchangedTextChangeRange:()=>Ya,unescapeLeadingUnderscores:()=>mc,unmangleScopedPackageName:()=>x$,unorderedRemoveItem:()=>Ut,unprefixedNodeCoreModules:()=>SS,unreachableCodeIsError:()=>qC,unsetNodeChildren:()=>QF,unusedLabelIsError:()=>$C,unwrapInnermostStatementOfLabel:()=>q_,unwrapParenthesizedExpression:()=>bS,updateErrorForNoInputFiles:()=>oO,updateLanguageServiceSourceFile:()=>K8,updateMissingFilePathsWatch:()=>yU,updateResolutionField:()=>zO,updateSharedExtendedConfigFileWatcher:()=>hU,updateSourceFile:()=>JP,updateWatchingWildcardDirectories:()=>vU,usingSingleLineStringWriter:()=>op,utf16EncodeAsString:()=>va,validateLocaleAndSetLanguage:()=>lc,version:()=>o,versionMajorMinor:()=>i,visitArray:()=>nL,visitCommaListElements:()=>lL,visitEachChild:()=>uL,visitFunctionBody:()=>aL,visitIterationBody:()=>cL,visitLexicalEnvironment:()=>iL,visitNode:()=>eL,visitNodes:()=>tL,visitParameterList:()=>oL,walkUpBindingElementsAndPatterns:()=>nc,walkUpOuterExpressions:()=>dR,walkUpParenthesizedExpressions:()=>rg,walkUpParenthesizedTypes:()=>ng,walkUpParenthesizedTypesAndGetParentAndChild:()=>ig,whitespaceOrMapCommentRegExp:()=>hL,writeCommentRange:()=>Cy,writeFile:()=>ZA,writeFileEnsuringDirectories:()=>ty,zipWith:()=>m}),e.exports=r;var i="5.7",o="5.7.2",s=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(s||{}),a=[],c=new Map;function l(e){return void 0!==e?e.length:0}function u(e,t){if(void 0!==e)for(let n=0;n=0;n--){const r=t(e[n],n);if(r)return r}}function p(e,t){if(void 0!==e)for(let n=0;n=0;r--){const n=e[r];if(t(n,r))return n}}function v(e,t,n){if(void 0===e)return-1;for(let r=n??0;r=0;r--)if(t(e[r],r))return r;return-1}function C(e,t,n=_t){if(void 0!==e)for(let r=0;r{const[i,o]=t(r,e);n.set(i,o)})),n}function J(e,t){if(void 0!==e){if(void 0===t)return e.length>0;for(let n=0;nn(e[t],e[r])||At(t,r)))}(e,r,n);let i=e[r[0]];const o=[r[0]];for(let n=1;ne[t]))}function Y(e,t,n){return 0===e.length?[]:1===e.length?e.slice():n?z(e,t,n):function(e,t){const n=[];for(let r=0;r0&&r(t,e[n-1]))return!1;if(n0&&un.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);t:for(const s=i;is&&un.assertGreaterThanOrEqual(n(e[i],e[i-1]),0),n(t[o],e[i])){case-1:r.push(t[o]);continue e;case 0:continue e;case 1:continue t}}return r}function re(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function ie(e,t){return void 0===e?t:void 0===t?e:Ye(e)?Ye(t)?H(e,t):re(e,t):Ye(t)?re(t,e):[e,t]}function oe(e,t){return t<0?e.length+t:t}function se(e,t,n,r){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(n,r);n=void 0===n?0:oe(t,n),r=void 0===r?t.length:oe(t,r);for(let i=n;i=0;t--)yield e[t]}function de(e,t,n,r){for(;nnull==e?void 0:e.at(t):(e,t)=>{if(void 0!==e&&(t=oe(e,t))>1);switch(r(n(e[i],i),t)){case-1:o=i+1;break;case 0:return i;case 1:s=i-1}}return~o}function Se(e,t,n,r,i){if(e&&e.length>0){const o=e.length;if(o>0){let s=void 0===r||r<0?0:r;const a=void 0===i||s+i>o-1?o-1:s+i;let c;for(arguments.length<=2?(c=e[s],s++):c=n;s<=a;)c=t(c,e[s],s),s++;return c}}return n}var ke=Object.prototype.hasOwnProperty;function De(e,t){return ke.call(e,t)}function we(e,t){return ke.call(e,t)?e[t]:void 0}function Ie(e){const t=[];for(const n in e)ke.call(e,n)&&t.push(n);return t}function Te(e){const t=[];do{const n=Object.getOwnPropertyNames(e);for(const e of n)ae(t,e)}while(e=Object.getPrototypeOf(e));return t}function Fe(e){const t=[];for(const n in e)ke.call(e,n)&&t.push(e[n]);return t}function Re(e,t){const n=new Array(e);for(let r=0;r100&&n>t.length>>1){const e=t.length-n;t.copyWithin(0,n),t.length=e,n=0}return e},isEmpty:r}}function ze(e,t){const n=new Map;let r=0;function*i(){for(const e of n.values())Ye(e)?yield*e:yield e}const o={has(r){const i=e(r);if(!n.has(i))return!1;const o=n.get(i);return Ye(o)?C(o,r,t):t(o,r)},add(i){const o=e(i);if(n.has(o)){const e=n.get(o);if(Ye(e))C(e,i,t)||(e.push(i),r++);else{const s=e;t(s,i)||(n.set(o,[s,i]),r++)}}else n.set(o,i),r++;return this},delete(i){const o=e(i);if(!n.has(o))return!1;const s=n.get(o);if(Ye(s)){for(let e=0;ei(),values:()=>i(),*entries(){for(const e of i())yield[e,e]},[Symbol.iterator]:()=>i(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function Ye(e){return Array.isArray(e)}function Ke(e){return Ye(e)?e:[e]}function Xe(e){return"string"==typeof e}function Ze(e){return"number"==typeof e}function et(e,t){return void 0!==e&&t(e)?e:void 0}function tt(e,t){return void 0!==e&&t(e)?e:un.fail(`Invalid cast. The supplied value ${e} did not pass the test '${un.getFunctionName(t)}'.`)}function nt(e){}function rt(){return!1}function it(){return!0}function ot(){}function st(e){return e}function at(e){return e.toLowerCase()}var ct=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function lt(e){return ct.test(e)?e.replace(ct,at):e}function ut(){throw new Error("Not implemented")}function dt(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function pt(e){const t=new Map;return n=>{const r=`${typeof n}:${n}`;let i=t.get(r);return void 0!==i||t.has(r)||(i=e(n),t.set(r,i)),i}}var ft=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(ft||{});function _t(e,t){return e===t}function mt(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()}function ht(e,t){return _t(e,t)}function gt(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e-1===t(e,n)?e:n))}function Ct(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function Et(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toLowerCase())<(t=t.toLowerCase())?-1:e>t?1:0}function xt(e,t){return gt(e,t)}function St(e){return e?Ct:xt}var kt,Dt,wt=(()=>function(e){const t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(e,n)=>function(e,t,n){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;const r=n(e,t);return r<0?-1:r>0?1:0}(e,n,t)})();function It(){return Dt}function Tt(e){Dt!==e&&(Dt=e,kt=void 0)}function Ft(e,t){return kt??(kt=wt(Dt)),kt(e,t)}function Rt(e,t,n,r){return e===t?0:void 0===e?-1:void 0===t?1:r(e[n],t[n])}function Pt(e,t){return At(e?1:0,t?1:0)}function Nt(e,t,n){const r=Math.max(2,Math.floor(.34*e.length));let i,o=Math.floor(.4*e.length)+1;for(const s of t){const t=n(s);if(void 0!==t&&Math.abs(t.length-e.length)<=r){if(t===e)continue;if(t.length<3&&t.toLowerCase()!==e.toLowerCase())continue;const n=Bt(e,t,o-.1);if(void 0===n)continue;un.assert(nn?s-n:1),l=Math.floor(t.length>n+s?n+s:t.length);i[0]=s;let u=s;for(let e=1;en)return;const d=r;r=i,i=d}const s=r[t.length];return s>n?void 0:s}function Ot(e,t,n){const r=e.length-t.length;return r>=0&&(n?mt(e.slice(r),t):e.indexOf(t,r)===r)}function qt(e,t){return Ot(e,t)?e.slice(0,e.length-t.length):e}function $t(e,t){return Ot(e,t)?e.slice(0,e.length-t.length):void 0}function Qt(e){let t=e.length;for(let n=t-1;n>0;n--){let r=e.charCodeAt(n);if(r>=48&&r<=57)do{--n,r=e.charCodeAt(n)}while(n>0&&r>=48&&r<=57);else{if(!(n>4)||110!==r&&78!==r)break;if(--n,r=e.charCodeAt(n),105!==r&&73!==r)break;if(--n,r=e.charCodeAt(n),109!==r&&77!==r)break;--n,r=e.charCodeAt(n)}if(45!==r&&46!==r)break;t=n}return t===e.length?e:e.slice(0,t)}function Lt(e,t){for(let n=0;ne===t))}function Jt(e){return e?st:lt}function Vt({prefix:e,suffix:t}){return`${e}*${t}`}function Ht(e,t){return un.assert(Kt(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function Gt(e,t,n){let r,i=-1;for(let o=0;oi&&Kt(a,n)&&(i=a.prefix.length,r=s)}return r}function Wt(e,t,n){return n?mt(e.slice(0,t.length),t):0===e.lastIndexOf(t,0)}function zt(e,t){return Wt(e,t)?e.substr(t.length):e}function Yt(e,t,n=st){return Wt(n(e),n(t))?e.substring(t.length):void 0}function Kt({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Wt(n,e)&&Ot(n,t)}function Xt(e,t){return n=>e(n)&&t(n)}function Zt(...e){return(...t)=>{let n;for(const r of e)if(n=r(...t),n)return n;return n}}function en(e){return(...t)=>!e(...t)}function tn(e){}function nn(e){return void 0===e?void 0:[e]}function rn(e,t,n,r,i,o){o??(o=nt);let s=0,a=0;const c=e.length,l=t.length;let u=!1;for(;s(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(dn||{});(e=>{let t=0;function n(t){return e.currentLogLevel<=t}function r(t,r){e.loggingHost&&n(t)&&e.loggingHost.log(t,r)}function i(e){r(3,e)}var o;e.currentLogLevel=2,e.isDebugging=!1,e.shouldLog=n,e.log=i,(o=i=e.log||(e.log={})).error=function(e){r(1,e)},o.warn=function(e){r(2,e)},o.log=function(e){r(3,e)},o.trace=function(e){r(4,e)};const s={};function a(e){return t>=e}function c(t,n){return!!a(t)||(s[n]={level:t,assertion:e[n]},e[n]=nt,!1)}function l(e,t){const n=new Error(e?`Debug Failure. ${e}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(n,t||l),n}function u(e,t,n,r){e||(t=t?`False expression: ${t}`:"False expression.",n&&(t+="\r\nVerbose Debug Information: "+("string"==typeof n?n:n())),l(t,r||u))}function d(e,t,n){null==e&&l(t,n||d)}function p(e,t,n){for(const r of e)d(r,t,n||p)}function f(e,t="Illegal value:",n){return l(`${t} ${"object"==typeof e&&De(e,"kind")&&De(e,"pos")?"SyntaxKind: "+y(e.kind):JSON.stringify(e)}`,n||f)}function _(e){if("function"!=typeof e)return"";if(De(e,"name"))return e.name;{const t=Function.prototype.toString.call(e),n=/^function\s+([\w$]+)\s*\(/.exec(t);return n?n[1]:""}}function h(e=0,t,n){const r=function(e){const t=A.get(e);if(t)return t;const n=[];for(const t in e){const r=e[t];"number"==typeof r&&n.push([r,t])}const r=le(n,((e,t)=>At(e[0],t[0])));return A.set(e,r),r}(t);if(0===e)return r.length>0&&0===r[0][0]?r[0][1]:"0";if(n){const t=[];let n=e;for(const[i,o]of r){if(i>e)break;0!==i&&i&e&&(t.push(o),n&=~i)}if(0===n)return t.join("|")}else for(const[t,n]of r)if(t===e)return n;return e.toString()}e.getAssertionLevel=function(){return t},e.setAssertionLevel=function(n){const r=t;if(t=n,n>r)for(const t of Ie(s)){const r=s[t];void 0!==r&&e[t]!==r.assertion&&n>=r.level&&(e[t]=r,s[t]=void 0)}},e.shouldAssert=a,e.fail=l,e.failBadSyntaxKind=function e(t,n,r){return l(`${n||"Unexpected node."}\r\nNode ${y(t.kind)} was unexpected.`,r||e)},e.assert=u,e.assertEqual=function e(t,n,r,i,o){if(t!==n){l(`Expected ${t} === ${n}. ${r?i?`${r} ${i}`:r:""}`,o||e)}},e.assertLessThan=function e(t,n,r,i){t>=n&&l(`Expected ${t} < ${n}. ${r||""}`,i||e)},e.assertLessThanOrEqual=function e(t,n,r){t>n&&l(`Expected ${t} <= ${n}`,r||e)},e.assertGreaterThanOrEqual=function e(t,n,r){t= ${n}`,r||e)},e.assertIsDefined=d,e.checkDefined=function e(t,n,r){return d(t,n,r||e),t},e.assertEachIsDefined=p,e.checkEachDefined=function e(t,n,r){return p(t,n,r||e),t},e.assertNever=f,e.assertEachNode=function e(t,n,r,i){c(1,"assertEachNode")&&u(void 0===n||g(t,n),r||"Unexpected node.",(()=>`Node array did not pass test '${_(n)}'.`),i||e)},e.assertNode=function e(t,n,r,i){c(1,"assertNode")&&u(void 0!==t&&(void 0===n||n(t)),r||"Unexpected node.",(()=>`Node ${y(null==t?void 0:t.kind)} did not pass test '${_(n)}'.`),i||e)},e.assertNotNode=function e(t,n,r,i){c(1,"assertNotNode")&&u(void 0===t||void 0===n||!n(t),r||"Unexpected node.",(()=>`Node ${y(t.kind)} should not have passed test '${_(n)}'.`),i||e)},e.assertOptionalNode=function e(t,n,r,i){c(1,"assertOptionalNode")&&u(void 0===n||void 0===t||n(t),r||"Unexpected node.",(()=>`Node ${y(null==t?void 0:t.kind)} did not pass test '${_(n)}'.`),i||e)},e.assertOptionalToken=function e(t,n,r,i){c(1,"assertOptionalToken")&&u(void 0===n||void 0===t||t.kind===n,r||"Unexpected node.",(()=>`Node ${y(null==t?void 0:t.kind)} was not a '${y(n)}' token.`),i||e)},e.assertMissingNode=function e(t,n,r){c(1,"assertMissingNode")&&u(void 0===t,n||"Unexpected node.",(()=>`Node ${y(t.kind)} was unexpected'.`),r||e)},e.type=function(e){},e.getFunctionName=_,e.formatSymbol=function(e){return`{ name: ${mc(e.escapedName)}; flags: ${x(e.flags)}; declarations: ${w(e.declarations,(e=>y(e.kind)))} }`},e.formatEnum=h;const A=new Map;function y(e){return h(e,fr,!1)}function v(e){return h(e,_r,!0)}function b(e){return h(e,mr,!0)}function C(e){return h(e,Ei,!0)}function E(e){return h(e,Si,!0)}function x(e){return h(e,Mr,!0)}function S(e){return h(e,Vr,!0)}function k(e){return h(e,Zr,!0)}function D(e){return h(e,Hr,!0)}function I(e){return h(e,Cr,!0)}e.formatSyntaxKind=y,e.formatSnippetKind=function(e){return h(e,xi,!1)},e.formatScriptKind=function(e){return h(e,gi,!1)},e.formatNodeFlags=v,e.formatNodeCheckFlags=function(e){return h(e,Jr,!0)},e.formatModifierFlags=b,e.formatTransformFlags=C,e.formatEmitFlags=E,e.formatSymbolFlags=x,e.formatTypeFlags=S,e.formatSignatureFlags=k,e.formatObjectFlags=D,e.formatFlowFlags=I,e.formatRelationComparisonResult=function(e){return h(e,gr,!0)},e.formatCheckMode=function(e){return h(e,$Q,!0)},e.formatSignatureCheckMode=function(e){return h(e,QQ,!0)},e.formatTypeFacts=function(e){return h(e,OQ,!0)};let T,F,R=!1;function P(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value(){const e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return`${e}${t?` (${I(t)})`:""}`}},__debugFlowFlags:{get(){return h(this.flags,Cr,!0)}},__debugToString:{value(){return O(this)}}})}function N(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:e=>`NodeArray ${e=String(e).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]")}`}})}e.attachFlowNodeDebugInfo=function(e){return R&&("function"==typeof Object.setPrototypeOf?(T||(T=Object.create(Object.prototype),P(T)),Object.setPrototypeOf(e,T)):P(e)),e},e.attachNodeArrayDebugInfo=function(e){R&&("function"==typeof Object.setPrototypeOf?(F||(F=Object.create(Array.prototype),N(F)),Object.setPrototypeOf(e,F)):N(e))},e.enableDebugInfo=function(){if(R)return;const e=new WeakMap,t=new WeakMap;Object.defineProperties($b.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return`${e} '${Ac(this)}'${t?` (${x(t)})`:""}`}},__debugFlags:{get(){return x(this.flags)}}}),Object.defineProperties($b.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const e=67359327&this.flags?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:98304&this.flags?"NullableType":384&this.flags?`LiteralType ${JSON.stringify(this.value)}`:2048&this.flags?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",t=524288&this.flags?-1344&this.objectFlags:0;return`${e}${this.symbol?` '${Ac(this.symbol)}'`:""}${t?` (${D(t)})`:""}`}},__debugFlags:{get(){return S(this.flags)}},__debugObjectFlags:{get(){return 524288&this.flags?D(this.objectFlags):""}},__debugTypeToString:{value(){let t=e.get(this);return void 0===t&&(t=this.checker.typeToString(this),e.set(this,t)),t}}}),Object.defineProperties($b.getSignatureConstructor().prototype,{__debugFlags:{get(){return k(this.flags)}},__debugSignatureToString:{value(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}});const n=[$b.getNodeConstructor(),$b.getIdentifierConstructor(),$b.getTokenConstructor(),$b.getSourceFileConstructor()];for(const e of n)De(e.prototype,"__debugKind")||Object.defineProperties(e.prototype,{__tsDebuggerDisplay:{value(){return`${Vl(this)?"GeneratedIdentifier":UD(this)?`Identifier '${hc(this)}'`:JD(this)?`PrivateIdentifier '${hc(this)}'`:kD(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:xD(this)?`NumericLiteral ${this.text}`:SD(this)?`BigIntLiteral ${this.text}n`:sw(this)?"TypeParameterDeclaration":aw(this)?"ParameterDeclaration":_w(this)?"ConstructorDeclaration":mw(this)?"GetAccessorDeclaration":hw(this)?"SetAccessorDeclaration":gw(this)?"CallSignatureDeclaration":Aw(this)?"ConstructSignatureDeclaration":yw(this)?"IndexSignatureDeclaration":vw(this)?"TypePredicateNode":bw(this)?"TypeReferenceNode":Cw(this)?"FunctionTypeNode":Ew(this)?"ConstructorTypeNode":xw(this)?"TypeQueryNode":Sw(this)?"TypeLiteralNode":kw(this)?"ArrayTypeNode":Dw(this)?"TupleTypeNode":Iw(this)?"OptionalTypeNode":Tw(this)?"RestTypeNode":Fw(this)?"UnionTypeNode":Rw(this)?"IntersectionTypeNode":Pw(this)?"ConditionalTypeNode":Nw(this)?"InferTypeNode":Bw(this)?"ParenthesizedTypeNode":Ow(this)?"ThisTypeNode":qw(this)?"TypeOperatorNode":$w(this)?"IndexedAccessTypeNode":Qw(this)?"MappedTypeNode":Lw(this)?"LiteralTypeNode":ww(this)?"NamedTupleMember":Mw(this)?"ImportTypeNode":y(this.kind)}${this.flags?` (${v(this.flags)})`:""}`}},__debugKind:{get(){return y(this.kind)}},__debugNodeFlags:{get(){return v(this.flags)}},__debugModifierFlags:{get(){return b(Vy(this))}},__debugTransformFlags:{get(){return C(this.transformFlags)}},__debugIsParseTreeNode:{get(){return pc(this)}},__debugEmitFlags:{get(){return E(Xp(this))}},__debugGetText:{value(e){if(eA(this))return"";let n=t.get(this);if(void 0===n){const r=fc(this),i=r&&Ap(r);n=i?Up(i,r,e):"",t.set(this,n)}return n}}});R=!0},e.formatVariance=function(e){const t=7&e;let n=0===t?"in out":3===t?"[bivariant]":2===t?"in":1===t?"out":4===t?"[independent]":"";return 8&e?n+=" (unmeasurable)":16&e&&(n+=" (unreliable)"),n};class B{__debugToString(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return m(this.sources,this.targets||w(this.sources,(()=>"any")),((e,t)=>`${e.__debugTypeToString()} -> ${"string"==typeof t?t:t.__debugTypeToString()}`)).join(", ");case 2:return m(this.sources,this.targets,((e,t)=>`${e.__debugTypeToString()} -> ${t().__debugTypeToString()}`)).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split("\n").join("\n ")}\nm2: ${this.mapper2.__debugToString().split("\n").join("\n ")}`;default:return f(this)}}}function O(e){let t,n=-1;function r(e){return e.id||(e.id=n,n--),e.id}var i;let o;var s;(i=t||(t={})).lr="─",i.ud="│",i.dr="╭",i.dl="╮",i.ul="╯",i.ur="╰",i.udr="├",i.udl="┤",i.dlr="┬",i.ulr="┴",i.udlr="╫",(s=o||(o={}))[s.None=0]="None",s[s.Up=1]="Up",s[s.Down=2]="Down",s[s.Left=4]="Left",s[s.Right=8]="Right",s[s.UpDown=3]="UpDown",s[s.LeftRight=12]="LeftRight",s[s.UpLeft=5]="UpLeft",s[s.UpRight=9]="UpRight",s[s.DownLeft=6]="DownLeft",s[s.DownRight=10]="DownRight",s[s.UpDownLeft=7]="UpDownLeft",s[s.UpDownRight=11]="UpDownRight",s[s.UpLeftRight=13]="UpLeftRight",s[s.DownLeftRight=14]="DownLeftRight",s[s.UpDownLeftRight=15]="UpDownLeftRight",s[s.NoChildren=16]="NoChildren";const a=Object.create(null),c=[],l=_(e,new Set);for(const e of c)e.text=A(e.flowNode,e.circular),h(e);const u=function e(t){let n=0;for(const r of p(t))n=Math.max(n,e(r));return n+1}(l),d=function(e){const t=v(Array(e),0);for(const e of c)t[e.level]=Math.max(t[e.level],e.text.length);return t}(u);return function e(t,n){if(-1===t.lane){t.lane=n,t.endLane=n;const r=p(t);for(let i=0;i0&&n++;const o=r[i];e(o,n),o.endLane>t.endLane&&(n=o.endLane)}t.endLane=n}}(l,0),function(){const e=d.length,t=vt(c,0,(e=>e.lane))+1,n=v(Array(t),""),r=d.map((()=>Array(t))),i=d.map((()=>v(Array(t),0)));for(const e of c){r[e.level][e.lane]=e;const t=p(e);for(let n=0;n0&&(o|=1),n0&&(o|=1),t0?i[n-1][e]:0,r=e>0?i[n][e-1]:0;let o=i[n][e];o||(8&t&&(o|=12),2&r&&(o|=3),i[n][e]=o)}for(let t=0;t0?e.repeat(t):"";let n="";for(;n.length=0,"Invalid argument: major"),un.assert(t>=0,"Invalid argument: minor"),un.assert(n>=0,"Invalid argument: patch");const o=r?Ye(r)?r:r.split("."):a,s=i?Ye(i)?i:i.split("."):a;un.assert(g(o,(e=>_n.test(e))),"Invalid argument: prerelease"),un.assert(g(s,(e=>hn.test(e))),"Invalid argument: build"),this.major=e,this.minor=t,this.patch=n,this.prerelease=o,this.build=s}static tryParse(t){const n=vn(t);if(!n)return;const{major:r,minor:i,patch:o,prerelease:s,build:a}=n;return new e(r,i,o,s,a)}compareTo(e){return this===e?0:void 0===e?1:At(this.major,e.major)||At(this.minor,e.minor)||At(this.patch,e.patch)||function(e,t){if(e===t)return 0;if(0===e.length)return 0===t.length?0:1;if(0===t.length)return-1;const n=Math.min(e.length,t.length);for(let r=0;r=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i;function Dn(e){const t=[];for(let n of e.trim().split(Cn)){if(!n)continue;const e=[];n=n.trim();const r=Sn.exec(n);if(r){if(!In(r[1],r[2],e))return}else for(const t of n.split(En)){const n=kn.exec(t.trim());if(!n||!Tn(n[1],n[2],e))return}t.push(e)}return t}function wn(e){const t=xn.exec(e);if(!t)return;const[,n,r="*",i="*",o,s]=t;return{version:new yn(Fn(n)?0:parseInt(n,10),Fn(n)||Fn(r)?0:parseInt(r,10),Fn(n)||Fn(r)||Fn(i)?0:parseInt(i,10),o,s),major:n,minor:r,patch:i}}function In(e,t,n){const r=wn(e);if(!r)return!1;const i=wn(t);return!!i&&(Fn(r.major)||n.push(Rn(">=",r.version)),Fn(i.major)||n.push(Fn(i.minor)?Rn("<",i.version.increment("major")):Fn(i.patch)?Rn("<",i.version.increment("minor")):Rn("<=",i.version)),!0)}function Tn(e,t,n){const r=wn(t);if(!r)return!1;const{version:i,major:o,minor:s,patch:a}=r;if(Fn(o))"<"!==e&&">"!==e||n.push(Rn("<",yn.zero));else switch(e){case"~":n.push(Rn(">=",i)),n.push(Rn("<",i.increment(Fn(s)?"major":"minor")));break;case"^":n.push(Rn(">=",i)),n.push(Rn("<",i.increment(i.major>0||Fn(s)?"major":i.minor>0||Fn(a)?"minor":"patch")));break;case"<":case">=":n.push(Fn(s)||Fn(a)?Rn(e,i.with({prerelease:"0"})):Rn(e,i));break;case"<=":case">":n.push(Fn(s)?Rn("<="===e?"<":">=",i.increment("major").with({prerelease:"0"})):Fn(a)?Rn("<="===e?"<":">=",i.increment("minor").with({prerelease:"0"})):Rn(e,i));break;case"=":case void 0:Fn(s)||Fn(a)?(n.push(Rn(">=",i.with({prerelease:"0"}))),n.push(Rn("<",i.increment(Fn(s)?"major":"minor").with({prerelease:"0"})))):n.push(Rn("=",i));break;default:return!1}return!0}function Fn(e){return"*"===e||"x"===e||"X"===e}function Rn(e,t){return{operator:e,operand:t}}function Pn(e,t){for(const n of t)if(!Nn(e,n.operator,n.operand))return!1;return!0}function Nn(e,t,n){const r=e.compareTo(n);switch(t){case"<":return r<0;case"<=":return r<=0;case">":return r>0;case">=":return r>=0;case"=":return 0===r;default:return un.assertNever(t)}}function Bn(e){return w(e,On).join(" ")}function On(e){return`${e.operator}${e.operand}`}var qn=function(){const e=function(){if(ln())try{const{performance:e}=require("perf_hooks");if(e)return{shouldWriteNativeEvents:!1,performance:e}}catch{}if("object"==typeof performance)return{shouldWriteNativeEvents:!0,performance:performance}}();if(!e)return;const{shouldWriteNativeEvents:t,performance:n}=e,r={shouldWriteNativeEvents:t,performance:void 0,performanceTime:void 0};return"number"==typeof n.timeOrigin&&"function"==typeof n.now&&(r.performanceTime=n),r.performanceTime&&"function"==typeof n.mark&&"function"==typeof n.measure&&"function"==typeof n.clearMarks&&"function"==typeof n.clearMeasures&&(r.performance=n),r}(),$n=null==qn?void 0:qn.performanceTime;function Qn(){return qn}var Ln,Mn,jn=$n?()=>$n.now():Date.now,Un={};function Jn(e,t,n,r){return e?Vn(t,n,r):Wn}function Vn(e,t,n){let r=0;return{enter:function(){1==++r&&er(t)},exit:function(){0==--r?(er(n),tr(e,t,n)):r<0&&un.fail("enter/exit count does not match.")}}}n(Un,{clearMarks:()=>ar,clearMeasures:()=>sr,createTimer:()=>Vn,createTimerIf:()=>Jn,disable:()=>ur,enable:()=>lr,forEachMark:()=>or,forEachMeasure:()=>ir,getCount:()=>nr,getDuration:()=>rr,isEnabled:()=>cr,mark:()=>er,measure:()=>tr,nullTimer:()=>Wn});var Hn,Gn,Wn={enter:nt,exit:nt},zn=!1,Yn=jn(),Kn=new Map,Xn=new Map,Zn=new Map;function er(e){if(zn){const t=Xn.get(e)??0;Xn.set(e,t+1),Kn.set(e,jn()),null==Mn||Mn.mark(e),"function"==typeof onProfilerEvent&&onProfilerEvent(e)}}function tr(e,t,n){if(zn){const r=(void 0!==n?Kn.get(n):void 0)??jn(),i=(void 0!==t?Kn.get(t):void 0)??Yn,o=Zn.get(e)||0;Zn.set(e,o+(r-i)),null==Mn||Mn.measure(e,t,n)}}function nr(e){return Xn.get(e)||0}function rr(e){return Zn.get(e)||0}function ir(e){Zn.forEach(((t,n)=>e(n,t)))}function or(e){Kn.forEach(((t,n)=>e(n)))}function sr(e){void 0!==e?Zn.delete(e):Zn.clear(),null==Mn||Mn.clearMeasures(e)}function ar(e){void 0!==e?(Xn.delete(e),Kn.delete(e)):(Xn.clear(),Kn.clear()),null==Mn||Mn.clearMarks(e)}function cr(){return zn}function lr(e=co){var t;return zn||(zn=!0,Ln||(Ln=Qn()),(null==Ln?void 0:Ln.performance)&&(Yn=Ln.performance.timeOrigin,(Ln.shouldWriteNativeEvents||(null==(t=null==e?void 0:e.cpuProfilingEnabled)?void 0:t.call(e))||(null==e?void 0:e.debugMode))&&(Mn=Ln.performance))),!0}function ur(){zn&&(Kn.clear(),Xn.clear(),Zn.clear(),Mn=void 0,zn=!1)}(e=>{let t,n,r=0,i=0;const o=[];let s;const a=[];var c;e.startTracing=function(c,l,u){if(un.assert(!Hn,"Tracing already started"),void 0===t)try{t=require("fs")}catch(e){throw new Error(`tracing requires having fs\n(original error: ${e.message||e})`)}n=c,o.length=0,void 0===s&&(s=qo(l,"legend.json")),t.existsSync(l)||t.mkdirSync(l,{recursive:!0});const d="build"===n?`.${process.pid}-${++r}`:"server"===n?`.${process.pid}`:"",p=qo(l,`trace${d}.json`),f=qo(l,`types${d}.json`);a.push({configFilePath:u,tracePath:p,typesPath:f}),i=t.openSync(p,"w"),Hn=e;const _={cat:"__metadata",ph:"M",ts:1e3*jn(),pid:1,tid:1};t.writeSync(i,"[\n"+[{name:"process_name",args:{name:"tsc"},..._},{name:"thread_name",args:{name:"Main"},..._},{name:"TracingStartedInBrowser",..._,cat:"disabled-by-default-devtools.timeline"}].map((e=>JSON.stringify(e))).join(",\n"))},e.stopTracing=function(){un.assert(Hn,"Tracing is not in progress"),un.assert(!!o.length==("server"!==n)),t.writeSync(i,"\n]\n"),t.closeSync(i),Hn=void 0,o.length?function(e){var n,r,i,o,s,c,l,u,d,p,_,m,h,g,A,y,v,b,C;er("beginDumpTypes");const E=a[a.length-1].typesPath,x=t.openSync(E,"w"),S=new Map;t.writeSync(x,"[");const k=e.length;for(let a=0;ae.id)),referenceLocation:f(e.node)}}let R={};if(16777216&E.flags){const e=E;R={conditionalCheckType:null==(c=e.checkType)?void 0:c.id,conditionalExtendsType:null==(l=e.extendsType)?void 0:l.id,conditionalTrueType:(null==(u=e.resolvedTrueType)?void 0:u.id)??-1,conditionalFalseType:(null==(d=e.resolvedFalseType)?void 0:d.id)??-1}}let P={};if(33554432&E.flags){const e=E;P={substitutionBaseType:null==(p=e.baseType)?void 0:p.id,constraintType:null==(_=e.constraint)?void 0:_.id}}let N={};if(1024&D){const e=E;N={reverseMappedSourceType:null==(m=e.source)?void 0:m.id,reverseMappedMappedType:null==(h=e.mappedType)?void 0:h.id,reverseMappedConstraintType:null==(g=e.constraintType)?void 0:g.id}}let B,O={};if(256&D){const e=E;O={evolvingArrayElementType:e.elementType.id,evolvingArrayFinalType:null==(A=e.finalArrayType)?void 0:A.id}}const q=E.checker.getRecursionIdentity(E);q&&(B=S.get(q),B||(B=S.size,S.set(q,B)));const $={id:E.id,intrinsicName:E.intrinsicName,symbolName:(null==w?void 0:w.escapedName)&&mc(w.escapedName),recursionId:B,isTuple:!!(8&D)||void 0,unionTypes:1048576&E.flags?null==(y=E.types)?void 0:y.map((e=>e.id)):void 0,intersectionTypes:2097152&E.flags?E.types.map((e=>e.id)):void 0,aliasTypeArguments:null==(v=E.aliasTypeArguments)?void 0:v.map((e=>e.id)),keyofType:4194304&E.flags?null==(b=E.type)?void 0:b.id:void 0,...T,...F,...R,...P,...N,...O,destructuringPattern:f(E.pattern),firstDeclaration:f(null==(C=null==w?void 0:w.declarations)?void 0:C[0]),flags:un.formatTypeFlags(E.flags).split("|"),display:I};t.writeSync(x,JSON.stringify($)),a0),d(l.length-1,1e3*jn(),e),l.length--},e.popAll=function(){const e=1e3*jn();for(let t=l.length-1;t>=0;t--)d(t,e);l.length=0};const u=1e4;function d(e,t,n){const{phase:r,name:i,args:o,time:s,separateBeginAndEnd:a}=l[e];a?(un.assert(!n,"`results` are not supported for events with `separateBeginAndEnd`"),p("E",r,i,o,void 0,t)):u-s%u<=t-s&&p("X",r,i,{...o,results:n},'"dur":'+(t-s),s)}function p(e,r,o,s,a,c=1e3*jn()){"server"===n&&"checkTypes"===r||(er("beginTracing"),t.writeSync(i,`,\n{"pid":1,"tid":1,"ph":"${e}","cat":"${r}","ts":${c},"name":"${o}"`),a&&t.writeSync(i,`,${a}`),s&&t.writeSync(i,`,"args":${JSON.stringify(s)}`),t.writeSync(i,"}"),er("endTracing"),tr("Tracing","beginTracing","endTracing"))}function f(e){const t=Ap(e);return t?{path:t.path,start:n(Ms(t,e.pos)),end:n(Ms(t,e.end))}:void 0;function n(e){return{line:e.line+1,character:e.character+1}}}e.dumpLegend=function(){s&&t.writeFileSync(s,JSON.stringify(a))}})(Gn||(Gn={}));var dr=Gn.startTracing,pr=Gn.dumpLegend,fr=(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.QualifiedName=166]="QualifiedName",e[e.ComputedPropertyName=167]="ComputedPropertyName",e[e.TypeParameter=168]="TypeParameter",e[e.Parameter=169]="Parameter",e[e.Decorator=170]="Decorator",e[e.PropertySignature=171]="PropertySignature",e[e.PropertyDeclaration=172]="PropertyDeclaration",e[e.MethodSignature=173]="MethodSignature",e[e.MethodDeclaration=174]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",e[e.Constructor=176]="Constructor",e[e.GetAccessor=177]="GetAccessor",e[e.SetAccessor=178]="SetAccessor",e[e.CallSignature=179]="CallSignature",e[e.ConstructSignature=180]="ConstructSignature",e[e.IndexSignature=181]="IndexSignature",e[e.TypePredicate=182]="TypePredicate",e[e.TypeReference=183]="TypeReference",e[e.FunctionType=184]="FunctionType",e[e.ConstructorType=185]="ConstructorType",e[e.TypeQuery=186]="TypeQuery",e[e.TypeLiteral=187]="TypeLiteral",e[e.ArrayType=188]="ArrayType",e[e.TupleType=189]="TupleType",e[e.OptionalType=190]="OptionalType",e[e.RestType=191]="RestType",e[e.UnionType=192]="UnionType",e[e.IntersectionType=193]="IntersectionType",e[e.ConditionalType=194]="ConditionalType",e[e.InferType=195]="InferType",e[e.ParenthesizedType=196]="ParenthesizedType",e[e.ThisType=197]="ThisType",e[e.TypeOperator=198]="TypeOperator",e[e.IndexedAccessType=199]="IndexedAccessType",e[e.MappedType=200]="MappedType",e[e.LiteralType=201]="LiteralType",e[e.NamedTupleMember=202]="NamedTupleMember",e[e.TemplateLiteralType=203]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",e[e.ImportType=205]="ImportType",e[e.ObjectBindingPattern=206]="ObjectBindingPattern",e[e.ArrayBindingPattern=207]="ArrayBindingPattern",e[e.BindingElement=208]="BindingElement",e[e.ArrayLiteralExpression=209]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=210]="ObjectLiteralExpression",e[e.PropertyAccessExpression=211]="PropertyAccessExpression",e[e.ElementAccessExpression=212]="ElementAccessExpression",e[e.CallExpression=213]="CallExpression",e[e.NewExpression=214]="NewExpression",e[e.TaggedTemplateExpression=215]="TaggedTemplateExpression",e[e.TypeAssertionExpression=216]="TypeAssertionExpression",e[e.ParenthesizedExpression=217]="ParenthesizedExpression",e[e.FunctionExpression=218]="FunctionExpression",e[e.ArrowFunction=219]="ArrowFunction",e[e.DeleteExpression=220]="DeleteExpression",e[e.TypeOfExpression=221]="TypeOfExpression",e[e.VoidExpression=222]="VoidExpression",e[e.AwaitExpression=223]="AwaitExpression",e[e.PrefixUnaryExpression=224]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=225]="PostfixUnaryExpression",e[e.BinaryExpression=226]="BinaryExpression",e[e.ConditionalExpression=227]="ConditionalExpression",e[e.TemplateExpression=228]="TemplateExpression",e[e.YieldExpression=229]="YieldExpression",e[e.SpreadElement=230]="SpreadElement",e[e.ClassExpression=231]="ClassExpression",e[e.OmittedExpression=232]="OmittedExpression",e[e.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",e[e.AsExpression=234]="AsExpression",e[e.NonNullExpression=235]="NonNullExpression",e[e.MetaProperty=236]="MetaProperty",e[e.SyntheticExpression=237]="SyntheticExpression",e[e.SatisfiesExpression=238]="SatisfiesExpression",e[e.TemplateSpan=239]="TemplateSpan",e[e.SemicolonClassElement=240]="SemicolonClassElement",e[e.Block=241]="Block",e[e.EmptyStatement=242]="EmptyStatement",e[e.VariableStatement=243]="VariableStatement",e[e.ExpressionStatement=244]="ExpressionStatement",e[e.IfStatement=245]="IfStatement",e[e.DoStatement=246]="DoStatement",e[e.WhileStatement=247]="WhileStatement",e[e.ForStatement=248]="ForStatement",e[e.ForInStatement=249]="ForInStatement",e[e.ForOfStatement=250]="ForOfStatement",e[e.ContinueStatement=251]="ContinueStatement",e[e.BreakStatement=252]="BreakStatement",e[e.ReturnStatement=253]="ReturnStatement",e[e.WithStatement=254]="WithStatement",e[e.SwitchStatement=255]="SwitchStatement",e[e.LabeledStatement=256]="LabeledStatement",e[e.ThrowStatement=257]="ThrowStatement",e[e.TryStatement=258]="TryStatement",e[e.DebuggerStatement=259]="DebuggerStatement",e[e.VariableDeclaration=260]="VariableDeclaration",e[e.VariableDeclarationList=261]="VariableDeclarationList",e[e.FunctionDeclaration=262]="FunctionDeclaration",e[e.ClassDeclaration=263]="ClassDeclaration",e[e.InterfaceDeclaration=264]="InterfaceDeclaration",e[e.TypeAliasDeclaration=265]="TypeAliasDeclaration",e[e.EnumDeclaration=266]="EnumDeclaration",e[e.ModuleDeclaration=267]="ModuleDeclaration",e[e.ModuleBlock=268]="ModuleBlock",e[e.CaseBlock=269]="CaseBlock",e[e.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",e[e.ImportDeclaration=272]="ImportDeclaration",e[e.ImportClause=273]="ImportClause",e[e.NamespaceImport=274]="NamespaceImport",e[e.NamedImports=275]="NamedImports",e[e.ImportSpecifier=276]="ImportSpecifier",e[e.ExportAssignment=277]="ExportAssignment",e[e.ExportDeclaration=278]="ExportDeclaration",e[e.NamedExports=279]="NamedExports",e[e.NamespaceExport=280]="NamespaceExport",e[e.ExportSpecifier=281]="ExportSpecifier",e[e.MissingDeclaration=282]="MissingDeclaration",e[e.ExternalModuleReference=283]="ExternalModuleReference",e[e.JsxElement=284]="JsxElement",e[e.JsxSelfClosingElement=285]="JsxSelfClosingElement",e[e.JsxOpeningElement=286]="JsxOpeningElement",e[e.JsxClosingElement=287]="JsxClosingElement",e[e.JsxFragment=288]="JsxFragment",e[e.JsxOpeningFragment=289]="JsxOpeningFragment",e[e.JsxClosingFragment=290]="JsxClosingFragment",e[e.JsxAttribute=291]="JsxAttribute",e[e.JsxAttributes=292]="JsxAttributes",e[e.JsxSpreadAttribute=293]="JsxSpreadAttribute",e[e.JsxExpression=294]="JsxExpression",e[e.JsxNamespacedName=295]="JsxNamespacedName",e[e.CaseClause=296]="CaseClause",e[e.DefaultClause=297]="DefaultClause",e[e.HeritageClause=298]="HeritageClause",e[e.CatchClause=299]="CatchClause",e[e.ImportAttributes=300]="ImportAttributes",e[e.ImportAttribute=301]="ImportAttribute",e[e.AssertClause=300]="AssertClause",e[e.AssertEntry=301]="AssertEntry",e[e.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",e[e.PropertyAssignment=303]="PropertyAssignment",e[e.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",e[e.SpreadAssignment=305]="SpreadAssignment",e[e.EnumMember=306]="EnumMember",e[e.SourceFile=307]="SourceFile",e[e.Bundle=308]="Bundle",e[e.JSDocTypeExpression=309]="JSDocTypeExpression",e[e.JSDocNameReference=310]="JSDocNameReference",e[e.JSDocMemberName=311]="JSDocMemberName",e[e.JSDocAllType=312]="JSDocAllType",e[e.JSDocUnknownType=313]="JSDocUnknownType",e[e.JSDocNullableType=314]="JSDocNullableType",e[e.JSDocNonNullableType=315]="JSDocNonNullableType",e[e.JSDocOptionalType=316]="JSDocOptionalType",e[e.JSDocFunctionType=317]="JSDocFunctionType",e[e.JSDocVariadicType=318]="JSDocVariadicType",e[e.JSDocNamepathType=319]="JSDocNamepathType",e[e.JSDoc=320]="JSDoc",e[e.JSDocComment=320]="JSDocComment",e[e.JSDocText=321]="JSDocText",e[e.JSDocTypeLiteral=322]="JSDocTypeLiteral",e[e.JSDocSignature=323]="JSDocSignature",e[e.JSDocLink=324]="JSDocLink",e[e.JSDocLinkCode=325]="JSDocLinkCode",e[e.JSDocLinkPlain=326]="JSDocLinkPlain",e[e.JSDocTag=327]="JSDocTag",e[e.JSDocAugmentsTag=328]="JSDocAugmentsTag",e[e.JSDocImplementsTag=329]="JSDocImplementsTag",e[e.JSDocAuthorTag=330]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=331]="JSDocDeprecatedTag",e[e.JSDocClassTag=332]="JSDocClassTag",e[e.JSDocPublicTag=333]="JSDocPublicTag",e[e.JSDocPrivateTag=334]="JSDocPrivateTag",e[e.JSDocProtectedTag=335]="JSDocProtectedTag",e[e.JSDocReadonlyTag=336]="JSDocReadonlyTag",e[e.JSDocOverrideTag=337]="JSDocOverrideTag",e[e.JSDocCallbackTag=338]="JSDocCallbackTag",e[e.JSDocOverloadTag=339]="JSDocOverloadTag",e[e.JSDocEnumTag=340]="JSDocEnumTag",e[e.JSDocParameterTag=341]="JSDocParameterTag",e[e.JSDocReturnTag=342]="JSDocReturnTag",e[e.JSDocThisTag=343]="JSDocThisTag",e[e.JSDocTypeTag=344]="JSDocTypeTag",e[e.JSDocTemplateTag=345]="JSDocTemplateTag",e[e.JSDocTypedefTag=346]="JSDocTypedefTag",e[e.JSDocSeeTag=347]="JSDocSeeTag",e[e.JSDocPropertyTag=348]="JSDocPropertyTag",e[e.JSDocThrowsTag=349]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=350]="JSDocSatisfiesTag",e[e.JSDocImportTag=351]="JSDocImportTag",e[e.SyntaxList=352]="SyntaxList",e[e.NotEmittedStatement=353]="NotEmittedStatement",e[e.NotEmittedTypeElement=354]="NotEmittedTypeElement",e[e.PartiallyEmittedExpression=355]="PartiallyEmittedExpression",e[e.CommaListExpression=356]="CommaListExpression",e[e.SyntheticReferenceExpression=357]="SyntheticReferenceExpression",e[e.Count=358]="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=165]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=182]="FirstTypeNode",e[e.LastTypeNode=205]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=165]="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=243]="FirstStatement",e[e.LastStatement=259]="LastStatement",e[e.FirstNode=166]="FirstNode",e[e.FirstJSDocNode=309]="FirstJSDocNode",e[e.LastJSDocNode=351]="LastJSDocNode",e[e.FirstJSDocTagNode=327]="FirstJSDocTagNode",e[e.LastJSDocTagNode=351]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=165]="LastContextualKeyword",e))(fr||{}),_r=(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.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))(_r||{}),mr=(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))(mr||{}),hr=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(hr||{}),gr=(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))(gr||{}),Ar=(e=>(e[e.None=0]="None",e[e.Always=1]="Always",e[e.Never=2]="Never",e[e.Sometimes=3]="Sometimes",e))(Ar||{}),yr=(e=>(e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel",e[e.AllowNameSubstitution=64]="AllowNameSubstitution",e))(yr||{}),vr=(e=>(e[e.None=0]="None",e[e.HasIndices=1]="HasIndices",e[e.Global=2]="Global",e[e.IgnoreCase=4]="IgnoreCase",e[e.Multiline=8]="Multiline",e[e.DotAll=16]="DotAll",e[e.Unicode=32]="Unicode",e[e.UnicodeSets=64]="UnicodeSets",e[e.Sticky=128]="Sticky",e[e.AnyUnicodeMode=96]="AnyUnicodeMode",e[e.Modifiers=28]="Modifiers",e))(vr||{}),br=(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))(br||{}),Cr=(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))(Cr||{}),Er=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(Er||{}),xr=class{},Sr=(e=>(e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e))(Sr||{}),kr=(e=>(e[e.FilePreprocessingLibReferenceDiagnostic=0]="FilePreprocessingLibReferenceDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(kr||{}),Dr=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e[e.BuilderSignature=2]="BuilderSignature",e))(Dr||{}),wr=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(wr||{}),Ir=(e=>(e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e))(Ir||{}),Tr=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(Tr||{}),Fr=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(Fr||{}),Rr=(e=>(e[e.None=0]="None",e[e.NoSupertypeReduction=1]="NoSupertypeReduction",e[e.NoConstraintReduction=2]="NoConstraintReduction",e))(Rr||{}),Pr=(e=>(e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns",e))(Pr||{}),Nr=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e))(Nr||{}),Br=(e=>(e[e.None=0]="None",e[e.WriteComputedProps=1]="WriteComputedProps",e[e.NoSyntacticPrinter=2]="NoSyntacticPrinter",e[e.DoNotIncludeSymbolChain=4]="DoNotIncludeSymbolChain",e[e.AllowUnresolvedNames=8]="AllowUnresolvedNames",e))(Br||{}),Or=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.NodeBuilderFlagsMask=848330095]="NodeBuilderFlagsMask",e))(Or||{}),qr=(e=>(e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e))(qr||{}),$r=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e[e.NotResolved=3]="NotResolved",e))($r||{}),Qr=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(Qr||{}),Lr=(e=>(e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType",e))(Lr||{}),Mr=(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))(Mr||{}),jr=(e=>(e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e))(jr||{}),Ur=(e=>(e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this",e.InstantiationExpression="__instantiationExpression",e.ImportAttributes="__importAttributes",e))(Ur||{}),Jr=(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))(Jr||{}),Vr=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.Reserved1=536870912]="Reserved1",e[e.Reserved2=1073741824]="Reserved2",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.IncludesConstrainedTypeVariable=536870912]="IncludesConstrainedTypeVariable",e[e.IncludesError=1073741824]="IncludesError",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(Vr||{}),Hr=(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.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.SingleSignatureType=134217728]="SingleSignatureType",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))(Hr||{}),Gr=(e=>(e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback",e))(Gr||{}),Wr=(e=>(e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest",e))(Wr||{}),zr=(e=>(e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.AllowMissing=16]="AllowMissing",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e))(zr||{}),Yr=(e=>(e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e))(Yr||{}),Kr=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(Kr||{}),Xr=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(Xr||{}),Zr=(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))(Zr||{}),ei=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(ei||{}),ti=(e=>(e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e))(ti||{}),ni=(e=>(e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e))(ni||{}),ri=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(ri||{}),ii=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(ii||{}),oi=(e=>(e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",e))(oi||{}),si=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(si||{});function ai(e,t=!0){const n=si[e.category];return t?n.toLowerCase():n}var ci=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e))(ci||{}),li=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(li||{}),ui=(e=>(e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e))(ui||{}),di=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(di||{}),pi=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(pi||{}),fi=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e[e.Preserve=200]="Preserve",e))(fi||{}),_i=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(_i||{}),mi=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(mi||{}),hi=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(hi||{}),gi=(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))(gi||{}),Ai=(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.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(Ai||{}),yi=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(yi||{}),vi=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(vi||{}),bi=(e=>(e[e.EOF=-1]="EOF",e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(bi||{}),Ci=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(Ci||{}),Ei=(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))(Ei||{}),xi=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(xi||{}),Si=(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))(Si||{}),ki=(e=>(e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e))(ki||{}),Di={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},wi=(e=>(e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.SetFunctionName=4194304]="SetFunctionName",e[e.PropKey=8388608]="PropKey",e[e.AddDisposableResourceAndDisposeResources=16777216]="AddDisposableResourceAndDisposeResources",e[e.RewriteRelativeImportExtension=33554432]="RewriteRelativeImportExtension",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=16777216]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes",e))(wi||{}),Ii=(e=>(e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue",e[e.ImportTypeNodeAttributes=7]="ImportTypeNodeAttributes",e))(Ii||{}),Ti=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.ExpressionsWithTypeArguments=16]="ExpressionsWithTypeArguments",e[e.Assertions=6]="Assertions",e[e.All=31]="All",e[e.ExcludeJSDocTypeAssertion=-2147483648]="ExcludeJSDocTypeAssertion",e))(Ti||{}),Fi=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(Fi||{}),Ri=(e=>(e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportAttributes=526226]="ImportAttributes",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e))(Ri||{}),Pi=(e=>(e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default",e))(Pi||{}),Ni={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}},Bi=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))(Bi||{});function Oi(e){let t=5381;for(let n=0;n(e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e))($i||{}),Qi=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(Qi||{}),Li=new Date(0);function Mi(e,t){return e.getModifiedTime(t)||Li}function ji(e){return{250:e.Low,500:e.Medium,2e3:e.High}}var Ui={Low:32,Medium:64,High:256},Ji=ji(Ui),Vi=ji(Ui);function Hi(e,t,n,r,i){let o=n;for(let a=t.length;r&&a;s(),a--){const s=t[n];if(!s)continue;if(s.isClosed){t[n]=void 0;continue}r--;const a=Yi(s,Mi(e,s.fileName));s.isClosed?t[n]=void 0:(null==i||i(s,n,a),t[n]&&(o{o.isClosed=!0,Ut(t,o)}}};function s(e){const t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function a(e,t){t.pollIndex=l(t,t.pollingInterval,t.pollIndex,Ji[t.pollingInterval]),t.length?f(t.pollingInterval):(un.assert(0===t.pollIndex),t.pollScheduled=!1)}function c(e,t){l(n,250,0,n.length),a(0,t),!t.pollScheduled&&n.length&&f(250)}function l(t,r,i,o){return Hi(e,t,i,o,(function(e,i,o){o?(e.unchangedPolls=0,t!==n&&(t[i]=void 0,function(e){n.push(e),p(250)}(e))):e.unchangedPolls!==Vi[r]?e.unchangedPolls++:t===n?(e.unchangedPolls=1,t[i]=void 0,d(e,250)):2e3!==r&&(e.unchangedPolls++,t[i]=void 0,d(e,250===r?500:2e3))}))}function u(e){switch(e){case 250:return r;case 500:return i;case 2e3:return o}}function d(e,t){u(t).push(e),p(t)}function p(e){u(e).pollScheduled||f(e)}function f(t){u(t).pollScheduled=e.setTimeout(250===t?c:a,t,250===t?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",u(t))}}function Wi(e,t,n,r){const i=Ve(),o=r?new Map:void 0,s=new Map,a=Jt(t);return function(t,r,c,l){const u=a(t);1===i.add(u,r).length&&o&&o.set(u,n(t)||Li);const d=Io(u)||".",p=s.get(d)||function(t,r,c){const l=e(t,1,((e,r)=>{if(!Xe(r))return;const s=Lo(r,t),c=a(s),l=s&&i.get(c);if(l){let t,r=1;if(o){const i=o.get(c);if("change"===e&&(t=n(s)||Li,t.getTime()===i.getTime()))return;t||(t=n(s)||Li),o.set(c,t),i===Li?r=0:t===Li&&(r=2)}for(const e of l)e(s,r,t)}}),!1,500,c);return l.referenceCount=0,s.set(r,l),l}(Io(t)||".",d,l);return p.referenceCount++,{close:()=>{1===p.referenceCount?(p.close(),s.delete(d)):p.referenceCount--,i.remove(u,r)}}}}function zi(e,t,n,r,i){const o=Jt(t)(n),s=e.get(o);return s?s.callbacks.push(r):e.set(o,{watcher:i(((t,n,r)=>{var i;return null==(i=e.get(o))?void 0:i.callbacks.slice().forEach((e=>e(t,n,r)))})),callbacks:[r]}),{close:()=>{const t=e.get(o);t&&Lt(t.callbacks,r)&&!t.callbacks.length&&(e.delete(o),kU(t))}}}function Yi(e,t){const n=e.mtime.getTime(),r=t.getTime();return n!==r&&(e.mtime=t,e.callback(e.fileName,Ki(n,r),t),!0)}function Ki(e,t){return 0===e?0:0===t?2:1}var Xi=["/node_modules/.","/.git","/.#"],Zi=nt;function eo(e){return Zi(e)}function to(e){Zi=e}function no({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:n,getAccessibleSortedChildDirectories:r,fileSystemEntryExists:i,realpath:o,setTimeout:s,clearTimeout:c}){const l=new Map,u=Ve(),d=new Map;let p;const f=St(!t),_=Jt(t);return(t,n,r,i)=>r?m(t,i,n):e(t,n,r,i);function m(t,n,r,o){const f=_(t);let m=l.get(f);m?m.refCount++:(m={watcher:e(t,(e=>{var r;b(e,n)||((null==n?void 0:n.synchronousWatchDirectory)?((null==(r=l.get(f))?void 0:r.targetWatcher)||h(t,f,e),v(t,f,n)):function(e,t,n,r){const o=l.get(t);if(o&&i(e,1))return void function(e,t,n,r){const i=d.get(t);i?i.fileNames.push(n):d.set(t,{dirName:e,options:r,fileNames:[n]});p&&(c(p),p=void 0);p=s(g,1e3,"timerToUpdateChildWatches")}(e,t,n,r);h(e,t,n),y(o),A(o)}(t,f,e,n))}),!1,n),refCount:1,childWatches:a,targetWatcher:void 0,links:void 0},l.set(f,m),v(t,f,n)),o&&(m.links??(m.links=new Set)).add(o);const C=r&&{dirName:t,callback:r};return C&&u.add(f,C),{dirName:t,close:()=>{var e;const t=un.checkDefined(l.get(f));C&&u.remove(f,C),o&&(null==(e=t.links)||e.delete(o)),t.refCount--,t.refCount||(l.delete(f),t.links=void 0,kU(t),y(t),t.childWatches.forEach(rb))}}}function h(e,t,n,r){var i,o;let s,a;Xe(n)?s=n:a=n,u.forEach(((e,n)=>{if((!a||!0!==a.get(n))&&(n===t||Wt(t,n)&&t[n.length]===uo))if(a)if(r){const e=a.get(n);e?e.push(...r):a.set(n,r.slice())}else a.set(n,!0);else e.forEach((({callback:e})=>e(s)))})),null==(o=null==(i=l.get(t))?void 0:i.links)||o.forEach((t=>{const n=n=>qo(t,rs(e,n,_));a?h(t,_(t),a,null==r?void 0:r.map(n)):h(t,_(t),n(s))}))}function g(){var e;p=void 0,eo(`sysLog:: onTimerToUpdateChildWatches:: ${d.size}`);const t=jn(),n=new Map;for(;!p&&d.size;){const t=d.entries().next();un.assert(!t.done);const{value:[r,{dirName:i,options:o,fileNames:s}]}=t;d.delete(r);const a=v(i,r,o);(null==(e=l.get(r))?void 0:e.targetWatcher)||h(i,r,n,a?void 0:s)}eo(`sysLog:: invokingWatchers:: Elapsed:: ${jn()-t}ms:: ${d.size}`),u.forEach(((e,t)=>{const r=n.get(t);r&&e.forEach((({callback:e,dirName:t})=>{Ye(r)?r.forEach(e):e(t)}))}));eo(`sysLog:: Elapsed:: ${jn()-t}ms:: onTimerToUpdateChildWatches:: ${d.size} ${p}`)}function A(e){if(!e)return;const t=e.childWatches;e.childWatches=a;for(const e of t)e.close(),A(l.get(_(e.dirName)))}function y(e){(null==e?void 0:e.targetWatcher)&&(e.targetWatcher.close(),e.targetWatcher=void 0)}function v(e,t,n){const s=l.get(t);if(!s)return!1;const c=Mo(o(e));let u,d;return 0===f(c,e)?u=rn(i(e,1)?q(r(e),(t=>{const r=Lo(t,e);return b(r,n)||0!==f(r,Mo(o(r)))?void 0:r})):a,s.childWatches,((e,t)=>f(e,t.dirName)),(function(e){p(m(e,n))}),rb,p):s.targetWatcher&&0===f(c,s.targetWatcher.dirName)?(u=!1,un.assert(s.childWatches===a)):(y(s),s.targetWatcher=m(c,n,void 0,e),s.childWatches.forEach(rb),u=!0),s.childWatches=d||a,u;function p(e){(d||(d=[])).push(e)}}function b(e,r){return J(Xi,(n=>function(e,n){return!!e.includes(n)||!t&&_(e).includes(n)}(e,n)))||io(e,r,t,n)}}var ro=(e=>(e[e.File=0]="File",e[e.Directory=1]="Directory",e))(ro||{});function io(e,t,n,r){return((null==t?void 0:t.excludeDirectories)||(null==t?void 0:t.excludeFiles))&&(DO(e,null==t?void 0:t.excludeFiles,n,r())||DO(e,null==t?void 0:t.excludeDirectories,n,r()))}function oo(e,t,n,r,i){return(o,s)=>{if("rename"===o){const o=s?Mo(qo(e,s)):e;s&&io(o,n,r,i)||t(o)}}}function so({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:n,clearTimeout:r,fsWatchWorker:i,fileSystemEntryExists:o,useCaseSensitiveFileNames:s,getCurrentDirectory:a,fsSupportsRecursiveFsWatch:c,getAccessibleSortedChildDirectories:l,realpath:u,tscWatchFile:d,useNonPollingWatchers:p,tscWatchDirectory:f,inodeWatching:_,fsWatchWithTimestamp:m,sysLog:h}){const g=new Map,A=new Map,y=new Map;let v,b,C,E,x=!1;return{watchFile:S,watchDirectory:function(e,t,i,d){if(c)return F(e,1,oo(e,t,d,s,a),i,500,SU(d));E||(E=no({useCaseSensitiveFileNames:s,getCurrentDirectory:a,fileSystemEntryExists:o,getAccessibleSortedChildDirectories:l,watchDirectory:I,realpath:u,setTimeout:n,clearTimeout:r}));return E(e,t,i,d)}};function S(e,n,r,i){i=function(e,t){if(e&&void 0!==e.watchFile)return e;switch(d){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return w(4,1,e);case"UseFsEventsWithFallbackDynamicPolling":return w(4,2,e);case"UseFsEventsOnParentDirectory":t=!0;default:return t?w(5,1,e):{watchFile:4}}}(i,p);const o=un.checkDefined(i.watchFile);switch(o){case 0:return T(e,n,250,void 0);case 1:return T(e,n,r,void 0);case 2:return k()(e,n,r,void 0);case 3:return D()(e,n,void 0,void 0);case 4:return F(e,0,function(e,t,n){return(r,i,o)=>{"rename"===r?(o||(o=n(e)||Li),t(e,o!==Li?0:2,o)):t(e,1,o)}}(e,n,t),!1,r,SU(i));case 5:return C||(C=Wi(F,s,t,m)),C(e,n,r,SU(i));default:un.assertNever(o)}}function k(){return v||(v=Gi({getModifiedTime:t,setTimeout:n}))}function D(){return b||(b=function(e){const t=[];let n,r=0;return function(n,r){const i={fileName:n,callback:r,mtime:Mi(e,n)};return t.push(i),o(),{close:()=>{i.isClosed=!0,Ut(t,i)}}};function i(){n=void 0,r=Hi(e,t,r,Ji[250]),o()}function o(){t.length&&!n&&(n=e.setTimeout(i,2e3,"pollQueue"))}}({getModifiedTime:t,setTimeout:n}))}function w(e,t,n){const r=null==n?void 0:n.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?t:r}}function I(e,t,n,r){un.assert(!n);const i=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(f){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const t=null==e?void 0:e.fallbackPolling;return{watchDirectory:0,fallbackPolling:void 0!==t?t:void 0}}}(r),o=un.checkDefined(i.watchDirectory);switch(o){case 1:return T(e,(()=>t(e)),500,void 0);case 2:return k()(e,(()=>t(e)),500,void 0);case 3:return D()(e,(()=>t(e)),void 0,void 0);case 0:return F(e,1,oo(e,t,r,s,a),n,500,SU(i));default:un.assertNever(o)}}function T(t,n,r,i){return zi(g,s,t,n,(n=>e(t,n,r,i)))}function F(e,n,r,a,c,l){return zi(a?y:A,s,e,r,(r=>function(e,n,r,s,a,c){let l,u;_&&(l=e.substring(e.lastIndexOf(uo)),u=l.slice(uo.length));let d=o(e,n)?f():y();return{close:()=>{d&&(d.close(),d=void 0)}};function p(t){d&&(h(`sysLog:: ${e}:: Changing watcher to ${t===f?"Present":"Missing"}FileSystemEntryWatcher`),d.close(),d=t())}function f(){if(x)return h(`sysLog:: ${e}:: Defaulting to watchFile`),A();try{const t=(1!==n&&m?R:i)(e,s,_?g:r);return t.on("error",(()=>{r("rename",""),p(y)})),t}catch(t){return x||(x="ENOSPC"===t.code),h(`sysLog:: ${e}:: Changing to watchFile`),A()}}function g(n,i){let o;if(i&&Ot(i,"~")&&(o=i,i=i.slice(0,i.length-1)),"rename"!==n||i&&i!==u&&!Ot(i,l))o&&r(n,o),r(n,i);else{const s=t(e)||Li;o&&r(n,o,s),r(n,i,s),_?p(s===Li?y:f):s===Li&&p(y)}}function A(){return S(e,function(e){return(t,n,r)=>e(1===n?"change":"rename","",r)}(r),a,c)}function y(){return S(e,((n,i,o)=>{0===i&&(o||(o=t(e)||Li),o!==Li&&(r("rename","",o),p(f)))}),a,c)}}(e,n,r,a,c,l)))}function R(e,n,r){let o=t(e)||Li;return i(e,n,((n,i,s)=>{"change"===n&&(s||(s=t(e)||Li),s.getTime()===o.getTime())||(o=s||t(e)||Li,r(n,i,o))}))}}function ao(e){const t=e.writeFile;e.writeFile=(n,r,i)=>ty(n,r,!!i,((n,r,i)=>t.call(e,n,r,i)),(t=>e.createDirectory(t)),(t=>e.directoryExists(t)))}var co=(()=>{let e;return ln()&&(e=function(){const e=/^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/,t=require$$0$7,n=require$$0$8,r=require$$0$9;let i,o;try{i=require("crypto")}catch{i=void 0}let s="./profile.cpuprofile";const a="darwin"===process.platform,c="linux"===process.platform||a,l={throwIfNoEntry:!1},u=r.platform(),d="win32"!==u&&"win64"!==u&&!S((y=__filename,y.replace(/\w/g,(e=>{const t=e.toUpperCase();return e===t?e.toLowerCase():t})))),p=t.realpathSync.native?"win32"===process.platform?function(e){return e.length<260?t.realpathSync.native(e):t.realpathSync(e)}:t.realpathSync.native:t.realpathSync,f=__filename.endsWith("sys.js")?n.join(n.dirname(__dirname),"__fake__.js"):__filename,_="win32"===process.platform||a,m=dt((()=>process.cwd())),{watchFile:h,watchDirectory:g}=so({pollingWatchFileWorker:function(e,n,r){let i;return t.watchFile(e,{persistent:!0,interval:r},o),{close:()=>t.unwatchFile(e,o)};function o(t,r){const o=0==+r.mtime||2===i;if(0==+t.mtime){if(o)return;i=2}else if(o)i=0;else{if(+t.mtime==+r.mtime)return;i=1}n(e,i,t.mtime)}},getModifiedTime:D,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatchWorker:function(e,n,r){return t.watch(e,_?{persistent:!0,recursive:!!n}:{persistent:!0},r)},useCaseSensitiveFileNames:d,getCurrentDirectory:m,fileSystemEntryExists:x,fsSupportsRecursiveFsWatch:_,getAccessibleSortedChildDirectories:e=>E(e).directories,realpath:k,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:!!process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,inodeWatching:c,fsWatchWithTimestamp:a,sysLog:eo}),A={args:process.argv.slice(2),newLine:r.EOL,useCaseSensitiveFileNames:d,write(e){process.stdout.write(e)},getWidthOfTerminal:()=>process.stdout.columns,writeOutputIsTTY:()=>process.stdout.isTTY,readFile:function(e,n){let r;try{r=t.readFileSync(e)}catch{return}let i=r.length;if(i>=2&&254===r[0]&&255===r[1]){i&=-2;for(let e=0;e=2&&255===r[0]&&254===r[1]?r.toString("utf16le",2):i>=3&&239===r[0]&&187===r[1]&&191===r[2]?r.toString("utf8",3):r.toString("utf8")},writeFile:function(e,n,r){let i;r&&(n="\ufeff"+n);try{i=t.openSync(e,"w"),t.writeSync(i,n,void 0,"utf8")}finally{void 0!==i&&t.closeSync(i)}},watchFile:h,watchDirectory:g,preferNonRecursiveWatch:!_,resolvePath:e=>n.resolve(e),fileExists:S,directoryExists:function(e){return x(e,1)},getAccessibleFileSystemEntries:E,createDirectory(e){if(!A.directoryExists(e))try{t.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:()=>f,getCurrentDirectory:m,getDirectories:function(e){return E(e).directories.slice()},getEnvironmentVariable:e=>process.env[e]||"",readDirectory:function(e,t,n,r,i){return gE(e,t,n,r,d,process.cwd(),i,E,k)},getModifiedTime:D,setModifiedTime:function(e,n){try{t.utimesSync(e,n,n)}catch{return}},deleteFile:function(e){try{return t.unlinkSync(e)}catch{return}},createHash:i?w:Oi,createSHA256Hash:i?w:void 0,getMemoryUsage:()=>(commonjsGlobal.gc&&commonjsGlobal.gc(),process.memoryUsage().heapUsed),getFileSize(e){const t=v(e);return(null==t?void 0:t.isFile())?t.size:0},exit(e){b((()=>process.exit(e)))},enableCPUProfiler:function(e,t){if(o)return t(),!1;const n=require$$6$1;if(!n||!n.Session)return t(),!1;const r=new n.Session;return r.connect(),r.post("Profiler.enable",(()=>{r.post("Profiler.start",(()=>{o=r,s=e,t()}))})),!0},disableCPUProfiler:b,cpuProfilingEnabled:()=>!!o||C(process.execArgv,"--cpu-prof")||C(process.execArgv,"--prof"),realpath:k,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||J(process.execArgv,(e=>/^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(e)))||!!process.recordreplay,tryEnableSourceMapsForHost(){try{requireSourceMapSupport().install()}catch{}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:()=>{process.stdout.write("")},setBlocking:()=>{var e;const t=null==(e=process.stdout)?void 0:e._handle;t&&t.setBlocking&&t.setBlocking(!0)},base64decode:e=>Buffer.from(e,"base64").toString("utf8"),base64encode:e=>Buffer.from(e).toString("base64"),require:(e,t)=>{try{const n=Iq(t,e,A);return{module:commonjsRequire(n),modulePath:n,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};var y;return A;function v(e){try{return t.statSync(e,l)}catch{return}}function b(r){if(o&&"stopping"!==o){const i=o;return o.post("Profiler.stop",((a,{profile:c})=>{var l;if(!a){(null==(l=v(s))?void 0:l.isDirectory())&&(s=n.join(s,`${(new Date).toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`));try{t.mkdirSync(n.dirname(s),{recursive:!0})}catch{}t.writeFileSync(s,JSON.stringify(function(t){let r=0;const i=new Map,o=Bo(n.dirname(f)),s=`file://${1===wo(o)?"":"/"}${o}`;for(const n of t.nodes)if(n.callFrame.url){const t=Bo(n.callFrame.url);es(s,t,d)?n.callFrame.url=ss(s,t,s,Jt(d),!0):e.test(t)||(n.callFrame.url=(i.has(t)?i:i.set(t,`external${r}.js`)).get(t),r++)}return t}(c)))}o=void 0,i.disconnect(),r()})),o="stopping",!0}return r(),!1}function E(e){try{const n=t.readdirSync(e||".",{withFileTypes:!0}),r=[],i=[];for(const t of n){const n="string"==typeof t?t:t.name;if("."===n||".."===n)continue;let o;if("string"==typeof t||t.isSymbolicLink()){if(o=v(qo(e,n)),!o)continue}else o=t;o.isFile()?r.push(n):o.isDirectory()&&i.push(n)}return r.sort(),i.sort(),{files:r,directories:i}}catch{return rx}}function x(e,t){const n=v(e);if(!n)return!1;switch(t){case 0:return n.isFile();case 1:return n.isDirectory();default:return!1}}function S(e){return x(e,0)}function k(e){try{return p(e)}catch{return e}}function D(e){var t;return null==(t=v(e))?void 0:t.mtime}function w(e){const t=i.createHash("sha256");return t.update(e),t.digest("hex")}}()),e&&ao(e),e})();function lo(e){co=e}co&&co.getEnvironmentVariable&&(!function(e){if(!e.getEnvironmentVariable)return;const t=function(e,t){const r=n("TSC_WATCH_POLLINGINTERVAL");return!!r&&(i("Low"),i("Medium"),i("High"),!0);function i(e){t[e]=r[e]||t[e]}}(0,Qi);function n(t){let n;return r("Low"),r("Medium"),r("High"),n;function r(r){const i=function(t,n){return e.getEnvironmentVariable(`${t}_${n.toUpperCase()}`)}(t,r);i&&((n||(n={}))[r]=Number(i))}}function r(e,r){const i=n(e);return(t||i)&&ji(i?{...r,...i}:r)}Ji=r("TSC_WATCH_POLLINGCHUNKSIZE",Ui)||Ji,Vi=r("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",Ui)||Vi}(co),un.setAssertionLevel(/^development$/i.test(co.getEnvironmentVariable("NODE_ENV"))?1:0)),co&&co.debugMode&&(un.isDebugging=!0);var uo="/",po="\\",fo="://",_o=/\\/g;function mo(e){return 47===e||92===e}function ho(e){return Do(e)<0}function go(e){return Do(e)>0}function Ao(e){const t=Do(e);return t>0&&t===e.length}function yo(e){return 0!==Do(e)}function vo(e){return/^\.\.?(?:$|[\\/])/.test(e)}function bo(e){return!yo(e)&&!vo(e)}function Co(e){return To(e).includes(".")}function Eo(e,t){return e.length>t.length&&Ot(e,t)}function xo(e,t){for(const n of t)if(Eo(e,n))return!0;return!1}function So(e){return e.length>0&&mo(e.charCodeAt(e.length-1))}function ko(e){return e>=97&&e<=122||e>=65&&e<=90}function Do(e){if(!e)return 0;const t=e.charCodeAt(0);if(47===t||92===t){if(e.charCodeAt(1)!==t)return 1;const n=e.indexOf(47===t?uo:po,2);return n<0?e.length:n+1}if(ko(t)&&58===e.charCodeAt(1)){const t=e.charCodeAt(2);if(47===t||92===t)return 3;if(2===e.length)return 2}const n=e.indexOf(fo);if(-1!==n){const t=n+fo.length,r=e.indexOf(uo,t);if(-1!==r){const i=e.slice(0,n),o=e.slice(t,r);if("file"===i&&(""===o||"localhost"===o)&&ko(e.charCodeAt(r+1))){const t=function(e,t){const n=e.charCodeAt(t);if(58===n)return t+1;if(37===n&&51===e.charCodeAt(t+1)){const n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return-1}(e,r+2);if(-1!==t){if(47===e.charCodeAt(t))return~(t+1);if(t===e.length)return~t}}return~(r+1)}return~e.length}return 0}function wo(e){const t=Do(e);return t<0?~t:t}function Io(e){const t=wo(e=Bo(e));return t===e.length?e:(e=Jo(e)).slice(0,Math.max(t,e.lastIndexOf(uo)))}function To(e,t,n){if(wo(e=Bo(e))===e.length)return"";const r=(e=Jo(e)).slice(Math.max(wo(e),e.lastIndexOf(uo)+1)),i=void 0!==t&&void 0!==n?Ro(r,t,n):void 0;return i?r.slice(0,r.length-i.length):r}function Fo(e,t,n){if(Wt(t,".")||(t="."+t),e.length>=t.length&&46===e.charCodeAt(e.length-t.length)){const r=e.slice(e.length-t.length);if(n(r,t))return r}}function Ro(e,t,n){if(t)return function(e,t,n){if("string"==typeof t)return Fo(e,t,n)||"";for(const r of t){const t=Fo(e,r,n);if(t)return t}return""}(Jo(e),t,n?mt:ht);const r=To(e),i=r.lastIndexOf(".");return i>=0?r.substring(i):""}function Po(e,t=""){return function(e,t){const n=e.substring(0,t),r=e.substring(t).split(uo);return r.length&&!ge(r)&&r.pop(),[n,...r]}(e=qo(t,e),wo(e))}function No(e,t){if(0===e.length)return"";return(e[0]&&Vo(e[0]))+e.slice(1,t).join(uo)}function Bo(e){return e.includes("\\")?e.replace(_o,uo):e}function Oo(e){if(!J(e))return[];const t=[e[0]];for(let n=1;n1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(r)}}return t}function qo(e,...t){e&&(e=Bo(e));for(let n of t)n&&(n=Bo(n),e=e&&0===wo(n)?Vo(e)+n:n);return e}function $o(e,...t){return Mo(J(t)?qo(e,...t):Bo(e))}function Qo(e,t){return Oo(Po(e,t))}function Lo(e,t){return No(Qo(e,t))}function Mo(e){if(e=Bo(e),!zo.test(e))return e;const t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!zo.test(e)))return e;const n=No(Oo(Po(e)));return n&&So(e)?Vo(n):n}function jo(e,t){return 0===(n=Qo(e,t)).length?"":n.slice(1).join(uo);var n}function Uo(e,t,n){return n(go(e)?Mo(e):Lo(e,t))}function Jo(e){return So(e)?e.substr(0,e.length-1):e}function Vo(e){return So(e)?e:e+uo}function Ho(e){return yo(e)||vo(e)?e:"./"+e}function Go(e,t,n,r){const i=void 0!==n&&void 0!==r?Ro(e,n,r):Ro(e);return i?e.slice(0,e.length-i.length)+(Wt(t,".")?t:"."+t):e}function Wo(e,t){const n=XP(e);return n?e.slice(0,e.length-n.length)+(Wt(t,".")?t:"."+t):Go(e,t)}var zo=/\/\/|(?:^|\/)\.\.?(?:$|\/)/;function Yo(e,t,n){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;const r=e.substring(0,wo(e)),i=t.substring(0,wo(t)),o=Ct(r,i);if(0!==o)return o;const s=e.substring(r.length),a=t.substring(i.length);if(!zo.test(s)&&!zo.test(a))return n(s,a);const c=Oo(Po(e)),l=Oo(Po(t)),u=Math.min(c.length,l.length);for(let e=1;e0==wo(t)>0,"Paths must either both be absolute or both be relative");return No(ns(e,t,"boolean"==typeof n&&n?mt:ht,"function"==typeof n?n:st))}function is(e,t,n){return go(e)?ss(t,e,t,n,!1):e}function os(e,t,n){return Ho(rs(Io(e),t,n))}function ss(e,t,n,r,i){const o=ns($o(n,e),$o(n,t),ht,r),s=o[0];if(i&&go(s)){const e=s.charAt(0)===uo?"file://":"file:///";o[0]=e+s}return No(o)}function as(e,t){for(;;){const n=t(e);if(void 0!==n)return n;const r=Io(e);if(r===e)return;e=r}}function cs(e){return Ot(e,"/node_modules")}function ls(e,t,n,r,i,o,s){return{code:e,category:t,key:n,message:r,reportsUnnecessary:i,elidedInCompatabilityPyramid:o,reportsDeprecated:s}}var us={Unterminated_string_literal:ls(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:ls(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:ls(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:ls(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:ls(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."),Trailing_comma_not_allowed:ls(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:ls(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:ls(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:ls(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:ls(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:ls(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:ls(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:ls(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:ls(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:ls(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:ls(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:ls(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:ls(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:ls(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:ls(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:ls(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:ls(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:ls(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:ls(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:ls(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:ls(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."),Only_ambient_modules_can_use_quoted_names:ls(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:ls(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:ls(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:ls(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:ls(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:ls(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:ls(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:ls(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:ls(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:ls(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:ls(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:ls(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:ls(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:ls(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:ls(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:ls(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055","Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:ls(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:ls(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:ls(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:ls(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:ls(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:ls(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:ls(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:ls(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:ls(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:ls(1066,1,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:ls(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:ls(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."),_0_modifier_cannot_appear_on_a_type_member:ls(1070,1,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:ls(1071,1,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:ls(1079,1,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:ls(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:ls(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:ls(1090,1,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:ls(1091,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:ls(1092,1,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:ls(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:ls(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:ls(1095,1,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:ls(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:ls(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:ls(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:ls(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:ls(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:ls(1101,1,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:ls(1102,1,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:ls(1103,1,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:ls(1104,1,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:ls(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:ls(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:ls(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:ls(1108,1,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:ls(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:ls(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:ls(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:ls(1113,1,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:ls(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:ls(1115,1,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:ls(1116,1,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:ls(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:ls(1118,1,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:ls(1119,1,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:ls(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:ls(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:ls(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:ls(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:ls(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:ls(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:ls(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:ls(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:ls(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:ls(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:ls(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:ls(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:ls(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:ls(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:ls(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:ls(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:ls(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:ls(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:ls(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:ls(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:ls(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:ls(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:ls(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:ls(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:ls(1147,1,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:ls(1148,1,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:ls(1149,1,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),_0_declarations_must_be_initialized:ls(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:ls(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:ls(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:ls(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:ls(1162,1,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:ls(1163,1,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:ls(1164,1,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:ls(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:ls(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:ls(1168,1,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:ls(1169,1,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:ls(1170,1,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:ls(1171,1,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:ls(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:ls(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:ls(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:ls(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:ls(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:ls(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:ls(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:ls(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:ls(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:ls(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:ls(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:ls(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:ls(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:ls(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:ls(1186,1,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:ls(1187,1,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:ls(1188,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:ls(1189,1,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:ls(1190,1,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:ls(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:ls(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:ls(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:ls(1194,1,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:ls(1195,1,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:ls(1196,1,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:ls(1197,1,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:ls(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:ls(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:ls(1200,1,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:ls(1202,1,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:ls(1203,1,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:ls(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:ls(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:ls(1207,1,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:ls(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}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:ls(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:ls(1211,1,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:ls(1212,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:ls(1213,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:ls(1214,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:ls(1215,1,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:ls(1216,1,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:ls(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:ls(1221,1,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:ls(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:ls(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:ls(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:ls(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:ls(1226,1,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:ls(1227,1,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:ls(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."),A_type_predicate_cannot_reference_a_rest_parameter:ls(1229,1,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:ls(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:ls(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:ls(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:ls(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:ls(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:ls(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:ls(1236,1,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:ls(1237,1,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:ls(1238,1,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:ls(1239,1,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:ls(1240,1,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:ls(1241,1,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:ls(1242,1,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:ls(1243,1,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:ls(1244,1,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:ls(1245,1,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:ls(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:ls(1247,1,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:ls(1248,1,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:ls(1249,1,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5:ls(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:ls(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:ls(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:ls(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:ls(1254,1,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:ls(1255,1,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:ls(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:ls(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:ls(1259,1,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:ls(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:ls(1261,1,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:ls(1262,1,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:ls(1263,1,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:ls(1264,1,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:ls(1265,1,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:ls(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:ls(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:ls(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:ls(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:ls(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:ls(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:ls(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:ls(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:ls(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:ls(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:ls(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:ls(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:ls(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:ls(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:ls(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:ls(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:ls(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:ls(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:ls(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:ls(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:ls(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:ls(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:ls(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:ls(1289,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:ls(1290,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:ls(1291,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:ls(1292,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve:ls(1293,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293","ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."),with_statements_are_not_allowed_in_an_async_function_block:ls(1300,1,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:ls(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:ls(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:ls(1312,1,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:ls(1313,1,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:ls(1314,1,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:ls(1315,1,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:ls(1316,1,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:ls(1317,1,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:ls(1318,1,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:ls(1319,1,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:ls(1320,1,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:ls(1321,1,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:ls(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:ls(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve:ls(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'."),Argument_of_dynamic_import_cannot_be_spread_element:ls(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:ls(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:ls(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:ls(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."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:ls(1329,1,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:ls(1330,1,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:ls(1331,1,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:ls(1332,1,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:ls(1333,1,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:ls(1334,1,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:ls(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:ls(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:ls(1338,1,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:ls(1339,1,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:ls(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:ls(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:ls(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:ls(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:ls(1345,1,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:ls(1346,1,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:ls(1347,1,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:ls(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:ls(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:ls(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:ls(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:ls(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:ls(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:ls(1354,1,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:ls(1355,1,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:ls(1356,1,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:ls(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:ls(1358,1,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:ls(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."),Type_0_does_not_satisfy_the_expected_type_1:ls(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:ls(1361,1,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:ls(1362,1,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:ls(1363,1,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:ls(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:ls(1365,3,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:ls(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:ls(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:ls(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:ls(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:ls(1375,1,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:ls(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:ls(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:ls(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:ls(1379,1,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:ls(1380,1,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:ls(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:ls(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:ls(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:ls(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:ls(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:ls(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:ls(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:ls(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:ls(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:ls(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:ls(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:ls(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:ls(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:ls(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:ls(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"),File_is_included_via_import_here:ls(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:ls(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:ls(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:ls(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:ls(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}'"),File_is_included_via_type_library_reference_here:ls(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:ls(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:ls(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:ls(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:ls(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:ls(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:ls(1410,3,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:ls(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:ls(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'"),File_is_output_from_referenced_project_specified_here:ls(1413,3,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:ls(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:ls(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'"),File_is_source_from_referenced_project_specified_here:ls(1416,3,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:ls(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:ls(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}'"),File_is_entry_point_of_type_library_specified_here:ls(1419,3,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:ls(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:ls(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:ls(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:ls(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:ls(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:ls(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:ls(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:ls(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:ls(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:ls(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:ls(1430,3,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:ls(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:ls(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:ls(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:ls(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:ls(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:ls(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:ls(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:ls(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:ls(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:ls(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:ls(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:ls(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:ls(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:ls(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:ls(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."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments:ls(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:ls(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_should_be_either_require_or_import:ls(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:ls(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:ls(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:ls(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:ls(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:ls(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:ls(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:ls(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:ls(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:ls(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:ls(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:ls(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:ls(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:ls(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:ls(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:ls(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:ls(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:ls(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:ls(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:ls(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:ls(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479","The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead."),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:ls(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:ls(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481","To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'."),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:ls(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:ls(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:ls(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:ls(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:ls(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:ls(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:ls(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:ls(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:ls(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:ls(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:ls(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:ls(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:ls(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:ls(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:ls(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator:ls(1497,1,"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497","Expression must be enclosed in parentheses to be used as a decorator."),Invalid_syntax_in_decorator:ls(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:ls(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:ls(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:ls(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:ls(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:ls(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:ls(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:ls(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:ls(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:ls(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:ls(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:ls(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:ls(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:ls(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:ls(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:ls(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:ls(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:ls(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:ls(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:ls(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:ls(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:ls(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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."),A_bigint_literal_cannot_be_used_as_a_property_name:ls(1539,1,"A_bigint_literal_cannot_be_used_as_a_property_name_1539","A 'bigint' literal cannot be used as a property name."),A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead:ls(1540,2,"A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540","A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.",void 0,void 0,!0),Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:ls(1541,1,"Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541","Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:ls(1542,1,"Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542","Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0:ls(1543,1,"Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543","Importing a JSON file into an ECMAScript module requires a 'type: \"json\"' import attribute when 'module' is set to '{0}'."),Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0:ls(1544,1,"Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544","Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."),The_types_of_0_are_incompatible_between_these_types:ls(2200,1,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:ls(2201,1,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:ls(2202,1,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:ls(2203,1,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:ls(2204,1,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:ls(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:ls(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:ls(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:ls(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:ls(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:ls(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."),Add_extends_constraint:ls(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:ls(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:ls(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:ls(2301,1,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:ls(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:ls(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:ls(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:ls(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:ls(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:ls(2307,1,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:ls(2308,1,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:ls(2309,1,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:ls(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:ls(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:ls(2312,1,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:ls(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:ls(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:ls(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:ls(2316,1,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:ls(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:ls(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:ls(2319,1,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:ls(2320,1,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:ls(2321,1,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:ls(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:ls(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:ls(2324,1,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:ls(2325,1,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:ls(2326,1,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:ls(2327,1,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:ls(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:ls(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:ls(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:ls(2331,1,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:ls(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_a_static_property_initializer:ls(2334,1,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:ls(2335,1,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:ls(2336,1,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:ls(2337,1,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:ls(2338,1,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:ls(2339,1,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:ls(2340,1,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:ls(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:ls(2343,1,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:ls(2344,1,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:ls(2345,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Untyped_function_calls_may_not_accept_type_arguments:ls(2347,1,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:ls(2348,1,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:ls(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:ls(2350,1,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:ls(2351,1,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:ls(2352,1,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:ls(2353,1,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:ls(2354,1,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value:ls(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:ls(2356,1,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:ls(2357,1,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:ls(2358,1,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:ls(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:ls(2362,1,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:ls(2363,1,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:ls(2364,1,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:ls(2365,1,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:ls(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:ls(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:ls(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:ls(2369,1,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:ls(2370,1,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:ls(2371,1,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:ls(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:ls(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:ls(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:ls(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:ls(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:ls(2377,1,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:ls(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:ls(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),Overload_signatures_must_all_be_exported_or_non_exported:ls(2383,1,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:ls(2384,1,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:ls(2385,1,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:ls(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:ls(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:ls(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:ls(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:ls(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:ls(2391,1,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:ls(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:ls(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:ls(2394,1,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:ls(2395,1,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:ls(2396,1,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:ls(2397,1,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:ls(2398,1,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:ls(2399,1,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:ls(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:ls(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:ls(2402,1,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:ls(2403,1,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:ls(2404,1,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:ls(2405,1,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:ls(2406,1,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:ls(2407,1,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:ls(2408,1,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:ls(2409,1,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:ls(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:ls(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:ls(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:ls(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:ls(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:ls(2415,1,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:ls(2416,1,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:ls(2417,1,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:ls(2418,1,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:ls(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:ls(2420,1,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:ls(2422,1,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:ls(2423,1,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:ls(2425,1,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:ls(2426,1,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:ls(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:ls(2428,1,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:ls(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:ls(2431,1,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:ls(2432,1,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:ls(2433,1,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:ls(2434,1,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:ls(2435,1,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:ls(2436,1,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:ls(2437,1,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:ls(2438,1,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:ls(2439,1,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:ls(2440,1,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:ls(2441,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:ls(2442,1,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:ls(2443,1,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:ls(2444,1,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:ls(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:ls(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:ls(2447,1,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:ls(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:ls(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:ls(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:ls(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:ls(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:ls(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:ls(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:ls(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:ls(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:ls(2459,1,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:ls(2460,1,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:ls(2461,1,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:ls(2462,1,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:ls(2463,1,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:ls(2464,1,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:ls(2465,1,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:ls(2466,1,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:ls(2467,1,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:ls(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:ls(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:ls(2472,1,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:ls(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:ls(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:ls(2475,1,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:ls(2476,1,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:ls(2477,1,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:ls(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:ls(2480,1,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:ls(2481,1,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:ls(2483,1,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:ls(2484,1,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:ls(2487,1,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:ls(2488,1,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:ls(2489,1,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:ls(2490,1,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:ls(2491,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:ls(2492,1,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:ls(2493,1,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:ls(2494,1,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:ls(2495,1,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression:ls(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496","The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:ls(2497,1,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:ls(2498,1,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:ls(2499,1,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:ls(2500,1,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:ls(2501,1,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:ls(2502,1,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:ls(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:ls(2504,1,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:ls(2505,1,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:ls(2506,1,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:ls(2507,1,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:ls(2508,1,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:ls(2509,1,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:ls(2510,1,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:ls(2511,1,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:ls(2512,1,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:ls(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:ls(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:ls(2515,1,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member {1} from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:ls(2516,1,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:ls(2517,1,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:ls(2518,1,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:ls(2519,1,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:ls(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method:ls(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522","The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:ls(2523,1,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:ls(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:ls(2526,1,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:ls(2527,1,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:ls(2528,1,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:ls(2529,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:ls(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:ls(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:ls(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:ls(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:ls(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:ls(2536,1,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:ls(2537,1,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:ls(2538,1,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:ls(2539,1,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:ls(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:ls(2542,1,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:ls(2543,1,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:ls(2544,1,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:ls(2545,1,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:ls(2547,1,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:ls(2548,1,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:ls(2549,1,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:ls(2550,1,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:ls(2551,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:ls(2552,1,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:ls(2553,1,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:ls(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:ls(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:ls(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:ls(2558,1,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:ls(2559,1,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:ls(2560,1,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:ls(2561,1,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:ls(2562,1,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:ls(2563,1,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:ls(2564,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:ls(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:ls(2566,1,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:ls(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:ls(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:ls(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:ls(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:ls(2574,1,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:ls(2575,1,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:ls(2576,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:ls(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:ls(2578,1,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:ls(2580,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:ls(2581,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:ls(2582,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:ls(2583,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:ls(2584,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:ls(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:ls(2588,1,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:ls(2589,1,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:ls(2590,1,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:ls(2591,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:ls(2592,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:ls(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:ls(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:ls(2595,1,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:ls(2596,1,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:ls(2597,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:ls(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:ls(2602,1,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:ls(2603,1,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:ls(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:ls(2606,1,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:ls(2607,1,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:ls(2608,1,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:ls(2609,1,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:ls(2610,1,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:ls(2611,1,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:ls(2612,1,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:ls(2613,1,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:ls(2614,1,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:ls(2615,1,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:ls(2616,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:ls(2617,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:ls(2618,1,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:ls(2619,1,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:ls(2620,1,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:ls(2621,1,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:ls(2623,1,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:ls(2624,1,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:ls(2625,1,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:ls(2626,1,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:ls(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:ls(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:ls(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:ls(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:ls(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:ls(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:ls(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:ls(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:ls(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:ls(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:ls(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:ls(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),React_components_cannot_include_JSX_namespace_names:ls(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:ls(2649,1,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more:ls(2650,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650","Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:ls(2651,1,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:ls(2652,1,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:ls(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2:ls(2654,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more:ls(2655,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1:ls(2656,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656","Non-abstract class expression is missing implementations for the following members of '{0}': {1}."),JSX_expressions_must_have_one_parent_element:ls(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:ls(2658,1,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:ls(2659,1,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:ls(2660,1,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:ls(2661,1,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:ls(2662,1,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:ls(2663,1,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:ls(2664,1,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:ls(2665,1,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:ls(2666,1,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:ls(2667,1,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:ls(2668,1,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:ls(2669,1,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:ls(2670,1,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:ls(2671,1,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:ls(2672,1,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:ls(2673,1,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:ls(2674,1,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:ls(2675,1,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:ls(2676,1,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:ls(2677,1,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:ls(2678,1,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:ls(2679,1,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:ls(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:ls(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:ls(2683,1,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:ls(2684,1,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:ls(2685,1,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:ls(2686,1,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:ls(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:ls(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:ls(2689,1,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:ls(2690,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:ls(2692,1,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:ls(2693,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:ls(2694,1,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:ls(2695,1,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:ls(2696,1,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:ls(2697,1,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:ls(2698,1,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:ls(2699,1,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:ls(2700,1,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:ls(2701,1,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:ls(2702,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:ls(2703,1,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:ls(2704,1,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:ls(2705,1,"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705","An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:ls(2706,1,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:ls(2707,1,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:ls(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:ls(2709,1,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:ls(2710,1,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:ls(2711,1,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:ls(2712,1,"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712","A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:ls(2713,1,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:ls(2714,1,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:ls(2715,1,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:ls(2716,1,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:ls(2717,1,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:ls(2718,1,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:ls(2719,1,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:ls(2720,1,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:ls(2721,1,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:ls(2722,1,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:ls(2723,1,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:ls(2724,1,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:ls(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:ls(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:ls(2727,1,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:ls(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:ls(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:ls(2730,1,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:ls(2731,1,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:ls(2732,1,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:ls(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:ls(2734,1,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:ls(2735,1,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:ls(2736,1,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:ls(2737,1,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:ls(2738,3,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:ls(2739,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:ls(2740,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:ls(2741,1,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:ls(2742,1,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:ls(2743,1,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:ls(2744,1,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:ls(2745,1,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:ls(2746,1,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:ls(2747,1,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_0_is_enabled:ls(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:ls(2749,1,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:ls(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:ls(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:ls(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:ls(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:ls(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:ls(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:ls(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:ls(2757,1,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:ls(2758,1,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:ls(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:ls(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:ls(2761,1,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:ls(2762,1,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:ls(2763,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:ls(2764,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:ls(2765,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:ls(2766,1,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:ls(2767,1,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:ls(2768,1,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:ls(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:ls(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:ls(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:ls(2772,1,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:ls(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:ls(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:ls(2775,1,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:ls(2776,1,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:ls(2777,1,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:ls(2778,1,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:ls(2779,1,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:ls(2780,1,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:ls(2781,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:ls(2782,3,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:ls(2783,1,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:ls(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:ls(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:ls(2786,1,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:ls(2787,1,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:ls(2788,1,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:ls(2789,1,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:ls(2790,1,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:ls(2791,1,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:ls(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:ls(2793,1,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:ls(2794,1,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:ls(2795,1,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:ls(2796,1,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:ls(2797,1,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:ls(2798,1,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:ls(2799,1,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:ls(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:ls(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:ls(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:ls(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:ls(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:ls(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:ls(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:ls(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),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:ls(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."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:ls(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:ls(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:ls(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:ls(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:ls(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:ls(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:ls(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:ls(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:ls(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:ls(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:ls(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:ls(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:ls(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:ls(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:ls(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:ls(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:ls(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:ls(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:ls(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:ls(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:ls(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types:ls(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:ls(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:ls(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:ls(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:ls(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:ls(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:ls(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:ls(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:ls(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:ls(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:ls(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:ls(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:ls(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:ls(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:ls(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:ls(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:ls(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:ls(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:ls(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:ls(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:ls(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:ls(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:ls(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:ls(2865,1,"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865","Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."),Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:ls(2866,1,"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866","Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun:ls(2867,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig:ls(2868,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."),Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish:ls(2869,1,"Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869","Right operand of ?? is unreachable because the left operand is never nullish."),This_binary_expression_is_never_nullish_Are_you_missing_parentheses:ls(2870,1,"This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870","This binary expression is never nullish. Are you missing parentheses?"),This_expression_is_always_nullish:ls(2871,1,"This_expression_is_always_nullish_2871","This expression is always nullish."),This_kind_of_expression_is_always_truthy:ls(2872,1,"This_kind_of_expression_is_always_truthy_2872","This kind of expression is always truthy."),This_kind_of_expression_is_always_falsy:ls(2873,1,"This_kind_of_expression_is_always_falsy_2873","This kind of expression is always falsy."),This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found:ls(2874,1,"This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874","This JSX tag requires '{0}' to be in scope, but it could not be found."),This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed:ls(2875,1,"This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875","This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed."),This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0:ls(2876,1,"This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876",'This relative import path is unsafe to rewrite because it looks like a file name, but actually resolves to "{0}".'),This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path:ls(2877,1,"This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877","This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."),This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files:ls(2878,1,"This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878","This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."),Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found:ls(2879,1,"Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879","Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."),Import_declaration_0_is_using_private_name_1:ls(4e3,1,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:ls(4002,1,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:ls(4004,1,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:ls(4006,1,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:ls(4008,1,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:ls(4010,1,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:ls(4012,1,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:ls(4014,1,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:ls(4016,1,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:ls(4019,1,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:ls(4020,1,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:ls(4021,1,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:ls(4022,1,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4023,1,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:ls(4024,1,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:ls(4025,1,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4026,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4027,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:ls(4028,1,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4029,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4030,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:ls(4031,1,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:ls(4032,1,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:ls(4033,1,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4034,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:ls(4035,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4036,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:ls(4037,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4038,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4039,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:ls(4040,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4041,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4042,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:ls(4043,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:ls(4044,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:ls(4045,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:ls(4046,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:ls(4047,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:ls(4048,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:ls(4049,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:ls(4050,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:ls(4051,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:ls(4052,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:ls(4053,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:ls(4054,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:ls(4055,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:ls(4056,1,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:ls(4057,1,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:ls(4058,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:ls(4059,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:ls(4060,1,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4061,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4062,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:ls(4063,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:ls(4064,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:ls(4065,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:ls(4066,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:ls(4067,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4068,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4069,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:ls(4070,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4071,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4072,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:ls(4073,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:ls(4074,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:ls(4075,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4076,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:ls(4077,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:ls(4078,1,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:ls(4081,1,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:ls(4082,1,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:ls(4083,1,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:ls(4084,1,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:ls(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:ls(4091,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:ls(4092,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected:ls(4094,1,"Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094","Property '{0}' of exported anonymous class type may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4095,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4096,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:ls(4097,1,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4098,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:ls(4099,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:ls(4100,1,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:ls(4101,1,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:ls(4102,1,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:ls(4103,1,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:ls(4104,1,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:ls(4105,1,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:ls(4106,1,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:ls(4107,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:ls(4108,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:ls(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:ls(4110,1,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:ls(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:ls(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:ls(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:ls(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:ls(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:ls(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:ls(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:ls(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:ls(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:ls(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:ls(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:ls(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:ls(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:ls(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given:ls(4125,1,"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125","Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value:ls(4126,1,"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126","One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),The_current_host_does_not_support_the_0_option:ls(5001,1,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:ls(5009,1,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:ls(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:ls(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Unknown_compiler_option_0:ls(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:ls(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:ls(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:ls(5033,1,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:ls(5042,1,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:ls(5047,1,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:ls(5051,1,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:ls(5052,1,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:ls(5053,1,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:ls(5054,1,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:ls(5055,1,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:ls(5056,1,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:ls(5057,1,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:ls(5058,1,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:ls(5059,1,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:ls(5061,1,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:ls(5062,1,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:ls(5063,1,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:ls(5064,1,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:ls(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}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:ls(5066,1,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:ls(5067,1,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:ls(5068,1,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:ls(5069,1,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:ls(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd:ls(5071,1,"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071","Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."),Unknown_build_option_0:ls(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:ls(5073,1,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:ls(5074,1,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:ls(5075,1,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:ls(5076,1,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:ls(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:ls(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:ls(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:ls(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:ls(5081,1,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:ls(5082,1,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:ls(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:ls(5085,1,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:ls(5086,1,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:ls(5087,1,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:ls(5088,1,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:ls(5089,1,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:ls(5090,1,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:ls(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:ls(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:ls(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:ls(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later:ls(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:ls(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:ls(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:ls(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:ls(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101","Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error."),Option_0_has_been_removed_Please_remove_it_from_your_configuration:ls(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:ls(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:ls(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:ls(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:ls(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:ls(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107","Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error."),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:ls(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:ls(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:ls(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:ls(6e3,3,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:ls(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:ls(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:ls(6004,3,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:ls(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:ls(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:ls(6007,3,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:ls(6008,3,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:ls(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:ls(6010,3,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:ls(6011,3,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:ls(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:ls(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:ls(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:ls(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:ls(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:ls(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:ls(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:ls(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'."),Syntax_Colon_0:ls(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:ls(6024,3,"options_6024","options"),file:ls(6025,3,"file_6025","file"),Examples_Colon_0:ls(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:ls(6027,3,"Options_Colon_6027","Options:"),Version_0:ls(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:ls(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:ls(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:ls(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:ls(6034,3,"KIND_6034","KIND"),FILE:ls(6035,3,"FILE_6035","FILE"),VERSION:ls(6036,3,"VERSION_6036","VERSION"),LOCATION:ls(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:ls(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:ls(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:ls(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:ls(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:ls(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:ls(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:ls(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:ls(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:ls(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:ls(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:ls(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:ls(6052,3,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:ls(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:ls(6054,1,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:ls(6055,3,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:ls(6056,3,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:ls(6058,3,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:ls(6059,1,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:ls(6060,3,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:ls(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:ls(6064,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:ls(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:ls(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:ls(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:ls(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:ls(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:ls(6073,3,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:ls(6074,3,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:ls(6075,3,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:ls(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:ls(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:ls(6078,3,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:ls(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:ls(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:ls(6082,1,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:ls(6083,3,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:ls(6084,3,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:ls(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:ls(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:ls(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:ls(6088,3,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:ls(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:ls(6090,3,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:ls(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:ls(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:ls(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:ls(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:ls(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:ls(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:ls(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:ls(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:ls(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:ls(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:ls(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:ls(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:ls(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:ls(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:ls(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:ls(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:ls(6115,3,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:ls(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:ls(6119,3,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:ls(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:ls(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:ls(6122,3,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:ls(6123,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:ls(6124,3,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:ls(6125,3,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:ls(6126,3,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:ls(6127,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:ls(6128,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:ls(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:ls(6131,1,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:ls(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:ls(6133,1,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:ls(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:ls(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:ls(6136,3,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:ls(6137,1,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:ls(6138,1,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:ls(6139,3,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:ls(6140,1,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:ls(6141,3,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:ls(6142,1,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:ls(6144,3,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:ls(6146,3,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:ls(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:ls(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:ls(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:ls(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:ls(6151,3,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:ls(6152,3,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:ls(6153,3,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:ls(6154,3,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:ls(6155,3,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:ls(6156,3,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:ls(6157,3,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:ls(6158,3,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:ls(6159,3,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:ls(6160,3,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:ls(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:ls(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:ls(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:ls(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}."),Do_not_truncate_error_messages:ls(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:ls(6166,3,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:ls(6167,3,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:ls(6168,3,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:ls(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:ls(6170,3,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:ls(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:ls(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."),Enable_all_strict_type_checking_options:ls(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:ls(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:ls(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:ls(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:ls(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:ls(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:ls(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:ls(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:ls(6191,3,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:ls(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:ls(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:ls(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:ls(6195,3,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:ls(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:ls(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:ls(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:ls(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:ls(6200,1,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:ls(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:ls(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}"),_0_was_also_declared_here:ls(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:ls(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:ls(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:ls(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:ls(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:ls(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:ls(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."),An_argument_for_0_was_not_provided:ls(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:ls(6211,3,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:ls(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:ls(6213,3,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:ls(6214,3,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:ls(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:ls(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:ls(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:ls(6218,3,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:ls(6219,3,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:ls(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:ls(6221,3,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:ls(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:ls(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:ls(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:ls(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:ls(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:ls(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:ls(6229,1,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:ls(6230,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:ls(6231,1,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:ls(6232,1,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:ls(6233,1,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:ls(6234,1,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:ls(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:ls(6236,1,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:ls(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:ls(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:ls(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:ls(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:ls(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:ls(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:ls(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:ls(6244,3,"Modules_6244","Modules"),File_Management:ls(6245,3,"File_Management_6245","File Management"),Emit:ls(6246,3,"Emit_6246","Emit"),JavaScript_Support:ls(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:ls(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:ls(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:ls(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:ls(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:ls(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:ls(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:ls(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:ls(6255,3,"Projects_6255","Projects"),Output_Formatting:ls(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:ls(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:ls(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"),Found_1_error_in_0:ls(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:ls(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:ls(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:ls(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:ls(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:ls(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:ls(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:ls(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278","There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings."),Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update:ls(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."),There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler:ls(6280,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280","There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."),package_json_has_a_peerDependencies_field:ls(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:ls(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:ls(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),Enable_project_compilation:ls(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:ls(6304,1,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:ls(6305,1,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:ls(6306,1,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:ls(6307,1,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Referenced_project_0_may_not_disable_emit:ls(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:ls(6356,3,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:ls(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:ls(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:ls(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:ls(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:ls(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:ls(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}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:ls(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:ls(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:ls(6380,3,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:ls(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:ls(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:ls(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"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:ls(6384,3,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:ls(6385,2,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:ls(6386,3,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:ls(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:ls(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:ls(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:ls(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:ls(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:ls(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:ls(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:ls(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:ls(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:ls(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:ls(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:ls(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:ls(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:ls(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:ls(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:ls(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:ls(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:ls(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:ls(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:ls(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:ls(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:ls(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:ls(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:ls(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:ls(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:ls(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."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:ls(6500,3,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:ls(6501,3,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:ls(6502,3,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:ls(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."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:ls(6504,1,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:ls(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:ls(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:ls(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:ls(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:ls(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:ls(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:ls(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:ls(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:ls(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:ls(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:ls(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."),Filters_results_from_the_include_option:ls(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:ls(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:ls(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:ls(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:ls(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:ls(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:ls(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:ls(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."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:ls(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:ls(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:ls(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:ls(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:ls(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:ls(6640,3,"Skip_building_downstream_projects_on_error_in_upstream_project_6640","Skip building downstream projects on error in upstream project."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:ls(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:ls(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:ls(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:ls(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:ls(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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 ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:ls(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:ls(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:ls(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:ls(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:ls(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:ls(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:ls(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:ls(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(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:ls(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:ls(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:ls(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:ls(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:ls(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:ls(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:ls(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:ls(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:ls(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:ls(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:ls(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:ls(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'."),Default_catch_clause_variables_as_unknown_instead_of_any:ls(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:ls(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:ls(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:ls(6806,3,"Check_side_effect_imports_6806","Check side effect imports."),This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2:ls(6807,1,"This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807","This operation can be simplified. This shift is identical to `{0} {1} {2}`."),one_of_Colon:ls(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:ls(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:ls(6902,3,"type_Colon_6902","type:"),default_Colon:ls(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:ls(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:ls(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:ls(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:ls(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:ls(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:ls(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:ls(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:ls(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:ls(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:ls(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:ls(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:ls(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:ls(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:ls(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:ls(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:ls(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:ls(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:ls(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:ls(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:ls(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:ls(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:ls(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:ls(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:ls(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:ls(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:ls(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:ls(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:ls(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."),Variable_0_implicitly_has_an_1_type:ls(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:ls(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:ls(7008,1,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:ls(7009,1,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:ls(7010,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:ls(7011,1,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:ls(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:ls(7013,1,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:ls(7014,1,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:ls(7015,1,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:ls(7016,1,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:ls(7017,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:ls(7018,1,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:ls(7019,1,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:ls(7020,1,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:ls(7022,1,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:ls(7023,1,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:ls(7024,1,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation:ls(7025,1,"Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025","Generator implicitly has yield type '{0}'. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:ls(7026,1,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:ls(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:ls(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:ls(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:ls(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:ls(7031,1,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:ls(7032,1,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:ls(7033,1,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:ls(7034,1,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:ls(7035,1,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:ls(7036,1,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:ls(7037,3,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:ls(7038,3,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:ls(7039,1,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:ls(7040,1,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:ls(7041,1,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:ls(7042,1,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:ls(7043,2,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:ls(7044,2,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:ls(7045,2,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:ls(7046,2,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:ls(7047,2,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:ls(7048,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:ls(7049,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:ls(7050,2,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:ls(7051,1,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:ls(7052,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:ls(7053,1,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:ls(7054,1,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:ls(7055,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:ls(7056,1,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:ls(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:ls(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:ls(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:ls(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:ls(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:ls(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:ls(8001,1,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:ls(8002,1,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:ls(8003,1,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:ls(8004,1,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:ls(8005,1,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:ls(8006,1,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:ls(8008,1,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:ls(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:ls(8010,1,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:ls(8011,1,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:ls(8012,1,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:ls(8013,1,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:ls(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:ls(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:ls(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:ls(8020,1,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:ls(8021,1,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:ls(8022,1,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:ls(8023,1,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:ls(8024,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:ls(8025,1,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:ls(8026,1,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:ls(8027,1,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:ls(8028,1,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:ls(8029,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:ls(8030,1,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:ls(8031,1,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:ls(8032,1,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:ls(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:ls(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:ls(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:ls(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:ls(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:ls(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:ls(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"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:ls(9005,1,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:ls(9006,1,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:ls(9007,1,"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007","Function must have an explicit return type annotation with --isolatedDeclarations."),Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:ls(9008,1,"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008","Method must have an explicit return type annotation with --isolatedDeclarations."),At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations:ls(9009,1,"At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009","At least one accessor must have an explicit type annotation with --isolatedDeclarations."),Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations:ls(9010,1,"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010","Variable must have an explicit type annotation with --isolatedDeclarations."),Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations:ls(9011,1,"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011","Parameter must have an explicit type annotation with --isolatedDeclarations."),Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations:ls(9012,1,"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012","Property must have an explicit type annotation with --isolatedDeclarations."),Expression_type_can_t_be_inferred_with_isolatedDeclarations:ls(9013,1,"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013","Expression type can't be inferred with --isolatedDeclarations."),Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations:ls(9014,1,"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014","Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."),Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations:ls(9015,1,"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015","Objects that contain spread assignments can't be inferred with --isolatedDeclarations."),Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations:ls(9016,1,"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016","Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."),Only_const_arrays_can_be_inferred_with_isolatedDeclarations:ls(9017,1,"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017","Only const arrays can be inferred with --isolatedDeclarations."),Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations:ls(9018,1,"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018","Arrays with spread elements can't inferred with --isolatedDeclarations."),Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations:ls(9019,1,"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019","Binding elements can't be exported directly with --isolatedDeclarations."),Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations:ls(9020,1,"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020","Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."),Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations:ls(9021,1,"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021","Extends clause can't contain an expression with --isolatedDeclarations."),Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations:ls(9022,1,"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022","Inference from class expressions is not supported with --isolatedDeclarations."),Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function:ls(9023,1,"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023","Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."),Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations:ls(9025,1,"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025","Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations."),Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations:ls(9026,1,"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026","Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."),Add_a_type_annotation_to_the_variable_0:ls(9027,1,"Add_a_type_annotation_to_the_variable_0_9027","Add a type annotation to the variable {0}."),Add_a_type_annotation_to_the_parameter_0:ls(9028,1,"Add_a_type_annotation_to_the_parameter_0_9028","Add a type annotation to the parameter {0}."),Add_a_type_annotation_to_the_property_0:ls(9029,1,"Add_a_type_annotation_to_the_property_0_9029","Add a type annotation to the property {0}."),Add_a_return_type_to_the_function_expression:ls(9030,1,"Add_a_return_type_to_the_function_expression_9030","Add a return type to the function expression."),Add_a_return_type_to_the_function_declaration:ls(9031,1,"Add_a_return_type_to_the_function_declaration_9031","Add a return type to the function declaration."),Add_a_return_type_to_the_get_accessor_declaration:ls(9032,1,"Add_a_return_type_to_the_get_accessor_declaration_9032","Add a return type to the get accessor declaration."),Add_a_type_to_parameter_of_the_set_accessor_declaration:ls(9033,1,"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033","Add a type to parameter of the set accessor declaration."),Add_a_return_type_to_the_method:ls(9034,1,"Add_a_return_type_to_the_method_9034","Add a return type to the method"),Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit:ls(9035,1,"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035","Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."),Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it:ls(9036,1,"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036","Move the expression in default export to a variable and add a type annotation to it."),Default_exports_can_t_be_inferred_with_isolatedDeclarations:ls(9037,1,"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037","Default exports can't be inferred with --isolatedDeclarations."),Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations:ls(9038,1,"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038","Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."),Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations:ls(9039,1,"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039","Type containing private name '{0}' can't be used with --isolatedDeclarations."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:ls(17e3,1,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:ls(17001,1,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:ls(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:ls(17004,1,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:ls(17005,1,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:ls(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:ls(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:ls(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:ls(17009,1,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:ls(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:ls(17011,1,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:ls(17012,1,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:ls(17013,1,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:ls(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:ls(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:ls(17016,1,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:ls(17017,1,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:ls(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:ls(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:ls(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Unicode_escape_sequence_cannot_appear_here:ls(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:ls(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:ls(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:ls(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}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:ls(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:ls(80002,2,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:ls(80003,2,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:ls(80004,2,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:ls(80005,2,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:ls(80006,2,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:ls(80007,2,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:ls(80008,2,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),JSDoc_typedef_may_be_converted_to_TypeScript_type:ls(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:ls(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:ls(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:ls(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:ls(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:ls(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:ls(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:ls(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:ls(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:ls(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:ls(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:ls(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:ls(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:ls(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:ls(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:ls(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:ls(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:ls(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:ls(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:ls(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:ls(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:ls(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:ls(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:ls(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:ls(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:ls(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:ls(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:ls(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:ls(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:ls(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:ls(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:ls(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:ls(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:ls(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:ls(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:ls(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:ls(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:ls(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:ls(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:ls(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:ls(90055,3,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:ls(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:ls(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:ls(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:ls(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:ls(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:ls(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:ls(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:ls(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:ls(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:ls(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:ls(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:ls(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:ls(90068,3,"Add_satisfies_and_an_inline_type_assertion_with_0_90068","Add satisfies and an inline type assertion with '{0}'"),Extract_to_variable_and_replace_with_0_as_typeof_0:ls(90069,3,"Extract_to_variable_and_replace_with_0_as_typeof_0_90069","Extract to variable and replace with '{0} as typeof {0}'"),Mark_array_literal_as_const:ls(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:ls(90071,3,"Annotate_types_of_properties_expando_function_in_a_namespace_90071","Annotate types of properties expando function in a namespace"),Convert_function_to_an_ES2015_class:ls(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:ls(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:ls(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:ls(95005,3,"Extract_function_95005","Extract function"),Extract_constant:ls(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:ls(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:ls(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:ls(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:ls(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:ls(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:ls(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:ls(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:ls(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:ls(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:ls(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:ls(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:ls(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:ls(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:ls(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:ls(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:ls(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:ls(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:ls(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:ls(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:ls(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:ls(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:ls(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:ls(95030,3,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:ls(95031,3,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:ls(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:ls(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:ls(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:ls(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:ls(95036,3,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:ls(95037,3,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:ls(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:ls(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:ls(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:ls(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:ls(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:ls(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:ls(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:ls(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:ls(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:ls(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:ls(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:ls(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:ls(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:ls(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:ls(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:ls(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:ls(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:ls(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:ls(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:ls(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:ls(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:ls(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:ls(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:ls(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:ls(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:ls(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:ls(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:ls(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:ls(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:ls(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:ls(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:ls(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:ls(95070,3,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:ls(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:ls(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:ls(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:ls(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:ls(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:ls(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:ls(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:ls(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:ls(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:ls(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:ls(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:ls(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:ls(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:ls(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:ls(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:ls(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:ls(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:ls(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:ls(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:ls(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:ls(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:ls(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:ls(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:ls(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:ls(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:ls(95097,3,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:ls(95098,3,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:ls(95099,3,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:ls(95100,3,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:ls(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:ls(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:ls(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:ls(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:ls(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:ls(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:ls(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:ls(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:ls(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:ls(95112,3,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:ls(95113,3,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:ls(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:ls(95115,3,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:ls(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:ls(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:ls(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:ls(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:ls(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:ls(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:ls(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:ls(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:ls(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:ls(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:ls(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:ls(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:ls(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:ls(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:ls(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:ls(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:ls(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:ls(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:ls(95134,3,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:ls(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:ls(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:ls(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:ls(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:ls(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:ls(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:ls(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:ls(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:ls(95143,3,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:ls(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:ls(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:ls(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:ls(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:ls(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:ls(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:ls(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:ls(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:ls(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:ls(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:ls(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:ls(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:ls(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:ls(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:ls(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:ls(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:ls(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:ls(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:ls(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:ls(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:ls(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:ls(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:ls(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:ls(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:ls(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:ls(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:ls(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:ls(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:ls(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:ls(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:ls(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:ls(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:ls(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:ls(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:ls(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:ls(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:ls(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:ls(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:ls(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:ls(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:ls(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:ls(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:ls(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:ls(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:ls(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:ls(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:ls(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:ls(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:ls(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:ls(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:ls(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:ls(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),Add_resolution_mode_import_attribute:ls(95196,3,"Add_resolution_mode_import_attribute_95196","Add 'resolution-mode' import attribute"),Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it:ls(95197,3,"Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197","Add 'resolution-mode' import attribute to all type-only imports that need it"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:ls(18004,1,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:ls(18006,1,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:ls(18007,1,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:ls(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:ls(18010,1,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:ls(18011,1,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:ls(18012,1,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:ls(18013,1,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:ls(18014,1,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:ls(18015,1,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:ls(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:ls(18017,1,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:ls(18018,1,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:ls(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:ls(18024,1,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:ls(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:ls(18027,1,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:ls(18028,1,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:ls(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:ls(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:ls(18031,1,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:ls(18032,1,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:ls(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:ls(18034,3,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:ls(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:ls(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),await_expression_cannot_be_used_inside_a_class_static_block:ls(18037,1,"await_expression_cannot_be_used_inside_a_class_static_block_18037","'await' expression cannot be used inside a class static block."),for_await_loops_cannot_be_used_inside_a_class_static_block:ls(18038,1,"for_await_loops_cannot_be_used_inside_a_class_static_block_18038","'for await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:ls(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:ls(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:ls(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:ls(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:ls(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:ls(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:ls(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:ls(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:ls(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:ls(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:ls(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:ls(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Its_type_0_is_not_a_valid_JSX_element_type:ls(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:ls(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block."),_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled:ls(18055,1,"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055","'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."),Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled:ls(18056,1,"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056","Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled."),String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020:ls(18057,1,"String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057","String literal import and export names are not supported when the '--module' flag is set to 'es2015' or 'es2020'.")};function ds(e){return e>=80}function ps(e){return 32===e||ds(e)}var fs={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,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},_s=new Map(Object.entries(fs)),ms=new Map(Object.entries({...fs,"{":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,">":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})),hs=new Map([[100,1],[103,2],[105,4],[109,8],[115,16],[117,32],[118,64],[121,128]]),gs=new Map([[1,Di.RegularExpressionFlagsHasIndices],[16,Di.RegularExpressionFlagsDotAll],[32,Di.RegularExpressionFlagsUnicode],[64,Di.RegularExpressionFlagsUnicodeSets],[128,Di.RegularExpressionFlagsSticky]]),As=[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],ys=[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],vs=[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],bs=[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],Cs=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Es=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,xs=/@(?:see|link)/i;function Ss(e,t){if(e=2?vs:As)}function Ds(e){const t=[];return e.forEach(((e,n)=>{t[e]=n})),t}var ws=Ds(ms);function Is(e){return ws[e]}function Ts(e){return ms.get(e)}var Fs=Ds(hs);function Rs(e){return Fs[e]}function Ps(e){return hs.get(e)}function Ns(e){const t=[];let n=0,r=0;for(;n127&&Js(i)&&(t.push(r),r=n)}}return t.push(r),t}function Bs(e,t,n,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,r):Os(qs(e),t,n,e.text,r)}function Os(e,t,n,r,i){(t<0||t>=e.length)&&(i?t=t<0?0:t>=e.length?e.length-1:t:un.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${void 0!==r?ee(e,Ns(r)):"unknown"}`));const o=e[t]+n;return i?o>e[t+1]?e[t+1]:"string"==typeof r&&o>r.length?r.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function Js(e){return 10===e||13===e||8232===e||8233===e}function Vs(e){return e>=48&&e<=57}function Hs(e){return Vs(e)||e>=65&&e<=70||e>=97&&e<=102}function Gs(e){return e>=65&&e<=90||e>=97&&e<=122}function Ws(e){return Gs(e)||Vs(e)||95===e}function zs(e){return e>=48&&e<=55}function Ys(e,t){const n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function Ks(e,t,n,r,i){if(YE(t))return t;let o=!1;for(;;){const s=e.charCodeAt(t);switch(s){case 13:10===e.charCodeAt(t+1)&&t++;case 10:if(t++,n)return t;o=!!i;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(r)break;if(47===e.charCodeAt(t+1)){for(t+=2;t127&&js(s)){t++;continue}}return t}}var Xs=7;function Zs(e,t){if(un.assert(t>=0),0===t||Js(e.charCodeAt(t-1))){const n=e.charCodeAt(t);if(t+Xs=0&&n127&&js(s)){d&&Js(s)&&(u=!0),n++;continue}break e}}return d&&(f=i(a,c,l,u,o,f)),f}function oa(e,t,n,r){return ia(!1,e,t,!1,n,r)}function sa(e,t,n,r){return ia(!1,e,t,!0,n,r)}function aa(e,t,n,r,i){return ia(!0,e,t,!1,n,r,i)}function ca(e,t,n,r,i){return ia(!0,e,t,!0,n,r,i)}function la(e,t,n,r,i,o=[]){return o.push({kind:n,pos:e,end:t,hasTrailingNewLine:r}),o}function ua(e,t){return aa(e,t,la,void 0,void 0)}function da(e,t){return ca(e,t,la,void 0,void 0)}function pa(e){const t=ta.exec(e);if(t)return t[0]}function fa(e,t){return Gs(e)||36===e||95===e||e>127&&ks(e,t)}function _a(e,t,n){return Ws(e)||36===e||1===n&&(45===e||58===e)||e>127&&function(e,t){return Ss(e,t>=2?bs:ys)}(e,t)}function ma(e,t,n){let r=ga(e,0);if(!fa(r,t))return!1;for(let i=Aa(r);il,getStartPos:()=>l,getTokenEnd:()=>a,getTextPos:()=>a,getToken:()=>p,getTokenStart:()=>d,getTokenPos:()=>d,getTokenText:()=>h.substring(d,a),getTokenValue:()=>f,hasUnicodeEscape:()=>!!(1024&_),hasExtendedUnicodeEscape:()=>!!(8&_),hasPrecedingLineBreak:()=>!!(1&_),hasPrecedingJSDocComment:()=>!!(2&_),hasPrecedingJSDocLeadingAsterisks:()=>!!(32768&_),isIdentifier:()=>80===p||p>118,isReservedWord:()=>p>=83&&p<=118,isUnterminated:()=>!!(4&_),getCommentDirectives:()=>m,getNumericLiteralFlags:()=>25584&_,getTokenFlags:()=>_,reScanGreaterToken:function(){if(32===p){if(62===E(a))return 62===E(a+1)?61===E(a+2)?(a+=3,p=73):(a+=2,p=50):61===E(a+1)?(a+=2,p=72):(a++,p=49);if(61===E(a))return a++,p=34}return p},reScanAsteriskEqualsToken:function(){return un.assert(67===p,"'reScanAsteriskEqualsToken' should only be called on a '*='"),a=d+1,p=64},reScanSlashToken:function(t){if(44===p||69===p){const n=d+1;a=n;let r=!1,i=!1,s=!1;for(;;){const e=x(a);if(-1===e||Js(e)){_|=4;break}if(r)r=!1;else{if(47===e&&!s)break;91===e?s=!0:92===e?r=!0:93===e?s=!1:s||40!==e||63!==x(a+1)||60!==x(a+2)||61===x(a+3)||33===x(a+3)||(i=!0)}a++}const l=a;if(4&_){a=n,r=!1;let e=0,t=!1,i=0;for(;a{!function(t,n,r){var i,s,l,p,_=!!(64&t),m=!!(96&t),g=m||!n,A=!1,y=0,v=[];function b(e){for(;;){if(v.push(p),p=void 0,k(e),p=v.pop(),124!==x(a))return;a++}}function k(t){let n=!1;for(;;){const r=a,i=x(a);switch(i){case-1:return;case 94:case 36:a++,n=!1;break;case 92:switch(x(++a)){case 98:case 66:a++,n=!1;break;default:w(),n=!0}break;case 40:if(63===x(++a))switch(x(++a)){case 61:case 33:a++,n=!g;break;case 60:const t=a;switch(x(++a)){case 61:case 33:a++,n=!1;break;default:R(!1),G(62),e<5&&S(us.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later,t,a-t),y++,n=!0}break;default:const r=a,i=D(0);45===x(a)&&(a++,D(i),a===r+1&&S(us.Subpattern_flags_must_be_present_when_there_is_a_minus_sign,r,a-r)),G(58),n=!0}else y++,n=!0;b(!0),G(41);break;case 123:const o=++a;I();const s=f;if(!g&&!s){n=!0;break}if(44===x(a)){a++,I();const e=f;if(s)e&&Number.parseInt(s)>Number.parseInt(e)&&(g||125===x(a))&&S(us.Numbers_out_of_order_in_quantifier,o,a-o);else{if(!e&&125!==x(a)){S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,r,1,String.fromCharCode(i)),n=!0;break}S(us.Incomplete_quantifier_Digit_expected,o,0)}}else if(!s){g&&S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,r,1,String.fromCharCode(i)),n=!0;break}if(125!==x(a)){if(!g){n=!0;break}S(us._0_expected,a,0,String.fromCharCode(125)),a--}case 42:case 43:case 63:63===x(++a)&&a++,n||S(us.There_is_nothing_available_for_repetition,r,a-r),n=!1;break;case 46:a++,n=!0;break;case 91:a++,_?O():B(),G(93),n=!0;break;case 41:if(t)return;case 93:case 125:(g||41===i)&&S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(i)),a++,n=!0;break;case 47:case 124:return;default:H(),n=!0}}}function D(t){for(;;){const n=C(a);if(-1===n||!_a(n,e))break;const r=Aa(n),i=Ps(n);void 0===i?S(us.Unknown_regular_expression_flag,a,r):t&i?S(us.Duplicate_regular_expression_flag,a,r):28&i?(t|=i,V(i,r)):S(us.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern,a,r),a+=r}return t}function w(){switch(un.assertEqual(E(a-1),92),x(a)){case 107:60===x(++a)?(a++,R(!0),G(62)):(g||r)&&S(us.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets,a-2,2);break;case 113:if(_){a++,S(us.q_is_only_available_inside_character_class,a-2,2);break}default:un.assert(j()||T()||F(!0))}}function T(){un.assertEqual(E(a-1),92);const e=x(a);if(e>=49&&e<=57){const e=a;return I(),l=re(l,{pos:e,end:a,value:+f}),!0}return!1}function F(e){un.assertEqual(E(a-1),92);let t=x(a);switch(t){case-1:return S(us.Undetermined_character_escape,a-1,1),"\\";case 99:if(t=x(++a),Gs(t))return a++,String.fromCharCode(31&t);if(g)S(us.c_must_be_followed_by_an_ASCII_letter,a-2,2);else if(e)return a--,"\\";return String.fromCharCode(t);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(t);default:return a--,N(12|(m?16:0)|(e?32:0))}}function R(t){un.assertEqual(E(a-1),60),d=a,J(C(a),e),a===d?S(us.Expected_a_capturing_group_name):t?s=re(s,{pos:d,end:a,name:f}):(null==p?void 0:p.has(f))||v.some((e=>null==e?void 0:e.has(f)))?S(us.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other,d,a-d):(p??(p=new Set),p.add(f),i??(i=new Set),i.add(f))}function P(e){return 93===e||-1===e||a>=c}function B(){for(un.assertEqual(E(a-1),91),94===x(a)&&a++;;){if(P(x(a)))return;const e=a,t=M();if(45===x(a)){if(P(x(++a)))return;!t&&g&&S(us.A_character_class_range_must_not_be_bounded_by_another_character_class,e,a-1-e);const n=a,r=M();if(!r&&g){S(us.A_character_class_range_must_not_be_bounded_by_another_character_class,n,a-n);continue}if(!t)continue;const i=ga(t,0),o=ga(r,0);t.length===Aa(i)&&r.length===Aa(o)&&i>o&&S(us.Range_out_of_order_in_character_class,e,a-e)}}}function O(){un.assertEqual(E(a-1),91);let e=!1;94===x(a)&&(a++,e=!0);let t=!1,n=x(a);if(P(n))return;let r,i=a;switch(h.slice(a,a+2)){case"--":case"&&":S(us.Expected_a_class_set_operand),A=!1;break;default:r=$()}switch(x(a)){case 45:if(45===x(a+1))return e&&A&&S(us.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,i,a-i),t=A,q(3),void(A=!e&&t);break;case 38:if(38===x(a+1))return q(2),e&&A&&S(us.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,i,a-i),t=A,void(A=!e&&t);S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(n));break;default:e&&A&&S(us.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,i,a-i),t=A}for(;n=x(a),-1!==n;){switch(n){case 45:if(n=x(++a),P(n))return void(A=!e&&t);if(45===n){a++,S(us.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),i=a-2,r=h.slice(i,a);continue}{r||S(us.A_character_class_range_must_not_be_bounded_by_another_character_class,i,a-1-i);const n=a,o=$();if(e&&A&&S(us.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,n,a-n),t||(t=A),!o){S(us.A_character_class_range_must_not_be_bounded_by_another_character_class,n,a-n);break}if(!r)break;const s=ga(r,0),c=ga(o,0);r.length===Aa(s)&&o.length===Aa(c)&&s>c&&S(us.Range_out_of_order_in_character_class,i,a-i)}break;case 38:i=a,38===x(++a)?(a++,S(us.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),38===x(a)&&(S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(n)),a++)):S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a-1,1,String.fromCharCode(n)),r=h.slice(i,a);continue}if(P(x(a)))break;switch(i=a,h.slice(a,a+2)){case"--":case"&&":S(us.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a,2),a+=2,r=h.slice(i,a);break;default:r=$()}}A=!e&&t}function q(e){let t=A;for(;;){let n=x(a);if(P(n))break;switch(n){case 45:45===x(++a)?(a++,3!==e&&S(us.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2)):S(us.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-1,1);break;case 38:38===x(++a)?(a++,2!==e&&S(us.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),38===x(a)&&(S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(n)),a++)):S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a-1,1,String.fromCharCode(n));break;default:switch(e){case 3:S(us._0_expected,a,0,"--");break;case 2:S(us._0_expected,a,0,"&&")}}if(n=x(a),P(n)){S(us.Expected_a_class_set_operand);break}$(),t&&(t=A)}A=t}function $(){switch(A=!1,x(a)){case-1:return"";case 91:return a++,O(),G(93),"";case 92:if(a++,j())return"";if(113===x(a))return 123===x(++a)?(a++,Q(),G(125),""):(S(us.q_must_be_followed_by_string_alternatives_enclosed_in_braces,a-2,2),"q");a--;default:return L()}}function Q(){un.assertEqual(E(a-1),123);let e=0;for(;;){switch(x(a)){case-1:return;case 125:return void(1!==e&&(A=!0));case 124:1!==e&&(A=!0),a++,o=a,e=0;break;default:L(),e++}}}function L(){const e=x(a);if(-1===e)return"";if(92===e){const e=x(++a);switch(e){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(e);default:return F(!1)}}else if(e===x(a+1))switch(e){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 S(us.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash,a,2),a+=2,h.substring(a-2,a)}switch(e){case 47:case 40:case 41:case 91:case 93:case 123:case 125:case 45:case 124:return S(us.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(e)),a++,String.fromCharCode(e)}return H()}function M(){if(92!==x(a))return H();{const e=x(++a);switch(e){case 98:return a++,"\b";case 45:return a++,String.fromCharCode(e);default:return j()?"":F(!1)}}}function j(){un.assertEqual(E(a-1),92);let e=!1;const t=a-1,n=x(a);switch(n){case 100:case 68:case 115:case 83:case 119:case 87:return a++,!0;case 80:e=!0;case 112:if(123===x(++a)){const n=++a,r=U();if(61===x(a)){const e=ba.get(r);if(a===n)S(us.Expected_a_Unicode_property_name);else if(void 0===e){S(us.Unknown_Unicode_property_name,n,a-n);const e=Nt(r,ba.keys(),st);e&&S(us.Did_you_mean_0,n,a-n,e)}const t=++a,i=U();if(a===t)S(us.Expected_a_Unicode_property_value);else if(void 0!==e&&!xa[e].has(i)){S(us.Unknown_Unicode_property_value,t,a-t);const n=Nt(i,xa[e],st);n&&S(us.Did_you_mean_0,t,a-t,n)}}else if(a===n)S(us.Expected_a_Unicode_property_name_or_value);else if(Ea.has(r))_?e?S(us.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,n,a-n):A=!0:S(us.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set,n,a-n);else if(!xa.General_Category.has(r)&&!Ca.has(r)){S(us.Unknown_Unicode_property_name_or_value,n,a-n);const e=Nt(r,[...xa.General_Category,...Ca,...Ea],st);e&&S(us.Did_you_mean_0,n,a-n,e)}G(125),m||S(us.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set,t,a-t)}else{if(!g)return a--,!1;S(us._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces,a-2,2,String.fromCharCode(n))}return!0}return!1}function U(){let e="";for(;;){const t=x(a);if(-1===t||!Ws(t))break;e+=String.fromCharCode(t),a++}return e}function H(){const e=m?Aa(C(a)):1;return a+=e,e>0?h.substring(a-e,a):""}function G(e){x(a)===e?a++:S(us._0_expected,a,0,String.fromCharCode(e))}b(!1),u(s,(e=>{if(!(null==i?void 0:i.has(e.name))&&(S(us.There_is_no_capturing_group_named_0_in_this_regular_expression,e.pos,e.end-e.pos,e.name),i)){const t=Nt(e.name,i,st);t&&S(us.Did_you_mean_0,e.pos,e.end-e.pos,t)}})),u(l,(e=>{e.value>y&&(y?S(us.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression,e.pos,e.end-e.pos,y):S(us.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression,e.pos,e.end-e.pos))}))}(r,!0,i)}))}f=h.substring(d,a),p=14}return p},reScanTemplateToken:function(e){return a=d,p=P(!e)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return a=d,p=P(!0)},scanJsxIdentifier:function(){if(ds(p)){for(;a=c)return p=1;for(let t=E(a);a=0&&Us(E(a-1))&&!(a+1{const e=v.getText();return e.slice(0,v.getTokenFullStart())+"║"+e.slice(v.getTokenFullStart())}}),v;function b(e){return ga(h,e)}function C(e){return e>=0&&e=0&&e=65&&e<=70)e+=32;else if(!(e>=48&&e<=57||e>=97&&e<=102))break;r.push(e),a++,o=!1}}return r.length=c){n+=h.substring(r,a),_|=4,S(us.Unterminated_string_literal);break}const i=E(a);if(i===t){n+=h.substring(r,a),a++;break}if(92!==i||e){if((10===i||13===i)&&!e){n+=h.substring(r,a),_|=4,S(us.Unterminated_string_literal);break}a++}else n+=h.substring(r,a),n+=N(3),r=a}return n}function P(e){const t=96===E(a);let n,r=++a,i="";for(;;){if(a>=c){i+=h.substring(r,a),_|=4,S(us.Unterminated_template_literal),n=t?15:18;break}const o=E(a);if(96===o){i+=h.substring(r,a),a++,n=t?15:18;break}if(36===o&&a+1=c)return S(us.Unexpected_end_of_text),"";const r=E(a);switch(a++,r){case 48:if(a>=c||!Vs(E(a)))return"\0";case 49:case 50:case 51:a=55296&&i<=56319&&a+6=56320&&n<=57343)return a=t,o+String.fromCharCode(n)}return o;case 120:for(;a1114111&&(e&&S(us.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,n,a-n),o=!0),a>=c?(e&&S(us.Unexpected_end_of_text),o=!0):125===E(a)?a++:(e&&S(us.Unterminated_Unicode_escape_sequence),o=!0),o?(_|=2048,h.substring(t,a)):(_|=8,va(i))}function O(){if(a+5=0&&_a(r,e)){t+=B(!0),n=a;continue}if(r=O(),!(r>=0&&_a(r,e)))break;_|=1024,t+=h.substring(n,a),t+=va(r),n=a+=6}}return t+=h.substring(n,a),t}function Q(){const e=f.length;if(e>=2&&e<=12){const e=f.charCodeAt(0);if(e>=97&&e<=122){const e=_s.get(f);if(void 0!==e)return p=e}}return p=80}function L(e){let t="",n=!1,r=!1;for(;;){const i=E(a);if(95!==i){if(n=!0,!Vs(i)||i-48>=e)break;t+=h[a],a++,r=!1}else _|=512,n?(n=!1,r=!0):S(r?us.Multiple_consecutive_numeric_separators_are_not_permitted:us.Numeric_separators_are_not_allowed_here,a,1),a++}return 95===E(a-1)&&S(us.Numeric_separators_are_not_allowed_here,a-1,1),t}function M(){if(110===E(a))return f+="n",384&_&&(f=mx(f)+"n"),a++,10;{const e=128&_?parseInt(f.slice(2),2):256&_?parseInt(f.slice(2),8):+f;return f=""+e,9}}function j(){for(l=a,_=0;;){if(d=a,a>=c)return p=1;const r=b(a);if(0===a&&35===r&&na(h,a)){if(a=ra(h,a),t)continue;return p=6}switch(r){case 10:case 13:if(_|=1,t){a++;continue}return 13===r&&a+1=0&&fa(i,e))return f=B(!0)+$(),p=Q();const o=O();return o>=0&&fa(o,e)?(a+=6,_|=1024,f=String.fromCharCode(o)+$(),p=Q()):(S(us.Invalid_character),a++,p=0);case 35:if(0!==a&&"!"===h[a+1])return S(us.can_only_be_used_at_the_start_of_a_file,a,2),a++,p=0;const s=b(a+1);if(92===s){a++;const t=q();if(t>=0&&fa(t,e))return f="#"+B(!0)+$(),p=81;const n=O();if(n>=0&&fa(n,e))return a+=6,_|=1024,f="#"+String.fromCharCode(n)+$(),p=81;a--}return fa(s,e)?(a++,J(s,e)):(f="#",S(us.Invalid_character,a++,Aa(r))),p=81;case 65533:return S(us.File_appears_to_be_binary,0,0),a=c,p=8;default:const l=J(r,e);if(l)return p=l;if(Us(r)){a+=Aa(r);continue}if(Js(r)){_|=1,a+=Aa(r);continue}const u=Aa(r);return S(us.Invalid_character,a,u),a+=u,p=0}}}function U(){switch(y){case 0:return!0;case 1:return!1}return 3!==A&&4!==A||3!==y&&xs.test(h.slice(l,a))}function J(e,t){let n=e;if(fa(n,t)){for(a+=Aa(n);a=c)return p=1;let t=E(a);if(60===t)return 47===E(a+1)?(a+=2,p=31):(a++,p=30);if(123===t)return a++,p=19;let n=0;for(;a0)break;js(t)||(n=a)}a++}return f=h.substring(l,a),-1===n?13:12}function W(){switch(l=a,E(a)){case 34:case 39:return f=R(!0),p=11;default:return j()}}function z(){if(l=d=a,_=0,a>=c)return p=1;const t=b(a);switch(a+=Aa(t),t){case 9:case 11:case 12:case 32:for(;a=0&&fa(t,e))return f=B(!0)+$(),p=Q();const n=O();return n>=0&&fa(n,e)?(a+=6,_|=1024,f=String.fromCharCode(n)+$(),p=Q()):(a++,p=0)}if(fa(t,e)){let n=t;for(;a=0),a=e,l=e,d=e,p=0,f=void 0,_=0}}function ga(e,t){return e.codePointAt(t)}function Aa(e){return e>=65536?2:-1===e?0:1}var ya=String.fromCodePoint?e=>String.fromCodePoint(e):function(e){if(un.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);const t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)};function va(e){return ya(e)}var ba=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),Ca=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"]),Ea=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"]),xa={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};function Sa(e){return vo(e)||go(e)}function ka(e){return Z(e,rC,aC)}xa.Script_Extensions=xa.Script;var Da=new Map([[99,"lib.esnext.full.d.ts"],[10,"lib.es2023.full.d.ts"],[9,"lib.es2022.full.d.ts"],[8,"lib.es2021.full.d.ts"],[7,"lib.es2020.full.d.ts"],[6,"lib.es2019.full.d.ts"],[5,"lib.es2018.full.d.ts"],[4,"lib.es2017.full.d.ts"],[3,"lib.es2016.full.d.ts"],[2,"lib.es6.d.ts"]]);function wa(e){const t=yC(e);switch(t){case 99:case 10:case 9:case 8:case 7:case 6:case 5:case 4:case 3:case 2:return Da.get(t);default:return"lib.d.ts"}}function Ia(e){return e.start+e.length}function Ta(e){return 0===e.length}function Fa(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function Pa(e,t){return t.start>=e.start&&Ia(t)<=Ia(e)}function Na(e,t){return t.pos>=e.start&&t.end<=Ia(e)}function Ba(e,t){return t.start>=e.pos&&Ia(t)<=e.end}function Oa(e,t){return void 0!==qa(e,t)}function qa(e,t){const n=Ua(e,t);return n&&0===n.length?void 0:n}function $a(e,t){return La(e.start,e.length,t.start,t.length)}function Qa(e,t,n){return La(e.start,e.length,t,n)}function La(e,t,n,r){return n<=e+t&&n+r>=e}function Ma(e,t){return t<=Ia(e)&&t>=e.start}function ja(e,t){return Qa(t,e.pos,e.end-e.pos)}function Ua(e,t){const n=Math.max(e.start,t.start),r=Math.min(Ia(e),Ia(t));return n<=r?Ha(n,r):void 0}function Ja(e){e=e.filter((e=>e.length>0)).sort(((e,t)=>e.start!==t.start?e.start-t.start:e.length-t.length));const t=[];let n=0;for(;n=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function mc(e){const t=e;return t.length>=3&&95===t.charCodeAt(0)&&95===t.charCodeAt(1)&&95===t.charCodeAt(2)?t.substr(1):t}function hc(e){return mc(e.escapedText)}function gc(e){const t=Ts(e.escapedText);return t?et(t,Sg):void 0}function Ac(e){return e.valueDeclaration&&Wl(e.valueDeclaration)?hc(e.valueDeclaration.name):mc(e.escapedName)}function yc(e){const t=e.parent.parent;if(t){if(ud(t))return vc(t);switch(t.kind){case 243:if(t.declarationList&&t.declarationList.declarations[0])return vc(t.declarationList.declarations[0]);break;case 244:let e=t.expression;switch(226===e.kind&&64===e.operatorToken.kind&&(e=e.left),e.kind){case 211:return e.name;case 212:const t=e.argumentExpression;if(UD(t))return t}break;case 217:return vc(t.expression);case 256:if(ud(t.statement)||Ju(t.statement))return vc(t.statement)}}}function vc(e){const t=Sc(e);return t&&UD(t)?t:void 0}function bc(e,t){return!(!Ec(e)||!UD(e.name)||hc(e.name)!==hc(t))||!(!wI(e)||!J(e.declarationList.declarations,(e=>bc(e,t))))}function Cc(e){return e.name||yc(e)}function Ec(e){return!!e.name}function xc(e){switch(e.kind){case 80:return e;case 348:case 341:{const{name:t}=e;if(166===t.kind)return t.right;break}case 213:case 226:{const t=e;switch(th(t)){case 1:case 4:case 5:case 3:return lh(t.left);case 7:case 8:case 9:return t.arguments[1];default:return}}case 346:return Cc(e);case 340:return yc(e);case 277:{const{expression:t}=e;return UD(t)?t:void 0}case 212:const t=e;if(sh(t))return t.argumentExpression}return e.name}function Sc(e){if(void 0!==e)return xc(e)||(nI(e)||rI(e)||mI(e)?kc(e):void 0)}function kc(e){if(e.parent){if(LT(e.parent)||Hw(e.parent))return e.parent.name;if(uI(e.parent)&&e===e.parent.right){if(UD(e.parent.left))return e.parent.left;if(xb(e.parent.left))return lh(e.parent.left)}else if(HI(e.parent)&&UD(e.parent.name))return e.parent.name}}function Dc(e){if(Oy(e))return S(e.modifiers,cw)}function wc(e){if(wy(e,98303))return S(e.modifiers,Zl)}function Ic(e,t){if(e.name){if(UD(e.name)){const n=e.name.escapedText;return il(e.parent,t).filter((e=>CF(e)&&UD(e.name)&&e.name.escapedText===n))}{const n=e.parent.parameters.indexOf(e);un.assert(n>-1,"Parameters should always be in their parents' parameter list");const r=il(e.parent,t).filter(CF);if(nkF(e)&&e.typeParameters.some((e=>e.name.escapedText===n))))}function Pc(e){return Rc(e,!1)}function Nc(e){return Rc(e,!0)}function Bc(e){return!!sl(e,CF)}function Oc(e){return sl(e,lF)}function qc(e){return al(e,TF)}function $c(e){return sl(e,dF)}function Qc(e){return sl(e,fF)}function Lc(e){return sl(e,fF,!0)}function Mc(e){return sl(e,_F)}function jc(e){return sl(e,_F,!0)}function Uc(e){return sl(e,mF)}function Jc(e){return sl(e,mF,!0)}function Vc(e){return sl(e,hF)}function Hc(e){return sl(e,hF,!0)}function Gc(e){return sl(e,gF,!0)}function Wc(e){return sl(e,yF)}function zc(e){return sl(e,yF,!0)}function Yc(e){return sl(e,bF)}function Kc(e){return sl(e,xF)}function Xc(e){return sl(e,EF)}function Zc(e){return sl(e,kF)}function el(e){return sl(e,FF)}function tl(e){const t=sl(e,SF);if(t&&t.typeExpression&&t.typeExpression.type)return t}function nl(e){let t=sl(e,SF);return!t&&aw(e)&&(t=A(Tc(e),(e=>!!e.typeExpression))),t&&t.typeExpression&&t.typeExpression.type}function rl(e){const t=Xc(e);if(t&&t.typeExpression)return t.typeExpression.type;const n=tl(e);if(n&&n.typeExpression){const e=n.typeExpression.type;if(Sw(e)){const t=A(e.members,gw);return t&&t.type}if(Cw(e)||rF(e))return e.type}}function il(e,t){var n;if(!Bh(e))return a;let r=null==(n=e.jsDoc)?void 0:n.jsDocCache;if(void 0===r||t){const n=Oh(e,t);un.assert(n.length<2||n[0]!==n[1]),r=R(n,(e=>sF(e)?e.tags:e)),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=r)}return r}function ol(e){return il(e,!1)}function sl(e,t,n){return A(il(e,n),t)}function al(e,t){return ol(e).filter(t)}function cl(e,t){return ol(e).filter((e=>e.kind===t))}function ll(e){return"string"==typeof e?e:null==e?void 0:e.map((e=>321===e.kind?e.text:function(e){const t=324===e.kind?"link":325===e.kind?"linkcode":"linkplain",n=e.name?qf(e.name):"",r=e.name&&(""===e.text||e.text.startsWith("://"))?"":" ";return`{@${t} ${n}${r}${e.text}}`}(e))).join("")}function ul(e){if(cF(e)){if(AF(e.parent)){const t=Vh(e.parent);if(t&&l(t.tags))return R(t.tags,(e=>kF(e)?e.typeParameters:void 0))}return a}if(wh(e))return un.assert(320===e.parent.kind),R(e.parent.tags,(e=>kF(e)?e.typeParameters:void 0));if(e.typeParameters)return e.typeParameters;if(wR(e)&&e.typeParameters)return e.typeParameters;if(Tm(e)){const t=gy(e);if(t.length)return t;const n=nl(e);if(n&&Cw(n)&&n.typeParameters)return n.typeParameters}return a}function dl(e){return e.constraint?e.constraint:kF(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function pl(e){return 80===e.kind||81===e.kind}function fl(e){return 178===e.kind||177===e.kind}function _l(e){return zw(e)&&!!(64&e.flags)}function ml(e){return Yw(e)&&!!(64&e.flags)}function hl(e){return Kw(e)&&!!(64&e.flags)}function gl(e){const t=e.kind;return!!(64&e.flags)&&(211===t||212===t||213===t||235===t)}function Al(e){return gl(e)&&!vI(e)&&!!e.questionDotToken}function yl(e){return Al(e.parent)&&e.parent.expression===e}function vl(e){return!gl(e.parent)||Al(e.parent)||e!==e.parent.expression}function bl(e){return 226===e.kind&&61===e.operatorToken.kind}function Cl(e){return bw(e)&&UD(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments}function El(e){return uR(e,8)}function xl(e){return vI(e)&&!!(64&e.flags)}function Sl(e){return 252===e.kind||251===e.kind}function kl(e){return 280===e.kind||279===e.kind}function Dl(e){return 348===e.kind||341===e.kind}function wl(e){return e>=166}function Il(e){return e>=0&&e<=165}function Tl(e){return Il(e.kind)}function Fl(e){return De(e,"pos")&&De(e,"end")}function Rl(e){return 9<=e&&e<=15}function Pl(e){return Rl(e.kind)}function Nl(e){switch(e.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function Bl(e){return 15<=e&&e<=18}function Ol(e){return Bl(e.kind)}function ql(e){const t=e.kind;return 17===t||18===t}function $l(e){return _T(e)||AT(e)}function Ql(e){switch(e.kind){case 276:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 274:return e.parent.isTypeOnly;case 273:case 271:return e.isTypeOnly}return!1}function Ll(e){switch(e.kind){case 281:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 278:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 280:return e.parent.isTypeOnly}return!1}function Ml(e){return Ql(e)||Ll(e)}function jl(e){return void 0!==dc(e,Ml)}function Ul(e){return 11===e.kind||Bl(e.kind)}function Jl(e){return kD(e)||UD(e)}function Vl(e){var t;return UD(e)&&void 0!==(null==(t=e.emitNode)?void 0:t.autoGenerate)}function Hl(e){var t;return JD(e)&&void 0!==(null==(t=e.emitNode)?void 0:t.autoGenerate)}function Gl(e){const t=e.emitNode.autoGenerate.flags;return!!(32&t)&&!!(16&t)&&!!(8&t)}function Wl(e){return(uw(e)||mu(e))&&JD(e.name)}function zl(e){return zw(e)&&JD(e.name)}function Yl(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 Kl(e){return!!(31&Wy(e))}function Xl(e){return Kl(e)||126===e||164===e||129===e}function Zl(e){return Yl(e.kind)}function eu(e){const t=e.kind;return 166===t||80===t}function tu(e){const t=e.kind;return 80===t||81===t||11===t||9===t||167===t}function nu(e){const t=e.kind;return 80===t||206===t||207===t}function ru(e){return!!e&&cu(e.kind)}function iu(e){return!!e&&(cu(e.kind)||fw(e))}function ou(e){return e&&au(e.kind)}function su(e){return 112===e.kind||97===e.kind}function au(e){switch(e){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function cu(e){switch(e){case 173:case 179:case 323:case 180:case 181:case 184:case 317:case 185:return!0;default:return au(e)}}function lu(e){return JT(e)||eT(e)||DI(e)&&ru(e.parent)}function uu(e){const t=e.kind;return 176===t||172===t||174===t||177===t||178===t||181===t||175===t||240===t}function du(e){return e&&(263===e.kind||231===e.kind)}function pu(e){return e&&(177===e.kind||178===e.kind)}function fu(e){return uw(e)&&Ny(e)}function _u(e){return Tm(e)&&lS(e)?!(oh(e)&&pv(e.expression)||ah(e,!0)):e.parent&&du(e.parent)&&uw(e)&&!Ny(e)}function mu(e){switch(e.kind){case 174:case 177:case 178:return!0;default:return!1}}function hu(e){return Zl(e)||cw(e)}function gu(e){const t=e.kind;return 180===t||179===t||171===t||173===t||181===t||177===t||178===t||354===t}function Au(e){return gu(e)||uu(e)}function yu(e){const t=e.kind;return 303===t||304===t||305===t||174===t||177===t||178===t}function vu(e){return Eb(e.kind)}function bu(e){switch(e.kind){case 184:case 185:return!0}return!1}function Cu(e){if(e){const t=e.kind;return 207===t||206===t}return!1}function Eu(e){const t=e.kind;return 209===t||210===t}function xu(e){const t=e.kind;return 208===t||232===t}function Su(e){switch(e.kind){case 260:case 169:case 208:return!0}return!1}function ku(e){return HI(e)||aw(e)||Iu(e)||Fu(e)}function Du(e){return wu(e)||Tu(e)}function wu(e){switch(e.kind){case 206:case 210:return!0}return!1}function Iu(e){switch(e.kind){case 208:case 303:case 304:case 305:return!0}return!1}function Tu(e){switch(e.kind){case 207:case 209:return!0}return!1}function Fu(e){switch(e.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return iv(e,!0)}function Ru(e){const t=e.kind;return 211===t||166===t||205===t}function Pu(e){const t=e.kind;return 211===t||166===t}function Nu(e){return Bu(e)||$x(e)}function Bu(e){switch(e.kind){case 213:case 214:case 215:case 170:case 286:case 285:case 289:return!0;case 226:return 104===e.operatorToken.kind;default:return!1}}function Ou(e){return 213===e.kind||214===e.kind}function qu(e){const t=e.kind;return 228===t||15===t}function $u(e){return Qu(El(e).kind)}function Qu(e){switch(e){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function Lu(e){return Mu(El(e).kind)}function Mu(e){switch(e){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return Qu(e)}}function ju(e){switch(e.kind){case 225:return!0;case 224:return 46===e.operator||47===e.operator;default:return!1}}function Uu(e){switch(e.kind){case 106:case 112:case 97:case 224:return!0;default:return Pl(e)}}function Ju(e){return function(e){switch(e){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 356:case 355:case 238:return!0;default:return Mu(e)}}(El(e).kind)}function Vu(e){const t=e.kind;return 216===t||234===t}function Hu(e,t){switch(e.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return t&&Hu(e.statement,t)}return!1}function Gu(e){return mT(e)||hT(e)}function Wu(e){return J(e,Gu)}function zu(e){return!(wf(e)||mT(e)||wy(e,32)||cf(e))}function Yu(e){return wf(e)||mT(e)||wy(e,32)}function Ku(e){return 249===e.kind||250===e.kind}function Xu(e){return DI(e)||Ju(e)}function Zu(e){return DI(e)}function ed(e){return GI(e)||Ju(e)}function td(e){const t=e.kind;return 268===t||267===t||80===t}function nd(e){const t=e.kind;return 268===t||267===t}function rd(e){const t=e.kind;return 80===t||267===t}function id(e){const t=e.kind;return 275===t||274===t}function od(e){return 267===e.kind||266===e.kind}function sd(e){switch(e.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 338:case 340:case 317:case 341:case 348:case 323:case 346:case 322:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 307:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function ad(e){switch(e.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 338:case 340:case 317:case 323:case 346:case 200:case 174:case 173:case 267:case 178:case 307:case 265:return!0;default:return!1}}function cd(e){return 262===e||282===e||263===e||264===e||265===e||266===e||267===e||272===e||271===e||278===e||277===e||270===e}function ld(e){return 252===e||251===e||259===e||246===e||244===e||242===e||249===e||250===e||248===e||245===e||256===e||253===e||255===e||257===e||258===e||243===e||247===e||254===e||353===e}function ud(e){return 168===e.kind?e.parent&&345!==e.parent.kind||Tm(e):219===(t=e.kind)||208===t||263===t||231===t||175===t||176===t||266===t||306===t||281===t||262===t||218===t||177===t||273===t||271===t||276===t||264===t||291===t||174===t||173===t||267===t||270===t||274===t||280===t||169===t||303===t||172===t||171===t||178===t||304===t||265===t||168===t||260===t||346===t||338===t||348===t||202===t;var t}function dd(e){return cd(e.kind)}function pd(e){return ld(e.kind)}function fd(e){const t=e.kind;return ld(t)||cd(t)||function(e){if(241!==e.kind)return!1;if(void 0!==e.parent&&(258===e.parent.kind||299===e.parent.kind))return!1;return!$_(e)}(e)}function _d(e){const t=e.kind;return ld(t)||cd(t)||241===t}function md(e){const t=e.kind;return 283===t||166===t||80===t}function hd(e){const t=e.kind;return 110===t||80===t||211===t||295===t}function gd(e){const t=e.kind;return 284===t||294===t||285===t||12===t||288===t}function Ad(e){const t=e.kind;return 291===t||293===t}function yd(e){const t=e.kind;return 11===t||294===t}function vd(e){const t=e.kind;return 286===t||285===t}function bd(e){const t=e.kind;return 286===t||285===t||289===t}function Cd(e){const t=e.kind;return 296===t||297===t}function Ed(e){return e.kind>=309&&e.kind<=351}function xd(e){return 320===e.kind||319===e.kind||321===e.kind||qd(e)||Sd(e)||aF(e)||cF(e)}function Sd(e){return e.kind>=327&&e.kind<=351}function kd(e){return 178===e.kind}function Dd(e){return 177===e.kind}function wd(e){if(!Bh(e))return!1;const{jsDoc:t}=e;return!!t&&t.length>0}function Id(e){return!!e.type}function Td(e){return!!e.initializer}function Fd(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function Rd(e){return 291===e.kind||293===e.kind||yu(e)}function Pd(e){return 183===e.kind||233===e.kind}var Nd=1073741823;function Bd(e){let t=Nd;for(const n of e){if(!n.length)continue;let e=0;for(;e0?n.parent.parameters[r-1]:void 0,o=t.text,s=i?H(da(o,Ks(o,i.end+1,!1,!0)),ua(o,e.pos)):da(o,Ks(o,e.pos,!1,!0));return J(s)&&Ld(Ae(s),t)}return!!u(n&&g_(n,t),(e=>Ld(e,t)))}var jd=[],Ud="tslib",Jd=160,Vd=1e6;function Hd(e,t){const n=e.declarations;if(n)for(const e of n)if(e.kind===t)return e}function Gd(e,t){return S(e.declarations||a,(e=>e.kind===t))}function Wd(e){const t=new Map;if(e)for(const n of e)t.set(n.escapedName,n);return t}function zd(e){return!!(33554432&e.flags)}function Yd(e){return!!(1536&e.flags)&&34===e.escapedName.charCodeAt(0)}var Kd=function(){var e="";const t=t=>e+=t;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(e,n)=>t(e),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&js(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:nt,decreaseIndent:nt,clear:()=>e=""}}();function Xd(e,t){return e.configFilePath!==t.configFilePath||function(e,t){return ep(e,t,EN)}(e,t)}function Zd(e,t){return ep(e,t,SN)}function ep(e,t,n){return e!==t&&n.some((n=>!_x(HC(e,n),HC(t,n))))}function tp(e,t){for(;;){const n=t(e);if("quit"===n)return;if(void 0!==n)return n;if(JT(e))return;e=e.parent}}function np(e,t){const n=e.entries();for(const[e,r]of n){const n=t(r,e);if(n)return n}}function rp(e,t){const n=e.keys();for(const e of n){const n=t(e);if(n)return n}}function ip(e,t){e.forEach(((e,n)=>{t.set(n,e)}))}function op(e){const t=Kd.getText();try{return e(Kd),Kd.getText()}finally{Kd.clear(),Kd.writeKeyword(t)}}function sp(e){return e.end-e.pos}function ap(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function cp(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&(n=e.resolvedModule.packageId,r=t.resolvedModule.packageId,n===r||!!n&&!!r&&n.name===r.name&&n.subModuleName===r.subModuleName&&n.version===r.version&&n.peerDependencies===r.peerDependencies)&&e.alternateResult===t.alternateResult;var n,r}function lp(e){return e.resolvedModule}function up(e){return e.resolvedTypeReferenceDirective}function dp(e,t,n,r,i){var o;const s=null==(o=t.getResolvedModule(e,n,r))?void 0:o.alternateResult,a=s&&(2===bC(t.getCompilerOptions())?[us.There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler,[s]]:[us.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,[s,s.includes(Qq+"@types/")?`@types/${C$(i)}`:i]]),c=a?eC(void 0,a[0],...a[1]):t.typesPackageExists(i)?eC(void 0,us.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,i,C$(i)):t.packageBundlesTypes(i)?eC(void 0,us.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,i,n):eC(void 0,us.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,n,C$(i));return c&&(c.repopulateInfo=()=>({moduleReference:n,mode:r,packageName:i===n?void 0:i})),c}function pp(e){const t=tx(e.fileName),n=e.packageJsonScope,r=".ts"===t?".mts":".js"===t?".mjs":void 0,i=n&&!n.contents.packageJsonContent.type?r?eC(void 0,us.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,r,qo(n.packageDirectory,"package.json")):eC(void 0,us.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,qo(n.packageDirectory,"package.json")):r?eC(void 0,us.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,r):eC(void 0,us.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module);return i.repopulateInfo=()=>!0,i}function fp({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function _p(e){return`${fp(e)}@${e.version}${e.peerDependencies??""}`}function mp(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function hp(e,t,n,r){un.assert(e.length===t.length);for(let i=0;i=0),qs(t)[e]}function Ep(e){const t=Ap(e),n=Ms(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function xp(e,t){un.assert(e>=0);const n=qs(t),r=e,i=t.text;if(r+1===n.length)return i.length-1;{const e=n[r];let t=n[r+1]-1;for(un.assert(Js(i.charCodeAt(t)));e<=t&&Js(i.charCodeAt(t));)t--;return t}}function Sp(e,t,n){return!(n&&n(t)||e.identifiers.has(t))}function kp(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function Dp(e){return!kp(e)}function wp(e,t){return sw(e)?t===e.expression:fw(e)?t===e.modifiers:lw(e)?t===e.initializer:uw(e)?t===e.questionToken&&fu(e):LT(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ip(e.modifiers,t,hu):MT(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ip(e.modifiers,t,hu):pw(e)?t===e.exclamationToken:_w(e)?t===e.typeParameters||t===e.type||Ip(e.typeParameters,t,sw):mw(e)?t===e.typeParameters||Ip(e.typeParameters,t,sw):hw(e)?t===e.typeParameters||t===e.type||Ip(e.typeParameters,t,sw):!!nT(e)&&(t===e.modifiers||Ip(e.modifiers,t,hu))}function Ip(e,t,n){return!(!e||Ye(t)||!n(t))&&C(e,t)}function Tp(e,t,n){if(void 0===t||0===t.length)return e;let r=0;for(;r[`${Ms(e,t.range.end).line}`,t]))),r=new Map;return{getUnusedExpectations:function(){return Pe(n.entries()).filter((([e,t])=>0===t.type&&!r.get(e))).map((([e,t])=>t))},markUsed:function(e){if(!n.has(`${e}`))return!1;return r.set(`${e}`,!0),!0}}}function Lp(e,t,n){if(kp(e))return e.pos;if(Ed(e)||12===e.kind)return Ks((t??Ap(e)).text,e.pos,!1,!0);if(n&&wd(e))return Lp(e.jsDoc[0],t);if(352===e.kind){t??(t=Ap(e));const r=fe(qF(e,t));if(r)return Lp(r,t,n)}return Ks((t??Ap(e)).text,e.pos,!1,!1,Pm(e))}function Mp(e,t){const n=!kp(e)&&cP(e)?y(e.modifiers,cw):void 0;return n?Ks((t||Ap(e)).text,n.end):Lp(e,t)}function jp(e,t){const n=!kp(e)&&cP(e)&&e.modifiers?Ae(e.modifiers):void 0;return n?Ks((t||Ap(e)).text,n.end):Lp(e,t)}function Up(e,t,n=!1){return Wp(e.text,t,n)}function Jp(e){return!!(hT(e)&&e.exportClause&&pT(e.exportClause)&&Gp(e.exportClause.name))}function Vp(e){return 11===e.kind?e.text:mc(e.escapedText)}function Hp(e){return 11===e.kind?_c(e.text):e.escapedText}function Gp(e){return"default"===(11===e.kind?e.text:e.escapedText)}function Wp(e,t,n=!1){if(kp(t))return"";let r=e.substring(n?t.pos:Ks(e,t.pos),t.end);return function(e){return!!dc(e,HT)}(t)&&(r=r.split(/\r\n|\n|\r/).map((e=>e.replace(/^\s*\*/,"").trimStart())).join("\n")),r}function zp(e,t=!1){return Up(Ap(e),e,t)}function Yp(e){return e.pos}function Kp(e,t){return Ee(e,t,Yp,At)}function Xp(e){const t=e.emitNode;return t&&t.flags||0}function Zp(e){const t=e.emitNode;return t&&t.internalFlags||0}var ef=dt((()=>new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Iterator:new Map(Object.entries({es2015:a})),AsyncIterator:new Map(Object.entries({es2015:a})),ArrayBuffer:new Map(Object.entries({es2024:["maxByteLength","resizable","resize","detached","transfer","transferToFixedLength"]})),Atomics:new Map(Object.entries({es2017:["add","and","compareExchange","exchange","isLockFree","load","or","store","sub","wait","notify","xor"],es2024:["waitAsync"]})),SharedArrayBuffer:new Map(Object.entries({es2017:["byteLength","slice"],es2024:["growable","maxByteLength","grow"]})),AsyncIterable:new Map(Object.entries({es2018:a})),AsyncIterableIterator:new Map(Object.entries({es2018:a})),AsyncGenerator:new Map(Object.entries({es2018:a})),AsyncGeneratorFunction:new Map(Object.entries({es2018:a})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"],es2024:["unicodeSets"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get","getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"],esnext:["fromAsync"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"],es2024:["groupBy"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),MapConstructor:new Map(Object.entries({es2024:["groupBy"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"],esnext:["union","intersection","difference","symmetricDifference","isSubsetOf","isSupersetOf","isDisjointFrom"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"],es2024:["withResolvers"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"],es2024:["isWellFormed","toWellFormed"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:a,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"],esnext:["metadata","dispose","asyncDispose"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:a})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),BigInt64Array:new Map(Object.entries({es2020:a,es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),BigUint64Array:new Map(Object.entries({es2020:a,es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Error:new Map(Object.entries({es2022:["cause"]}))})))),tf=(e=>(e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e))(tf||{});function nf(e,t,n){if(t&&function(e,t){if(eA(e)||!e.parent||4&t&&e.isUnterminated)return!1;if(xD(e)){if(26656&e.numericLiteralFlags)return!1;if(512&e.numericLiteralFlags)return!!(8&t)}return!SD(e)}(e,n))return Up(t,e);switch(e.kind){case 11:{const t=2&n?wA:1&n||16777216&Xp(e)?bA:EA;return e.singleQuote?"'"+t(e.text,39)+"'":'"'+t(e.text,34)+'"'}case 15:case 16:case 17:case 18:{const t=1&n||16777216&Xp(e)?bA:EA,r=e.rawText??pA(t(e.text,96));switch(e.kind){case 15:return"`"+r+"`";case 16:return"`"+r+"${";case 17:return"}"+r+"${";case 18:return"}"+r+"`"}break}case 9:case 10:return e.text;case 14:return 4&n&&e.isUnterminated?e.text+(92===e.text.charCodeAt(e.text.length-1)?" /":"/"):e.text}return un.fail(`Literal kind '${e.kind}' not accounted for.`)}function rf(e){return Xe(e)?`"${bA(e)}"`:""+e}function of(e){return To(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function sf(e){return!!(7&sc(e))||af(e)}function af(e){const t=Xg(e);return 260===t.kind&&299===t.parent.kind}function cf(e){return ZI(e)&&(11===e.name.kind||ff(e))}function lf(e){return ZI(e)&&11===e.name.kind}function uf(e){return ZI(e)&&kD(e.name)}function df(e){return function(e){return!!e&&267===e.kind&&!e.body}(e.valueDeclaration)}function pf(e){return 307===e.kind||267===e.kind||iu(e)}function ff(e){return!!(2048&e.flags)}function _f(e){return cf(e)&&mf(e)}function mf(e){switch(e.parent.kind){case 307:return UP(e.parent);case 268:return cf(e.parent.parent)&&JT(e.parent.parent.parent)&&!UP(e.parent.parent.parent)}return!1}function hf(e){var t;return null==(t=e.declarations)?void 0:t.find((e=>!(_f(e)||ZI(e)&&ff(e))))}function gf(e,t){return UP(e)||(1===(n=vC(t))||100===n||199===n)&&!!e.commonJsModuleIndicator;var n}function Af(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!e.isDeclarationFile&&(!!LC(t,"alwaysStrict")||(!!iR(e.statements)||!(!UP(e)&&!EC(t))))}function yf(e){return!!(33554432&e.flags)||wy(e,128)}function vf(e,t){switch(e.kind){case 307:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!iu(t)}return!1}function bf(e){switch(un.type(e),e.kind){case 338:case 346:case 323:return!0;default:return Cf(e)}}function Cf(e){switch(un.type(e),e.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 317:case 263:case 231:case 264:case 265:case 345:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function Ef(e){switch(e.kind){case 272:case 271:return!0;default:return!1}}function xf(e){return Ef(e)||qm(e)}function Sf(e){return Ef(e)||Lm(e)}function kf(e){switch(e.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function Df(e){return wf(e)||ZI(e)||Mw(e)||l_(e)}function wf(e){return Ef(e)||hT(e)}function If(e){return dc(e.parent,(e=>!!(1&J$(e))))}function Tf(e){return dc(e.parent,(e=>vf(e,e.parent)))}function Ff(e,t){let n=Tf(e);for(;n;)t(n),n=Tf(n)}function Rf(e){return e&&0!==sp(e)?zp(e):"(Missing)"}function Pf(e){return e.declaration?Rf(e.declaration.parameters[0].name):void 0}function Nf(e){return 167===e.kind&&!Og(e.expression)}function Bf(e){var t;switch(e.kind){case 80:case 81:return(null==(t=e.emitNode)?void 0:t.autoGenerate)?void 0:e.escapedText;case 11:case 9:case 10:case 15:return _c(e.text);case 167:return Og(e.expression)?_c(e.expression.text):void 0;case 295:return iS(e);default:return un.assertNever(e)}}function Of(e){return un.checkDefined(Bf(e))}function qf(e){switch(e.kind){case 110:return"this";case 81:case 80:return 0===sp(e)?hc(e):zp(e);case 166:return qf(e.left)+"."+qf(e.right);case 211:return UD(e.name)||JD(e.name)?qf(e.expression)+"."+qf(e.name):un.assertNever(e.name);case 311:return qf(e.left)+"#"+qf(e.right);case 295:return qf(e.namespace)+":"+qf(e.name);default:return un.assertNever(e)}}function $f(e,t,...n){return Lf(Ap(e),e,t,...n)}function Qf(e,t,n,...r){const i=Ks(e.text,t.pos);return Yb(e,i,t.end-i,n,...r)}function Lf(e,t,n,...r){const i=Kf(e,t);return Yb(e,i.start,i.length,n,...r)}function Mf(e,t,n,r){const i=Kf(e,t);return Jf(e,i.start,i.length,n,r)}function jf(e,t,n,r){const i=Ks(e.text,t.pos);return Jf(e,i,t.end-i,n,r)}function Uf(e,t,n){un.assertGreaterThanOrEqual(t,0),un.assertGreaterThanOrEqual(n,0),un.assertLessThanOrEqual(t,e.length),un.assertLessThanOrEqual(t+n,e.length)}function Jf(e,t,n,r,i){return Uf(e.text,t,n),{file:e,start:t,length:n,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:i,canonicalHead:r.canonicalHead}}function Vf(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function Hf(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function Gf(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function Wf(e,...t){return{code:e.code,messageText:Kb(e,...t)}}function zf(e,t){const n=ha(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);n.scan();return Ha(n.getTokenStart(),n.getTokenEnd())}function Yf(e,t){const n=ha(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function Kf(e,t){let n=t;switch(t.kind){case 307:{const t=Ks(e.text,0,!1);return t===e.text.length?Va(0,0):zf(e,t)}case 260:case 208:case 263:case 231:case 264:case 267:case 266:case 306:case 262:case 218:case 174:case 177:case 178:case 265:case 172:case 171:case 274:n=t.name;break;case 219:return function(e,t){const n=Ks(e.text,t.pos);if(t.body&&241===t.body.kind){const{line:r}=Ms(e,t.body.pos),{line:i}=Ms(e,t.body.end);if(r0?t.statements[0].pos:t.end);case 253:case 229:return zf(e,Ks(e.text,t.pos));case 238:return zf(e,Ks(e.text,t.expression.end));case 350:return zf(e,Ks(e.text,t.tagName.pos));case 176:{const n=t,r=Ks(e.text,n.pos),i=ha(e.languageVersion,!0,e.languageVariant,e.text,void 0,r);let o=i.scan();for(;137!==o&&1!==o;)o=i.scan();return Ha(r,i.getTokenEnd())}}if(void 0===n)return zf(e,t.pos);un.assert(!sF(n));const r=kp(n),i=r||DD(t)?n.pos:Ks(e.text,n.pos);return r?(un.assert(i===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),un.assert(i===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(un.assert(i>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),un.assert(i<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Ha(i,n.end)}function Xf(e){return 307===e.kind&&!Zf(e)}function Zf(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)}function e_(e){return 6===e.scriptKind}function t_(e){return!!(4096&ic(e))}function n_(e){return!(!(8&ic(e))||Za(e,e.parent))}function r_(e){return 6==(7&sc(e))}function i_(e){return 4==(7&sc(e))}function o_(e){return 2==(7&sc(e))}function s_(e){const t=7&sc(e);return 2===t||4===t||6===t}function a_(e){return 1==(7&sc(e))}function c_(e){return 213===e.kind&&108===e.expression.kind}function l_(e){return 213===e.kind&&102===e.expression.kind}function u_(e){return bI(e)&&102===e.keywordToken&&"meta"===e.name.escapedText}function d_(e){return Mw(e)&&Lw(e.argument)&&kD(e.argument.literal)}function p_(e){return 244===e.kind&&11===e.expression.kind}function f_(e){return!!(2097152&Xp(e))}function __(e){return f_(e)&&WI(e)}function m_(e){return UD(e.name)&&!e.initializer}function h_(e){return f_(e)&&wI(e)&&g(e.declarationList.declarations,m_)}function g_(e,t){return 12!==e.kind?ua(t.text,e.pos):void 0}function A_(e,t){return S(169===e.kind||168===e.kind||218===e.kind||219===e.kind||217===e.kind||260===e.kind||281===e.kind?H(da(t,e.pos),ua(t,e.pos)):ua(t,e.pos),(n=>n.end<=e.end&&42===t.charCodeAt(n.pos+1)&&42===t.charCodeAt(n.pos+2)&&47!==t.charCodeAt(n.pos+3)))}var y_=/^\/\/\/\s*/,v_=/^\/\/\/\s*/,b_=/^\/\/\/\s*/,C_=/^\/\/\/\s*/,E_=/^\/\/\/\s*/,x_=/^\/\/\/\s*/;function S_(e){if(182<=e.kind&&e.kind<=205)return!0;switch(e.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return 222!==e.parent.kind;case 233:return k_(e);case 168:return 200===e.parent.kind||195===e.parent.kind;case 80:(166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e)&&(e=e.parent),un.assert(80===e.kind||166===e.kind||211===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:{const{parent:t}=e;if(186===t.kind)return!1;if(205===t.kind)return!t.isTypeOf;if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 233:return k_(t);case 168:case 345:return e===t.constraint;case 172:case 171:case 169:case 260:case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:case 179:case 180:case 181:case 216:return e===t.type;case 213:case 214:case 215:return C(t.typeArguments,e)}}}return!1}function k_(e){return TF(e.parent)||lF(e.parent)||$T(e.parent)&&!sv(e)}function D_(e,t){return function e(n){switch(n.kind){case 253:return t(n);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return OP(n,e)}}(e)}function w_(e,t){return function e(n){switch(n.kind){case 229:t(n);const r=n.expression;return void(r&&e(r));case 266:case 264:case 267:case 265:return;default:if(ru(n)){if(n.name&&167===n.name.kind)return void e(n.name.expression)}else S_(n)||OP(n,e)}}(e)}function I_(e){return e&&188===e.kind?e.elementType:e&&183===e.kind?ye(e.typeArguments):void 0}function T_(e){switch(e.kind){case 264:case 263:case 231:case 187:return e.members;case 210:return e.properties}}function F_(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function R_(e){return 261===e.parent.kind&&243===e.parent.parent.kind}function P_(e){return!!Tm(e)&&(Ww(e.parent)&&uI(e.parent.parent)&&2===th(e.parent.parent)||N_(e.parent))}function N_(e){return!!Tm(e)&&(uI(e)&&1===th(e))}function B_(e){return(HI(e)?o_(e)&&UD(e.name)&&R_(e):uw(e)?By(e)&&Ty(e):lw(e)&&By(e))||N_(e)}function O_(e){switch(e.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function q_(e,t){for(;;){if(t&&t(e),256!==e.statement.kind)return e.statement;e=e.statement}}function $_(e){return e&&241===e.kind&&ru(e.parent)}function Q_(e){return e&&174===e.kind&&210===e.parent.kind}function L_(e){return!(174!==e.kind&&177!==e.kind&&178!==e.kind||210!==e.parent.kind&&231!==e.parent.kind)}function M_(e){return e&&1===e.kind}function j_(e){return e&&0===e.kind}function U_(e,t,n,r){return u(null==e?void 0:e.properties,(e=>{if(!LT(e))return;const i=Bf(e.name);return t===i||r&&r===i?n(e):void 0}))}function J_(e,t,n){return U_(e,t,(e=>Gw(e.initializer)?A(e.initializer.elements,(e=>kD(e)&&e.text===n)):void 0))}function V_(e){if(e&&e.statements.length){return et(e.statements[0].expression,Ww)}}function H_(e,t,n){return G_(e,t,(e=>Gw(e.initializer)?A(e.initializer.elements,(e=>kD(e)&&e.text===n)):void 0))}function G_(e,t,n){return U_(V_(e),t,n)}function W_(e){return dc(e.parent,ru)}function z_(e){return dc(e.parent,ou)}function Y_(e){return dc(e.parent,du)}function K_(e){return dc(e.parent,(e=>du(e)||ru(e)?"quit":fw(e)))}function X_(e){return dc(e.parent,iu)}function Z_(e){const t=dc(e.parent,(e=>du(e)?"quit":cw(e)));return t&&du(t.parent)?Y_(t.parent):Y_(t??e)}function em(e,t,n){for(un.assert(307!==e.kind);;){if(!(e=e.parent))return un.fail();switch(e.kind){case 167:if(n&&du(e.parent.parent))return e;e=e.parent.parent;break;case 170:169===e.parent.kind&&uu(e.parent.parent)?e=e.parent.parent:uu(e.parent)&&(e=e.parent);break;case 219:if(!t)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 307:return e}}}function tm(e){switch(e.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(e.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function nm(e){UD(e)&&(zI(e.parent)||WI(e.parent))&&e.parent.name===e&&(e=e.parent);return JT(em(e,!0,!1))}function rm(e){const t=em(e,!1,!1);if(t)switch(t.kind){case 176:case 262:case 218:return t}}function im(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 167:e=e.parent;break;case 262:case 218:case 219:if(!t)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return e;case 170:169===e.parent.kind&&uu(e.parent.parent)?e=e.parent.parent:uu(e.parent)&&(e=e.parent)}}}function om(e){if(218===e.kind||219===e.kind){let t=e,n=e.parent;for(;217===n.kind;)t=n,n=n.parent;if(213===n.kind&&n.expression===t)return n}}function sm(e){const t=e.kind;return(211===t||212===t)&&108===e.expression.kind}function am(e){const t=e.kind;return(211===t||212===t)&&110===e.expression.kind}function cm(e){var t;return!!e&&HI(e)&&110===(null==(t=e.initializer)?void 0:t.kind)}function lm(e){return!!e&&(MT(e)||LT(e))&&uI(e.parent.parent)&&64===e.parent.parent.operatorToken.kind&&110===e.parent.parent.right.kind}function um(e){switch(e.kind){case 183:return e.typeName;case 233:return av(e.expression)?e.expression:void 0;case 80:case 166:return e}}function dm(e){switch(e.kind){case 215:return e.tag;case 286:case 285:return e.tagName;case 226:return e.right;case 289:return e;default:return e.expression}}function pm(e,t,n,r){if(e&&Ec(t)&&JD(t.name))return!1;switch(t.kind){case 263:return!0;case 231:return!e;case 172:return void 0!==n&&(e?zI(n):du(n)&&!Ry(t)&&!Py(t));case 177:case 178:case 174:return void 0!==t.body&&void 0!==n&&(e?zI(n):du(n));case 169:return!!e&&(void 0!==n&&void 0!==n.body&&(176===n.kind||174===n.kind||178===n.kind)&&ay(n)!==t&&void 0!==r&&263===r.kind)}return!1}function fm(e,t,n,r){return Oy(t)&&pm(e,t,n,r)}function _m(e,t,n,r){return fm(e,t,n,r)||mm(e,t,n)}function mm(e,t,n){switch(t.kind){case 263:return J(t.members,(r=>_m(e,r,t,n)));case 231:return!e&&J(t.members,(r=>_m(e,r,t,n)));case 174:case 178:case 176:return J(t.parameters,(r=>fm(e,r,t,n)));default:return!1}}function hm(e,t){if(fm(e,t))return!0;const n=iy(t);return!!n&&mm(e,n,t)}function gm(e,t,n){let r;if(pu(t)){const{firstAccessor:e,secondAccessor:i,setAccessor:o}=fy(n.members,t),s=Oy(e)?e:i&&Oy(i)?i:void 0;if(!s||t!==s)return!1;r=null==o?void 0:o.parameters}else pw(t)&&(r=t.parameters);if(fm(e,t,n))return!0;if(r)for(const i of r)if(!cy(i)&&fm(e,i,t,n))return!0;return!1}function Am(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return Am(e.textSourceNode);case 15:return""===e.text}return!1}return""===e.text}function ym(e){const{parent:t}=e;return(286===t.kind||285===t.kind||287===t.kind)&&t.tagName===e}function vm(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!$T(e.parent)&&!lF(e.parent);case 166:for(;166===e.parent.kind;)e=e.parent;return 186===e.parent.kind||qd(e.parent)||GT(e.parent)||WT(e.parent)||ym(e);case 311:for(;WT(e.parent);)e=e.parent;return 186===e.parent.kind||qd(e.parent)||GT(e.parent)||WT(e.parent)||ym(e);case 81:return uI(e.parent)&&e.parent.left===e&&103===e.parent.operatorToken.kind;case 80:if(186===e.parent.kind||qd(e.parent)||GT(e.parent)||WT(e.parent)||ym(e))return!0;case 9:case 10:case 11:case 15:case 110:return bm(e);default:return!1}}function bm(e){const{parent:t}=e;switch(t.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return t.initializer===e;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return t.expression===e;case 248:const n=t;return n.initializer===e&&261!==n.initializer.kind||n.condition===e||n.incrementor===e;case 249:case 250:const r=t;return r.initializer===e&&261!==r.initializer.kind||r.expression===e;case 216:case 234:case 239:case 167:case 238:return e===t.expression;case 170:case 294:case 293:case 305:return!0;case 233:return t.expression===e&&!S_(t);case 304:return t.objectAssignmentInitializer===e;default:return vm(t)}}function Cm(e){for(;166===e.kind||80===e.kind;)e=e.parent;return 186===e.kind}function Em(e){return pT(e)&&!!e.parent.moduleSpecifier}function xm(e){return 271===e.kind&&283===e.moduleReference.kind}function Sm(e){return un.assert(xm(e)),e.moduleReference.expression}function km(e){return qm(e)&&Db(e.initializer).arguments[0]}function Dm(e){return 271===e.kind&&283!==e.moduleReference.kind}function wm(e){return 307===(null==e?void 0:e.kind)}function Im(e){return Tm(e)}function Tm(e){return!!e&&!!(524288&e.flags)}function Fm(e){return!!e&&!!(134217728&e.flags)}function Rm(e){return!e_(e)}function Pm(e){return!!e&&!!(16777216&e.flags)}function Nm(e){return bw(e)&&UD(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(154===e.typeArguments[0].kind||150===e.typeArguments[0].kind)}function Bm(e,t){if(213!==e.kind)return!1;const{expression:n,arguments:r}=e;if(80!==n.kind||"require"!==n.escapedText)return!1;if(1!==r.length)return!1;const i=r[0];return!t||Od(i)}function Om(e){return Qm(e,!1)}function qm(e){return Qm(e,!0)}function $m(e){return Hw(e)&&qm(e.parent.parent)}function Qm(e,t){return HI(e)&&!!e.initializer&&Bm(t?Db(e.initializer):e.initializer,!0)}function Lm(e){return wI(e)&&e.declarationList.declarations.length>0&&g(e.declarationList.declarations,(e=>Om(e)))}function Mm(e){return 39===e||34===e}function jm(e,t){return 34===Up(t,e).charCodeAt(0)}function Um(e){return uI(e)||xb(e)||UD(e)||Kw(e)}function Jm(e){return Tm(e)&&e.initializer&&uI(e.initializer)&&(57===e.initializer.operatorToken.kind||61===e.initializer.operatorToken.kind)&&e.name&&av(e.name)&&Ym(e.name,e.initializer.left)?e.initializer.right:e.initializer}function Vm(e){const t=Jm(e);return t&&Gm(t,pv(e.name))}function Hm(e){if(e&&e.parent&&uI(e.parent)&&64===e.parent.operatorToken.kind){const t=pv(e.parent.left);return Gm(e.parent.right,t)||function(e,t,n){const r=uI(t)&&(57===t.operatorToken.kind||61===t.operatorToken.kind)&&Gm(t.right,n);if(r&&Ym(e,t.left))return r}(e.parent.left,e.parent.right,t)}if(e&&Kw(e)&&nh(e)){const t=function(e,t){return u(e.properties,(e=>LT(e)&&UD(e.name)&&"value"===e.name.escapedText&&e.initializer&&Gm(e.initializer,t)))}(e.arguments[2],"prototype"===e.arguments[1].text);if(t)return t}}function Gm(e,t){if(Kw(e)){const t=sg(e.expression);return 218===t.kind||219===t.kind?e:void 0}return 218===e.kind||231===e.kind||219===e.kind||Ww(e)&&(0===e.properties.length||t)?e:void 0}function Wm(e){const t=HI(e.parent)?e.parent.name:uI(e.parent)&&64===e.parent.operatorToken.kind?e.parent.left:void 0;return t&&Gm(e.right,pv(t))&&av(t)&&Ym(t,e.left)}function zm(e){if(uI(e.parent)){const t=57!==e.parent.operatorToken.kind&&61!==e.parent.operatorToken.kind||!uI(e.parent.parent)?e.parent:e.parent.parent;if(64===t.operatorToken.kind&&UD(t.left))return t.left}else if(HI(e.parent))return e.parent.name}function Ym(e,t){return Mg(e)&&Mg(t)?jg(e)===jg(t):pl(e)&&rh(t)&&(110===t.expression.kind||UD(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))?Ym(e,ch(t)):!(!rh(e)||!rh(t))&&(uh(e)===uh(t)&&Ym(e.expression,t.expression))}function Km(e){for(;iv(e,!0);)e=e.right;return e}function Xm(e){return UD(e)&&"exports"===e.escapedText}function Zm(e){return UD(e)&&"module"===e.escapedText}function eh(e){return(zw(e)||ih(e))&&Zm(e.expression)&&"exports"===uh(e)}function th(e){const t=function(e){if(Kw(e)){if(!nh(e))return 0;const t=e.arguments[0];return Xm(t)||eh(t)?8:oh(t)&&"prototype"===uh(t)?9:7}if(64!==e.operatorToken.kind||!xb(e.left)||function(e){return sI(e)&&xD(e.expression)&&"0"===e.expression.text}(Km(e)))return 0;if(ah(e.left.expression,!0)&&"prototype"===uh(e.left)&&Ww(ph(e)))return 6;return dh(e.left)}(e);return 5===t||Tm(e)?t:0}function nh(e){return 3===l(e.arguments)&&zw(e.expression)&&UD(e.expression.expression)&&"Object"===hc(e.expression.expression)&&"defineProperty"===hc(e.expression.name)&&Og(e.arguments[1])&&ah(e.arguments[0],!0)}function rh(e){return zw(e)||ih(e)}function ih(e){return Yw(e)&&Og(e.argumentExpression)}function oh(e,t){return zw(e)&&(!t&&110===e.expression.kind||UD(e.name)&&ah(e.expression,!0))||sh(e,t)}function sh(e,t){return ih(e)&&(!t&&110===e.expression.kind||av(e.expression)||oh(e.expression,!0))}function ah(e,t){return av(e)||oh(e,t)}function ch(e){return zw(e)?e.name:e.argumentExpression}function lh(e){if(zw(e))return e.name;const t=sg(e.argumentExpression);return xD(t)||Od(t)?t:e}function uh(e){const t=lh(e);if(t){if(UD(t))return t.escapedText;if(Od(t)||xD(t))return _c(t.text)}}function dh(e){if(110===e.expression.kind)return 4;if(eh(e))return 2;if(ah(e.expression,!0)){if(pv(e.expression))return 3;let t=e;for(;!UD(t.expression);)t=t.expression;const n=t.expression;if(("exports"===n.escapedText||"module"===n.escapedText&&"exports"===uh(t))&&oh(e))return 1;if(ah(e,!0)||Yw(e)&&Qg(e))return 5}return 0}function ph(e){for(;uI(e.right);)e=e.right;return e.right}function fh(e){return uI(e)&&3===th(e)}function _h(e){return Tm(e)&&e.parent&&244===e.parent.kind&&(!Yw(e)||ih(e))&&!!tl(e.parent)}function mh(e,t){const{valueDeclaration:n}=e;(!n||(!(33554432&t.flags)||Tm(t)||33554432&n.flags)&&Um(n)&&!Um(t)||n.kind!==t.kind&&function(e){return ZI(e)||UD(e)}(n))&&(e.valueDeclaration=t)}function hh(e){if(!e||!e.valueDeclaration)return!1;const t=e.valueDeclaration;return 262===t.kind||HI(t)&&t.initializer&&ru(t.initializer)}function gh(e){switch(null==e?void 0:e.kind){case 260:case 208:case 272:case 278:case 271:case 273:case 280:case 274:case 281:case 276:case 205:return!0}return!1}function Ah(e){var t,n;switch(e.kind){case 260:case 208:return null==(t=dc(e.initializer,(e=>Bm(e,!0))))?void 0:t.arguments[0];case 272:case 278:case 351:return et(e.moduleSpecifier,Od);case 271:return et(null==(n=et(e.moduleReference,ET))?void 0:n.expression,Od);case 273:case 280:return et(e.parent.moduleSpecifier,Od);case 274:case 281:return et(e.parent.parent.moduleSpecifier,Od);case 276:return et(e.parent.parent.parent.moduleSpecifier,Od);case 205:return d_(e)?e.argument.literal:void 0;default:un.assertNever(e)}}function yh(e){return vh(e)||un.failBadSyntaxKind(e.parent)}function vh(e){switch(e.parent.kind){case 272:case 278:case 351:return e.parent;case 283:return e.parent.parent;case 213:return l_(e.parent)||Bm(e.parent,!1)?e.parent:void 0;case 201:if(!kD(e))break;return et(e.parent.parent,Mw);default:return}}function bh(e,t){return!!t.rewriteRelativeImportExtensions&&vo(e)&&!KP(e)&&BE(e)}function Ch(e){switch(e.kind){case 272:case 278:case 351:return e.moduleSpecifier;case 271:return 283===e.moduleReference.kind?e.moduleReference.expression:void 0;case 205:return d_(e)?e.argument.literal:void 0;case 213:return e.arguments[0];case 267:return 11===e.name.kind?e.name:void 0;default:return un.assertNever(e)}}function Eh(e){switch(e.kind){case 272:return e.importClause&&et(e.importClause.namedBindings,dT);case 271:return e;case 278:return e.exportClause&&et(e.exportClause,pT);default:return un.assertNever(e)}}function xh(e){return!(272!==e.kind&&351!==e.kind||!e.importClause||!e.importClause.name)}function Sh(e,t){if(e.name){const n=t(e);if(n)return n}if(e.namedBindings){const n=dT(e.namedBindings)?t(e.namedBindings):u(e.namedBindings.elements,t);if(n)return n}}function kh(e){switch(e.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return void 0!==e.questionToken}return!1}function Dh(e){const t=rF(e)?fe(e.parameters):void 0,n=et(t&&t.name,UD);return!!n&&"new"===n.escapedText}function wh(e){return 346===e.kind||338===e.kind||340===e.kind}function Ih(e){return wh(e)||KI(e)}function Th(e){return TI(e)&&uI(e.expression)&&0!==th(e.expression)&&uI(e.expression.right)&&(57===e.expression.right.operatorToken.kind||61===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Fh(e){switch(e.kind){case 243:const t=Rh(e);return t&&t.initializer;case 172:case 303:return e.initializer}}function Rh(e){return wI(e)?fe(e.declarationList.declarations):void 0}function Ph(e){return ZI(e)&&e.body&&267===e.body.kind?e.body:void 0}function Nh(e){if(e.kind>=243&&e.kind<=259)return!0;switch(e.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function Bh(e){switch(e.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 317:case 323:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function Oh(e,t){let n;F_(e)&&Td(e)&&wd(e.initializer)&&(n=se(n,qh(e,e.initializer.jsDoc)));let r=e;for(;r&&r.parent;){if(wd(r)&&(n=se(n,qh(e,r.jsDoc))),169===r.kind){n=se(n,(t?Fc:Tc)(r));break}if(168===r.kind){n=se(n,(t?Nc:Pc)(r));break}r=$h(r)}return n||a}function qh(e,t){const n=Ae(t);return R(t,(t=>{if(t===n){const n=S(t.tags,(t=>function(e,t){return!((SF(t)||FF(t))&&t.parent&&sF(t.parent)&&tI(t.parent.parent)&&t.parent.parent!==e)}(e,t)));return t.tags===n?[t]:n}return S(t.tags,AF)}))}function $h(e){const t=e.parent;return 303===t.kind||277===t.kind||172===t.kind||244===t.kind&&211===e.kind||253===t.kind||Ph(t)||iv(e)?t:t.parent&&(Rh(t.parent)===e||iv(t))?t.parent:t.parent&&t.parent.parent&&(Rh(t.parent.parent)||Fh(t.parent.parent)===e||Th(t.parent.parent))?t.parent.parent:void 0}function Qh(e){if(e.symbol)return e.symbol;if(!UD(e.name))return;const t=e.name.escapedText,n=jh(e);if(!n)return;const r=A(n.parameters,(e=>80===e.name.kind&&e.name.escapedText===t));return r&&r.symbol}function Lh(e){if(sF(e.parent)&&e.parent.tags){const t=A(e.parent.tags,wh);if(t)return t}return jh(e)}function Mh(e){return al(e,AF)}function jh(e){const t=Uh(e);if(t)return lw(t)&&t.type&&ru(t.type)?t.type:ru(t)?t:void 0}function Uh(e){const t=Jh(e);if(t)return Th(t)||function(e){return TI(e)&&uI(e.expression)&&64===e.expression.operatorToken.kind?Km(e.expression):void 0}(t)||Fh(t)||Rh(t)||Ph(t)||t}function Jh(e){const t=Vh(e);if(!t)return;const n=t.parent;return n&&n.jsDoc&&t===ge(n.jsDoc)?n:void 0}function Vh(e){return dc(e.parent,sF)}function Hh(e){const t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&A(n,(e=>e.name.escapedText===t))}function Gh(e){return!!e.typeArguments}var Wh=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(Wh||{});function zh(e){let t=e.parent;for(;;){switch(t.kind){case 226:const n=t;return tv(n.operatorToken.kind)&&n.left===e?n:void 0;case 224:case 225:const r=t,i=r.operator;return 46===i||47===i?r:void 0;case 249:case 250:const o=t;return o.initializer===e?o:void 0;case 217:case 209:case 230:case 235:e=t;break;case 305:e=t.parent;break;case 304:if(t.name!==e)return;e=t.parent;break;case 303:if(t.name===e)return;e=t.parent;break;default:return}t=e.parent}}function Yh(e){const t=zh(e);if(!t)return 0;switch(t.kind){case 226:const e=t.operatorToken.kind;return 64===e||Ky(e)?1:2;case 224:case 225:return 2;case 249:case 250:return 1}}function Kh(e){return!!zh(e)}function Xh(e){const t=zh(e);return!!t&&iv(t,!0)&&function(e){const t=sg(e.right);return 226===t.kind&&OR(t.operatorToken.kind)}(t)}function Zh(e){switch(e.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function eg(e){return nI(e)||rI(e)||mu(e)||WI(e)||_w(e)}function tg(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function ng(e){return tg(e,196)}function rg(e){return tg(e,217)}function ig(e){let t;for(;e&&196===e.kind;)t=e,e=e.parent;return[t,e]}function og(e){for(;Bw(e);)e=e.type;return e}function sg(e,t){return uR(e,t?-2147483647:1)}function ag(e){return(211===e.kind||212===e.kind)&&((e=rg(e.parent))&&220===e.kind)}function cg(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function lg(e){return!JT(e)&&!Cu(e)&&ud(e.parent)&&e.parent.name===e}function ug(e){const t=e.parent;switch(e.kind){case 11:case 15:case 9:if(ow(t))return t.parent;case 80:if(ud(t))return t.name===e?t:void 0;if(iw(t)){const e=t.parent;return CF(e)&&e.name===t?e:void 0}{const n=t.parent;return uI(n)&&0!==th(n)&&(n.left.symbol||n.symbol)&&Sc(n)===e?n:void 0}case 81:return ud(t)&&t.name===e?t:void 0;default:return}}function dg(e){return Og(e)&&167===e.parent.kind&&ud(e.parent.parent)}function pg(e){const t=e.parent;switch(t.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return t.name===e;case 166:return t.right===e;case 208:case 276:return t.propertyName===e;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function fg(e){switch(e.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return e.parent;case 166:do{e=e.parent}while(166===e.parent.kind);return fg(e)}}function _g(e){return av(e)||mI(e)}function mg(e){return _g(hg(e))}function hg(e){return mT(e)?e.expression:e.right}function gg(e){return 304===e.kind?e.name:303===e.kind?e.initializer:e.parent.right}function Ag(e){const t=yg(e);if(t&&Tm(e)){const t=Oc(e);if(t)return t.class}return t}function yg(e){const t=Eg(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function vg(e){if(Tm(e))return qc(e).map((e=>e.class));{const t=Eg(e.heritageClauses,119);return null==t?void 0:t.types}}function bg(e){return YI(e)?Cg(e)||a:du(e)&&H(nn(Ag(e)),vg(e))||a}function Cg(e){const t=Eg(e.heritageClauses,96);return t?t.types:void 0}function Eg(e,t){if(e)for(const n of e)if(n.token===t)return n}function xg(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function Sg(e){return 83<=e&&e<=165}function kg(e){return 19<=e&&e<=79}function Dg(e){return Sg(e)||kg(e)}function wg(e){return 128<=e&&e<=165}function Ig(e){return Sg(e)&&!wg(e)}function Tg(e){const t=Ts(e);return void 0!==t&&Ig(t)}function Fg(e){const t=gc(e);return!!t&&!wg(t)}function Rg(e){return 2<=e&&e<=7}var Pg=(e=>(e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e))(Pg||{});function Ng(e){if(!e)return 4;let t=0;switch(e.kind){case 262:case 218:case 174:e.asteriskToken&&(t|=1);case 219:wy(e,1024)&&(t|=2)}return e.body||(t|=4),t}function Bg(e){switch(e.kind){case 262:case 218:case 219:case 174:return void 0!==e.body&&void 0===e.asteriskToken&&wy(e,1024)}return!1}function Og(e){return Od(e)||xD(e)}function qg(e){return cI(e)&&(40===e.operator||41===e.operator)&&xD(e.operand)}function $g(e){const t=Sc(e);return!!t&&Qg(t)}function Qg(e){if(167!==e.kind&&212!==e.kind)return!1;const t=Yw(e)?sg(e.argumentExpression):e.expression;return!Og(t)&&!qg(t)}function Lg(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 15:case 9:case 10:return _c(e.text);case 167:const t=e.expression;return Og(t)?_c(t.text):qg(t)?41===t.operator?Is(t.operator)+t.operand.text:t.operand.text:void 0;case 295:return iS(e);default:return un.assertNever(e)}}function Mg(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function jg(e){return pl(e)?hc(e):BT(e)?oS(e):e.text}function Ug(e){return pl(e)?e.escapedText:BT(e)?iS(e):_c(e.text)}function Jg(e,t){return`__#${VQ(e)}@${t}`}function Vg(e){return Wt(e.escapedName,"__@")}function Hg(e){return Wt(e.escapedName,"__#")}function Gg(e,t){switch((e=uR(e)).kind){case 231:if(TM(e))return!1;break;case 218:if(e.name)return!1;break;case 219:break;default:return!1}return"function"!=typeof t||t(e)}function Wg(e){switch(e.kind){case 303:return!function(e){return UD(e)?"__proto__"===hc(e):kD(e)&&"__proto__"===e.text}(e.name);case 304:return!!e.objectAssignmentInitializer;case 260:return UD(e.name)&&!!e.initializer;case 169:case 208:return UD(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 172:return!!e.initializer;case 226:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return UD(e.left)}break;case 277:return!0}return!1}function zg(e,t){if(!Wg(e))return!1;switch(e.kind){case 303:case 260:case 169:case 208:case 172:return Gg(e.initializer,t);case 304:return Gg(e.objectAssignmentInitializer,t);case 226:return Gg(e.right,t);case 277:return Gg(e.expression,t)}}function Yg(e){return"push"===e.escapedText||"unshift"===e.escapedText}function Kg(e){return 169===Xg(e).kind}function Xg(e){for(;208===e.kind;)e=e.parent.parent;return e}function Zg(e){const t=e.kind;return 176===t||218===t||262===t||219===t||174===t||177===t||178===t||267===t||307===t}function eA(e){return YE(e.pos)||YE(e.end)}var tA=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(tA||{});function nA(e){const t=oA(e),n=214===e.kind&&void 0!==e.arguments;return rA(e.kind,t,n)}function rA(e,t,n){switch(e){case 214:return n?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226: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 iA(e){const t=oA(e),n=214===e.kind&&void 0!==e.arguments;return aA(e.kind,t,n)}function oA(e){return 226===e.kind?e.operatorToken.kind:224===e.kind||225===e.kind?e.operator:e.kind}var sA=(e=>(e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e))(sA||{});function aA(e,t,n){switch(e){case 356:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226: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 cA(t)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return n?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function cA(e){switch(e){case 61:return 4;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 lA(e){return S(e,(e=>{switch(e.kind){case 294:return!!e.expression;case 12:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))}function uA(){let e=[];const t=[],n=new Map;let r=!1;return{add:function(i){let o;i.file?(o=n.get(i.file.fileName),o||(o=[],n.set(i.file.fileName,o),X(t,i.file.fileName,xt))):(r&&(r=!1,e=e.slice()),o=e);X(o,i,iC,aC)},lookup:function(t){let r;r=t.file?n.get(t.file.fileName):e;if(!r)return;const i=Ee(r,t,st,iC);if(i>=0)return r[i];if(~i>0&&aC(t,r[~i-1]))return r[~i-1];return},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){if(r)return n.get(r)||[];const i=P(t,(e=>n.get(e)));if(!e.length)return i;return i.unshift(...e),i}}}var dA=/\$\{/g;function pA(e){return e.replace(dA,"\\${")}function fA(e){return!!(2048&(e.templateFlags||0))}function _A(e){return e&&!!(ID(e)?fA(e):fA(e.head)||J(e.templateSpans,(e=>fA(e.literal))))}var mA=/[\\"\u0000-\u001f\u2028\u2029\u0085]/g,hA=/[\\'\u0000-\u001f\u2028\u2029\u0085]/g,gA=/\r\n|[\\`\u0000-\u0009\u000b-\u001f\u2028\u2029\u0085]/g,AA=new Map(Object.entries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function yA(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function vA(e,t,n){if(0===e.charCodeAt(0)){const r=n.charCodeAt(t+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return AA.get(e)||yA(e.charCodeAt(0))}function bA(e,t){const n=96===t?gA:39===t?hA:mA;return e.replace(n,vA)}var CA=/[^\u0000-\u007F]/g;function EA(e,t){return e=bA(e,t),CA.test(e)?e.replace(CA,(e=>yA(e.charCodeAt(0)))):e}var xA=/["\u0000-\u001f\u2028\u2029\u0085]/g,SA=/['\u0000-\u001f\u2028\u2029\u0085]/g,kA=new Map(Object.entries({'"':""","'":"'"}));function DA(e){return 0===e.charCodeAt(0)?"�":kA.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function wA(e,t){const n=39===t?SA:xA;return e.replace(n,DA)}function IA(e){const t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e;var n}function TA(e){const t=e.charCodeAt(0);return t>=97&&t<=122||e.includes("-")}var FA=[""," "];function RA(e){const t=FA[1];for(let n=FA.length;n<=e;n++)FA.push(FA[n-1]+t);return FA[e]}function PA(){return FA[1].length}function NA(e){var t,n,r,i,o,s=!1;function a(e){const n=Ns(e);n.length>1?(i=i+n.length-1,o=t.length-e.length+Ae(n),r=o-t.length==0):r=!1}function c(e){e&&e.length&&(r&&(e=RA(n)+e,r=!1),t+=e,a(e))}function l(e){e&&(s=!1),c(e)}function u(){t="",n=0,r=!0,i=0,o=0,s=!1}return u(),{write:l,rawWrite:function(e){void 0!==e&&(t+=e,a(e),s=!1)},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(n){r&&!n||(i++,o=(t+=e).length,r=!0,s=!1)},increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>i,getColumn:()=>r?n*PA():t.length-o,getText:()=>t,isAtStartOfLine:()=>r,hasTrailingComment:()=>s,hasTrailingWhitespace:()=>!!t.length&&js(t.charCodeAt(t.length-1)),clear:u,writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:(e,t)=>l(e),writeTrailingSemicolon:l,writeComment:function(e){e&&(s=!0),c(e)}}}function BA(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(t){n(),e.writeLiteral(t)},writeStringLiteral(t){n(),e.writeStringLiteral(t)},writeSymbol(t,r){n(),e.writeSymbol(t,r)},writePunctuation(t){n(),e.writePunctuation(t)},writeKeyword(t){n(),e.writeKeyword(t)},writeOperator(t){n(),e.writeOperator(t)},writeParameter(t){n(),e.writeParameter(t)},writeSpace(t){n(),e.writeSpace(t)},writeProperty(t){n(),e.writeProperty(t)},writeComment(t){n(),e.writeComment(t)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}}}function OA(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function qA(e){return Jt(OA(e))}function $A(e,t,n){return t.moduleName||MA(e,t.fileName,n&&n.fileName)}function QA(e,t){return e.getCanonicalFileName(Lo(t,e.getCurrentDirectory()))}function LA(e,t,n){const r=t.getExternalModuleFileFromDeclaration(n);if(!r||r.isDeclarationFile)return;const i=Ch(n);return!i||!Od(i)||vo(i.text)||QA(e,r.path).includes(QA(e,Vo(e.getCommonSourceDirectory())))?$A(e,r):void 0}function MA(e,t,n){const r=t=>e.getCanonicalFileName(t),i=Uo(n?Io(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r),o=UE(ss(i,Lo(t,e.getCurrentDirectory()),i,r,!1));return n?Ho(o):o}function jA(e,t,n){const r=t.getCompilerOptions();let i;return i=r.outDir?UE(KA(e,t,r.outDir)):UE(e),i+n}function UA(e,t){return JA(e,t.getCompilerOptions(),t)}function JA(e,t,n){const r=t.declarationDir||t.outDir,i=r?XA(e,r,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(e=>n.getCanonicalFileName(e))):e,o=VA(i);return UE(i)+o}function VA(e){return xo(e,[".mjs",".mts"])?".d.mts":xo(e,[".cjs",".cts"])?".d.cts":xo(e,[".json"])?".d.json.ts":".d.ts"}function HA(e){return xo(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:xo(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:xo(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function GA(e,t,n,r){return n?$o(r(),rs(n,e,t)):e}function WA(e,t){var n;if(e.paths)return e.baseUrl??un.checkDefined(e.pathsBasePath||(null==(n=t.getCurrentDirectory)?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function zA(e,t,n){const r=e.getCompilerOptions();if(r.outFile){const t=vC(r),i=r.emitDeclarationOnly||2===t||4===t;return S(e.getSourceFiles(),(t=>(i||!UP(t))&&YA(t,e,n)))}return S(void 0===t?e.getSourceFiles():[t],(t=>YA(t,e,n)))}function YA(e,t,n){const r=t.getCompilerOptions();if(r.noEmitForJsFiles&&Im(e))return!1;if(e.isDeclarationFile)return!1;if(t.isSourceFileFromExternalLibrary(e))return!1;if(n)return!0;if(t.isSourceOfProjectReferenceRedirect(e.fileName))return!1;if(!e_(e))return!0;if(t.getResolvedProjectReferenceToRedirect(e.fileName))return!1;if(r.outFile)return!0;if(!r.outDir)return!1;if(r.rootDir||r.composite&&r.configFilePath){const n=Lo(Yj(r,(()=>[]),t.getCurrentDirectory(),t.getCanonicalFileName),t.getCurrentDirectory()),i=XA(e.fileName,r.outDir,t.getCurrentDirectory(),n,t.getCanonicalFileName);if(0===Zo(e.fileName,i,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()))return!1}return!0}function KA(e,t,n){return XA(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),(e=>t.getCanonicalFileName(e)))}function XA(e,t,n,r,i){let o=Lo(e,n);return o=0===i(o).indexOf(i(r))?o.substring(r.length):o,qo(t,o)}function ZA(e,t,n,r,i,o,s){e.writeFile(n,r,i,(e=>{t.add(Xb(us.Could_not_write_file_0_Colon_1,n,e))}),o,s)}function ey(e,t,n){if(e.length>wo(e)&&!n(e)){ey(Io(e),t,n),t(e)}}function ty(e,t,n,r,i,o){try{r(e,t,n)}catch{ey(Io(Mo(e)),i,o),r(e,t,n)}}function ny(e,t){return Qs(qs(e),t)}function ry(e,t){return Qs(e,t)}function iy(e){return A(e.members,(e=>_w(e)&&Dp(e.body)))}function oy(e){if(e&&e.parameters.length>0){const t=2===e.parameters.length&&cy(e.parameters[0]);return e.parameters[t?1:0]}}function sy(e){const t=oy(e);return t&&t.type}function ay(e){if(e.parameters.length&&!cF(e)){const t=e.parameters[0];if(cy(t))return t}}function cy(e){return ly(e.name)}function ly(e){return!!e&&80===e.kind&&py(e)}function uy(e){return!!dc(e,(e=>186===e.kind||80!==e.kind&&166!==e.kind&&"quit"))}function dy(e){if(!ly(e))return!1;for(;iw(e.parent)&&e.parent.left===e;)e=e.parent;return 186===e.parent.kind}function py(e){return"this"===e.escapedText}function fy(e,t){let n,r,i,o;return $g(t)?(n=t,177===t.kind?i=t:178===t.kind?o=t:un.fail("Accessor has wrong kind")):u(e,(e=>{if(pu(e)&&Iy(e)===Iy(t)){Lg(e.name)===Lg(t.name)&&(n?r||(r=e):n=e,177!==e.kind||i||(i=e),178!==e.kind||o||(o=e))}})),{firstAccessor:n,secondAccessor:r,getAccessor:i,setAccessor:o}}function _y(e){if(!Tm(e)&&WI(e))return;if(KI(e))return;const t=e.type;return t||!Tm(e)?t:Dl(e)?e.typeExpression&&e.typeExpression.type:nl(e)}function my(e){return e.type}function hy(e){return cF(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Tm(e)?rl(e):void 0)}function gy(e){return R(ol(e),(e=>function(e){return kF(e)&&!(320===e.parent.kind&&(e.parent.tags.some(wh)||e.parent.tags.some(AF)))}(e)?e.typeParameters:void 0))}function Ay(e){const t=oy(e);return t&&_y(t)}function yy(e,t,n,r){!function(e,t,n,r){r&&r.length&&n!==r[0].pos&&ry(e,n)!==ry(e,r[0].pos)&&t.writeLine()}(e,t,n.pos,r)}function vy(e,t,n,r){n!==r&&ry(e,n)!==ry(e,r)&&t.writeLine()}function by(e,t,n,r,i,o,s){let a,c;if(s?0===i.pos&&(a=S(ua(e,i.pos),(function(t){return $p(e,t.pos)}))):a=ua(e,i.pos),a){const s=[];let l;for(const e of a){if(l){const n=ry(t,l.end);if(ry(t,e.pos)>=n+2)break}s.push(e),l=e}if(s.length){const l=ry(t,Ae(s).end);ry(t,Ks(e,i.pos))>=l+2&&(yy(t,n,i,a),function(e,t,n,r,i,o,s,a){if(r&&r.length>0){let i=!1;for(const o of r)i&&(n.writeSpace(" "),i=!1),a(e,t,n,o.pos,o.end,s),o.hasTrailingNewLine?n.writeLine():i=!0;i&&o&&n.writeSpace(" ")}}(e,t,n,s,0,!0,o,r),c={nodePos:i.pos,detachedCommentEndPos:Ae(s).end})}}return c}function Cy(e,t,n,r,i,o){if(42===e.charCodeAt(r+1)){const s=$s(t,r),a=t.length;let c;for(let l=r,u=s.line;l0){let e=i%PA();const t=RA((i-e)/PA());for(n.rawWrite(t);e;)n.rawWrite(" "),e--}else n.rawWrite("")}Ey(e,i,n,o,l,d),l=d}}else n.writeComment(e.substring(r,i))}function Ey(e,t,n,r,i,o){const s=Math.min(t,o-1),a=e.substring(i,s).trim();a?(n.writeComment(a),s!==t&&n.writeLine()):n.rawWrite(r)}function xy(e,t,n){let r=0;for(;t=0&&e.kind<=165?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Hy(e)),n||t&&Tm(e)?(268435456&e.modifierFlagsCache||!e.parent||(e.modifierFlagsCache|=268435456|Uy(e)),Jy(e.modifierFlagsCache)):function(e){return 65535&e}(e.modifierFlagsCache))}function Ly(e){return Qy(e,!0)}function My(e){return Qy(e,!0,!0)}function jy(e){return Qy(e,!1)}function Uy(e){let t=0;return e.parent&&!aw(e)&&(Tm(e)&&(Lc(e)&&(t|=8388608),jc(e)&&(t|=16777216),Jc(e)&&(t|=33554432),Hc(e)&&(t|=67108864),Gc(e)&&(t|=134217728)),zc(e)&&(t|=65536)),t}function Jy(e){return 131071&e|(260046848&e)>>>23}function Vy(e){return Hy(e)|function(e){return Jy(Uy(e))}(e)}function Hy(e){let t=cP(e)?Gy(e.modifiers):0;return(8&e.flags||80===e.kind&&4096&e.flags)&&(t|=32),t}function Gy(e){let t=0;if(e)for(const n of e)t|=Wy(n.kind);return t}function Wy(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 170:return 32768}return 0}function zy(e){return 57===e||56===e}function Yy(e){return zy(e)||54===e}function Ky(e){return 76===e||77===e||78===e}function Xy(e){return uI(e)&&Ky(e.operatorToken.kind)}function Zy(e){return zy(e)||61===e}function ev(e){return uI(e)&&Zy(e.operatorToken.kind)}function tv(e){return e>=64&&e<=79}function nv(e){const t=rv(e);return t&&!t.isImplements?t.class:void 0}function rv(e){if(gI(e)){if($T(e.parent)&&du(e.parent.parent))return{class:e.parent.parent,isImplements:119===e.parent.token};if(lF(e.parent)){const t=Uh(e.parent);if(t&&du(t))return{class:t,isImplements:!1}}}}function iv(e,t){return uI(e)&&(t?64===e.operatorToken.kind:tv(e.operatorToken.kind))&&$u(e.left)}function ov(e){if(iv(e,!0)){const t=e.left.kind;return 210===t||209===t}return!1}function sv(e){return void 0!==nv(e)}function av(e){return 80===e.kind||uv(e)}function cv(e){switch(e.kind){case 80:return e;case 166:do{e=e.left}while(80!==e.kind);return e;case 211:do{e=e.expression}while(80!==e.kind);return e}}function lv(e){return 80===e.kind||110===e.kind||108===e.kind||236===e.kind||211===e.kind&&lv(e.expression)||217===e.kind&&lv(e.expression)}function uv(e){return zw(e)&&UD(e.name)&&av(e.expression)}function dv(e){if(zw(e)){const t=dv(e.expression);if(void 0!==t)return t+"."+qf(e.name)}else if(Yw(e)){const t=dv(e.expression);if(void 0!==t&&tu(e.argumentExpression))return t+"."+Lg(e.argumentExpression)}else{if(UD(e))return mc(e.escapedText);if(BT(e))return oS(e)}}function pv(e){return oh(e)&&"prototype"===uh(e)}function fv(e){return 166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e||236===e.parent.kind&&e.parent.name===e}function _v(e){return!!e.parent&&(zw(e.parent)&&e.parent.name===e||Yw(e.parent)&&e.parent.argumentExpression===e)}function mv(e){return iw(e.parent)&&e.parent.right===e||zw(e.parent)&&e.parent.name===e||WT(e.parent)&&e.parent.right===e}function hv(e){return uI(e)&&104===e.operatorToken.kind}function gv(e){return hv(e.parent)&&e===e.parent.right}function Av(e){return 210===e.kind&&0===e.properties.length}function yv(e){return 209===e.kind&&0===e.elements.length}function vv(e){if(function(e){return e&&l(e.declarations)>0&&wy(e.declarations[0],2048)}(e)&&e.declarations)for(const t of e.declarations)if(t.localSymbol)return t.localSymbol}function bv(e){return A(SE,(t=>Eo(e,t)))}var Cv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Ev(e){let t="";const n=function(e){const t=[],n=e.length;for(let r=0;r>6|192),t.push(63&n|128)):n<65536?(t.push(n>>12|224),t.push(n>>6&63|128),t.push(63&n|128)):n<131072?(t.push(n>>18|240),t.push(n>>12&63|128),t.push(n>>6&63|128),t.push(63&n|128)):un.assert(!1,"Unexpected code point")}return t}(e);let r=0;const i=n.length;let o,s,a,c;for(;r>2,s=(3&n[r])<<4|n[r+1]>>4,a=(15&n[r+1])<<2|n[r+2]>>6,c=63&n[r+2],r+1>=i?a=c=64:r+2>=i&&(c=64),t+=Cv.charAt(o)+Cv.charAt(s)+Cv.charAt(a)+Cv.charAt(c),r+=3;return t}function xv(e,t){return e&&e.base64encode?e.base64encode(t):Ev(t)}function Sv(e,t){if(e&&e.base64decode)return e.base64decode(t);const n=t.length,r=[];let i=0;for(;i>4&3,c=(15&n)<<4|o>>2&15,l=(3&o)<<6|63&s;0===c&&0!==o?r.push(a):0===l&&0!==s?r.push(a,c):r.push(a,c,l),i+=4}return function(e){let t="",n=0;const r=e.length;for(;n=e||-1===t),{pos:e,end:t}}function Nv(e,t){return Pv(e.pos,t)}function Bv(e,t){return Pv(t,e.end)}function Ov(e){const t=cP(e)?y(e.modifiers,cw):void 0;return t&&!YE(t.end)?Bv(e,t.end):e}function qv(e){if(uw(e)||pw(e))return Bv(e,e.name.pos);const t=cP(e)?ge(e.modifiers):void 0;return t&&!YE(t.end)?Bv(e,t.end):Ov(e)}function $v(e,t){return Pv(e,e+Is(t).length)}function Qv(e,t){return jv(e,e,t)}function Lv(e,t,n){return Gv(Wv(e,n,!1),Wv(t,n,!1),n)}function Mv(e,t,n){return Gv(e.end,t.end,n)}function jv(e,t,n){return Gv(Wv(e,n,!1),t.end,n)}function Uv(e,t,n){return Gv(e.end,Wv(t,n,!1),n)}function Jv(e,t,n,r){const i=Wv(t,n,r);return Ls(n,e.end,i)}function Vv(e,t,n){return Ls(n,e.end,t.end)}function Hv(e,t){return!Gv(e.pos,e.end,t)}function Gv(e,t,n){return 0===Ls(n,e,t)}function Wv(e,t,n){return YE(e.pos)?-1:Ks(t.text,e.pos,!1,n)}function zv(e,t,n,r){const i=Ks(n.text,e,!1,r),o=function(e,t=0,n){for(;e-- >t;)if(!js(n.text.charCodeAt(e)))return e}(i,t,n);return Ls(n,o??t,i)}function Yv(e,t,n,r){const i=Ks(n.text,e,!1,r);return Ls(n,e,Math.min(t,i))}function Kv(e,t){return Xv(e.pos,e.end,t)}function Xv(e,t,n){return e<=n.pos&&t>=n.end}function Zv(e){const t=fc(e);if(t)switch(t.parent.kind){case 266:case 267:return t===t.parent.name}return!1}function eb(e){return S(e.declarations,tb)}function tb(e){return HI(e)&&void 0!==e.initializer}function nb(e){return e.watch&&De(e,"watch")}function rb(e){e.close()}function ib(e){return 33554432&e.flags?e.links.checkFlags:0}function ob(e,t=!1){if(e.valueDeclaration){const n=ic(t&&e.declarations&&A(e.declarations,hw)||32768&e.flags&&A(e.declarations,mw)||e.valueDeclaration);return e.parent&&32&e.parent.flags?n:-8&n}if(6&ib(e)){const t=e.links.checkFlags;return(1024&t?2:256&t?1:4)|(2048&t?256:0)}return 4194304&e.flags?257:0}function sb(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e}function ab(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function cb(e){return 1===ub(e)}function lb(e){return 0!==ub(e)}function ub(e){const{parent:t}=e;switch(null==t?void 0:t.kind){case 217:case 209:return ub(t);case 225:case 224:const{operator:n}=t;return 46===n||47===n?2:0;case 226:const{left:r,operatorToken:i}=t;return r===e&&tv(i.kind)?64===i.kind?1:2:0;case 211:return t.name!==e?0:ub(t);case 303:{const n=ub(t.parent);return e===t.name?function(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return un.assertNever(e)}}(n):n}case 304:return e===t.objectAssignmentInitializer?0:ub(t.parent);case 249:case 250:return e===t.initializer?1:0;default:return 0}}function db(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if("object"==typeof e[n]){if(!db(e[n],t[n]))return!1}else if("function"!=typeof e[n]&&e[n]!==t[n])return!1;return!0}function pb(e,t){e.forEach(t),e.clear()}function fb(e,t,n){const{onDeleteValue:r,onExistingValue:i}=n;e.forEach(((n,o)=>{var s;(null==t?void 0:t.has(o))?i&&i(n,null==(s=t.get)?void 0:s.call(t,o),o):(e.delete(o),r(n,o))}))}function _b(e,t,n){fb(e,t,n);const{createNewValue:r}=n;null==t||t.forEach(((t,n)=>{e.has(n)||e.set(n,r(n,t))}))}function mb(e){if(32&e.flags){const t=hb(e);return!!t&&wy(t,64)}return!1}function hb(e){var t;return null==(t=e.declarations)?void 0:t.find(du)}function gb(e){return 3899393&e.flags?e.objectFlags:0}function Ab(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&nT(e.declarations[0])}function yb({moduleSpecifier:e}){return kD(e)?e.text:zp(e)}function vb(e){let t;return OP(e,(e=>{Dp(e)&&(t=e)}),(e=>{for(let n=e.length-1;n>=0;n--)if(Dp(e[n])){t=e[n];break}})),t}function bb(e,t){return!e.has(t)&&(e.add(t),!0)}function Cb(e){return du(e)||YI(e)||Sw(e)}function Eb(e){return e>=182&&e<=205||133===e||159===e||150===e||163===e||151===e||136===e||154===e||155===e||116===e||157===e||146===e||141===e||233===e||312===e||313===e||314===e||315===e||316===e||317===e||318===e}function xb(e){return 211===e.kind||212===e.kind}function Sb(e){return 211===e.kind?e.name:(un.assert(212===e.kind),e.argumentExpression)}function kb(e){return 275===e.kind||279===e.kind}function Db(e){for(;xb(e);)e=e.expression;return e}function wb(e,t){if(xb(e.parent)&&_v(e))return function e(n){if(211===n.kind){const e=t(n.name);if(void 0!==e)return e}else if(212===n.kind){if(!UD(n.argumentExpression)&&!Od(n.argumentExpression))return;{const e=t(n.argumentExpression);if(void 0!==e)return e}}if(xb(n.expression))return e(n.expression);if(UD(n.expression))return t(n.expression);return}(e.parent)}function Ib(e,t){for(;;){switch(e.kind){case 225:e=e.operand;continue;case 226:e=e.left;continue;case 227:e=e.condition;continue;case 215:e=e.tag;continue;case 213:if(t)return e;case 234:case 212:case 211:case 235:case 355:case 238:e=e.expression;continue}return e}}function Tb(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 Fb(e,t){this.flags=t,(un.isDebugging||Hn)&&(this.checker=e)}function Rb(e,t){this.flags=t,un.isDebugging&&(this.checker=e)}function Pb(e,t,n){this.pos=t,this.end=n,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 Nb(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function Bb(e,t,n){this.pos=t,this.end=n,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 Ob(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(e=>e)}var qb,$b={getNodeConstructor:()=>Pb,getTokenConstructor:()=>Nb,getIdentifierConstructor:()=>Bb,getPrivateIdentifierConstructor:()=>Pb,getSourceFileConstructor:()=>Pb,getSymbolConstructor:()=>Tb,getTypeConstructor:()=>Fb,getSignatureConstructor:()=>Rb,getSourceMapSourceConstructor:()=>Ob},Qb=[];function Lb(e){Qb.push(e),e($b)}function Mb(e){Object.assign($b,e),u(Qb,(e=>e($b)))}function jb(e,t){return e.replace(/\{(\d+)\}/g,((e,n)=>""+un.checkDefined(t[+n])))}function Ub(e){qb=e}function Jb(e){!qb&&e&&(qb=e())}function Vb(e){return qb&&qb[e.key]||e.message}function Hb(e,t,n,r,i,...o){n+r>t.length&&(r=t.length-n),Uf(t,n,r);let s=Vb(i);return J(o)&&(s=jb(s,o)),{file:void 0,start:n,length:r,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,fileName:e}}function Gb(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function Wb(e,t){const n=t.fileName||"",r=t.text.length;un.assertEqual(e.fileName,n),un.assertLessThanOrEqual(e.start,r),un.assertLessThanOrEqual(e.start+e.length,r);const i={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){i.relatedInformation=[];for(const o of e.relatedInformation)Gb(o)&&o.fileName===n?(un.assertLessThanOrEqual(o.start,r),un.assertLessThanOrEqual(o.start+o.length,r),i.relatedInformation.push(Wb(o,t))):i.relatedInformation.push(o)}return i}function zb(e,t){const n=[];for(const r of e)n.push(Wb(r,t));return n}function Yb(e,t,n,r,...i){Uf(e.text,t,n);let o=Vb(r);return J(i)&&(o=jb(o,i)),{file:e,start:t,length:n,messageText:o,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function Kb(e,...t){let n=Vb(e);return J(t)&&(n=jb(n,t)),n}function Xb(e,...t){let n=Vb(e);return J(t)&&(n=jb(n,t)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function Zb(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function eC(e,t,...n){let r=Vb(t);return J(n)&&(r=jb(r,n)),{messageText:r,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}}function tC(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function nC(e){return e.file?e.file.path:void 0}function rC(e,t){return iC(e,t)||function(e,t){if(!e.relatedInformation&&!t.relatedInformation)return 0;if(e.relatedInformation&&t.relatedInformation)return At(t.relatedInformation.length,e.relatedInformation.length)||u(e.relatedInformation,((e,n)=>rC(e,t.relatedInformation[n])))||0;return e.relatedInformation?-1:1}(e,t)||0}function iC(e,t){const n=cC(e),r=cC(t);return xt(nC(e),nC(t))||At(e.start,t.start)||At(e.length,t.length)||At(n,r)||function(e,t){let n=lC(e),r=lC(t);"string"!=typeof n&&(n=n.messageText);"string"!=typeof r&&(r=r.messageText);const i="string"!=typeof e.messageText?e.messageText.next:void 0,o="string"!=typeof t.messageText?t.messageText.next:void 0;let s=xt(n,r);if(s)return s;if(s=function(e,t){if(void 0===e&&void 0===t)return 0;if(void 0===e)return 1;if(void 0===t)return-1;return oC(e,t)||sC(e,t)}(i,o),s)return s;if(e.canonicalHead&&!t.canonicalHead)return-1;if(t.canonicalHead&&!e.canonicalHead)return 1;return 0}(e,t)||0}function oC(e,t){if(void 0===e&&void 0===t)return 0;if(void 0===e)return 1;if(void 0===t)return-1;let n=At(t.length,e.length);if(n)return n;for(let r=0;r{e.externalModuleIndicator=mP(e)||!e.isDeclarationFile||void 0};case 1:return e=>{e.externalModuleIndicator=mP(e)};case 2:const t=[mP];4!==e.jsx&&5!==e.jsx||t.push(pC),t.push(fC);const n=Zt(...t),r=t=>{t.externalModuleIndicator=n(t,e)};return r}}function mC(e){const t=bC(e);return 3<=t&&t<=99||kC(e)||DC(e)}var hC={allowImportingTsExtensions:{dependencies:["rewriteRelativeImportExtensions"],computeValue:e=>!(!e.allowImportingTsExtensions&&!e.rewriteRelativeImportExtensions)},target:{dependencies:["module"],computeValue:e=>(0===e.target?void 0:e.target)??((100===e.module?9:199===e.module&&99)||1)},module:{dependencies:["target"],computeValue:e=>"number"==typeof e.module?e.module:hC.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(void 0===t)switch(hC.module.computeValue(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>e.moduleDetection||(100===hC.module.computeValue(e)||199===hC.module.computeValue(e)?3:2)},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!(!e.isolatedModules&&!e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(hC.module.computeValue(e)){case 100:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:hC.esModuleInterop.computeValue(e)||4===hC.module.computeValue(e)||100===hC.moduleResolution.computeValue(e)},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{const t=hC.moduleResolution.computeValue(e);if(!QC(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{const t=hC.moduleResolution.computeValue(e);if(!QC(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>void 0!==e.resolveJsonModule?e.resolveJsonModule:100===hC.moduleResolution.computeValue(e)},declaration:{dependencies:["composite"],computeValue:e=>!(!e.declaration&&!e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!(!e.preserveConstEnums&&!hC.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!(!e.incremental&&!e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!(!e.declarationMap||!hC.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>void 0===e.allowJs?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>void 0===e.useDefineForClassFields?hC.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>LC(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>LC(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>LC(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>LC(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>LC(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>LC(e,"strictPropertyInitialization")},strictBuiltinIteratorReturn:{dependencies:["strict"],computeValue:e=>LC(e,"strictBuiltinIteratorReturn")},alwaysStrict:{dependencies:["strict"],computeValue:e=>LC(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>LC(e,"useUnknownInCatchVariables")}},gC=hC,AC=hC.allowImportingTsExtensions.computeValue,yC=hC.target.computeValue,vC=hC.module.computeValue,bC=hC.moduleResolution.computeValue,CC=hC.moduleDetection.computeValue,EC=hC.isolatedModules.computeValue,xC=hC.esModuleInterop.computeValue,SC=hC.allowSyntheticDefaultImports.computeValue,kC=hC.resolvePackageJsonExports.computeValue,DC=hC.resolvePackageJsonImports.computeValue,wC=hC.resolveJsonModule.computeValue,IC=hC.declaration.computeValue,TC=hC.preserveConstEnums.computeValue,FC=hC.incremental.computeValue,RC=hC.declarationMap.computeValue,PC=hC.allowJs.computeValue,NC=hC.useDefineForClassFields.computeValue;function BC(e){return e>=5&&e<=99}function OC(e){switch(vC(e)){case 0:case 4:case 3:return!1}return!0}function qC(e){return!1===e.allowUnreachableCode}function $C(e){return!1===e.allowUnusedLabels}function QC(e){return e>=3&&e<=99||100===e}function LC(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function MC(e){return np(hN.type,((t,n)=>t===e?n:void 0))}function jC(e){return!1!==e.useDefineForClassFields&&yC(e)>=9}function UC(e,t){return ep(t,e,vN)}function JC(e,t){return ep(t,e,bN)}function VC(e,t){return ep(t,e,CN)}function HC(e,t){return t.strictFlag?LC(e,t.name):t.allowJsFlag?PC(e):e[t.name]}function GC(e){const t=e.jsx;return 2===t||4===t||5===t}function WC(e,t){const n=null==t?void 0:t.pragmas.get("jsximportsource"),r=Ye(n)?n[n.length-1]:n,i=null==t?void 0:t.pragmas.get("jsxruntime"),o=Ye(i)?i[i.length-1]:i;if("classic"!==(null==o?void 0:o.arguments.factory))return 4===e.jsx||5===e.jsx||e.jsxImportSource||r||"automatic"===(null==o?void 0:o.arguments.factory)?(null==r?void 0:r.arguments.factory)||e.jsxImportSource||"react":void 0}function zC(e,t){return e?`${e}/${5===t.jsx?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function YC(e){let t=!1;for(let n=0;ni,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>r,setSymlinkedFile:(e,t)=>(i||(i=new Map)).set(e,t),setSymlinkedDirectory:(i,o)=>{let s=Uo(i,e,t);Px(s)||(s=Vo(s),!1===o||(null==n?void 0:n.has(s))||(r||(r=Ve())).add(o.realPath,i),(n||(n=new Map)).set(s,o))},setSymlinksFromResolutions(e,t,n){un.assert(!o),o=!0,e((e=>s(this,e.resolvedModule))),t((e=>s(this,e.resolvedTypeReferenceDirective))),n.forEach((e=>s(this,e.resolvedTypeReferenceDirective)))},hasProcessedResolutions:()=>o,setSymlinksFromResolution(e){s(this,e)},hasAnySymlinks:function(){return!!(null==i?void 0:i.size)||!!n&&!!np(n,(e=>!!e))}};function s(n,r){if(!r||!r.originalPath||!r.resolvedFileName)return;const{resolvedFileName:i,originalPath:o}=r;n.setSymlinkedFile(Uo(o,e,t),i);const[s,c]=function(e,t,n,r){const i=Po(Lo(e,n)),o=Po(Lo(t,n));let s=!1;for(;i.length>=2&&o.length>=2&&!XC(i[i.length-2],r)&&!XC(o[o.length-2],r)&&r(i[i.length-1])===r(o[o.length-1]);)i.pop(),o.pop(),s=!0;return s?[No(i),No(o)]:void 0}(i,o,e,t)||a;s&&c&&n.setSymlinkedDirectory(c,{real:Vo(s),realPath:Vo(Uo(s,e,t))})}}function XC(e,t){return void 0!==e&&("node_modules"===t(e)||Wt(e,"@"))}function ZC(e,t,n){const r=Yt(e,t,n);return void 0===r?void 0:mo((i=r).charCodeAt(0))?i.slice(1):void 0;var i}var eE=/[^\w\s/]/g;function tE(e){return e.replace(eE,nE)}function nE(e){return"\\"+e}var rE=[42,63],iE=`(?!(${["node_modules","bower_components","jspm_packages"].join("|")})(/|$))`,oE={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${iE}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>_E(e,oE.singleAsteriskRegexFragment)},sE={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${iE}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>_E(e,sE.singleAsteriskRegexFragment)},aE={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>_E(e,aE.singleAsteriskRegexFragment)},cE={files:oE,directories:sE,exclude:aE};function lE(e,t,n){const r=uE(e,t,n);if(!r||!r.length)return;return`^(${r.map((e=>`(${e})`)).join("|")})${"exclude"===n?"($|/)":"$"}`}function uE(e,t,n){if(void 0!==e&&0!==e.length)return R(e,(e=>e&&fE(e,t,n,cE[n])))}function dE(e){return!/[.*?]/.test(e)}function pE(e,t,n){const r=e&&fE(e,t,n,cE[n]);return r&&`^(${r})${"exclude"===n?"($|/)":"$"}`}function fE(e,t,n,{singleAsteriskRegexFragment:r,doubleAsteriskRegexFragment:i,replaceWildcardCharacter:o}=cE[n]){let s="",a=!1;const c=Qo(e,t),l=Ae(c);if("exclude"!==n&&"**"===l)return;c[0]=Jo(c[0]),dE(l)&&c.push("**","*");let u=0;for(let e of c){if("**"===e)s+=i;else if("directories"===n&&(s+="(",u++),a&&(s+=uo),"exclude"!==n){let t="";42===e.charCodeAt(0)?(t+="([^./]"+r+")?",e=e.substr(1)):63===e.charCodeAt(0)&&(t+="[^./]",e=e.substr(1)),t+=e.replace(eE,o),t!==e&&(s+=iE),s+=t}else s+=e.replace(eE,o);a=!0}for(;u>0;)s+=")?",u--;return s}function _E(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function mE(e,t,n,r,i){e=Mo(e);const o=qo(i=Mo(i),e);return{includeFilePatterns:w(uE(n,o,"files"),(e=>`^${e}$`)),includeFilePattern:lE(n,o,"files"),includeDirectoryPattern:lE(n,o,"directories"),excludePattern:lE(t,o,"exclude"),basePaths:AE(e,n,r)}}function hE(e,t){return new RegExp(e,t?"":"i")}function gE(e,t,n,r,i,o,s,a,c){e=Mo(e),o=Mo(o);const l=mE(e,n,r,i,o),u=l.includeFilePatterns&&l.includeFilePatterns.map((e=>hE(e,i))),d=l.includeDirectoryPattern&&hE(l.includeDirectoryPattern,i),p=l.excludePattern&&hE(l.excludePattern,i),f=u?u.map((()=>[])):[[]],_=new Map,m=Jt(i);for(const e of l.basePaths)h(e,qo(o,e),s);return F(f);function h(e,n,r){const i=m(c(n));if(_.has(i))return;_.set(i,!0);const{files:o,directories:s}=a(e);for(const r of le(o,xt)){const i=qo(e,r),o=qo(n,r);if((!t||xo(i,t))&&(!p||!p.test(o)))if(u){const e=v(u,(e=>e.test(o)));-1!==e&&f[e].push(i)}else f[0].push(i)}if(void 0===r||0!=--r)for(const t of le(s,xt)){const i=qo(e,t),o=qo(n,t);d&&!d.test(o)||p&&p.test(o)||h(i,o,r)}}}function AE(e,t,n){const r=[e];if(t){const i=[];for(const n of t){const t=go(n)?n:Mo(qo(e,n));i.push(yE(t))}i.sort(St(!n));for(const t of i)g(r,(r=>!es(r,t,e,!n)))&&r.push(t)}return r}function yE(e){const t=E(e,rE);return t<0?Co(e)?Jo(Io(e)):e:e.substring(0,e.lastIndexOf(uo,t))}function vE(e,t){return t||bE(e)||3}function bE(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 CE=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],EE=F(CE),xE=[...CE,[".json"]],SE=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],kE=F([[".js",".jsx"],[".mjs"],[".cjs"]]),DE=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],wE=[...DE,[".json"]],IE=[".d.ts",".d.cts",".d.mts"],TE=[".ts",".cts",".mts",".tsx"],FE=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"];function RE(e,t){const n=e&&PC(e);if(!t||0===t.length)return n?DE:CE;const r=n?DE:CE,i=F(r);return[...r,...q(t,(e=>{return 7===e.scriptKind||n&&(1===(t=e.scriptKind)||2===t)&&!i.includes(e.extension)?[e.extension]:void 0;var t}))]}function PE(e,t){return e&&wC(e)?t===DE?wE:t===CE?xE:[...t,[".json"]]:t}function NE(e){return J(kE,(t=>Eo(e,t)))}function BE(e){return J(EE,(t=>Eo(e,t)))}function OE(e){return J(TE,(t=>Eo(e,t)))&&!KP(e)}var qE=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(qE||{});function $E(e,t,n,r){const i=bC(n),o=3<=i&&i<=99;return"js"===e||99===t&&o?w$(n)&&2!==s()?3:2:"minimal"===e?0:"index"===e?1:w$(n)?s():r&&function({imports:e},t=Zt(NE,BE)){return p(e,(({text:e})=>vo(e)&&!xo(e,FE)?t(e):void 0))||!1}(r)?2:0;function s(){let e=!1;const i=(null==r?void 0:r.imports.length)?r.imports:r&&Im(r)?function(e){let t,n=0;for(const r of e.statements){if(n>3)break;Lm(r)?t=H(t,r.declarationList.declarations.map((e=>e.initializer))):TI(r)&&Bm(r.expression,!0)?t=re(t,r.expression):n++}return t||a}(r).map((e=>e.arguments[0])):a;for(const s of i)if(vo(s.text)){if(o&&1===t&&99===eJ(r,s,n))continue;if(xo(s.text,FE))continue;if(BE(s.text))return 3;NE(s.text)&&(e=!0)}return e?2:0}}function QE(e,t,n){if(!e)return!1;const r=RE(t,n);for(const n of F(PE(t,r)))if(Eo(e,n))return!0;return!1}function LE(e){const t=e.match(/\//g);return t?t.length:0}function ME(e,t){return At(LE(e),LE(t))}var jE=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"];function UE(e){for(const t of jE){const n=JE(e,t);if(void 0!==n)return n}return e}function JE(e,t){return Eo(e,t)?VE(e,t):void 0}function VE(e,t){return e.substring(0,e.length-t.length)}function HE(e,t){return Go(e,t,jE,!1)}function GE(e){const t=e.indexOf("*");return-1===t?e:-1!==e.indexOf("*",t+1)?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}var WE=new WeakMap;function zE(e){let t,n,r=WE.get(e);if(void 0!==r)return r;const i=Ie(e);for(const e of i){const r=GE(e);void 0!==r&&("string"==typeof r?(t??(t=new Set)).add(r):(n??(n=[])).push(r))}return WE.set(e,r={matchableStringSet:t,patterns:n}),r}function YE(e){return!(e>=0)}function KE(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e||Wt(e,".d.")&&Ot(e,".ts")}function XE(e){return KE(e)||".json"===e}function ZE(e){const t=tx(e);return void 0!==t?t:un.fail(`File ${e} has unknown extension.`)}function ex(e){return void 0!==tx(e)}function tx(e){return A(jE,(t=>Eo(e,t)))}function nx(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}var rx={files:a,directories:a};function ix(e,t){const{matchableStringSet:n,patterns:r}=e;return(null==n?void 0:n.has(t))?t:void 0!==r&&0!==r.length?Gt(r,(e=>e),t):void 0}function ox(e,t){const n=e.indexOf(t);return un.assert(-1!==n),e.slice(n)}function sx(e,...t){return t.length?(e.relatedInformation||(e.relatedInformation=[]),un.assert(e.relatedInformation!==a,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t),e):e}function ax(e,t){un.assert(0!==e.length);let n=t(e[0]),r=n;for(let i=1;ir&&(r=o)}return{min:n,max:r}}function cx(e){return{pos:Lp(e),end:e.end}}function lx(e,t){return{pos:t.pos-1,end:Math.min(e.text.length,Ks(e.text,t.end)+1)}}function ux(e,t,n){return px(e,t,n,!1)}function dx(e,t,n){return px(e,t,n,!0)}function px(e,t,n,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||!r&&t.noCheck||n.isSourceOfProjectReferenceRedirect(e.fileName)||!fx(e,t)}function fx(e,t){if(e.checkJsDirective&&!1===e.checkJsDirective.enabled)return!1;if(3===e.scriptKind||4===e.scriptKind||5===e.scriptKind)return!0;const n=(1===e.scriptKind||2===e.scriptKind)&&nx(e,t);return vp(e,t.checkJs)||n||7===e.scriptKind}function _x(e,t){return e===t||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&Be(e,t,_x)}function mx(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 n=e.length-1;let r=0;for(;48===e.charCodeAt(r);)r++;return e.slice(r,n)||"0"}const n=e.length-1,r=(n-2)*t,i=new Uint16Array((r>>>4)+(15&r?1:0));for(let r=n-1,o=0;r>=2;r--,o+=t){const t=o>>>4,n=e.charCodeAt(r),s=(n<=57?n-48:10+n-(n<=70?65:97))<<(15&o);i[t]|=s;const a=s>>>16;a&&(i[t+1]|=a)}let o="",s=i.length-1,a=!0;for(;a;){let e=0;a=!1;for(let t=s;t>=0;t--){const n=e<<16|i[t],r=n/10|0;i[t]=r,e=n-10*r,r&&!a&&(s=t,a=!0)}o=e+o}return o}function hx({negative:e,base10Value:t}){return(e&&"0"!==t?"-":"")+t}function gx(e){if(yx(e,!1))return Ax(e)}function Ax(e){const t=e.startsWith("-");return{negative:t,base10Value:mx(`${t?e.slice(1):e}n`)}}function yx(e,t){if(""===e)return!1;const n=ha(99,!1);let r=!0;n.setOnError((()=>r=!1)),n.setText(e+"n");let i=n.scan();const o=41===i;o&&(i=n.scan());const s=n.getTokenFlags();return r&&10===i&&n.getTokenEnd()===e.length+1&&!(512&s)&&(!t||e===hx({negative:o,base10Value:mx(n.getTokenValue())}))}function vx(e){return!!(33554432&e.flags)||Cm(e)||function(e){if(80!==e.kind)return!1;const t=dc(e.parent,(e=>{switch(e.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}}));return 119===(null==t?void 0:t.token)||264===(null==t?void 0:t.parent.kind)}(e)||function(e){for(;80===e.kind||211===e.kind;)e=e.parent;if(167!==e.kind)return!1;if(wy(e.parent,64))return!0;const t=e.parent.parent.kind;return 264===t||187===t}(e)||!(vm(e)||function(e){return UD(e)&&MT(e.parent)&&e.parent.name===e}(e))}function bx(e){return bw(e)&&UD(e.typeName)}function Cx(e,t=_t){if(e.length<2)return!0;const n=e[0];for(let r=1,i=e.length;re.includes(t)))}function Nx(e){if(!e.parent)return;switch(e.kind){case 168:const{parent:t}=e;return 195===t.kind?void 0:t.typeParameters;case 169:return e.parent.parameters;case 204:case 239:return e.parent.templateSpans;case 170:{const{parent:t}=e;return lP(t)?t.modifiers:void 0}case 298:return e.parent.heritageClauses}const{parent:t}=e;if(Sd(e))return aF(e.parent)?void 0:e.parent.tags;switch(t.kind){case 187:case 264:return gu(e)?t.members:void 0;case 192:case 193:return t.types;case 189:case 209:case 356:case 275:case 279:return t.elements;case 210:case 292:return t.properties;case 213:case 214:return vu(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 284:case 288:return gd(e)?t.children:void 0;case 286:case 285:return vu(e)?t.typeArguments:void 0;case 241:case 296:case 297:case 268:case 307:return t.statements;case 269:return t.clauses;case 263:case 231:return uu(e)?t.members:void 0;case 266:return UT(e)?t.members:void 0}}function Bx(e){if(!e.typeParameters){if(J(e.parameters,(e=>!_y(e))))return!0;if(219!==e.kind){const t=fe(e.parameters);if(!t||!cy(t))return!0}}return!1}function Ox(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function qx(e){return 260===e.kind&&299===e.parent.kind}function $x(e){return 218===e.kind||219===e.kind}function Qx(e){return e.replace(/\$/g,(()=>"\\$"))}function Lx(e){return(+e).toString()===e}function Mx(e,t,n,r,i){const o=i&&"new"===e;return!o&&ma(e,t)?XS.createIdentifier(e):!r&&!o&&Lx(e)&&+e>=0?XS.createNumericLiteral(+e):XS.createStringLiteral(e,!!n)}function jx(e){return!!(262144&e.flags&&e.isThisType)}function Ux(e){let t,n=0,r=0,i=0,o=0;var s;(s=t||(t={}))[s.BeforeNodeModules=0]="BeforeNodeModules",s[s.NodeModules=1]="NodeModules",s[s.Scope=2]="Scope",s[s.PackageContent=3]="PackageContent";let a=0,c=0,l=0;for(;c>=0;)switch(a=c,c=e.indexOf("/",a+1),l){case 0:e.indexOf(Qq,a)===a&&(n=a,r=c,l=1);break;case 1:case 2:1===l&&"@"===e.charAt(a+1)?l=2:(i=c,l=3);break;case 3:l=e.indexOf(Qq,a)===a?1:3}return o=a,l>1?{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:r,packageRootIndex:i,fileNameIndex:o}:void 0}function Jx(e){switch(e.kind){case 168:case 263:case 264:case 265:case 266:case 346:case 338:case 340:return!0;case 273:return e.isTypeOnly;case 276:case 281:return e.parent.parent.isTypeOnly;default:return!1}}function Vx(e){return XI(e)||wI(e)||WI(e)||zI(e)||YI(e)||Jx(e)||ZI(e)&&!_f(e)&&!ff(e)}function Hx(e){if(!Dl(e))return!1;const{isBracketed:t,typeExpression:n}=e;return t||!!n&&316===n.type.kind}function Gx(e,t){if(0===e.length)return!1;const n=e.charCodeAt(0);return 35===n?e.length>1&&fa(e.charCodeAt(1),t):fa(n,t)}function Wx(e){var t;return 0===(null==(t=Tk(e))?void 0:t.kind)}function zx(e){return Tm(e)&&(e.type&&316===e.type.kind||Tc(e).some(Hx))}function Yx(e){switch(e.kind){case 172:case 171:return!!e.questionToken;case 169:return!!e.questionToken||zx(e);case 348:case 341:return Hx(e);default:return!1}}function Kx(e){const t=e.kind;return(211===t||212===t)&&vI(e.expression)}function Xx(e){return Tm(e)&&tI(e)&&wd(e)&&!!el(e)}function Zx(e){return un.checkDefined(eS(e))}function eS(e){const t=el(e);return t&&t.typeExpression&&t.typeExpression.type}function tS(e){return UD(e)?e.escapedText:iS(e)}function nS(e){return UD(e)?hc(e):oS(e)}function rS(e){const t=e.kind;return 80===t||295===t}function iS(e){return`${e.namespace.escapedText}:${hc(e.name)}`}function oS(e){return`${hc(e.namespace)}:${hc(e.name)}`}function sS(e){return UD(e)?hc(e):oS(e)}function aS(e){return!!(8576&e.flags)}function cS(e){return 8192&e.flags?e.escapedName:384&e.flags?_c(""+e.value):un.fail()}function lS(e){return!!e&&(zw(e)||Yw(e)||uI(e))}function uS(e){return void 0!==e&&!!rJ(e.attributes)}var dS=String.prototype.replace;function pS(e,t){return dS.call(e,"*",t)}function fS(e){return UD(e.name)?e.name.escapedText:_c(e.name.text)}function _S(e){switch(e.kind){case 168:case 169:case 172:case 171:case 185:case 184:case 179:case 180:case 181:case 174:case 173:case 175:case 176:case 177:case 178:case 183:case 182:case 186:case 187:case 188:case 189:case 192:case 193:case 196:case 190:case 191:case 197:case 198:case 194:case 195:case 203:case 205:case 202:case 328:case 329:case 346:case 338:case 340:case 345:case 344:case 324:case 325:case 326:case 341:case 348:case 317:case 315:case 314:case 312:case 313:case 322:case 318:case 309:case 333:case 335:case 334:case 350:case 343:case 199:case 200:case 262:case 241:case 268:case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 260:case 208:case 263:case 264:case 265:case 266:case 267:case 272:case 271:case 278:case 277:case 242:case 259:case 282:return!0}return!1}function mS(e,t=!1,n=!1,r=!1){return{value:e,isSyntacticallyString:t,resolvedOtherFiles:n,hasExternalReferences:r}}function hS({evaluateElementAccessExpression:e,evaluateEntityNameExpression:t}){function n(r,i){let o=!1,s=!1,a=!1;switch((r=sg(r)).kind){case 224:const c=n(r.operand,i);if(s=c.resolvedOtherFiles,a=c.hasExternalReferences,"number"==typeof c.value)switch(r.operator){case 40:return mS(c.value,o,s,a);case 41:return mS(-c.value,o,s,a);case 55:return mS(~c.value,o,s,a)}break;case 226:{const e=n(r.left,i),t=n(r.right,i);if(o=(e.isSyntacticallyString||t.isSyntacticallyString)&&40===r.operatorToken.kind,s=e.resolvedOtherFiles||t.resolvedOtherFiles,a=e.hasExternalReferences||t.hasExternalReferences,"number"==typeof e.value&&"number"==typeof t.value)switch(r.operatorToken.kind){case 52:return mS(e.value|t.value,o,s,a);case 51:return mS(e.value&t.value,o,s,a);case 49:return mS(e.value>>t.value,o,s,a);case 50:return mS(e.value>>>t.value,o,s,a);case 48:return mS(e.value<=2)break;case 174:case 176:case 177:case 178:case 262:if(3&u&&"arguments"===P){k=n;break e}break;case 218:if(3&u&&"arguments"===P){k=n;break e}if(16&u){const e=a.name;if(e&&P===e.escapedText){k=a.symbol;break e}}break;case 170:a.parent&&169===a.parent.kind&&(a=a.parent),a.parent&&(uu(a.parent)||263===a.parent.kind)&&(a=a.parent);break;case 346:case 338:case 340:case 351:const o=Vh(a);o&&(a=o.parent);break;case 169:D&&(D===a.initializer||D===a.name&&Cu(D))&&(T||(T=a));break;case 208:D&&(D===a.initializer||D===a.name&&Cu(D))&&Kg(a)&&!T&&(T=a);break;case 195:if(262144&u){const e=a.typeParameter.name;if(e&&P===e.escapedText){k=a.typeParameter.symbol;break e}}break;case 281:D&&D===a.propertyName&&a.parent.parent.moduleSpecifier&&(a=a.parent.parent.parent)}y(a,D)&&(w=a),D=a,a=kF(a)?Lh(a)||a.parent:(CF(a)||EF(a))&&jh(a)||a.parent}!A||!k||w&&k===w.symbol||(k.isReferenced|=u);if(!k){if(D&&(un.assertNode(D,JT),D.commonJsModuleIndicator&&"exports"===P&&u&D.symbol.flags))return D.symbol;b||(k=s(o,P,u))}if(!k&&S&&Tm(S)&&S.parent&&Bm(S.parent,!1))return t;if(_){if(I&&l(S,P,I,k))return;k?p(S,k,u,D,T,R):d(S,c,u,_)}return k};function h(t,n,r){const i=yC(e),o=n;if(aw(r)&&o.body&&t.valueDeclaration&&t.valueDeclaration.pos>=o.body.pos&&t.valueDeclaration.end<=o.body.end&&i>=2){let e=c(o);return void 0===e&&(e=u(o.parameters,(function(e){return s(e.name)||!!e.initializer&&s(e.initializer)}))||!1,a(o,e)),!e}return!1;function s(e){switch(e.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return s(e.name);case 172:return Ty(e)?!_:s(e.name);default:return bl(e)||gl(e)?i<7:Hw(e)&&e.dotDotDotToken&&Jw(e.parent)?i<4:!vu(e)&&(OP(e,s)||!1)}}}function g(e,t){return 219!==e.kind&&218!==e.kind?xw(e)||(ou(e)||172===e.kind&&!Iy(e))&&(!t||t!==e.name):(!t||t!==e.name)&&(!(!e.asteriskToken&&!wy(e,1024))||!om(e))}function y(e,t){switch(e.kind){case 169:return!!t&&t===e.name;case 262:case 263:case 264:case 266:case 265:case 267:return!0;default:return!1}}function v(e,t){if(e.declarations)for(const n of e.declarations)if(168===n.kind){if((kF(n.parent)?Jh(n.parent):n.parent)===t)return!(kF(n.parent)&&A(n.parent.parent.tags,wh))}return!1}}function vS(e,t=!0){switch(un.type(e),e.kind){case 112:case 97:case 9:case 11:case 15:return!0;case 10:return t;case 224:return 41===e.operator?xD(e.operand)||t&&SD(e.operand):40===e.operator&&xD(e.operand);default:return!1}}function bS(e){for(;217===e.kind;)e=e.expression;return e}function CS(e){switch(un.type(e),e.kind){case 169:case 171:case 172:case 208:case 211:case 212:case 226:case 260:case 277:case 303:case 304:case 341:case 348:return!0;default:return!1}}function ES(e){const t=dc(e,iT);return!!t&&!t.importClause}var xS=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","test/mock_loader","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],SS=new Set(xS),kS=new Set(["node:sea","node:sqlite","node:test","node:test/reporters"]),DS=new Set([...xS,...xS.map((e=>`node:${e}`)),...kS]);function wS(e,t,n,r){const i=Tm(e),o=/import|require/g;for(;null!==o.exec(e.text);){const s=IS(e,o.lastIndex,t);if(i&&Bm(s,n))r(s,s.arguments[0]);else if(l_(s)&&s.arguments.length>=1&&(!n||Od(s.arguments[0])))r(s,s.arguments[0]);else if(t&&d_(s))r(s,s.argument.literal);else if(t&&PF(s)){const e=Ch(s);e&&kD(e)&&e.text&&r(s,e)}}}function IS(e,t,n){const r=Tm(e);let i=e;const o=e=>{if(e.pos<=t&&(to(e,t),t.set(e,n));return n},getParenthesizeRightSideOfBinaryForOperator:function(e){n||(n=new Map);let t=n.get(e);t||(t=t=>s(e,void 0,t),n.set(e,t));return t},parenthesizeLeftSideOfBinary:o,parenthesizeRightSideOfBinary:s,parenthesizeExpressionOfComputedPropertyName:function(t){return sR(t)?e.createParenthesizedExpression(t):t},parenthesizeConditionOfConditionalExpression:function(t){const n=aA(227,58),r=El(t);if(1!==At(iA(r),n))return e.createParenthesizedExpression(t);return t},parenthesizeBranchOfConditionalExpression:function(t){return sR(El(t))?e.createParenthesizedExpression(t):t},parenthesizeExpressionOfExportDefault:function(t){const n=El(t);let r=sR(n);if(!r)switch(Ib(n,!1).kind){case 231:case 218:r=!0}return r?e.createParenthesizedExpression(t):t},parenthesizeExpressionOfNew:function(t){const n=Ib(t,!0);switch(n.kind){case 213:return e.createParenthesizedExpression(t);case 214:return n.arguments?t:e.createParenthesizedExpression(t)}return a(t)},parenthesizeLeftSideOfAccess:a,parenthesizeOperandOfPostfixUnary:function(t){return $u(t)?t:aP(e.createParenthesizedExpression(t),t)},parenthesizeOperandOfPrefixUnary:function(t){return Lu(t)?t:aP(e.createParenthesizedExpression(t),t)},parenthesizeExpressionsOfCommaDelimitedList:function(t){const n=T(t,c);return aP(e.createNodeArray(n,t.hasTrailingComma),t)},parenthesizeExpressionForDisallowedComma:c,parenthesizeExpressionOfExpressionStatement:function(t){const n=El(t);if(Kw(n)){const r=n.expression,i=El(r).kind;if(218===i||219===i){const i=e.updateCallExpression(n,aP(e.createParenthesizedExpression(r),r),n.typeArguments,n.arguments);return e.restoreOuterExpressions(t,i,8)}}const r=Ib(n,!1).kind;if(210===r||218===r)return aP(e.createParenthesizedExpression(t),t);return t},parenthesizeConciseBodyOfArrowFunction:function(t){if(!DI(t)&&(sR(t)||210===Ib(t,!1).kind))return aP(e.createParenthesizedExpression(t),t);return t},parenthesizeCheckTypeOfConditionalType:l,parenthesizeExtendsTypeOfConditionalType:function(t){if(194===t.kind)return e.createParenthesizedType(t);return t},parenthesizeConstituentTypesOfUnionType:function(t){return e.createNodeArray(T(t,u))},parenthesizeConstituentTypeOfUnionType:u,parenthesizeConstituentTypesOfIntersectionType:function(t){return e.createNodeArray(T(t,d))},parenthesizeConstituentTypeOfIntersectionType:d,parenthesizeOperandOfTypeOperator:p,parenthesizeOperandOfReadonlyTypeOperator:function(t){if(198===t.kind)return e.createParenthesizedType(t);return p(t)},parenthesizeNonArrayTypeOfPostfixType:f,parenthesizeElementTypesOfTupleType:function(t){return e.createNodeArray(T(t,_))},parenthesizeElementTypeOfTupleType:_,parenthesizeTypeOfOptionalType:function(t){return m(t)?e.createParenthesizedType(t):f(t)},parenthesizeTypeArguments:function(t){if(J(t))return e.createNodeArray(T(t,g))},parenthesizeLeadingTypeArgument:h};function r(e){if(Rl((e=El(e)).kind))return e.kind;if(226===e.kind&&40===e.operatorToken.kind){if(void 0!==e.cachedLiteralKind)return e.cachedLiteralKind;const t=r(e.left),n=Rl(t)&&t===r(e.right)?t:0;return e.cachedLiteralKind=n,n}return 0}function i(t,n,i,o){return 217===El(n).kind?n:function(e,t,n,i){const o=aA(226,e),s=rA(226,e),a=El(t);if(!n&&219===t.kind&&o>3)return!0;switch(At(iA(a),o)){case-1:return!(!n&&1===s&&229===t.kind);case 1:return!1;case 0:if(n)return 1===s;if(uI(a)&&a.operatorToken.kind===e){if(function(e){return 42===e||52===e||51===e||53===e||28===e}(e))return!1;if(40===e){const e=i?r(i):0;if(Rl(e)&&e===r(a))return!1}}return 0===nA(a)}}(t,n,i,o)?e.createParenthesizedExpression(n):n}function o(e,t){return i(e,t,!0)}function s(e,t,n){return i(e,n,!1,t)}function a(t,n){const r=El(t);return!$u(r)||214===r.kind&&!r.arguments||!n&&gl(r)?aP(e.createParenthesizedExpression(t),t):t}function c(t){return iA(El(t))>aA(226,28)?t:aP(e.createParenthesizedExpression(t),t)}function l(t){switch(t.kind){case 184:case 185:case 194:return e.createParenthesizedType(t)}return t}function u(t){switch(t.kind){case 192:case 193:return e.createParenthesizedType(t)}return l(t)}function d(t){switch(t.kind){case 192:case 193:return e.createParenthesizedType(t)}return u(t)}function p(t){return 193===t.kind?e.createParenthesizedType(t):d(t)}function f(t){switch(t.kind){case 195:case 198:case 186:return e.createParenthesizedType(t)}return p(t)}function _(t){return m(t)?e.createParenthesizedType(t):t}function m(e){return eF(e)?e.postfix:ww(e)||Cw(e)||Ew(e)||qw(e)?m(e.type):Pw(e)?m(e.falseType):Fw(e)||Rw(e)?m(Ae(e.types)):!!Nw(e)&&(!!e.typeParameter.constraint&&m(e.typeParameter.constraint))}function h(t){return bu(t)&&t.typeParameters?e.createParenthesizedType(t):t}function g(e,t){return 0===t?h(e):e}}var PS={getParenthesizeLeftSideOfBinaryForOperator:e=>st,getParenthesizeRightSideOfBinaryForOperator:e=>st,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:st,parenthesizeConditionOfConditionalExpression:st,parenthesizeBranchOfConditionalExpression:st,parenthesizeExpressionOfExportDefault:st,parenthesizeExpressionOfNew:e=>tt(e,$u),parenthesizeLeftSideOfAccess:e=>tt(e,$u),parenthesizeOperandOfPostfixUnary:e=>tt(e,$u),parenthesizeOperandOfPrefixUnary:e=>tt(e,Lu),parenthesizeExpressionsOfCommaDelimitedList:e=>tt(e,Fl),parenthesizeExpressionForDisallowedComma:st,parenthesizeExpressionOfExpressionStatement:st,parenthesizeConciseBodyOfArrowFunction:st,parenthesizeCheckTypeOfConditionalType:st,parenthesizeExtendsTypeOfConditionalType:st,parenthesizeConstituentTypesOfUnionType:e=>tt(e,Fl),parenthesizeConstituentTypeOfUnionType:st,parenthesizeConstituentTypesOfIntersectionType:e=>tt(e,Fl),parenthesizeConstituentTypeOfIntersectionType:st,parenthesizeOperandOfTypeOperator:st,parenthesizeOperandOfReadonlyTypeOperator:st,parenthesizeNonArrayTypeOfPostfixType:st,parenthesizeElementTypesOfTupleType:e=>tt(e,Fl),parenthesizeElementTypeOfTupleType:st,parenthesizeTypeOfOptionalType:st,parenthesizeTypeArguments:e=>e&&tt(e,Fl),parenthesizeLeadingTypeArgument:st};function NS(e){return{convertToFunctionBlock:function(t,n){if(DI(t))return t;const r=e.createReturnStatement(t);aP(r,t);const i=e.createBlock([r],n);return aP(i,t),i},convertToFunctionExpression:function(t){var n;if(!t.body)return un.fail("Cannot convert a FunctionDeclaration without a body");const r=e.createFunctionExpression(null==(n=wc(t))?void 0:n.filter((e=>!VD(e)&&!HD(e))),t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);ek(r,t),aP(r,t),pk(t)&&fk(r,!0);return r},convertToClassExpression:function(t){var n;const r=e.createClassExpression(null==(n=t.modifiers)?void 0:n.filter((e=>!VD(e)&&!HD(e))),t.name,t.typeParameters,t.heritageClauses,t.members);ek(r,t),aP(r,t),pk(t)&&fk(r,!0);return r},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:n,convertToAssignmentPattern:r,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function t(t){if(Hw(t)){if(t.dotDotDotToken)return un.assertNode(t.name,UD),ek(aP(e.createSpreadElement(t.name),t),t);const n=s(t.name);return t.initializer?ek(aP(e.createAssignment(n,t.initializer),t),t):n}return tt(t,Ju)}function n(t){if(Hw(t)){if(t.dotDotDotToken)return un.assertNode(t.name,UD),ek(aP(e.createSpreadAssignment(t.name),t),t);if(t.propertyName){const n=s(t.name);return ek(aP(e.createPropertyAssignment(t.propertyName,t.initializer?e.createAssignment(n,t.initializer):n),t),t)}return un.assertNode(t.name,UD),ek(aP(e.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return tt(t,yu)}function r(e){switch(e.kind){case 207:case 209:return o(e);case 206:case 210:return i(e)}}function i(t){return Jw(t)?ek(aP(e.createObjectLiteralExpression(w(t.elements,n)),t),t):tt(t,Ww)}function o(n){return Vw(n)?ek(aP(e.createArrayLiteralExpression(w(n.elements,t)),n),n):tt(n,Gw)}function s(e){return Cu(e)?r(e):tt(e,Ju)}}var BS,OS={convertToFunctionBlock:ut,convertToFunctionExpression:ut,convertToClassExpression:ut,convertToArrayAssignmentElement:ut,convertToObjectAssignmentElement:ut,convertToAssignmentPattern:ut,convertToObjectAssignmentPattern:ut,convertToArrayAssignmentPattern:ut,convertToAssignmentElementTarget:ut},qS=0,$S=(e=>(e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e))($S||{}),QS=[];function LS(e){QS.push(e)}function MS(e,t){const n=8&e?st:ek,r=dt((()=>1&e?PS:RS(v))),i=dt((()=>2&e?OS:NS(v))),o=pt((e=>(t,n)=>Nt(t,e,n))),s=pt((e=>t=>Rt(e,t))),c=pt((e=>t=>Pt(t,e))),l=pt((e=>()=>function(e){return C(e)}(e))),d=pt((e=>t=>pr(e,t))),p=pt((e=>(t,n)=>function(e,t,n){return t.type!==n?Ni(pr(e,n),t):t}(e,t,n))),f=pt((e=>(t,n)=>dr(e,t,n))),_=pt((e=>(t,n)=>function(e,t,n){return t.type!==n?Ni(dr(e,n,t.postfix),t):t}(e,t,n))),m=pt((e=>(t,n)=>Nr(e,t,n))),h=pt((e=>(t,n,r)=>function(e,t,n=gr(t),r){return t.tagName!==n||t.comment!==r?Ni(Nr(e,n,r),t):t}(e,t,n,r))),A=pt((e=>(t,n,r)=>Br(e,t,n,r))),y=pt((e=>(t,n,r,i)=>function(e,t,n=gr(t),r,i){return t.tagName!==n||t.typeExpression!==r||t.comment!==i?Ni(Br(e,n,r,i),t):t}(e,t,n,r,i))),v={get parenthesizer(){return r()},get converters(){return i()},baseFactory:t,flags:e,createNodeArray:b,createNumericLiteral:S,createBigIntLiteral:k,createStringLiteral:w,createStringLiteralFromNode:function(e){const t=D(jg(e),void 0);return t.textSourceNode=e,t},createRegularExpressionLiteral:I,createLiteralLikeNode:function(e,t){switch(e){case 9:return S(t,0);case 10:return k(t);case 11:return w(t,void 0);case 12:return Hr(t,!1);case 13:return Hr(t,!0);case 14:return I(t);case 15:return Mt(e,t,void 0,0)}},createIdentifier:R,createTempVariable:P,createLoopVariable:function(e){let t=2;e&&(t|=8);return F("",t,void 0,void 0)},createUniqueName:function(e,t=0,n,r){return un.assert(!(7&t),"Argument out of range: flags"),un.assert(32!=(48&t),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),F(e,3|t,n,r)},getGeneratedNameForNode:N,createPrivateIdentifier:function(e){Wt(e,"#")||un.fail("First character of private identifier must be #: "+e);return O(_c(e))},createUniquePrivateName:function(e,t,n){e&&!Wt(e,"#")&&un.fail("First character of private identifier must be #: "+e);const r=8|(e?3:1);return q(e??"",r,t,n)},getGeneratedPrivateNameForNode:function(e,t,n){const r=pl(e)?ZR(!0,t,e,n,hc):`#generated@${JQ(e)}`,i=q(r,4|(t||n?16:0),t,n);return i.original=e,i},createToken:Q,createSuper:function(){return Q(108)},createThis:L,createNull:M,createTrue:j,createFalse:U,createModifier:V,createModifiersFromModifierFlags:H,createQualifiedName:G,updateQualifiedName:function(e,t,n){return e.left!==t||e.right!==n?Ni(G(t,n),e):e},createComputedPropertyName:W,updateComputedPropertyName:function(e,t){return e.expression!==t?Ni(W(t),e):e},createTypeParameterDeclaration:z,updateTypeParameterDeclaration:Y,createParameterDeclaration:K,updateParameterDeclaration:X,createDecorator:Z,updateDecorator:function(e,t){return e.expression!==t?Ni(Z(t),e):e},createPropertySignature:ee,updatePropertySignature:te,createPropertyDeclaration:ne,updatePropertyDeclaration:ie,createMethodSignature:oe,updateMethodSignature:se,createMethodDeclaration:ae,updateMethodDeclaration:ce,createConstructorDeclaration:ue,updateConstructorDeclaration:de,createGetAccessorDeclaration:pe,updateGetAccessorDeclaration:fe,createSetAccessorDeclaration:_e,updateSetAccessorDeclaration:me,createCallSignature:he,updateCallSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?x(he(t,n,r),e):e},createConstructSignature:Ae,updateConstructSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?x(Ae(t,n,r),e):e},createIndexSignature:ve,updateIndexSignature:be,createClassStaticBlockDeclaration:le,updateClassStaticBlockDeclaration:function(e,t){return e.body!==t?function(e,t){e!==t&&(e.modifiers=t.modifiers);return Ni(e,t)}(le(t),e):e},createTemplateLiteralTypeSpan:Ce,updateTemplateLiteralTypeSpan:function(e,t,n){return e.type!==t||e.literal!==n?Ni(Ce(t,n),e):e},createKeywordTypeNode:function(e){return Q(e)},createTypePredicateNode:Ee,updateTypePredicateNode:function(e,t,n,r){return e.assertsModifier!==t||e.parameterName!==n||e.type!==r?Ni(Ee(t,n,r),e):e},createTypeReferenceNode:xe,updateTypeReferenceNode:function(e,t,n){return e.typeName!==t||e.typeArguments!==n?Ni(xe(t,n),e):e},createFunctionTypeNode:ke,updateFunctionTypeNode:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?function(e,t){e!==t&&(e.modifiers=t.modifiers);return x(e,t)}(ke(t,n,r),e):e},createConstructorTypeNode:we,updateConstructorTypeNode:function(...e){return 5===e.length?Te(...e):4===e.length?function(e,t,n,r){return Te(e,e.modifiers,t,n,r)}(...e):un.fail("Incorrect number of arguments specified.")},createTypeQueryNode:Fe,updateTypeQueryNode:function(e,t,n){return e.exprName!==t||e.typeArguments!==n?Ni(Fe(t,n),e):e},createTypeLiteralNode:Re,updateTypeLiteralNode:function(e,t){return e.members!==t?Ni(Re(t),e):e},createArrayTypeNode:Pe,updateArrayTypeNode:function(e,t){return e.elementType!==t?Ni(Pe(t),e):e},createTupleTypeNode:Ne,updateTupleTypeNode:function(e,t){return e.elements!==t?Ni(Ne(t),e):e},createNamedTupleMember:Be,updateNamedTupleMember:function(e,t,n,r,i){return e.dotDotDotToken!==t||e.name!==n||e.questionToken!==r||e.type!==i?Ni(Be(t,n,r,i),e):e},createOptionalTypeNode:Oe,updateOptionalTypeNode:function(e,t){return e.type!==t?Ni(Oe(t),e):e},createRestTypeNode:qe,updateRestTypeNode:function(e,t){return e.type!==t?Ni(qe(t),e):e},createUnionTypeNode:function(e){return $e(192,e,r().parenthesizeConstituentTypesOfUnionType)},updateUnionTypeNode:function(e,t){return Qe(e,t,r().parenthesizeConstituentTypesOfUnionType)},createIntersectionTypeNode:function(e){return $e(193,e,r().parenthesizeConstituentTypesOfIntersectionType)},updateIntersectionTypeNode:function(e,t){return Qe(e,t,r().parenthesizeConstituentTypesOfIntersectionType)},createConditionalTypeNode:Le,updateConditionalTypeNode:function(e,t,n,r,i){return e.checkType!==t||e.extendsType!==n||e.trueType!==r||e.falseType!==i?Ni(Le(t,n,r,i),e):e},createInferTypeNode:Me,updateInferTypeNode:function(e,t){return e.typeParameter!==t?Ni(Me(t),e):e},createImportTypeNode:Ue,updateImportTypeNode:function(e,t,n,r,i,o=e.isTypeOf){return e.argument!==t||e.attributes!==n||e.qualifier!==r||e.typeArguments!==i||e.isTypeOf!==o?Ni(Ue(t,n,r,i,o),e):e},createParenthesizedType:Je,updateParenthesizedType:function(e,t){return e.type!==t?Ni(Je(t),e):e},createThisTypeNode:function(){const e=C(197);return e.transformFlags=1,e},createTypeOperatorNode:Ve,updateTypeOperatorNode:function(e,t){return e.type!==t?Ni(Ve(e.operator,t),e):e},createIndexedAccessTypeNode:He,updateIndexedAccessTypeNode:function(e,t,n){return e.objectType!==t||e.indexType!==n?Ni(He(t,n),e):e},createMappedTypeNode:Ge,updateMappedTypeNode:function(e,t,n,r,i,o,s){return e.readonlyToken!==t||e.typeParameter!==n||e.nameType!==r||e.questionToken!==i||e.type!==o||e.members!==s?Ni(Ge(t,n,r,i,o,s),e):e},createLiteralTypeNode:We,updateLiteralTypeNode:function(e,t){return e.literal!==t?Ni(We(t),e):e},createTemplateLiteralType:je,updateTemplateLiteralType:function(e,t,n){return e.head!==t||e.templateSpans!==n?Ni(je(t,n),e):e},createObjectBindingPattern:ze,updateObjectBindingPattern:function(e,t){return e.elements!==t?Ni(ze(t),e):e},createArrayBindingPattern:Ke,updateArrayBindingPattern:function(e,t){return e.elements!==t?Ni(Ke(t),e):e},createBindingElement:Xe,updateBindingElement:function(e,t,n,r,i){return e.propertyName!==n||e.dotDotDotToken!==t||e.name!==r||e.initializer!==i?Ni(Xe(t,n,r,i),e):e},createArrayLiteralExpression:Ze,updateArrayLiteralExpression:function(e,t){return e.elements!==t?Ni(Ze(t,e.multiLine),e):e},createObjectLiteralExpression:et,updateObjectLiteralExpression:function(e,t){return e.properties!==t?Ni(et(t,e.multiLine),e):e},createPropertyAccessExpression:4&e?(e,t)=>ik(rt(e,t),262144):rt,updatePropertyAccessExpression:function(e,t,n){if(_l(e))return at(e,t,e.questionDotToken,tt(n,UD));return e.expression!==t||e.name!==n?Ni(rt(t,n),e):e},createPropertyAccessChain:4&e?(e,t,n)=>ik(ot(e,t,n),262144):ot,updatePropertyAccessChain:at,createElementAccessExpression:lt,updateElementAccessExpression:function(e,t,n){if(ml(e))return ft(e,t,e.questionDotToken,n);return e.expression!==t||e.argumentExpression!==n?Ni(lt(t,n),e):e},createElementAccessChain:ut,updateElementAccessChain:ft,createCallExpression:mt,updateCallExpression:function(e,t,n,r){if(hl(e))return gt(e,t,e.questionDotToken,n,r);return e.expression!==t||e.typeArguments!==n||e.arguments!==r?Ni(mt(t,n,r),e):e},createCallChain:ht,updateCallChain:gt,createNewExpression:At,updateNewExpression:function(e,t,n,r){return e.expression!==t||e.typeArguments!==n||e.arguments!==r?Ni(At(t,n,r),e):e},createTaggedTemplateExpression:yt,updateTaggedTemplateExpression:function(e,t,n,r){return e.tag!==t||e.typeArguments!==n||e.template!==r?Ni(yt(t,n,r),e):e},createTypeAssertion:vt,updateTypeAssertion:bt,createParenthesizedExpression:Ct,updateParenthesizedExpression:Et,createFunctionExpression:xt,updateFunctionExpression:St,createArrowFunction:kt,updateArrowFunction:Dt,createDeleteExpression:wt,updateDeleteExpression:function(e,t){return e.expression!==t?Ni(wt(t),e):e},createTypeOfExpression:It,updateTypeOfExpression:function(e,t){return e.expression!==t?Ni(It(t),e):e},createVoidExpression:Tt,updateVoidExpression:function(e,t){return e.expression!==t?Ni(Tt(t),e):e},createAwaitExpression:Ft,updateAwaitExpression:function(e,t){return e.expression!==t?Ni(Ft(t),e):e},createPrefixUnaryExpression:Rt,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?Ni(Rt(e.operator,t),e):e},createPostfixUnaryExpression:Pt,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?Ni(Pt(t,e.operator),e):e},createBinaryExpression:Nt,updateBinaryExpression:function(e,t,n,r){return e.left!==t||e.operatorToken!==n||e.right!==r?Ni(Nt(t,n,r),e):e},createConditionalExpression:Ot,updateConditionalExpression:function(e,t,n,r,i,o){return e.condition!==t||e.questionToken!==n||e.whenTrue!==r||e.colonToken!==i||e.whenFalse!==o?Ni(Ot(t,n,r,i,o),e):e},createTemplateExpression:qt,updateTemplateExpression:function(e,t,n){return e.head!==t||e.templateSpans!==n?Ni(qt(t,n),e):e},createTemplateHead:function(e,t,n){return e=$t(16,e,t,n),Mt(16,e,t,n)},createTemplateMiddle:function(e,t,n){return e=$t(16,e,t,n),Mt(17,e,t,n)},createTemplateTail:function(e,t,n){return e=$t(16,e,t,n),Mt(18,e,t,n)},createNoSubstitutionTemplateLiteral:function(e,t,n){return e=$t(16,e,t,n),Lt(15,e,t,n)},createTemplateLiteralLikeNode:Mt,createYieldExpression:jt,updateYieldExpression:function(e,t,n){return e.expression!==n||e.asteriskToken!==t?Ni(jt(t,n),e):e},createSpreadElement:Ut,updateSpreadElement:function(e,t){return e.expression!==t?Ni(Ut(t),e):e},createClassExpression:Jt,updateClassExpression:Vt,createOmittedExpression:function(){return C(232)},createExpressionWithTypeArguments:Ht,updateExpressionWithTypeArguments:Gt,createAsExpression:zt,updateAsExpression:Yt,createNonNullExpression:Kt,updateNonNullExpression:Xt,createSatisfiesExpression:Zt,updateSatisfiesExpression:en,createNonNullChain:tn,updateNonNullChain:nn,createMetaProperty:rn,updateMetaProperty:function(e,t){return e.name!==t?Ni(rn(e.keywordToken,t),e):e},createTemplateSpan:on,updateTemplateSpan:function(e,t,n){return e.expression!==t||e.literal!==n?Ni(on(t,n),e):e},createSemicolonClassElement:function(){const e=C(240);return e.transformFlags|=1024,e},createBlock:sn,updateBlock:function(e,t){return e.statements!==t?Ni(sn(t,e.multiLine),e):e},createVariableStatement:an,updateVariableStatement:cn,createEmptyStatement:ln,createExpressionStatement:dn,updateExpressionStatement:function(e,t){return e.expression!==t?Ni(dn(t),e):e},createIfStatement:pn,updateIfStatement:function(e,t,n,r){return e.expression!==t||e.thenStatement!==n||e.elseStatement!==r?Ni(pn(t,n,r),e):e},createDoStatement:fn,updateDoStatement:function(e,t,n){return e.statement!==t||e.expression!==n?Ni(fn(t,n),e):e},createWhileStatement:_n,updateWhileStatement:function(e,t,n){return e.expression!==t||e.statement!==n?Ni(_n(t,n),e):e},createForStatement:mn,updateForStatement:function(e,t,n,r,i){return e.initializer!==t||e.condition!==n||e.incrementor!==r||e.statement!==i?Ni(mn(t,n,r,i),e):e},createForInStatement:hn,updateForInStatement:function(e,t,n,r){return e.initializer!==t||e.expression!==n||e.statement!==r?Ni(hn(t,n,r),e):e},createForOfStatement:gn,updateForOfStatement:function(e,t,n,r,i){return e.awaitModifier!==t||e.initializer!==n||e.expression!==r||e.statement!==i?Ni(gn(t,n,r,i),e):e},createContinueStatement:An,updateContinueStatement:function(e,t){return e.label!==t?Ni(An(t),e):e},createBreakStatement:yn,updateBreakStatement:function(e,t){return e.label!==t?Ni(yn(t),e):e},createReturnStatement:vn,updateReturnStatement:function(e,t){return e.expression!==t?Ni(vn(t),e):e},createWithStatement:bn,updateWithStatement:function(e,t,n){return e.expression!==t||e.statement!==n?Ni(bn(t,n),e):e},createSwitchStatement:Cn,updateSwitchStatement:function(e,t,n){return e.expression!==t||e.caseBlock!==n?Ni(Cn(t,n),e):e},createLabeledStatement:En,updateLabeledStatement:xn,createThrowStatement:Sn,updateThrowStatement:function(e,t){return e.expression!==t?Ni(Sn(t),e):e},createTryStatement:kn,updateTryStatement:function(e,t,n,r){return e.tryBlock!==t||e.catchClause!==n||e.finallyBlock!==r?Ni(kn(t,n,r),e):e},createDebuggerStatement:function(){const e=C(259);return e.jsDoc=void 0,e.flowNode=void 0,e},createVariableDeclaration:Dn,updateVariableDeclaration:function(e,t,n,r,i){return e.name!==t||e.type!==r||e.exclamationToken!==n||e.initializer!==i?Ni(Dn(t,n,r,i),e):e},createVariableDeclarationList:wn,updateVariableDeclarationList:function(e,t){return e.declarations!==t?Ni(wn(t,e.flags),e):e},createFunctionDeclaration:In,updateFunctionDeclaration:Tn,createClassDeclaration:Fn,updateClassDeclaration:Rn,createInterfaceDeclaration:Pn,updateInterfaceDeclaration:Nn,createTypeAliasDeclaration:Bn,updateTypeAliasDeclaration:On,createEnumDeclaration:qn,updateEnumDeclaration:$n,createModuleDeclaration:Qn,updateModuleDeclaration:Ln,createModuleBlock:Mn,updateModuleBlock:function(e,t){return e.statements!==t?Ni(Mn(t),e):e},createCaseBlock:jn,updateCaseBlock:function(e,t){return e.clauses!==t?Ni(jn(t),e):e},createNamespaceExportDeclaration:Un,updateNamespaceExportDeclaration:function(e,t){return e.name!==t?function(e,t){e!==t&&(e.modifiers=t.modifiers);return Ni(e,t)}(Un(t),e):e},createImportEqualsDeclaration:Jn,updateImportEqualsDeclaration:Vn,createImportDeclaration:Hn,updateImportDeclaration:Gn,createImportClause:Wn,updateImportClause:function(e,t,n,r){return e.isTypeOnly!==t||e.name!==n||e.namedBindings!==r?Ni(Wn(t,n,r),e):e},createAssertClause:zn,updateAssertClause:function(e,t,n){return e.elements!==t||e.multiLine!==n?Ni(zn(t,n),e):e},createAssertEntry:Yn,updateAssertEntry:function(e,t,n){return e.name!==t||e.value!==n?Ni(Yn(t,n),e):e},createImportTypeAssertionContainer:Kn,updateImportTypeAssertionContainer:function(e,t,n){return e.assertClause!==t||e.multiLine!==n?Ni(Kn(t,n),e):e},createImportAttributes:Xn,updateImportAttributes:function(e,t,n){return e.elements!==t||e.multiLine!==n?Ni(Xn(t,n,e.token),e):e},createImportAttribute:Zn,updateImportAttribute:function(e,t,n){return e.name!==t||e.value!==n?Ni(Zn(t,n),e):e},createNamespaceImport:er,updateNamespaceImport:function(e,t){return e.name!==t?Ni(er(t),e):e},createNamespaceExport:tr,updateNamespaceExport:function(e,t){return e.name!==t?Ni(tr(t),e):e},createNamedImports:nr,updateNamedImports:function(e,t){return e.elements!==t?Ni(nr(t),e):e},createImportSpecifier:rr,updateImportSpecifier:function(e,t,n,r){return e.isTypeOnly!==t||e.propertyName!==n||e.name!==r?Ni(rr(t,n,r),e):e},createExportAssignment:ir,updateExportAssignment:or,createExportDeclaration:sr,updateExportDeclaration:ar,createNamedExports:cr,updateNamedExports:function(e,t){return e.elements!==t?Ni(cr(t),e):e},createExportSpecifier:lr,updateExportSpecifier:function(e,t,n,r){return e.isTypeOnly!==t||e.propertyName!==n||e.name!==r?Ni(lr(t,n,r),e):e},createMissingDeclaration:function(){const e=E(282);return e.jsDoc=void 0,e},createExternalModuleReference:ur,updateExternalModuleReference:function(e,t){return e.expression!==t?Ni(ur(t),e):e},get createJSDocAllType(){return l(312)},get createJSDocUnknownType(){return l(313)},get createJSDocNonNullableType(){return f(315)},get updateJSDocNonNullableType(){return _(315)},get createJSDocNullableType(){return f(314)},get updateJSDocNullableType(){return _(314)},get createJSDocOptionalType(){return d(316)},get updateJSDocOptionalType(){return p(316)},get createJSDocVariadicType(){return d(318)},get updateJSDocVariadicType(){return p(318)},get createJSDocNamepathType(){return d(319)},get updateJSDocNamepathType(){return p(319)},createJSDocFunctionType:fr,updateJSDocFunctionType:function(e,t,n){return e.parameters!==t||e.type!==n?Ni(fr(t,n),e):e},createJSDocTypeLiteral:_r,updateJSDocTypeLiteral:function(e,t,n){return e.jsDocPropertyTags!==t||e.isArrayType!==n?Ni(_r(t,n),e):e},createJSDocTypeExpression:mr,updateJSDocTypeExpression:function(e,t){return e.type!==t?Ni(mr(t),e):e},createJSDocSignature:hr,updateJSDocSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?Ni(hr(t,n,r),e):e},createJSDocTemplateTag:vr,updateJSDocTemplateTag:function(e,t=gr(e),n,r,i){return e.tagName!==t||e.constraint!==n||e.typeParameters!==r||e.comment!==i?Ni(vr(t,n,r,i),e):e},createJSDocTypedefTag:br,updateJSDocTypedefTag:function(e,t=gr(e),n,r,i){return e.tagName!==t||e.typeExpression!==n||e.fullName!==r||e.comment!==i?Ni(br(t,n,r,i),e):e},createJSDocParameterTag:Cr,updateJSDocParameterTag:function(e,t=gr(e),n,r,i,o,s){return e.tagName!==t||e.name!==n||e.isBracketed!==r||e.typeExpression!==i||e.isNameFirst!==o||e.comment!==s?Ni(Cr(t,n,r,i,o,s),e):e},createJSDocPropertyTag:Er,updateJSDocPropertyTag:function(e,t=gr(e),n,r,i,o,s){return e.tagName!==t||e.name!==n||e.isBracketed!==r||e.typeExpression!==i||e.isNameFirst!==o||e.comment!==s?Ni(Er(t,n,r,i,o,s),e):e},createJSDocCallbackTag:xr,updateJSDocCallbackTag:function(e,t=gr(e),n,r,i){return e.tagName!==t||e.typeExpression!==n||e.fullName!==r||e.comment!==i?Ni(xr(t,n,r,i),e):e},createJSDocOverloadTag:Sr,updateJSDocOverloadTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.typeExpression!==n||e.comment!==r?Ni(Sr(t,n,r),e):e},createJSDocAugmentsTag:kr,updateJSDocAugmentsTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.class!==n||e.comment!==r?Ni(kr(t,n,r),e):e},createJSDocImplementsTag:Dr,updateJSDocImplementsTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.class!==n||e.comment!==r?Ni(Dr(t,n,r),e):e},createJSDocSeeTag:wr,updateJSDocSeeTag:function(e,t,n,r){return e.tagName!==t||e.name!==n||e.comment!==r?Ni(wr(t,n,r),e):e},createJSDocImportTag:$r,updateJSDocImportTag:function(e,t,n,r,i,o){return e.tagName!==t||e.comment!==o||e.importClause!==n||e.moduleSpecifier!==r||e.attributes!==i?Ni($r(t,n,r,i,o),e):e},createJSDocNameReference:Ir,updateJSDocNameReference:function(e,t){return e.name!==t?Ni(Ir(t),e):e},createJSDocMemberName:Tr,updateJSDocMemberName:function(e,t,n){return e.left!==t||e.right!==n?Ni(Tr(t,n),e):e},createJSDocLink:Fr,updateJSDocLink:function(e,t,n){return e.name!==t?Ni(Fr(t,n),e):e},createJSDocLinkCode:Rr,updateJSDocLinkCode:function(e,t,n){return e.name!==t?Ni(Rr(t,n),e):e},createJSDocLinkPlain:Pr,updateJSDocLinkPlain:function(e,t,n){return e.name!==t?Ni(Pr(t,n),e):e},get createJSDocTypeTag(){return A(344)},get updateJSDocTypeTag(){return y(344)},get createJSDocReturnTag(){return A(342)},get updateJSDocReturnTag(){return y(342)},get createJSDocThisTag(){return A(343)},get updateJSDocThisTag(){return y(343)},get createJSDocAuthorTag(){return m(330)},get updateJSDocAuthorTag(){return h(330)},get createJSDocClassTag(){return m(332)},get updateJSDocClassTag(){return h(332)},get createJSDocPublicTag(){return m(333)},get updateJSDocPublicTag(){return h(333)},get createJSDocPrivateTag(){return m(334)},get updateJSDocPrivateTag(){return h(334)},get createJSDocProtectedTag(){return m(335)},get updateJSDocProtectedTag(){return h(335)},get createJSDocReadonlyTag(){return m(336)},get updateJSDocReadonlyTag(){return h(336)},get createJSDocOverrideTag(){return m(337)},get updateJSDocOverrideTag(){return h(337)},get createJSDocDeprecatedTag(){return m(331)},get updateJSDocDeprecatedTag(){return h(331)},get createJSDocThrowsTag(){return A(349)},get updateJSDocThrowsTag(){return y(349)},get createJSDocSatisfiesTag(){return A(350)},get updateJSDocSatisfiesTag(){return y(350)},createJSDocEnumTag:qr,updateJSDocEnumTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.typeExpression!==n||e.comment!==r?Ni(qr(t,n,r),e):e},createJSDocUnknownTag:Or,updateJSDocUnknownTag:function(e,t,n){return e.tagName!==t||e.comment!==n?Ni(Or(t,n),e):e},createJSDocText:Qr,updateJSDocText:function(e,t){return e.text!==t?Ni(Qr(t),e):e},createJSDocComment:Lr,updateJSDocComment:function(e,t,n){return e.comment!==t||e.tags!==n?Ni(Lr(t,n),e):e},createJsxElement:Mr,updateJsxElement:function(e,t,n,r){return e.openingElement!==t||e.children!==n||e.closingElement!==r?Ni(Mr(t,n,r),e):e},createJsxSelfClosingElement:jr,updateJsxSelfClosingElement:function(e,t,n,r){return e.tagName!==t||e.typeArguments!==n||e.attributes!==r?Ni(jr(t,n,r),e):e},createJsxOpeningElement:Ur,updateJsxOpeningElement:function(e,t,n,r){return e.tagName!==t||e.typeArguments!==n||e.attributes!==r?Ni(Ur(t,n,r),e):e},createJsxClosingElement:Jr,updateJsxClosingElement:function(e,t){return e.tagName!==t?Ni(Jr(t),e):e},createJsxFragment:Vr,createJsxText:Hr,updateJsxText:function(e,t,n){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==n?Ni(Hr(t,n),e):e},createJsxOpeningFragment:function(){const e=C(289);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){const e=C(290);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,n,r){return e.openingFragment!==t||e.children!==n||e.closingFragment!==r?Ni(Vr(t,n,r),e):e},createJsxAttribute:Gr,updateJsxAttribute:function(e,t,n){return e.name!==t||e.initializer!==n?Ni(Gr(t,n),e):e},createJsxAttributes:Wr,updateJsxAttributes:function(e,t){return e.properties!==t?Ni(Wr(t),e):e},createJsxSpreadAttribute:zr,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?Ni(zr(t),e):e},createJsxExpression:Yr,updateJsxExpression:function(e,t){return e.expression!==t?Ni(Yr(e.dotDotDotToken,t),e):e},createJsxNamespacedName:Kr,updateJsxNamespacedName:function(e,t,n){return e.namespace!==t||e.name!==n?Ni(Kr(t,n),e):e},createCaseClause:Xr,updateCaseClause:function(e,t,n){return e.expression!==t||e.statements!==n?Ni(Xr(t,n),e):e},createDefaultClause:Zr,updateDefaultClause:function(e,t){return e.statements!==t?Ni(Zr(t),e):e},createHeritageClause:ei,updateHeritageClause:function(e,t){return e.types!==t?Ni(ei(e.token,t),e):e},createCatchClause:ti,updateCatchClause:function(e,t,n){return e.variableDeclaration!==t||e.block!==n?Ni(ti(t,n),e):e},createPropertyAssignment:ni,updatePropertyAssignment:ri,createShorthandPropertyAssignment:ii,updateShorthandPropertyAssignment:function(e,t,n){return e.name!==t||e.objectAssignmentInitializer!==n?function(e,t){e!==t&&(e.modifiers=t.modifiers,e.questionToken=t.questionToken,e.exclamationToken=t.exclamationToken,e.equalsToken=t.equalsToken);return Ni(e,t)}(ii(t,n),e):e},createSpreadAssignment:oi,updateSpreadAssignment:function(e,t){return e.expression!==t?Ni(oi(t),e):e},createEnumMember:si,updateEnumMember:function(e,t,n){return e.name!==t||e.initializer!==n?Ni(si(t,n),e):e},createSourceFile:function(e,n,r){const i=t.createBaseSourceFileNode(307);return i.statements=b(e),i.endOfFileToken=n,i.flags|=r,i.text="",i.fileName="",i.path="",i.resolvedPath="",i.originalFileName="",i.languageVersion=1,i.languageVariant=0,i.scriptKind=0,i.isDeclarationFile=!1,i.hasNoDefaultLib=!1,i.transformFlags|=GS(i.statements)|HS(i.endOfFileToken),i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.nodeCount=0,i.identifierCount=0,i.symbolCount=0,i.parseDiagnostics=void 0,i.bindDiagnostics=void 0,i.bindSuggestionDiagnostics=void 0,i.lineMap=void 0,i.externalModuleIndicator=void 0,i.setExternalModuleIndicator=void 0,i.pragmas=void 0,i.checkJsDirective=void 0,i.referencedFiles=void 0,i.typeReferenceDirectives=void 0,i.libReferenceDirectives=void 0,i.amdDependencies=void 0,i.commentDirectives=void 0,i.identifiers=void 0,i.packageJsonLocations=void 0,i.packageJsonScope=void 0,i.imports=void 0,i.moduleAugmentations=void 0,i.ambientModuleNames=void 0,i.classifiableNames=void 0,i.impliedNodeFormat=void 0,i},updateSourceFile:function(e,t,n=e.isDeclarationFile,r=e.referencedFiles,i=e.typeReferenceDirectives,o=e.hasNoDefaultLib,s=e.libReferenceDirectives){return e.statements!==t||e.isDeclarationFile!==n||e.referencedFiles!==r||e.typeReferenceDirectives!==i||e.hasNoDefaultLib!==o||e.libReferenceDirectives!==s?Ni(function(e,t,n,r,i,o,s){const a=ci(e);return a.statements=b(t),a.isDeclarationFile=n,a.referencedFiles=r,a.typeReferenceDirectives=i,a.hasNoDefaultLib=o,a.libReferenceDirectives=s,a.transformFlags=GS(a.statements)|HS(a.endOfFileToken),a}(e,t,n,r,i,o,s),e):e},createRedirectedSourceFile:ai,createBundle:li,updateBundle:function(e,t){return e.sourceFiles!==t?Ni(li(t),e):e},createSyntheticExpression:function(e,t=!1,n){const r=C(237);return r.type=e,r.isSpread=t,r.tupleNameSource=n,r},createSyntaxList:function(e){const t=C(352);return t._children=e,t},createNotEmittedStatement:function(e){const t=C(353);return t.original=e,aP(t,e),t},createNotEmittedTypeElement:function(){return C(354)},createPartiallyEmittedExpression:ui,updatePartiallyEmittedExpression:di,createCommaListExpression:fi,updateCommaListExpression:function(e,t){return e.elements!==t?Ni(fi(t),e):e},createSyntheticReferenceExpression:_i,updateSyntheticReferenceExpression:function(e,t,n){return e.expression!==t||e.thisArg!==n?Ni(_i(t,n),e):e},cloneNode:mi,get createComma(){return o(28)},get createAssignment(){return o(64)},get createLogicalOr(){return o(57)},get createLogicalAnd(){return o(56)},get createBitwiseOr(){return o(52)},get createBitwiseXor(){return o(53)},get createBitwiseAnd(){return o(51)},get createStrictEquality(){return o(37)},get createStrictInequality(){return o(38)},get createEquality(){return o(35)},get createInequality(){return o(36)},get createLessThan(){return o(30)},get createLessThanEquals(){return o(33)},get createGreaterThan(){return o(32)},get createGreaterThanEquals(){return o(34)},get createLeftShift(){return o(48)},get createRightShift(){return o(49)},get createUnsignedRightShift(){return o(50)},get createAdd(){return o(40)},get createSubtract(){return o(41)},get createMultiply(){return o(42)},get createDivide(){return o(44)},get createModulo(){return o(45)},get createExponent(){return o(43)},get createPrefixPlus(){return s(40)},get createPrefixMinus(){return s(41)},get createPrefixIncrement(){return s(46)},get createPrefixDecrement(){return s(47)},get createBitwiseNot(){return s(55)},get createLogicalNot(){return s(54)},get createPostfixIncrement(){return c(46)},get createPostfixDecrement(){return c(47)},createImmediatelyInvokedFunctionExpression:function(e,t,n){return mt(xt(void 0,void 0,void 0,void 0,t?[t]:[],void 0,sn(e,!0)),void 0,n?[n]:[])},createImmediatelyInvokedArrowFunction:function(e,t,n){return mt(kt(void 0,void 0,t?[t]:[],void 0,void 0,sn(e,!0)),void 0,n?[n]:[])},createVoidZero:hi,createExportDefault:function(e){return ir(void 0,!1,e)},createExternalModuleExport:function(e){return sr(void 0,!1,cr([lr(!1,void 0,e)]))},createTypeCheck:function(e,t){return"null"===t?v.createStrictEquality(e,M()):"undefined"===t?v.createStrictEquality(e,hi()):v.createStrictEquality(It(e),w(t))},createIsNotTypeCheck:function(e,t){return"null"===t?v.createStrictInequality(e,M()):"undefined"===t?v.createStrictInequality(e,hi()):v.createStrictInequality(It(e),w(t))},createMethodCall:gi,createGlobalMethodCall:Ai,createFunctionBindCall:function(e,t,n){return gi(e,"bind",[t,...n])},createFunctionCallCall:function(e,t,n){return gi(e,"call",[t,...n])},createFunctionApplyCall:function(e,t,n){return gi(e,"apply",[t,n])},createArraySliceCall:function(e,t){return gi(e,"slice",void 0===t?[]:[Fi(t)])},createArrayConcatCall:function(e,t){return gi(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,n){return Ai("Object","defineProperty",[e,Fi(t),n])},createObjectGetOwnPropertyDescriptorCall:function(e,t){return Ai("Object","getOwnPropertyDescriptor",[e,Fi(t)])},createReflectGetCall:function(e,t,n){return Ai("Reflect","get",n?[e,t,n]:[e,t])},createReflectSetCall:function(e,t,n,r){return Ai("Reflect","set",r?[e,t,n,r]:[e,t,n])},createPropertyDescriptor:function(e,t){const n=[];yi(n,"enumerable",Fi(e.enumerable)),yi(n,"configurable",Fi(e.configurable));let r=yi(n,"writable",Fi(e.writable));r=yi(n,"value",e.value)||r;let i=yi(n,"get",e.get);return i=yi(n,"set",e.set)||i,un.assert(!(r&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),et(n,!t)},createCallBinding:function(e,t,n,i=!1){const o=uR(e,31);let s,a;sm(o)?(s=L(),a=o):tw(o)?(s=L(),a=void 0!==n&&n<2?aP(R("_super"),o):o):8192&Xp(o)?(s=hi(),a=r().parenthesizeLeftSideOfAccess(o,!1)):zw(o)?vi(o.expression,i)?(s=P(t),a=rt(aP(v.createAssignment(s,o.expression),o.expression),o.name),aP(a,o)):(s=o.expression,a=o):Yw(o)?vi(o.expression,i)?(s=P(t),a=lt(aP(v.createAssignment(s,o.expression),o.expression),o.argumentExpression),aP(a,o)):(s=o.expression,a=o):(s=hi(),a=r().parenthesizeLeftSideOfAccess(e,!1));return{target:a,thisArg:s}},createAssignmentTargetWrapper:function(e,t){return rt(Ct(et([_e(void 0,"value",[K(void 0,void 0,e,void 0,void 0,void 0)],sn([dn(t)]))])),"value")},inlineExpressions:function(e){return e.length>10?fi(e):Se(e,v.createComma)},getInternalName:function(e,t,n){return bi(e,t,n,98304)},getLocalName:function(e,t,n,r){return bi(e,t,n,32768,r)},getExportName:Ci,getDeclarationName:function(e,t,n){return bi(e,t,n)},getNamespaceMemberName:Ei,getExternalModuleOrNamespaceExportName:function(e,t,n,r){if(e&&wy(t,32))return Ei(e,bi(t),n,r);return Ci(t,n,r)},restoreOuterExpressions:function e(t,n,r=31){if(t&&lR(t,r)&&!function(e){return tI(e)&&eA(e)&&eA(ck(e))&&eA(_k(e))&&!J(hk(e))&&!J(yk(e))}(t))return function(e,t){switch(e.kind){case 217:return Et(e,t);case 216:return bt(e,e.type,t);case 234:return Yt(e,t,e.type);case 238:return en(e,t,e.type);case 235:return Xt(e,t);case 233:return Gt(e,t,e.typeArguments);case 355:return di(e,t)}}(t,e(t.expression,n));return n},restoreEnclosingLabel:function e(t,n,r){if(!n)return t;const i=xn(n,n.label,jI(n.statement)?e(t,n.statement):t);r&&r(n);return i},createUseStrictPrologue:Si,copyPrologue:function(e,t,n,r){const i=ki(e,t,0,n);return Di(e,t,i,r)},copyStandardPrologue:ki,copyCustomPrologue:Di,ensureUseStrict:function(e){if(!rR(e))return aP(b([Si(),...e]),e);return e},liftToBlock:function(e){return un.assert(g(e,_d),"Cannot lift nodes to a Block."),ye(e)||sn(e)},mergeLexicalEnvironment:function(e,t){if(!J(t))return e;const n=wi(e,p_,0),r=wi(e,__,n),i=wi(e,h_,r),o=wi(t,p_,0),s=wi(t,__,o),a=wi(t,h_,s),c=wi(t,f_,a);un.assert(c===t.length,"Expected declarations to be valid standard or custom prologues");const l=Fl(e)?e.slice():e;c>a&&l.splice(i,0,...t.slice(a,c));a>s&&l.splice(r,0,...t.slice(s,a));s>o&&l.splice(n,0,...t.slice(o,s));if(o>0)if(0===n)l.splice(0,0,...t.slice(0,o));else{const r=new Map;for(let t=0;t=0;e--){const n=t[e];r.has(n.expression.text)||l.unshift(n)}}if(Fl(e))return aP(b(l,e.hasTrailingComma),e);return e},replaceModifiers:function(e,t){let n;n="number"==typeof t?H(t):t;return sw(e)?Y(e,n,e.name,e.constraint,e.default):aw(e)?X(e,n,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):Ew(e)?Te(e,n,e.typeParameters,e.parameters,e.type):lw(e)?te(e,n,e.name,e.questionToken,e.type):uw(e)?ie(e,n,e.name,e.questionToken??e.exclamationToken,e.type,e.initializer):dw(e)?se(e,n,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):pw(e)?ce(e,n,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):_w(e)?de(e,n,e.parameters,e.body):mw(e)?fe(e,n,e.name,e.parameters,e.type,e.body):hw(e)?me(e,n,e.name,e.parameters,e.body):yw(e)?be(e,n,e.parameters,e.type):nI(e)?St(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):rI(e)?Dt(e,n,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):mI(e)?Vt(e,n,e.name,e.typeParameters,e.heritageClauses,e.members):wI(e)?cn(e,n,e.declarationList):WI(e)?Tn(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):zI(e)?Rn(e,n,e.name,e.typeParameters,e.heritageClauses,e.members):YI(e)?Nn(e,n,e.name,e.typeParameters,e.heritageClauses,e.members):KI(e)?On(e,n,e.name,e.typeParameters,e.type):XI(e)?$n(e,n,e.name,e.members):ZI(e)?Ln(e,n,e.name,e.body):rT(e)?Vn(e,n,e.isTypeOnly,e.name,e.moduleReference):iT(e)?Gn(e,n,e.importClause,e.moduleSpecifier,e.attributes):mT(e)?or(e,n,e.expression):hT(e)?ar(e,n,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.attributes):un.assertNever(e)},replaceDecoratorsAndModifiers:function(e,t){return aw(e)?X(e,t,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):uw(e)?ie(e,t,e.name,e.questionToken??e.exclamationToken,e.type,e.initializer):pw(e)?ce(e,t,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):mw(e)?fe(e,t,e.name,e.parameters,e.type,e.body):hw(e)?me(e,t,e.name,e.parameters,e.body):mI(e)?Vt(e,t,e.name,e.typeParameters,e.heritageClauses,e.members):zI(e)?Rn(e,t,e.name,e.typeParameters,e.heritageClauses,e.members):un.assertNever(e)},replacePropertyName:function(e,t){switch(e.kind){case 177:return fe(e,e.modifiers,t,e.parameters,e.type,e.body);case 178:return me(e,e.modifiers,t,e.parameters,e.body);case 174:return ce(e,e.modifiers,e.asteriskToken,t,e.questionToken,e.typeParameters,e.parameters,e.type,e.body);case 173:return se(e,e.modifiers,t,e.questionToken,e.typeParameters,e.parameters,e.type);case 172:return ie(e,e.modifiers,t,e.questionToken??e.exclamationToken,e.type,e.initializer);case 171:return te(e,e.modifiers,t,e.questionToken,e.type);case 303:return ri(e,t,e.initializer)}}};return u(QS,(e=>e(v))),v;function b(e,t){if(void 0===e||e===a)e=[];else if(Fl(e)){if(void 0===t||e.hasTrailingComma===t)return void 0===e.transformFlags&&WS(e),un.attachNodeArrayDebugInfo(e),e;const n=e.slice();return n.pos=e.pos,n.end=e.end,n.hasTrailingComma=t,n.transformFlags=e.transformFlags,un.attachNodeArrayDebugInfo(n),n}const n=e.length,r=n>=1&&n<=4?e.slice():e;return r.pos=-1,r.end=-1,r.hasTrailingComma=!!t,r.transformFlags=0,WS(r),un.attachNodeArrayDebugInfo(r),r}function C(e){return t.createBaseNode(e)}function E(e){const t=C(e);return t.symbol=void 0,t.localSymbol=void 0,t}function x(e,t){return e!==t&&(e.typeArguments=t.typeArguments),Ni(e,t)}function S(e,t=0){const n="number"==typeof e?e+"":e;un.assert(45!==n.charCodeAt(0),"Negative numbers should be created in combination with createPrefixUnaryExpression");const r=E(9);return r.text=n,r.numericLiteralFlags=t,384&t&&(r.transformFlags|=1024),r}function k(e){const t=$(10);return t.text="string"==typeof e?e:hx(e)+"n",t.transformFlags|=32,t}function D(e,t){const n=E(11);return n.text=e,n.singleQuote=t,n}function w(e,t,n){const r=D(e,t);return r.hasExtendedUnicodeEscape=n,n&&(r.transformFlags|=1024),r}function I(e){const t=$(14);return t.text=e,t}function T(e){const n=t.createBaseIdentifierNode(80);return n.escapedText=e,n.jsDoc=void 0,n.flowNode=void 0,n.symbol=void 0,n}function F(e,t,n,r){const i=T(_c(e));return qk(i,{flags:t,id:qS,prefix:n,suffix:r}),qS++,i}function R(e,t,n){void 0===t&&e&&(t=Ts(e)),80===t&&(t=void 0);const r=T(_c(e));return n&&(r.flags|=256),"await"===r.escapedText&&(r.transformFlags|=67108864),256&r.flags&&(r.transformFlags|=1024),r}function P(e,t,n,r){let i=1;t&&(i|=8);const o=F("",i,n,r);return e&&e(o),o}function N(e,t=0,n,r){un.assert(!(7&t),"Argument out of range: flags");(n||r)&&(t|=16);const i=F(e?pl(e)?ZR(!1,n,e,r,hc):`generated@${JQ(e)}`:"",4|t,n,r);return i.original=e,i}function O(e){const n=t.createBasePrivateIdentifierNode(81);return n.escapedText=e,n.transformFlags|=16777216,n}function q(e,t,n,r){const i=O(_c(e));return qk(i,{flags:t,id:qS,prefix:n,suffix:r}),qS++,i}function $(e){return t.createBaseTokenNode(e)}function Q(e){un.assert(e>=0&&e<=165,"Invalid token"),un.assert(e<=15||e>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),un.assert(e<=9||e>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),un.assert(80!==e,"Invalid token. Use 'createIdentifier' to create identifiers");const t=$(e);let n=0;switch(e){case 134:n=384;break;case 160:n=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:n=1;break;case 108:n=134218752,t.flowNode=void 0;break;case 126:n=1024;break;case 129:n=16777216;break;case 110:n=16384,t.flowNode=void 0}return n&&(t.transformFlags|=n),t}function L(){return Q(110)}function M(){return Q(106)}function j(){return Q(112)}function U(){return Q(97)}function V(e){return Q(e)}function H(e){const t=[];return 32&e&&t.push(V(95)),128&e&&t.push(V(138)),2048&e&&t.push(V(90)),4096&e&&t.push(V(87)),1&e&&t.push(V(125)),2&e&&t.push(V(123)),4&e&&t.push(V(124)),64&e&&t.push(V(128)),256&e&&t.push(V(126)),16&e&&t.push(V(164)),8&e&&t.push(V(148)),512&e&&t.push(V(129)),1024&e&&t.push(V(134)),8192&e&&t.push(V(103)),16384&e&&t.push(V(147)),t.length?t:void 0}function G(e,t){const n=C(166);return n.left=e,n.right=Ti(t),n.transformFlags|=HS(n.left)|VS(n.right),n.flowNode=void 0,n}function W(e){const t=C(167);return t.expression=r().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=132096|HS(t.expression),t}function z(e,t,n,r){const i=E(168);return i.modifiers=Ii(e),i.name=Ti(t),i.constraint=n,i.default=r,i.transformFlags=1,i.expression=void 0,i.jsDoc=void 0,i}function Y(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.constraint!==r||e.default!==i?Ni(z(t,n,r,i),e):e}function K(e,t,n,r,i,o){const s=E(169);return s.modifiers=Ii(e),s.dotDotDotToken=t,s.name=Ti(n),s.questionToken=r,s.type=i,s.initializer=Ri(o),ly(s.name)?s.transformFlags=1:s.transformFlags=GS(s.modifiers)|HS(s.dotDotDotToken)|JS(s.name)|HS(s.questionToken)|HS(s.initializer)|(s.questionToken??s.type?1:0)|(s.dotDotDotToken??s.initializer?1024:0)|(31&Gy(s.modifiers)?8192:0),s.jsDoc=void 0,s}function X(e,t,n,r,i,o,s){return e.modifiers!==t||e.dotDotDotToken!==n||e.name!==r||e.questionToken!==i||e.type!==o||e.initializer!==s?Ni(K(t,n,r,i,o,s),e):e}function Z(e){const t=C(170);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=33562625|HS(t.expression),t}function ee(e,t,n,r){const i=E(171);return i.modifiers=Ii(e),i.name=Ti(t),i.type=r,i.questionToken=n,i.transformFlags=1,i.initializer=void 0,i.jsDoc=void 0,i}function te(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.questionToken!==r||e.type!==i?function(e,t){e!==t&&(e.initializer=t.initializer);return Ni(e,t)}(ee(t,n,r,i),e):e}function ne(e,t,n,r,i){const o=E(172);o.modifiers=Ii(e),o.name=Ti(t),o.questionToken=n&&QD(n)?n:void 0,o.exclamationToken=n&&$D(n)?n:void 0,o.type=r,o.initializer=Ri(i);const s=33554432&o.flags||128&Gy(o.modifiers);return o.transformFlags=GS(o.modifiers)|JS(o.name)|HS(o.initializer)|(s||o.questionToken||o.exclamationToken||o.type?1:0)|(ow(o.name)||256&Gy(o.modifiers)&&o.initializer?8192:0)|16777216,o.jsDoc=void 0,o}function ie(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.questionToken!==(void 0!==r&&QD(r)?r:void 0)||e.exclamationToken!==(void 0!==r&&$D(r)?r:void 0)||e.type!==i||e.initializer!==o?Ni(ne(t,n,r,i,o),e):e}function oe(e,t,n,r,i,o){const s=E(173);return s.modifiers=Ii(e),s.name=Ti(t),s.questionToken=n,s.typeParameters=Ii(r),s.parameters=Ii(i),s.type=o,s.transformFlags=1,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.typeArguments=void 0,s}function se(e,t,n,r,i,o,s){return e.modifiers!==t||e.name!==n||e.questionToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s?x(oe(t,n,r,i,o,s),e):e}function ae(e,t,n,r,i,o,s,a){const c=E(174);if(c.modifiers=Ii(e),c.asteriskToken=t,c.name=Ti(n),c.questionToken=r,c.exclamationToken=void 0,c.typeParameters=Ii(i),c.parameters=b(o),c.type=s,c.body=a,c.body){const e=1024&Gy(c.modifiers),t=!!c.asteriskToken,n=e&&t;c.transformFlags=GS(c.modifiers)|HS(c.asteriskToken)|JS(c.name)|HS(c.questionToken)|GS(c.typeParameters)|GS(c.parameters)|HS(c.type)|-67108865&HS(c.body)|(n?128:e?256:t?2048:0)|(c.questionToken||c.typeParameters||c.type?1:0)|1024}else c.transformFlags=1;return c.typeArguments=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.flowNode=void 0,c.endFlowNode=void 0,c.returnFlowNode=void 0,c}function ce(e,t,n,r,i,o,s,a,c){return e.modifiers!==t||e.asteriskToken!==n||e.name!==r||e.questionToken!==i||e.typeParameters!==o||e.parameters!==s||e.type!==a||e.body!==c?function(e,t){e!==t&&(e.exclamationToken=t.exclamationToken);return Ni(e,t)}(ae(t,n,r,i,o,s,a,c),e):e}function le(e){const t=E(175);return t.body=e,t.transformFlags=16777216|HS(e),t.modifiers=void 0,t.jsDoc=void 0,t.locals=void 0,t.nextContainer=void 0,t.endFlowNode=void 0,t.returnFlowNode=void 0,t}function ue(e,t,n){const r=E(176);return r.modifiers=Ii(e),r.parameters=b(t),r.body=n,r.body?r.transformFlags=GS(r.modifiers)|GS(r.parameters)|-67108865&HS(r.body)|1024:r.transformFlags=1,r.typeParameters=void 0,r.type=void 0,r.typeArguments=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.endFlowNode=void 0,r.returnFlowNode=void 0,r}function de(e,t,n,r){return e.modifiers!==t||e.parameters!==n||e.body!==r?function(e,t){e!==t&&(e.typeParameters=t.typeParameters,e.type=t.type);return x(e,t)}(ue(t,n,r),e):e}function pe(e,t,n,r,i){const o=E(177);return o.modifiers=Ii(e),o.name=Ti(t),o.parameters=b(n),o.type=r,o.body=i,o.body?o.transformFlags=GS(o.modifiers)|JS(o.name)|GS(o.parameters)|HS(o.type)|-67108865&HS(o.body)|(o.type?1:0):o.transformFlags=1,o.typeArguments=void 0,o.typeParameters=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.flowNode=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function fe(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.parameters!==r||e.type!==i||e.body!==o?function(e,t){e!==t&&(e.typeParameters=t.typeParameters);return x(e,t)}(pe(t,n,r,i,o),e):e}function _e(e,t,n,r){const i=E(178);return i.modifiers=Ii(e),i.name=Ti(t),i.parameters=b(n),i.body=r,i.body?i.transformFlags=GS(i.modifiers)|JS(i.name)|GS(i.parameters)|-67108865&HS(i.body)|(i.type?1:0):i.transformFlags=1,i.typeArguments=void 0,i.typeParameters=void 0,i.type=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 me(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.parameters!==r||e.body!==i?function(e,t){e!==t&&(e.typeParameters=t.typeParameters,e.type=t.type);return x(e,t)}(_e(t,n,r,i),e):e}function he(e,t,n){const r=E(179);return r.typeParameters=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function Ae(e,t,n){const r=E(180);return r.typeParameters=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function ve(e,t,n){const r=E(181);return r.modifiers=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function be(e,t,n,r){return e.parameters!==n||e.type!==r||e.modifiers!==t?x(ve(t,n,r),e):e}function Ce(e,t){const n=C(204);return n.type=e,n.literal=t,n.transformFlags=1,n}function Ee(e,t,n){const r=C(182);return r.assertsModifier=e,r.parameterName=Ti(t),r.type=n,r.transformFlags=1,r}function xe(e,t){const n=C(183);return n.typeName=Ti(e),n.typeArguments=t&&r().parenthesizeTypeArguments(b(t)),n.transformFlags=1,n}function ke(e,t,n){const r=E(184);return r.typeParameters=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.modifiers=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function we(...e){return 4===e.length?Ie(...e):3===e.length?function(e,t,n){return Ie(void 0,e,t,n)}(...e):un.fail("Incorrect number of arguments specified.")}function Ie(e,t,n,r){const i=E(185);return i.modifiers=Ii(e),i.typeParameters=Ii(t),i.parameters=Ii(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.typeArguments=void 0,i}function Te(e,t,n,r,i){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i?x(we(t,n,r,i),e):e}function Fe(e,t){const n=C(186);return n.exprName=e,n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags=1,n}function Re(e){const t=E(187);return t.members=b(e),t.transformFlags=1,t}function Pe(e){const t=C(188);return t.elementType=r().parenthesizeNonArrayTypeOfPostfixType(e),t.transformFlags=1,t}function Ne(e){const t=C(189);return t.elements=b(r().parenthesizeElementTypesOfTupleType(e)),t.transformFlags=1,t}function Be(e,t,n,r){const i=E(202);return i.dotDotDotToken=e,i.name=t,i.questionToken=n,i.type=r,i.transformFlags=1,i.jsDoc=void 0,i}function Oe(e){const t=C(190);return t.type=r().parenthesizeTypeOfOptionalType(e),t.transformFlags=1,t}function qe(e){const t=C(191);return t.type=e,t.transformFlags=1,t}function $e(e,t,n){const r=C(e);return r.types=v.createNodeArray(n(t)),r.transformFlags=1,r}function Qe(e,t,n){return e.types!==t?Ni($e(e.kind,t,n),e):e}function Le(e,t,n,i){const o=C(194);return o.checkType=r().parenthesizeCheckTypeOfConditionalType(e),o.extendsType=r().parenthesizeExtendsTypeOfConditionalType(t),o.trueType=n,o.falseType=i,o.transformFlags=1,o.locals=void 0,o.nextContainer=void 0,o}function Me(e){const t=C(195);return t.typeParameter=e,t.transformFlags=1,t}function je(e,t){const n=C(203);return n.head=e,n.templateSpans=b(t),n.transformFlags=1,n}function Ue(e,t,n,i,o=!1){const s=C(205);return s.argument=e,s.attributes=t,s.assertions&&s.assertions.assertClause&&s.attributes&&(s.assertions.assertClause=s.attributes),s.qualifier=n,s.typeArguments=i&&r().parenthesizeTypeArguments(i),s.isTypeOf=o,s.transformFlags=1,s}function Je(e){const t=C(196);return t.type=e,t.transformFlags=1,t}function Ve(e,t){const n=C(198);return n.operator=e,n.type=148===e?r().parenthesizeOperandOfReadonlyTypeOperator(t):r().parenthesizeOperandOfTypeOperator(t),n.transformFlags=1,n}function He(e,t){const n=C(199);return n.objectType=r().parenthesizeNonArrayTypeOfPostfixType(e),n.indexType=t,n.transformFlags=1,n}function Ge(e,t,n,r,i,o){const s=E(200);return s.readonlyToken=e,s.typeParameter=t,s.nameType=n,s.questionToken=r,s.type=i,s.members=o&&b(o),s.transformFlags=1,s.locals=void 0,s.nextContainer=void 0,s}function We(e){const t=C(201);return t.literal=e,t.transformFlags=1,t}function ze(e){const t=C(206);return t.elements=b(e),t.transformFlags|=525312|GS(t.elements),32768&t.transformFlags&&(t.transformFlags|=65664),t}function Ke(e){const t=C(207);return t.elements=b(e),t.transformFlags|=525312|GS(t.elements),t}function Xe(e,t,n,r){const i=E(208);return i.dotDotDotToken=e,i.propertyName=Ti(t),i.name=Ti(n),i.initializer=Ri(r),i.transformFlags|=HS(i.dotDotDotToken)|JS(i.propertyName)|JS(i.name)|HS(i.initializer)|(i.dotDotDotToken?32768:0)|1024,i.flowNode=void 0,i}function Ze(e,t){const n=C(209),i=e&&ge(e),o=b(e,!(!i||!hI(i))||void 0);return n.elements=r().parenthesizeExpressionsOfCommaDelimitedList(o),n.multiLine=t,n.transformFlags|=GS(n.elements),n}function et(e,t){const n=E(210);return n.properties=b(e),n.multiLine=t,n.transformFlags|=GS(n.properties),n.jsDoc=void 0,n}function nt(e,t,n){const r=E(211);return r.expression=e,r.questionDotToken=t,r.name=n,r.transformFlags=HS(r.expression)|HS(r.questionDotToken)|(UD(r.name)?VS(r.name):536870912|HS(r.name)),r.jsDoc=void 0,r.flowNode=void 0,r}function rt(e,t){const n=nt(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Ti(t));return tw(e)&&(n.transformFlags|=384),n}function ot(e,t,n){const i=nt(r().parenthesizeLeftSideOfAccess(e,!0),t,Ti(n));return i.flags|=64,i.transformFlags|=32,i}function at(e,t,n,r){return un.assert(!!(64&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==t||e.questionDotToken!==n||e.name!==r?Ni(ot(t,n,r),e):e}function ct(e,t,n){const r=E(212);return r.expression=e,r.questionDotToken=t,r.argumentExpression=n,r.transformFlags|=HS(r.expression)|HS(r.questionDotToken)|HS(r.argumentExpression),r.jsDoc=void 0,r.flowNode=void 0,r}function lt(e,t){const n=ct(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Fi(t));return tw(e)&&(n.transformFlags|=384),n}function ut(e,t,n){const i=ct(r().parenthesizeLeftSideOfAccess(e,!0),t,Fi(n));return i.flags|=64,i.transformFlags|=32,i}function ft(e,t,n,r){return un.assert(!!(64&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==t||e.questionDotToken!==n||e.argumentExpression!==r?Ni(ut(t,n,r),e):e}function _t(e,t,n,r){const i=E(213);return i.expression=e,i.questionDotToken=t,i.typeArguments=n,i.arguments=r,i.transformFlags|=HS(i.expression)|HS(i.questionDotToken)|GS(i.typeArguments)|GS(i.arguments),i.typeArguments&&(i.transformFlags|=1),sm(i.expression)&&(i.transformFlags|=16384),i}function mt(e,t,n){const i=_t(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Ii(t),r().parenthesizeExpressionsOfCommaDelimitedList(b(n)));return nw(i.expression)&&(i.transformFlags|=8388608),i}function ht(e,t,n,i){const o=_t(r().parenthesizeLeftSideOfAccess(e,!0),t,Ii(n),r().parenthesizeExpressionsOfCommaDelimitedList(b(i)));return o.flags|=64,o.transformFlags|=32,o}function gt(e,t,n,r,i){return un.assert(!!(64&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==t||e.questionDotToken!==n||e.typeArguments!==r||e.arguments!==i?Ni(ht(t,n,r,i),e):e}function At(e,t,n){const i=E(214);return i.expression=r().parenthesizeExpressionOfNew(e),i.typeArguments=Ii(t),i.arguments=n?r().parenthesizeExpressionsOfCommaDelimitedList(n):void 0,i.transformFlags|=HS(i.expression)|GS(i.typeArguments)|GS(i.arguments)|32,i.typeArguments&&(i.transformFlags|=1),i}function yt(e,t,n){const i=C(215);return i.tag=r().parenthesizeLeftSideOfAccess(e,!1),i.typeArguments=Ii(t),i.template=n,i.transformFlags|=HS(i.tag)|GS(i.typeArguments)|HS(i.template)|1024,i.typeArguments&&(i.transformFlags|=1),_A(i.template)&&(i.transformFlags|=128),i}function vt(e,t){const n=C(216);return n.expression=r().parenthesizeOperandOfPrefixUnary(t),n.type=e,n.transformFlags|=HS(n.expression)|HS(n.type)|1,n}function bt(e,t,n){return e.type!==t||e.expression!==n?Ni(vt(t,n),e):e}function Ct(e){const t=C(217);return t.expression=e,t.transformFlags=HS(t.expression),t.jsDoc=void 0,t}function Et(e,t){return e.expression!==t?Ni(Ct(t),e):e}function xt(e,t,n,r,i,o,s){const a=E(218);a.modifiers=Ii(e),a.asteriskToken=t,a.name=Ti(n),a.typeParameters=Ii(r),a.parameters=b(i),a.type=o,a.body=s;const c=1024&Gy(a.modifiers),l=!!a.asteriskToken,u=c&&l;return a.transformFlags=GS(a.modifiers)|HS(a.asteriskToken)|JS(a.name)|GS(a.typeParameters)|GS(a.parameters)|HS(a.type)|-67108865&HS(a.body)|(u?128:c?256:l?2048:0)|(a.typeParameters||a.type?1:0)|4194304,a.typeArguments=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function St(e,t,n,r,i,o,s,a){return e.name!==r||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==a?x(xt(t,n,r,i,o,s,a),e):e}function kt(e,t,n,i,o,s){const a=E(219);a.modifiers=Ii(e),a.typeParameters=Ii(t),a.parameters=b(n),a.type=i,a.equalsGreaterThanToken=o??Q(39),a.body=r().parenthesizeConciseBodyOfArrowFunction(s);const c=1024&Gy(a.modifiers);return a.transformFlags=GS(a.modifiers)|GS(a.typeParameters)|GS(a.parameters)|HS(a.type)|HS(a.equalsGreaterThanToken)|-67108865&HS(a.body)|(a.typeParameters||a.type?1:0)|(c?16640:0)|1024,a.typeArguments=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function Dt(e,t,n,r,i,o,s){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i||e.equalsGreaterThanToken!==o||e.body!==s?x(kt(t,n,r,i,o,s),e):e}function wt(e){const t=C(220);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=HS(t.expression),t}function It(e){const t=C(221);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=HS(t.expression),t}function Tt(e){const t=C(222);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=HS(t.expression),t}function Ft(e){const t=C(223);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=2097536|HS(t.expression),t}function Rt(e,t){const n=C(224);return n.operator=e,n.operand=r().parenthesizeOperandOfPrefixUnary(t),n.transformFlags|=HS(n.operand),46!==e&&47!==e||!UD(n.operand)||Vl(n.operand)||eR(n.operand)||(n.transformFlags|=268435456),n}function Pt(e,t){const n=C(225);return n.operator=t,n.operand=r().parenthesizeOperandOfPostfixUnary(e),n.transformFlags|=HS(n.operand),!UD(n.operand)||Vl(n.operand)||eR(n.operand)||(n.transformFlags|=268435456),n}function Nt(e,t,n){const i=E(226),o="number"==typeof(s=t)?Q(s):s;var s;const a=o.kind;return i.left=r().parenthesizeLeftSideOfBinary(a,e),i.operatorToken=o,i.right=r().parenthesizeRightSideOfBinary(a,i.left,n),i.transformFlags|=HS(i.left)|HS(i.operatorToken)|HS(i.right),61===a?i.transformFlags|=32:64===a?Ww(i.left)?i.transformFlags|=5248|Bt(i.left):Gw(i.left)&&(i.transformFlags|=5120|Bt(i.left)):43===a||68===a?i.transformFlags|=512:Ky(a)&&(i.transformFlags|=16),103===a&&JD(i.left)&&(i.transformFlags|=536870912),i.jsDoc=void 0,i}function Bt(e){return sP(e)?65536:0}function Ot(e,t,n,i,o){const s=C(227);return s.condition=r().parenthesizeConditionOfConditionalExpression(e),s.questionToken=t??Q(58),s.whenTrue=r().parenthesizeBranchOfConditionalExpression(n),s.colonToken=i??Q(59),s.whenFalse=r().parenthesizeBranchOfConditionalExpression(o),s.transformFlags|=HS(s.condition)|HS(s.questionToken)|HS(s.whenTrue)|HS(s.colonToken)|HS(s.whenFalse),s}function qt(e,t){const n=C(228);return n.head=e,n.templateSpans=b(t),n.transformFlags|=HS(n.head)|GS(n.templateSpans)|1024,n}function $t(e,t,n,r=0){let i;if(un.assert(!(-7177&r),"Unsupported template flags."),void 0!==n&&n!==t&&(i=function(e,t){BS||(BS=ha(99,!1,0));switch(e){case 15:BS.setText("`"+t+"`");break;case 16:BS.setText("`"+t+"${");break;case 17:BS.setText("}"+t+"${");break;case 18:BS.setText("}"+t+"`")}let n,r=BS.scan();20===r&&(r=BS.reScanTemplateToken(!1));if(BS.isUnterminated())return BS.setText(void 0),US;switch(r){case 15:case 16:case 17:case 18:n=BS.getTokenValue()}if(void 0===n||1!==BS.scan())return BS.setText(void 0),US;return BS.setText(void 0),n}(e,n),"object"==typeof i))return un.fail("Invalid raw text");if(void 0===t){if(void 0===i)return un.fail("Arguments 'text' and 'rawText' may not both be undefined.");t=i}else void 0!==i&&un.assert(t===i,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return t}function Qt(e){let t=1024;return e&&(t|=128),t}function Lt(e,t,n,r){const i=E(e);return i.text=t,i.rawText=n,i.templateFlags=7176&r,i.transformFlags=Qt(i.templateFlags),i}function Mt(e,t,n,r){return 15===e?Lt(e,t,n,r):function(e,t,n,r){const i=$(e);return i.text=t,i.rawText=n,i.templateFlags=7176&r,i.transformFlags=Qt(i.templateFlags),i}(e,t,n,r)}function jt(e,t){un.assert(!e||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");const n=C(229);return n.expression=t&&r().parenthesizeExpressionForDisallowedComma(t),n.asteriskToken=e,n.transformFlags|=1049728|(HS(n.expression)|HS(n.asteriskToken)),n}function Ut(e){const t=C(230);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=33792|HS(t.expression),t}function Jt(e,t,n,r,i){const o=E(231);return o.modifiers=Ii(e),o.name=Ti(t),o.typeParameters=Ii(n),o.heritageClauses=Ii(r),o.members=b(i),o.transformFlags|=GS(o.modifiers)|JS(o.name)|GS(o.typeParameters)|GS(o.heritageClauses)|GS(o.members)|(o.typeParameters?1:0)|1024,o.jsDoc=void 0,o}function Vt(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.heritageClauses!==i||e.members!==o?Ni(Jt(t,n,r,i,o),e):e}function Ht(e,t){const n=C(233);return n.expression=r().parenthesizeLeftSideOfAccess(e,!1),n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags|=HS(n.expression)|GS(n.typeArguments)|1024,n}function Gt(e,t,n){return e.expression!==t||e.typeArguments!==n?Ni(Ht(t,n),e):e}function zt(e,t){const n=C(234);return n.expression=e,n.type=t,n.transformFlags|=HS(n.expression)|HS(n.type)|1,n}function Yt(e,t,n){return e.expression!==t||e.type!==n?Ni(zt(t,n),e):e}function Kt(e){const t=C(235);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=1|HS(t.expression),t}function Xt(e,t){return xl(e)?nn(e,t):e.expression!==t?Ni(Kt(t),e):e}function Zt(e,t){const n=C(238);return n.expression=e,n.type=t,n.transformFlags|=HS(n.expression)|HS(n.type)|1,n}function en(e,t,n){return e.expression!==t||e.type!==n?Ni(Zt(t,n),e):e}function tn(e){const t=C(235);return t.flags|=64,t.expression=r().parenthesizeLeftSideOfAccess(e,!0),t.transformFlags|=1|HS(t.expression),t}function nn(e,t){return un.assert(!!(64&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==t?Ni(tn(t),e):e}function rn(e,t){const n=C(236);switch(n.keywordToken=e,n.name=t,n.transformFlags|=HS(n.name),e){case 105:n.transformFlags|=1024;break;case 102:n.transformFlags|=32;break;default:return un.assertNever(e)}return n.flowNode=void 0,n}function on(e,t){const n=C(239);return n.expression=e,n.literal=t,n.transformFlags|=HS(n.expression)|HS(n.literal)|1024,n}function sn(e,t){const n=C(241);return n.statements=b(e),n.multiLine=t,n.transformFlags|=GS(n.statements),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n}function an(e,t){const n=C(243);return n.modifiers=Ii(e),n.declarationList=Ye(t)?wn(t):t,n.transformFlags|=GS(n.modifiers)|HS(n.declarationList),128&Gy(n.modifiers)&&(n.transformFlags=1),n.jsDoc=void 0,n.flowNode=void 0,n}function cn(e,t,n){return e.modifiers!==t||e.declarationList!==n?Ni(an(t,n),e):e}function ln(){const e=C(242);return e.jsDoc=void 0,e}function dn(e){const t=C(244);return t.expression=r().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=HS(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function pn(e,t,n){const r=C(245);return r.expression=e,r.thenStatement=Pi(t),r.elseStatement=Pi(n),r.transformFlags|=HS(r.expression)|HS(r.thenStatement)|HS(r.elseStatement),r.jsDoc=void 0,r.flowNode=void 0,r}function fn(e,t){const n=C(246);return n.statement=Pi(e),n.expression=t,n.transformFlags|=HS(n.statement)|HS(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function _n(e,t){const n=C(247);return n.expression=e,n.statement=Pi(t),n.transformFlags|=HS(n.expression)|HS(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function mn(e,t,n,r){const i=C(248);return i.initializer=e,i.condition=t,i.incrementor=n,i.statement=Pi(r),i.transformFlags|=HS(i.initializer)|HS(i.condition)|HS(i.incrementor)|HS(i.statement),i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i}function hn(e,t,n){const r=C(249);return r.initializer=e,r.expression=t,r.statement=Pi(n),r.transformFlags|=HS(r.initializer)|HS(r.expression)|HS(r.statement),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.flowNode=void 0,r}function gn(e,t,n,i){const o=C(250);return o.awaitModifier=e,o.initializer=t,o.expression=r().parenthesizeExpressionForDisallowedComma(n),o.statement=Pi(i),o.transformFlags|=HS(o.awaitModifier)|HS(o.initializer)|HS(o.expression)|HS(o.statement)|1024,e&&(o.transformFlags|=128),o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.flowNode=void 0,o}function An(e){const t=C(251);return t.label=Ti(e),t.transformFlags|=4194304|HS(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function yn(e){const t=C(252);return t.label=Ti(e),t.transformFlags|=4194304|HS(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function vn(e){const t=C(253);return t.expression=e,t.transformFlags|=4194432|HS(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function bn(e,t){const n=C(254);return n.expression=e,n.statement=Pi(t),n.transformFlags|=HS(n.expression)|HS(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function Cn(e,t){const n=C(255);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.caseBlock=t,n.transformFlags|=HS(n.expression)|HS(n.caseBlock),n.jsDoc=void 0,n.flowNode=void 0,n.possiblyExhaustive=!1,n}function En(e,t){const n=C(256);return n.label=Ti(e),n.statement=Pi(t),n.transformFlags|=HS(n.label)|HS(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function xn(e,t,n){return e.label!==t||e.statement!==n?Ni(En(t,n),e):e}function Sn(e){const t=C(257);return t.expression=e,t.transformFlags|=HS(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function kn(e,t,n){const r=C(258);return r.tryBlock=e,r.catchClause=t,r.finallyBlock=n,r.transformFlags|=HS(r.tryBlock)|HS(r.catchClause)|HS(r.finallyBlock),r.jsDoc=void 0,r.flowNode=void 0,r}function Dn(e,t,n,r){const i=E(260);return i.name=Ti(e),i.exclamationToken=t,i.type=n,i.initializer=Ri(r),i.transformFlags|=JS(i.name)|HS(i.initializer)|(i.exclamationToken??i.type?1:0),i.jsDoc=void 0,i}function wn(e,t=0){const n=C(261);return n.flags|=7&t,n.declarations=b(e),n.transformFlags|=4194304|GS(n.declarations),7&t&&(n.transformFlags|=263168),4&t&&(n.transformFlags|=4),n}function In(e,t,n,r,i,o,s){const a=E(262);if(a.modifiers=Ii(e),a.asteriskToken=t,a.name=Ti(n),a.typeParameters=Ii(r),a.parameters=b(i),a.type=o,a.body=s,!a.body||128&Gy(a.modifiers))a.transformFlags=1;else{const e=1024&Gy(a.modifiers),t=!!a.asteriskToken,n=e&&t;a.transformFlags=GS(a.modifiers)|HS(a.asteriskToken)|JS(a.name)|GS(a.typeParameters)|GS(a.parameters)|HS(a.type)|-67108865&HS(a.body)|(n?128:e?256:t?2048:0)|(a.typeParameters||a.type?1:0)|4194304}return a.typeArguments=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function Tn(e,t,n,r,i,o,s,a){return e.modifiers!==t||e.asteriskToken!==n||e.name!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==a?function(e,t){e!==t&&e.modifiers===t.modifiers&&(e.modifiers=t.modifiers);return x(e,t)}(In(t,n,r,i,o,s,a),e):e}function Fn(e,t,n,r,i){const o=E(263);return o.modifiers=Ii(e),o.name=Ti(t),o.typeParameters=Ii(n),o.heritageClauses=Ii(r),o.members=b(i),128&Gy(o.modifiers)?o.transformFlags=1:(o.transformFlags|=GS(o.modifiers)|JS(o.name)|GS(o.typeParameters)|GS(o.heritageClauses)|GS(o.members)|(o.typeParameters?1:0)|1024,8192&o.transformFlags&&(o.transformFlags|=1)),o.jsDoc=void 0,o}function Rn(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.heritageClauses!==i||e.members!==o?Ni(Fn(t,n,r,i,o),e):e}function Pn(e,t,n,r,i){const o=E(264);return o.modifiers=Ii(e),o.name=Ti(t),o.typeParameters=Ii(n),o.heritageClauses=Ii(r),o.members=b(i),o.transformFlags=1,o.jsDoc=void 0,o}function Nn(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.heritageClauses!==i||e.members!==o?Ni(Pn(t,n,r,i,o),e):e}function Bn(e,t,n,r){const i=E(265);return i.modifiers=Ii(e),i.name=Ti(t),i.typeParameters=Ii(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function On(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.type!==i?Ni(Bn(t,n,r,i),e):e}function qn(e,t,n){const r=E(266);return r.modifiers=Ii(e),r.name=Ti(t),r.members=b(n),r.transformFlags|=GS(r.modifiers)|HS(r.name)|GS(r.members)|1,r.transformFlags&=-67108865,r.jsDoc=void 0,r}function $n(e,t,n,r){return e.modifiers!==t||e.name!==n||e.members!==r?Ni(qn(t,n,r),e):e}function Qn(e,t,n,r=0){const i=E(267);return i.modifiers=Ii(e),i.flags|=2088&r,i.name=t,i.body=n,128&Gy(i.modifiers)?i.transformFlags=1:i.transformFlags|=GS(i.modifiers)|HS(i.name)|HS(i.body)|1,i.transformFlags&=-67108865,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function Ln(e,t,n,r){return e.modifiers!==t||e.name!==n||e.body!==r?Ni(Qn(t,n,r,e.flags),e):e}function Mn(e){const t=C(268);return t.statements=b(e),t.transformFlags|=GS(t.statements),t.jsDoc=void 0,t}function jn(e){const t=C(269);return t.clauses=b(e),t.transformFlags|=GS(t.clauses),t.locals=void 0,t.nextContainer=void 0,t}function Un(e){const t=E(270);return t.name=Ti(e),t.transformFlags|=1|VS(t.name),t.modifiers=void 0,t.jsDoc=void 0,t}function Jn(e,t,n,r){const i=E(271);return i.modifiers=Ii(e),i.name=Ti(n),i.isTypeOnly=t,i.moduleReference=r,i.transformFlags|=GS(i.modifiers)|VS(i.name)|HS(i.moduleReference),ET(i.moduleReference)||(i.transformFlags|=1),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function Vn(e,t,n,r,i){return e.modifiers!==t||e.isTypeOnly!==n||e.name!==r||e.moduleReference!==i?Ni(Jn(t,n,r,i),e):e}function Hn(e,t,n,r){const i=C(272);return i.modifiers=Ii(e),i.importClause=t,i.moduleSpecifier=n,i.attributes=i.assertClause=r,i.transformFlags|=HS(i.importClause)|HS(i.moduleSpecifier),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function Gn(e,t,n,r,i){return e.modifiers!==t||e.importClause!==n||e.moduleSpecifier!==r||e.attributes!==i?Ni(Hn(t,n,r,i),e):e}function Wn(e,t,n){const r=E(273);return r.isTypeOnly=e,r.name=t,r.namedBindings=n,r.transformFlags|=HS(r.name)|HS(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-67108865,r}function zn(e,t){const n=C(300);return n.elements=b(e),n.multiLine=t,n.token=132,n.transformFlags|=4,n}function Yn(e,t){const n=C(301);return n.name=e,n.value=t,n.transformFlags|=4,n}function Kn(e,t){const n=C(302);return n.assertClause=e,n.multiLine=t,n}function Xn(e,t,n){const r=C(300);return r.token=n??118,r.elements=b(e),r.multiLine=t,r.transformFlags|=4,r}function Zn(e,t){const n=C(301);return n.name=e,n.value=t,n.transformFlags|=4,n}function er(e){const t=E(274);return t.name=e,t.transformFlags|=HS(t.name),t.transformFlags&=-67108865,t}function tr(e){const t=E(280);return t.name=e,t.transformFlags|=32|HS(t.name),t.transformFlags&=-67108865,t}function nr(e){const t=C(275);return t.elements=b(e),t.transformFlags|=GS(t.elements),t.transformFlags&=-67108865,t}function rr(e,t,n){const r=E(276);return r.isTypeOnly=e,r.propertyName=t,r.name=n,r.transformFlags|=HS(r.propertyName)|HS(r.name),r.transformFlags&=-67108865,r}function ir(e,t,n){const i=E(277);return i.modifiers=Ii(e),i.isExportEquals=t,i.expression=t?r().parenthesizeRightSideOfBinary(64,void 0,n):r().parenthesizeExpressionOfExportDefault(n),i.transformFlags|=GS(i.modifiers)|HS(i.expression),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function or(e,t,n){return e.modifiers!==t||e.expression!==n?Ni(ir(t,e.isExportEquals,n),e):e}function sr(e,t,n,r,i){const o=E(278);return o.modifiers=Ii(e),o.isTypeOnly=t,o.exportClause=n,o.moduleSpecifier=r,o.attributes=o.assertClause=i,o.transformFlags|=GS(o.modifiers)|HS(o.exportClause)|HS(o.moduleSpecifier),o.transformFlags&=-67108865,o.jsDoc=void 0,o}function ar(e,t,n,r,i,o){return e.modifiers!==t||e.isTypeOnly!==n||e.exportClause!==r||e.moduleSpecifier!==i||e.attributes!==o?function(e,t){e!==t&&e.modifiers===t.modifiers&&(e.modifiers=t.modifiers);return Ni(e,t)}(sr(t,n,r,i,o),e):e}function cr(e){const t=C(279);return t.elements=b(e),t.transformFlags|=GS(t.elements),t.transformFlags&=-67108865,t}function lr(e,t,n){const r=C(281);return r.isTypeOnly=e,r.propertyName=Ti(t),r.name=Ti(n),r.transformFlags|=HS(r.propertyName)|HS(r.name),r.transformFlags&=-67108865,r.jsDoc=void 0,r}function ur(e){const t=C(283);return t.expression=e,t.transformFlags|=HS(t.expression),t.transformFlags&=-67108865,t}function dr(e,t,n=!1){const i=pr(e,n?t&&r().parenthesizeNonArrayTypeOfPostfixType(t):t);return i.postfix=n,i}function pr(e,t){const n=C(e);return n.type=t,n}function fr(e,t){const n=E(317);return n.parameters=Ii(e),n.type=t,n.transformFlags=GS(n.parameters)|(n.type?1:0),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function _r(e,t=!1){const n=E(322);return n.jsDocPropertyTags=Ii(e),n.isArrayType=t,n}function mr(e){const t=C(309);return t.type=e,t}function hr(e,t,n){const r=E(323);return r.typeParameters=Ii(e),r.parameters=b(t),r.type=n,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r}function gr(e){const t=jS(e.kind);return e.tagName.escapedText===_c(t)?e.tagName:R(t)}function Ar(e,t,n){const r=C(e);return r.tagName=t,r.comment=n,r}function yr(e,t,n){const r=E(e);return r.tagName=t,r.comment=n,r}function vr(e,t,n,r){const i=Ar(345,e??R("template"),r);return i.constraint=t,i.typeParameters=b(n),i}function br(e,t,n,r){const i=yr(346,e??R("typedef"),r);return i.typeExpression=t,i.fullName=n,i.name=kR(n),i.locals=void 0,i.nextContainer=void 0,i}function Cr(e,t,n,r,i,o){const s=yr(341,e??R("param"),o);return s.typeExpression=r,s.name=t,s.isNameFirst=!!i,s.isBracketed=n,s}function Er(e,t,n,r,i,o){const s=yr(348,e??R("prop"),o);return s.typeExpression=r,s.name=t,s.isNameFirst=!!i,s.isBracketed=n,s}function xr(e,t,n,r){const i=yr(338,e??R("callback"),r);return i.typeExpression=t,i.fullName=n,i.name=kR(n),i.locals=void 0,i.nextContainer=void 0,i}function Sr(e,t,n){const r=Ar(339,e??R("overload"),n);return r.typeExpression=t,r}function kr(e,t,n){const r=Ar(328,e??R("augments"),n);return r.class=t,r}function Dr(e,t,n){const r=Ar(329,e??R("implements"),n);return r.class=t,r}function wr(e,t,n){const r=Ar(347,e??R("see"),n);return r.name=t,r}function Ir(e){const t=C(310);return t.name=e,t}function Tr(e,t){const n=C(311);return n.left=e,n.right=t,n.transformFlags|=HS(n.left)|HS(n.right),n}function Fr(e,t){const n=C(324);return n.name=e,n.text=t,n}function Rr(e,t){const n=C(325);return n.name=e,n.text=t,n}function Pr(e,t){const n=C(326);return n.name=e,n.text=t,n}function Nr(e,t,n){return Ar(e,t??R(jS(e)),n)}function Br(e,t,n,r){const i=Ar(e,t??R(jS(e)),r);return i.typeExpression=n,i}function Or(e,t){return Ar(327,e,t)}function qr(e,t,n){const r=yr(340,e??R(jS(340)),n);return r.typeExpression=t,r.locals=void 0,r.nextContainer=void 0,r}function $r(e,t,n,r,i){const o=Ar(351,e??R("import"),i);return o.importClause=t,o.moduleSpecifier=n,o.attributes=r,o.comment=i,o}function Qr(e){const t=C(321);return t.text=e,t}function Lr(e,t){const n=C(320);return n.comment=e,n.tags=Ii(t),n}function Mr(e,t,n){const r=C(284);return r.openingElement=e,r.children=b(t),r.closingElement=n,r.transformFlags|=HS(r.openingElement)|GS(r.children)|HS(r.closingElement)|2,r}function jr(e,t,n){const r=C(285);return r.tagName=e,r.typeArguments=Ii(t),r.attributes=n,r.transformFlags|=HS(r.tagName)|GS(r.typeArguments)|HS(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function Ur(e,t,n){const r=C(286);return r.tagName=e,r.typeArguments=Ii(t),r.attributes=n,r.transformFlags|=HS(r.tagName)|GS(r.typeArguments)|HS(r.attributes)|2,t&&(r.transformFlags|=1),r}function Jr(e){const t=C(287);return t.tagName=e,t.transformFlags|=2|HS(t.tagName),t}function Vr(e,t,n){const r=C(288);return r.openingFragment=e,r.children=b(t),r.closingFragment=n,r.transformFlags|=HS(r.openingFragment)|GS(r.children)|HS(r.closingFragment)|2,r}function Hr(e,t){const n=C(12);return n.text=e,n.containsOnlyTriviaWhiteSpaces=!!t,n.transformFlags|=2,n}function Gr(e,t){const n=E(291);return n.name=e,n.initializer=t,n.transformFlags|=HS(n.name)|HS(n.initializer)|2,n}function Wr(e){const t=E(292);return t.properties=b(e),t.transformFlags|=2|GS(t.properties),t}function zr(e){const t=C(293);return t.expression=e,t.transformFlags|=2|HS(t.expression),t}function Yr(e,t){const n=C(294);return n.dotDotDotToken=e,n.expression=t,n.transformFlags|=HS(n.dotDotDotToken)|HS(n.expression)|2,n}function Kr(e,t){const n=C(295);return n.namespace=e,n.name=t,n.transformFlags|=HS(n.namespace)|HS(n.name)|2,n}function Xr(e,t){const n=C(296);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.statements=b(t),n.transformFlags|=HS(n.expression)|GS(n.statements),n.jsDoc=void 0,n}function Zr(e){const t=C(297);return t.statements=b(e),t.transformFlags=GS(t.statements),t}function ei(e,t){const n=C(298);switch(n.token=e,n.types=b(t),n.transformFlags|=GS(n.types),e){case 96:n.transformFlags|=1024;break;case 119:n.transformFlags|=1;break;default:return un.assertNever(e)}return n}function ti(e,t){const n=C(299);return n.variableDeclaration=function(e){if("string"==typeof e||e&&!HI(e))return Dn(e,void 0,void 0,void 0);return e}(e),n.block=t,n.transformFlags|=HS(n.variableDeclaration)|HS(n.block)|(e?0:64),n.locals=void 0,n.nextContainer=void 0,n}function ni(e,t){const n=E(303);return n.name=Ti(e),n.initializer=r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=JS(n.name)|HS(n.initializer),n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function ri(e,t,n){return e.name!==t||e.initializer!==n?function(e,t){e!==t&&(e.modifiers=t.modifiers,e.questionToken=t.questionToken,e.exclamationToken=t.exclamationToken);return Ni(e,t)}(ni(t,n),e):e}function ii(e,t){const n=E(304);return n.name=Ti(e),n.objectAssignmentInitializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=VS(n.name)|HS(n.objectAssignmentInitializer)|1024,n.equalsToken=void 0,n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function oi(e){const t=E(305);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=65664|HS(t.expression),t.jsDoc=void 0,t}function si(e,t){const n=E(306);return n.name=Ti(e),n.initializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=HS(n.name)|HS(n.initializer)|1,n.jsDoc=void 0,n}function ai(e){const t=Object.create(e.redirectTarget);return Object.defineProperties(t,{id:{get(){return this.redirectInfo.redirectTarget.id},set(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(e){this.redirectInfo.redirectTarget.symbol=e}}}),t.redirectInfo=e,t}function ci(e){const r=e.redirectInfo?function(e){const t=ai(e.redirectInfo);return t.flags|=-17&e.flags,t.fileName=e.fileName,t.path=e.path,t.resolvedPath=e.resolvedPath,t.originalFileName=e.originalFileName,t.packageJsonLocations=e.packageJsonLocations,t.packageJsonScope=e.packageJsonScope,t.emitNode=void 0,t}(e):function(e){const n=t.createBaseSourceFileNode(307);n.flags|=-17&e.flags;for(const t in e)!De(n,t)&&De(e,t)&&("emitNode"!==t?n[t]=e[t]:n.emitNode=void 0);return n}(e);return n(r,e),r}function li(e){const t=C(308);return t.sourceFiles=e,t.syntheticFileReferences=void 0,t.syntheticTypeReferences=void 0,t.syntheticLibReferences=void 0,t.hasNoDefaultLib=void 0,t}function ui(e,t){const n=C(355);return n.expression=e,n.original=t,n.transformFlags|=1|HS(n.expression),aP(n,t),n}function di(e,t){return e.expression!==t?Ni(ui(t,e.original),e):e}function pi(e){if(eA(e)&&!pc(e)&&!e.original&&!e.emitNode&&!e.id){if(xI(e))return e.elements;if(uI(e)&&ND(e.operatorToken))return[e.left,e.right]}return e}function fi(e){const t=C(356);return t.elements=b(B(e,pi)),t.transformFlags|=GS(t.elements),t}function _i(e,t){const n=C(357);return n.expression=e,n.thisArg=t,n.transformFlags|=HS(n.expression)|HS(n.thisArg),n}function mi(e){if(void 0===e)return e;if(JT(e))return ci(e);if(Vl(e))return function(e){const t=T(e.escapedText);return t.flags|=-17&e.flags,t.transformFlags=e.transformFlags,n(t,e),qk(t,{...e.emitNode.autoGenerate}),t}(e);if(UD(e))return function(e){const t=T(e.escapedText);t.flags|=-17&e.flags,t.jsDoc=e.jsDoc,t.flowNode=e.flowNode,t.symbol=e.symbol,t.transformFlags=e.transformFlags,n(t,e);const r=Ok(e);return r&&Bk(t,r),t}(e);if(Hl(e))return function(e){const t=O(e.escapedText);return t.flags|=-17&e.flags,t.transformFlags=e.transformFlags,n(t,e),qk(t,{...e.emitNode.autoGenerate}),t}(e);if(JD(e))return function(e){const t=O(e.escapedText);return t.flags|=-17&e.flags,t.transformFlags=e.transformFlags,n(t,e),t}(e);const r=wl(e.kind)?t.createBaseNode(e.kind):t.createBaseTokenNode(e.kind);r.flags|=-17&e.flags,r.transformFlags=e.transformFlags,n(r,e);for(const t in e)!De(r,t)&&De(e,t)&&(r[t]=e[t]);return r}function hi(){return Tt(S("0"))}function gi(e,t,n){return hl(e)?ht(ot(e,void 0,t),void 0,void 0,n):mt(rt(e,t),void 0,n)}function Ai(e,t,n){return gi(R(e),t,n)}function yi(e,t,n){return!!n&&(e.push(ni(t,n)),!0)}function vi(e,t){const n=sg(e);switch(n.kind){case 80:return t;case 110:case 9:case 10:case 11:return!1;case 209:return 0!==n.elements.length;case 210:return n.properties.length>0;default:return!0}}function bi(e,t,n,r=0,i){const o=i?e&&xc(e):Sc(e);if(o&&UD(o)&&!Vl(o)){const e=wx(aP(mi(o),o),o.parent);return r|=Xp(o),n||(r|=96),t||(r|=3072),r&&ik(e,r),e}return N(e)}function Ci(e,t,n){return bi(e,t,n,16384)}function Ei(e,t,n,r){const i=rt(e,eA(t)?t:mi(t));aP(i,t);let o=0;return r||(o|=96),n||(o|=3072),o&&ik(i,o),i}function xi(e){return kD(e.expression)&&"use strict"===e.expression.text}function Si(){return pR(dn(w("use strict")))}function ki(e,t,n=0,r){un.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");let i=!1;const o=e.length;for(;n=182&&e<=205)return-2;switch(e){case 213:case 214:case 209:case 206:case 207:return-2147450880;case 267:return-1941676032;case 169:case 216:case 238:case 234:case 355:case 217:case 108:case 211:case 212:default:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112}}(e.kind);return Ec(e)&&tu(e.name)?function(e,t){return t|134234112&e.transformFlags}(e.name,t):t}function GS(e){return e?e.transformFlags:0}function WS(e){let t=0;for(const n of e)t|=HS(n);e.transformFlags=t}var zS=FS();function YS(e){return e.flags|=16,e}var KS,XS=MS(4,{createBaseSourceFileNode:e=>YS(zS.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>YS(zS.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>YS(zS.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>YS(zS.createBaseTokenNode(e)),createBaseNode:e=>YS(zS.createBaseNode(e))});function ZS(e,t,n){return new(KS||(KS=$b.getSourceMapSourceConstructor()))(e,t,n)}function ek(e,t){if(e.original!==t&&(e.original=t,t)){const n=t.emitNode;n&&(e.emitNode=function(e,t){const{flags:n,internalFlags:r,leadingComments:i,trailingComments:o,commentRange:s,sourceMapRange:a,tokenSourceMapRanges:c,constantValue:l,helpers:u,startsOnNewLine:d,snippetElement:p,classThis:f,assignedName:_}=e;t||(t={});n&&(t.flags=n);r&&(t.internalFlags=-9&r);i&&(t.leadingComments=se(i.slice(),t.leadingComments));o&&(t.trailingComments=se(o.slice(),t.trailingComments));s&&(t.commentRange=s);a&&(t.sourceMapRange=a);c&&(t.tokenSourceMapRanges=function(e,t){t||(t=[]);for(const n in e)t[n]=e[n];return t}(c,t.tokenSourceMapRanges));void 0!==l&&(t.constantValue=l);if(u)for(const e of u)t.helpers=ce(t.helpers,e);void 0!==d&&(t.startsOnNewLine=d);void 0!==p&&(t.snippetElement=p);f&&(t.classThis=f);_&&(t.assignedName=_);return t}(n,e.emitNode))}return e}function tk(e){if(e.emitNode)un.assert(!(8&e.emitNode.internalFlags),"Invalid attempt to mutate an immutable node.");else{if(pc(e)){if(307===e.kind)return e.emitNode={annotatedNodes:[e]};tk(Ap(fc(Ap(e)))??un.fail("Could not determine parsed source file.")).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function nk(e){var t,n;const r=null==(n=null==(t=Ap(fc(e)))?void 0:t.emitNode)?void 0:n.annotatedNodes;if(r)for(const e of r)e.emitNode=void 0}function rk(e){const t=tk(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function ik(e,t){return tk(e).flags=t,e}function ok(e,t){const n=tk(e);return n.flags=n.flags|t,e}function sk(e,t){return tk(e).internalFlags=t,e}function ak(e,t){const n=tk(e);return n.internalFlags=n.internalFlags|t,e}function ck(e){var t;return(null==(t=e.emitNode)?void 0:t.sourceMapRange)??e}function lk(e,t){return tk(e).sourceMapRange=t,e}function uk(e,t){var n,r;return null==(r=null==(n=e.emitNode)?void 0:n.tokenSourceMapRanges)?void 0:r[t]}function dk(e,t,n){const r=tk(e);return(r.tokenSourceMapRanges??(r.tokenSourceMapRanges=[]))[t]=n,e}function pk(e){var t;return null==(t=e.emitNode)?void 0:t.startsOnNewLine}function fk(e,t){return tk(e).startsOnNewLine=t,e}function _k(e){var t;return(null==(t=e.emitNode)?void 0:t.commentRange)??e}function mk(e,t){return tk(e).commentRange=t,e}function hk(e){var t;return null==(t=e.emitNode)?void 0:t.leadingComments}function gk(e,t){return tk(e).leadingComments=t,e}function Ak(e,t,n,r){return gk(e,re(hk(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:r,text:n}))}function yk(e){var t;return null==(t=e.emitNode)?void 0:t.trailingComments}function vk(e,t){return tk(e).trailingComments=t,e}function bk(e,t,n,r){return vk(e,re(yk(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:r,text:n}))}function Ck(e,t){gk(e,hk(t)),vk(e,yk(t));const n=tk(t);return n.leadingComments=void 0,n.trailingComments=void 0,e}function Ek(e){var t;return null==(t=e.emitNode)?void 0:t.constantValue}function xk(e,t){return tk(e).constantValue=t,e}function Sk(e,t){const n=tk(e);return n.helpers=re(n.helpers,t),e}function kk(e,t){if(J(t)){const n=tk(e);for(const e of t)n.helpers=ce(n.helpers,e)}return e}function Dk(e,t){var n;const r=null==(n=e.emitNode)?void 0:n.helpers;return!!r&&Lt(r,t)}function wk(e){var t;return null==(t=e.emitNode)?void 0:t.helpers}function Ik(e,t,n){const r=e.emitNode,i=r&&r.helpers;if(!J(i))return;const o=tk(t);let s=0;for(let e=0;e0&&(i[e-s]=t)}s>0&&(i.length-=s)}function Tk(e){var t;return null==(t=e.emitNode)?void 0:t.snippetElement}function Fk(e,t){return tk(e).snippetElement=t,e}function Rk(e){return tk(e).internalFlags|=4,e}function Pk(e,t){return tk(e).typeNode=t,e}function Nk(e){var t;return null==(t=e.emitNode)?void 0:t.typeNode}function Bk(e,t){return tk(e).identifierTypeArguments=t,e}function Ok(e){var t;return null==(t=e.emitNode)?void 0:t.identifierTypeArguments}function qk(e,t){return tk(e).autoGenerate=t,e}function $k(e){var t;return null==(t=e.emitNode)?void 0:t.autoGenerate}function Qk(e,t){return tk(e).generatedImportReference=t,e}function Lk(e){var t;return null==(t=e.emitNode)?void 0:t.generatedImportReference}var Mk=(e=>(e.Field="f",e.Method="m",e.Accessor="a",e))(Mk||{});function jk(e){const t=e.factory,n=dt((()=>sk(t.createTrue(),8))),r=dt((()=>sk(t.createFalse(),8)));return{getUnscopedHelperName:i,createDecorateHelper:function(n,r,o,s){e.requestEmitHelper(Vk);const a=[];a.push(t.createArrayLiteralExpression(n,!0)),a.push(r),o&&(a.push(o),s&&a.push(s));return t.createCallExpression(i("__decorate"),void 0,a)},createMetadataHelper:function(n,r){return e.requestEmitHelper(Hk),t.createCallExpression(i("__metadata"),void 0,[t.createStringLiteral(n),r])},createParamHelper:function(n,r,o){return e.requestEmitHelper(Gk),aP(t.createCallExpression(i("__param"),void 0,[t.createNumericLiteral(r+""),n]),o)},createESDecorateHelper:function(n,r,o,a,c,l){return e.requestEmitHelper(Wk),t.createCallExpression(i("__esDecorate"),void 0,[n??t.createNull(),r??t.createNull(),o,s(a),c,l])},createRunInitializersHelper:function(n,r,o){return e.requestEmitHelper(zk),t.createCallExpression(i("__runInitializers"),void 0,o?[n,r,o]:[n,r])},createAssignHelper:function(n){if(yC(e.getCompilerOptions())>=2)return t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,n);return e.requestEmitHelper(Yk),t.createCallExpression(i("__assign"),void 0,n)},createAwaitHelper:function(n){return e.requestEmitHelper(Kk),t.createCallExpression(i("__await"),void 0,[n])},createAsyncGeneratorHelper:function(n,r){return e.requestEmitHelper(Kk),e.requestEmitHelper(Xk),(n.emitNode||(n.emitNode={})).flags|=1572864,t.createCallExpression(i("__asyncGenerator"),void 0,[r?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),n])},createAsyncDelegatorHelper:function(n){return e.requestEmitHelper(Kk),e.requestEmitHelper(Zk),t.createCallExpression(i("__asyncDelegator"),void 0,[n])},createAsyncValuesHelper:function(n){return e.requestEmitHelper(eD),t.createCallExpression(i("__asyncValues"),void 0,[n])},createRestHelper:function(n,r,o,s){e.requestEmitHelper(tD);const a=[];let c=0;for(let e=0;e{let r="";for(let i=0;i= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},Hk={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},Gk={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"},Wk={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!1,priority:2,text:'\n var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }\n var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";\n var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === "accessor") {\n if (result === void 0) continue;\n if (result === null || typeof result !== "object") throw new TypeError("Object expected");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === "field") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n };'},zk={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!1,priority:2,text:"\n var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n };"},Yk={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},Kk={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},Xk={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[Kk],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},Zk={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[Kk],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n };'},eD={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'},tD={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},nD={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},rD={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'},iD={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},oD={name:"typescript:read",importName:"__read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},sD={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"},aD={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:'\n var __propKey = (this && this.__propKey) || function (x) {\n return typeof x === "symbol" ? x : "".concat(x);\n };'},cD={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!1,text:'\n var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {\n if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";\n return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });\n };'},lD={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},uD={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);\n return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},dD={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:'\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));'},pD={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[dD,{name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'}],priority:2,text:'\n var __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n })();'},fD={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},_D={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[dD],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},mD={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'},hD={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'},gD={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'},AD={name:"typescript:addDisposableResource",importName:"__addDisposableResource",scoped:!1,text:'\n var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== "function") throw new TypeError("Object not disposable.");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n };'},yD={name:"typescript:disposeResources",importName:"__disposeResources",scoped:!1,text:'\n var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {\n return function (env) {\n function fail(e) {\n env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n };\n })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;\n });'},vD={name:"typescript:rewriteRelativeImportExtensions",importName:"__rewriteRelativeImportExtension",scoped:!1,text:'\n var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {\n if (typeof path === "string" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");\n });\n }\n return path;\n };'},bD={name:"typescript:async-super",scoped:!0,text:Jk` +***************************************************************************** */function requireTypescript(){return hasRequiredTypescript||(hasRequiredTypescript=1,function(e){var t={};(e=>{var t=Object.defineProperty,n=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},r={};n(r,{ANONYMOUS:()=>AZ,AccessFlags:()=>zr,AssertionLevel:()=>ft,AssignmentDeclarationKind:()=>oi,AssignmentKind:()=>Wh,Associativity:()=>tA,BreakpointResolver:()=>u5,BuilderFileEmit:()=>UJ,BuilderProgramKind:()=>AV,BuilderState:()=>MJ,CallHierarchy:()=>d5,CharacterCodes:()=>bi,CheckFlags:()=>jr,CheckMode:()=>$Q,ClassificationType:()=>Oz,ClassificationTypeNames:()=>Bz,CommentDirectiveType:()=>Er,Comparison:()=>s,CompletionInfoFlags:()=>wz,CompletionTriggerKind:()=>vz,Completions:()=>Ese,ContainerFlags:()=>q$,ContextFlags:()=>Pr,Debug:()=>ln,DiagnosticCategory:()=>si,Diagnostics:()=>ls,DocumentHighlights:()=>x0,ElementFlags:()=>Wr,EmitFlags:()=>Si,EmitHint:()=>Ii,EmitOnly:()=>Dr,EndOfLineState:()=>Fz,ExitStatus:()=>Ir,ExportKind:()=>l0,Extension:()=>Ci,ExternalEmitHelpers:()=>wi,FileIncludeKind:()=>Sr,FilePreprocessingDiagnosticsKind:()=>kr,FileSystemEntryKind:()=>ro,FileWatcherEventKind:()=>$i,FindAllReferences:()=>kce,FlattenLevel:()=>fM,FlowFlags:()=>Cr,ForegroundColorEscapeSequences:()=>$U,FunctionFlags:()=>Pg,GeneratedIdentifierFlags:()=>yr,GetLiteralTextFlags:()=>tf,GoToDefinition:()=>fue,HighlightSpanKind:()=>Cz,IdentifierNameMap:()=>jL,ImportKind:()=>u0,ImportsNotUsedAsValues:()=>mi,IndentStyle:()=>Ez,IndexFlags:()=>Yr,IndexKind:()=>ei,InferenceFlags:()=>ri,InferencePriority:()=>ni,InlayHintKind:()=>bz,InlayHints:()=>Rue,InternalEmitFlags:()=>ki,InternalNodeBuilderFlags:()=>Br,InternalSymbolName:()=>Ur,IntersectionFlags:()=>Rr,InvalidatedProjectKind:()=>dG,JSDocParsingMode:()=>Bi,JsDoc:()=>que,JsTyping:()=>QW,JsxEmit:()=>_i,JsxFlags:()=>hr,JsxReferenceKind:()=>Kr,LanguageFeatureMinimumTarget:()=>Di,LanguageServiceMode:()=>hz,LanguageVariant:()=>yi,LexicalEnvironmentFlags:()=>Fi,ListFormat:()=>Ri,LogLevel:()=>dn,MapCode:()=>rle,MemberOverrideStatus:()=>Tr,ModifierFlags:()=>mr,ModuleDetectionKind:()=>ui,ModuleInstanceState:()=>P$,ModuleKind:()=>fi,ModuleResolutionKind:()=>ci,ModuleSpecifierEnding:()=>qE,NavigateTo:()=>Y1,NavigationBar:()=>a2,NewLineKind:()=>hi,NodeBuilderFlags:()=>Nr,NodeCheckFlags:()=>Jr,NodeFactoryFlags:()=>$S,NodeFlags:()=>_r,NodeResolutionFeatures:()=>Tq,ObjectFlags:()=>Hr,OperationCanceledException:()=>xr,OperatorPrecedence:()=>sA,OrganizeImports:()=>ule,OrganizeImportsMode:()=>yz,OuterExpressionKinds:()=>Ti,OutliningElementsCollector:()=>Mle,OutliningSpanKind:()=>Iz,OutputFileType:()=>Tz,PackageJsonAutoImportPreference:()=>mz,PackageJsonDependencyGroup:()=>_z,PatternMatchKind:()=>K0,PollingInterval:()=>Qi,PollingWatchKind:()=>pi,PragmaKindFlags:()=>Pi,PredicateSemantics:()=>Ar,PreparePasteEdits:()=>x_e,PrivateIdentifierKind:()=>Mk,ProcessLevel:()=>NM,ProgramUpdateLevel:()=>mU,QuotePreference:()=>zK,RegularExpressionFlags:()=>vr,RelationComparisonResult:()=>gr,Rename:()=>Yle,ScriptElementKind:()=>Pz,ScriptElementKindModifier:()=>Nz,ScriptKind:()=>gi,ScriptSnapshot:()=>az,ScriptTarget:()=>Ai,SemanticClassificationFormat:()=>Az,SemanticMeaning:()=>$z,SemicolonPreference:()=>xz,SignatureCheckMode:()=>QQ,SignatureFlags:()=>Zr,SignatureHelp:()=>rde,SignatureInfo:()=>jJ,SignatureKind:()=>Xr,SmartSelectionRange:()=>Ide,SnippetKind:()=>xi,StatisticType:()=>KG,StructureIsReused:()=>wr,SymbolAccessibility:()=>$r,SymbolDisplay:()=>Lde,SymbolDisplayPartKind:()=>Dz,SymbolFlags:()=>Mr,SymbolFormatFlags:()=>qr,SyntaxKind:()=>fr,Ternary:()=>ii,ThrottledCancellationToken:()=>e5,TokenClass:()=>Rz,TokenFlags:()=>br,TransformFlags:()=>Ei,TypeFacts:()=>OQ,TypeFlags:()=>Vr,TypeFormatFlags:()=>Or,TypeMapKind:()=>ti,TypePredicateKind:()=>Qr,TypeReferenceSerializationKind:()=>Lr,UnionReduction:()=>Fr,UpToDateStatusType:()=>qH,VarianceFlags:()=>Gr,Version:()=>yn,VersionRange:()=>bn,WatchDirectoryFlags:()=>vi,WatchDirectoryKind:()=>di,WatchFileKind:()=>li,WatchLogLevel:()=>EU,WatchType:()=>bH,accessPrivateIdentifier:()=>uM,addEmitFlags:()=>ok,addEmitHelper:()=>Sk,addEmitHelpers:()=>kk,addInternalEmitFlags:()=>ak,addNodeFactoryPatcher:()=>LS,addObjectAllocatorPatcher:()=>Lb,addRange:()=>se,addRelatedInfo:()=>sx,addSyntheticLeadingComment:()=>Ak,addSyntheticTrailingComment:()=>bk,addToSeen:()=>bb,advancedAsyncSuperHelper:()=>CD,affectsDeclarationPathOptionDeclarations:()=>CN,affectsEmitOptionDeclarations:()=>bN,allKeysStartWithDot:()=>a$,altDirectorySeparator:()=>po,and:()=>Xt,append:()=>re,appendIfUnique:()=>ce,arrayFrom:()=>Pe,arrayIsEqualTo:()=>ee,arrayIsHomogeneous:()=>Cx,arrayOf:()=>Re,arrayReverseIterator:()=>le,arrayToMap:()=>Oe,arrayToMultiMap:()=>$e,arrayToNumericMap:()=>qe,assertType:()=>tn,assign:()=>Ne,asyncSuperHelper:()=>bD,attachFileToDiagnostics:()=>zb,base64decode:()=>Sv,base64encode:()=>xv,binarySearch:()=>Ee,binarySearchKey:()=>xe,bindSourceFile:()=>L$,breakIntoCharacterSpans:()=>_1,breakIntoWordSpans:()=>m1,buildLinkParts:()=>RX,buildOpts:()=>PN,buildOverload:()=>B_e,bundlerModuleNameResolver:()=>Rq,canBeConvertedToAsync:()=>Q1,canHaveDecorators:()=>uP,canHaveExportModifier:()=>Vx,canHaveFlowNode:()=>Nh,canHaveIllegalDecorators:()=>IR,canHaveIllegalModifiers:()=>TR,canHaveIllegalType:()=>DR,canHaveIllegalTypeParameters:()=>wR,canHaveJSDoc:()=>Bh,canHaveLocals:()=>ad,canHaveModifiers:()=>cP,canHaveModuleSpecifier:()=>gh,canHaveSymbol:()=>sd,canIncludeBindAndCheckDiagnostics:()=>fx,canJsonReportNoInputFiles:()=>iO,canProduceDiagnostics:()=>fj,canUsePropertyAccess:()=>Gx,canWatchAffectingLocation:()=>MV,canWatchAtTypes:()=>$V,canWatchDirectoryOrFile:()=>OV,canWatchDirectoryOrFilePath:()=>qV,cartesianProduct:()=>on,cast:()=>tt,chainBundle:()=>BL,chainDiagnosticMessages:()=>eC,changeAnyExtension:()=>Go,changeCompilerHostLikeToUseCache:()=>NU,changeExtension:()=>HE,changeFullExtension:()=>Wo,changesAffectModuleResolution:()=>Xd,changesAffectingProgramStructure:()=>Zd,characterCodeToRegularExpressionFlag:()=>Ps,childIsDecorated:()=>mm,classElementOrClassElementParameterIsDecorated:()=>gm,classHasClassThisAssignment:()=>xM,classHasDeclaredOrExplicitlyAssignedName:()=>TM,classHasExplicitlyAssignedName:()=>IM,classOrConstructorParameterIsDecorated:()=>hm,classicNameResolver:()=>k$,classifier:()=>T5,cleanExtendedConfigCache:()=>AU,clear:()=>D,clearMap:()=>pb,clearSharedExtendedConfigFileWatcher:()=>gU,climbPastPropertyAccess:()=>Xz,clone:()=>Me,cloneCompilerOptions:()=>yK,closeFileWatcher:()=>rb,closeFileWatcherOf:()=>kU,codefix:()=>R5,collapseTextChangeRangesAcrossMultipleVersions:()=>Ka,collectExternalModuleInfo:()=>QL,combine:()=>ie,combinePaths:()=>qo,commandLineOptionOfCustomType:()=>IN,commentPragmas:()=>Ni,commonOptionsWithBuild:()=>mN,compact:()=>te,compareBooleans:()=>Pt,compareDataObjects:()=>db,compareDiagnostics:()=>rC,compareEmitHelpers:()=>Uk,compareNumberOfDirectorySeparators:()=>ME,comparePaths:()=>Zo,comparePathsCaseInsensitive:()=>Xo,comparePathsCaseSensitive:()=>Ko,comparePatternKeys:()=>u$,compareProperties:()=>Rt,compareStringsCaseInsensitive:()=>Ct,compareStringsCaseInsensitiveEslintCompatible:()=>Et,compareStringsCaseSensitive:()=>xt,compareStringsCaseSensitiveUI:()=>Ft,compareTextSpans:()=>yt,compareValues:()=>At,compilerOptionsAffectDeclarationPath:()=>VC,compilerOptionsAffectEmit:()=>JC,compilerOptionsAffectSemanticDiagnostics:()=>UC,compilerOptionsDidYouMeanDiagnostics:()=>WN,compilerOptionsIndicateEsModules:()=>UK,computeCommonSourceDirectoryOfFilenames:()=>IU,computeLineAndCharacterOfPosition:()=>$s,computeLineOfPosition:()=>Qs,computeLineStarts:()=>Ns,computePositionOfLineAndCharacter:()=>Os,computeSignatureWithDiagnostics:()=>bV,computeSuggestionDiagnostics:()=>I1,computedOptions:()=>gC,concatenate:()=>H,concatenateDiagnosticMessageChains:()=>tC,consumesNodeCoreModules:()=>qZ,contains:()=>C,containsIgnoredPath:()=>Px,containsObjectRestOrSpread:()=>sP,containsParseError:()=>gp,containsPath:()=>es,convertCompilerOptionsForTelemetry:()=>OO,convertCompilerOptionsFromJson:()=>uO,convertJsonOption:()=>gO,convertToBase64:()=>Ev,convertToJson:()=>SB,convertToObject:()=>xB,convertToOptionsWithAbsolutePaths:()=>QB,convertToRelativePath:()=>is,convertToTSConfig:()=>wB,convertTypeAcquisitionFromJson:()=>lO,copyComments:()=>tZ,copyEntries:()=>ip,copyLeadingComments:()=>sZ,copyProperties:()=>Ue,copyTrailingAsLeadingComments:()=>cZ,copyTrailingComments:()=>aZ,couldStartTrivia:()=>Ys,countWhere:()=>x,createAbstractBuilder:()=>PV,createAccessorPropertyBackingField:()=>eP,createAccessorPropertyGetRedirector:()=>tP,createAccessorPropertySetRedirector:()=>nP,createBaseNodeFactory:()=>FS,createBinaryExpressionTrampoline:()=>GR,createBuilderProgram:()=>CV,createBuilderProgramUsingIncrementalBuildInfo:()=>DV,createBuilderStatusReporter:()=>JH,createCacheableExportInfoMap:()=>d0,createCachedDirectoryStructureHost:()=>_U,createClassifier:()=>E0,createCommentDirectivesMap:()=>Qp,createCompilerDiagnostic:()=>Xb,createCompilerDiagnosticForInvalidCustomType:()=>QN,createCompilerDiagnosticFromMessageChain:()=>Zb,createCompilerHost:()=>TU,createCompilerHostFromProgramHost:()=>EH,createCompilerHostWorker:()=>PU,createDetachedDiagnostic:()=>Hb,createDiagnosticCollection:()=>lA,createDiagnosticForFileFromMessageChain:()=>Vf,createDiagnosticForNode:()=>$f,createDiagnosticForNodeArray:()=>Qf,createDiagnosticForNodeArrayFromMessageChain:()=>jf,createDiagnosticForNodeFromMessageChain:()=>Mf,createDiagnosticForNodeInSourceFile:()=>Lf,createDiagnosticForRange:()=>Gf,createDiagnosticMessageChainFromDiagnostic:()=>Hf,createDiagnosticReporter:()=>XV,createDocumentPositionMapper:()=>TL,createDocumentRegistry:()=>Q0,createDocumentRegistryInternal:()=>L0,createEmitAndSemanticDiagnosticsBuilderProgram:()=>RV,createEmitHelperFactory:()=>jk,createEmptyExports:()=>MF,createEvaluator:()=>hS,createExpressionForJsxElement:()=>HF,createExpressionForJsxFragment:()=>GF,createExpressionForObjectLiteralElementLike:()=>KF,createExpressionForPropertyName:()=>YF,createExpressionFromEntityName:()=>zF,createExternalHelpersImportDeclarationIfNeeded:()=>mR,createFileDiagnostic:()=>Yb,createFileDiagnosticFromMessageChain:()=>Jf,createFlowNode:()=>$$,createForOfBindingStatement:()=>WF,createFutureSourceFile:()=>c0,createGetCanonicalFileName:()=>Jt,createGetIsolatedDeclarationErrors:()=>hj,createGetSourceFile:()=>FU,createGetSymbolAccessibilityDiagnosticForNode:()=>mj,createGetSymbolAccessibilityDiagnosticForNodeName:()=>_j,createGetSymbolWalker:()=>H$,createIncrementalCompilerHost:()=>PH,createIncrementalProgram:()=>NH,createJsxFactoryExpression:()=>VF,createLanguageService:()=>r5,createLanguageServiceSourceFile:()=>Y8,createMemberAccessForPropertyName:()=>jF,createModeAwareCache:()=>gq,createModeAwareCacheKey:()=>hq,createModeMismatchDetails:()=>pp,createModuleNotFoundChain:()=>dp,createModuleResolutionCache:()=>Cq,createModuleResolutionLoader:()=>aJ,createModuleResolutionLoaderUsingGlobalCache:()=>WV,createModuleSpecifierResolutionHost:()=>JK,createMultiMap:()=>Ve,createNameResolver:()=>yS,createNodeConverters:()=>NS,createNodeFactory:()=>MS,createOptionNameMap:()=>BN,createOverload:()=>N_e,createPackageJsonImportFilter:()=>OZ,createPackageJsonInfo:()=>BZ,createParenthesizerRules:()=>RS,createPatternMatcher:()=>Z0,createPrinter:()=>lU,createPrinterWithDefaults:()=>sU,createPrinterWithRemoveComments:()=>aU,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>cU,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>uU,createProgram:()=>DJ,createProgramHost:()=>kH,createPropertyNameNodeForIdentifierOrLiteral:()=>Mx,createQueue:()=>We,createRange:()=>Pv,createRedirectedBuilderProgram:()=>TV,createResolutionCache:()=>zV,createRuntimeTypeSerializer:()=>MM,createScanner:()=>ha,createSemanticDiagnosticsBuilderProgram:()=>FV,createSet:()=>ze,createSolutionBuilder:()=>WH,createSolutionBuilderHost:()=>HH,createSolutionBuilderWithWatch:()=>zH,createSolutionBuilderWithWatchHost:()=>GH,createSortedArray:()=>K,createSourceFile:()=>LP,createSourceMapGenerator:()=>fL,createSourceMapSource:()=>ZS,createSuperAccessVariableStatement:()=>VM,createSymbolTable:()=>Wd,createSymlinkCache:()=>KC,createSyntacticTypeNodeBuilder:()=>$W,createSystemWatchFunctions:()=>so,createTextChange:()=>FK,createTextChangeFromStartLength:()=>TK,createTextChangeRange:()=>za,createTextRangeFromNode:()=>DK,createTextRangeFromSpan:()=>IK,createTextSpan:()=>Va,createTextSpanFromBounds:()=>Ha,createTextSpanFromNode:()=>SK,createTextSpanFromRange:()=>wK,createTextSpanFromStringLiteralLikeContent:()=>kK,createTextWriter:()=>NA,createTokenRange:()=>$v,createTypeChecker:()=>GQ,createTypeReferenceDirectiveResolutionCache:()=>Eq,createTypeReferenceResolutionLoader:()=>lJ,createWatchCompilerHost:()=>BH,createWatchCompilerHostOfConfigFile:()=>IH,createWatchCompilerHostOfFilesAndCompilerOptions:()=>TH,createWatchFactory:()=>CH,createWatchHost:()=>vH,createWatchProgram:()=>OH,createWatchStatusReporter:()=>nH,createWriteFileMeasuringIO:()=>RU,declarationNameToString:()=>Rf,decodeMappings:()=>bL,decodedTextSpanIntersectsWith:()=>La,deduplicate:()=>Y,defaultInitCompilerOptions:()=>$N,defaultMaximumTruncationLength:()=>Jd,diagnosticCategoryName:()=>ai,diagnosticToString:()=>t0,diagnosticsEqualityComparer:()=>aC,directoryProbablyExists:()=>Iv,directorySeparator:()=>lo,displayPart:()=>yX,displayPartsToString:()=>V8,disposeEmitNodes:()=>nk,documentSpansEqual:()=>lX,dumpTracingLegend:()=>pr,elementAt:()=>pe,elideNodes:()=>zR,emitDetachedComments:()=>by,emitFiles:()=>nU,emitFilesAndReportErrors:()=>hH,emitFilesAndReportErrorsAndGetExitStatus:()=>gH,emitModuleKindIsNonNodeESM:()=>BC,emitNewLineBeforeLeadingCommentOfPosition:()=>vy,emitResolverSkipsTypeChecking:()=>tU,emitSkippedWithNoDiagnostics:()=>RJ,emptyArray:()=>a,emptyFileSystemEntries:()=>rx,emptyMap:()=>c,emptyOptions:()=>gz,endsWith:()=>Ot,ensurePathIsNonModuleName:()=>Ho,ensureScriptKind:()=>vE,ensureTrailingDirectorySeparator:()=>Vo,entityNameToString:()=>qf,enumerateInsertsAndDeletes:()=>rn,equalOwnProperties:()=>Be,equateStringsCaseInsensitive:()=>mt,equateStringsCaseSensitive:()=>ht,equateValues:()=>_t,escapeJsxAttributeString:()=>wA,escapeLeadingUnderscores:()=>_c,escapeNonAsciiString:()=>EA,escapeSnippetText:()=>Qx,escapeString:()=>bA,escapeTemplateSubstitution:()=>pA,evaluatorResult:()=>mS,every:()=>g,exclusivelyPrefixedNodeCoreModules:()=>kS,executeCommandLine:()=>_W,expandPreOrPostfixIncrementOrDecrementExpression:()=>XF,explainFiles:()=>lH,explainIfFileIsRedirectAndImpliedFormat:()=>dH,exportAssignmentIsAlias:()=>mg,expressionResultIsUnused:()=>Rx,extend:()=>je,extensionFromPath:()=>ZE,extensionIsTS:()=>KE,extensionsNotSupportingExtensionlessResolution:()=>FE,externalHelpersModuleNameText:()=>Ud,factory:()=>XS,fileExtensionIs:()=>Eo,fileExtensionIsOneOf:()=>xo,fileIncludeReasonToDiagnostics:()=>_H,fileShouldUseJavaScriptRequire:()=>s0,filter:()=>S,filterMutate:()=>k,filterSemanticDiagnostics:()=>NJ,find:()=>A,findAncestor:()=>dc,findBestPatternMatch:()=>Gt,findChildOfKind:()=>IY,findComputedPropertyNameCacheAssignment:()=>rP,findConfigFile:()=>DU,findConstructorDeclaration:()=>AS,findContainingList:()=>TY,findDiagnosticForNode:()=>LZ,findFirstNonJsxWhitespaceToken:()=>VY,findIndex:()=>v,findLast:()=>y,findLastIndex:()=>b,findListItemInfo:()=>DY,findModifier:()=>sX,findNextToken:()=>GY,findPackageJson:()=>NZ,findPackageJsons:()=>PZ,findPrecedingMatchingToken:()=>iK,findPrecedingToken:()=>WY,findSuperStatementIndexPath:()=>YL,findTokenOnLeftOfPosition:()=>HY,findUseStrictPrologue:()=>rR,first:()=>me,firstDefined:()=>p,firstDefinedIterator:()=>f,firstIterator:()=>he,firstOrOnly:()=>VZ,firstOrUndefined:()=>fe,firstOrUndefinedIterator:()=>_e,fixupCompilerOptions:()=>z1,flatMap:()=>R,flatMapIterator:()=>N,flatMapToMutable:()=>P,flatten:()=>F,flattenCommaList:()=>oP,flattenDestructuringAssignment:()=>_M,flattenDestructuringBinding:()=>gM,flattenDiagnosticMessageText:()=>YU,forEach:()=>l,forEachAncestor:()=>tp,forEachAncestorDirectory:()=>as,forEachAncestorDirectoryStoppingAtGlobalCache:()=>m$,forEachChild:()=>OP,forEachChildRecursively:()=>qP,forEachDynamicImportOrRequireCall:()=>wS,forEachEmittedFile:()=>Oj,forEachEnclosingBlockScopeContainer:()=>Ff,forEachEntry:()=>np,forEachExternalModuleToImportFrom:()=>_0,forEachImportClauseDeclaration:()=>Sh,forEachKey:()=>rp,forEachLeadingCommentRange:()=>oa,forEachNameInAccessChainWalkingLeft:()=>wb,forEachNameOfDefaultExport:()=>C0,forEachPropertyAssignment:()=>U_,forEachResolvedProjectReference:()=>pJ,forEachReturnStatement:()=>D_,forEachRight:()=>d,forEachTrailingCommentRange:()=>sa,forEachTsConfigPropArray:()=>G_,forEachUnique:()=>pX,forEachYieldExpression:()=>w_,formatColorAndReset:()=>HU,formatDiagnostic:()=>qU,formatDiagnostics:()=>OU,formatDiagnosticsWithColorAndContext:()=>zU,formatGeneratedName:()=>ZR,formatGeneratedNamePart:()=>KR,formatLocation:()=>WU,formatMessage:()=>Kb,formatStringFromArgs:()=>jb,formatting:()=>xpe,generateDjb2Hash:()=>Oi,generateTSConfig:()=>$B,getAdjustedReferenceLocation:()=>QY,getAdjustedRenameLocation:()=>LY,getAliasDeclarationFromName:()=>fg,getAllAccessorDeclarations:()=>fy,getAllDecoratorsOfClass:()=>rM,getAllDecoratorsOfClassElement:()=>iM,getAllJSDocTags:()=>au,getAllJSDocTagsOfKind:()=>cu,getAllKeys:()=>Te,getAllProjectOutputs:()=>Xj,getAllSuperTypeNodes:()=>bg,getAllowImportingTsExtensions:()=>AC,getAllowJSCompilerOption:()=>PC,getAllowSyntheticDefaultImports:()=>SC,getAncestor:()=>xg,getAnyExtensionFromPath:()=>Ro,getAreDeclarationMapsEnabled:()=>RC,getAssignedExpandoInitializer:()=>Hm,getAssignedName:()=>kc,getAssignmentDeclarationKind:()=>th,getAssignmentDeclarationPropertyAccessKind:()=>dh,getAssignmentTargetKind:()=>Yh,getAutomaticTypeDirectiveNames:()=>uq,getBaseFileName:()=>To,getBinaryOperatorPrecedence:()=>cA,getBuildInfo:()=>iU,getBuildInfoFileVersionMap:()=>wV,getBuildInfoText:()=>rU,getBuildOrderFromAnyBuildOrder:()=>UH,getBuilderCreationParameters:()=>yV,getBuilderFileEmit:()=>VJ,getCanonicalDiagnostic:()=>Wf,getCheckFlags:()=>ib,getClassExtendsHeritageElement:()=>yg,getClassLikeDeclarationOfSymbol:()=>hb,getCombinedLocalAndExportSymbolFlags:()=>ab,getCombinedModifierFlags:()=>ic,getCombinedNodeFlags:()=>sc,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>oc,getCommentRange:()=>_k,getCommonSourceDirectory:()=>Yj,getCommonSourceDirectoryOfConfig:()=>Kj,getCompilerOptionValue:()=>HC,getCompilerOptionsDiffValue:()=>OB,getConditions:()=>aq,getConfigFileParsingDiagnostics:()=>EJ,getConstantValue:()=>Ek,getContainerFlags:()=>J$,getContainerNode:()=>pY,getContainingClass:()=>Y_,getContainingClassExcludingClassDecorators:()=>Z_,getContainingClassStaticBlock:()=>K_,getContainingFunction:()=>W_,getContainingFunctionDeclaration:()=>z_,getContainingFunctionOrClassStaticBlock:()=>X_,getContainingNodeArray:()=>Nx,getContainingObjectLiteralElement:()=>o5,getContextualTypeFromParent:()=>pZ,getContextualTypeFromParentOrAncestorTypeNode:()=>NY,getDeclarationDiagnostics:()=>gj,getDeclarationEmitExtensionForPath:()=>VA,getDeclarationEmitOutputFilePath:()=>UA,getDeclarationEmitOutputFilePathWorker:()=>JA,getDeclarationFileExtension:()=>XP,getDeclarationFromName:()=>lg,getDeclarationModifierFlagsFromSymbol:()=>ob,getDeclarationOfKind:()=>Hd,getDeclarationsOfKind:()=>Gd,getDeclaredExpandoInitializer:()=>Vm,getDecorators:()=>Dc,getDefaultCompilerOptions:()=>H8,getDefaultFormatCodeSettings:()=>Sz,getDefaultLibFileName:()=>wa,getDefaultLibFilePath:()=>a5,getDefaultLikeExportInfo:()=>v0,getDefaultLikeExportNameFromDeclaration:()=>GZ,getDefaultResolutionModeForFileWorker:()=>FJ,getDiagnosticText:()=>tB,getDiagnosticsWithinSpan:()=>MZ,getDirectoryPath:()=>Io,getDirectoryToWatchFailedLookupLocation:()=>jV,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>VV,getDocumentPositionMapper:()=>k1,getDocumentSpansEqualityComparer:()=>dX,getESModuleInterop:()=>xC,getEditsForFileRename:()=>U0,getEffectiveBaseTypeNode:()=>Ag,getEffectiveConstraintOfTypeParameter:()=>du,getEffectiveContainerForJSDocTemplateTag:()=>Lh,getEffectiveImplementsTypeNodes:()=>vg,getEffectiveInitializer:()=>Jm,getEffectiveJSDocHost:()=>Uh,getEffectiveModifierFlags:()=>Ly,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>My,getEffectiveModifierFlagsNoCache:()=>Vy,getEffectiveReturnTypeNode:()=>hy,getEffectiveSetAccessorTypeAnnotationNode:()=>Ay,getEffectiveTypeAnnotationNode:()=>_y,getEffectiveTypeParameterDeclarations:()=>lu,getEffectiveTypeRoots:()=>tq,getElementOrPropertyAccessArgumentExpressionOrName:()=>uh,getElementOrPropertyAccessName:()=>lh,getElementsOfBindingOrAssignmentPattern:()=>SR,getEmitDeclarations:()=>IC,getEmitFlags:()=>Xp,getEmitHelpers:()=>wk,getEmitModuleDetectionKind:()=>CC,getEmitModuleFormatOfFileWorker:()=>IJ,getEmitModuleKind:()=>vC,getEmitModuleResolutionKind:()=>bC,getEmitScriptTarget:()=>yC,getEmitStandardClassFields:()=>jC,getEnclosingBlockScopeContainer:()=>Tf,getEnclosingContainer:()=>If,getEncodedSemanticClassifications:()=>R0,getEncodedSyntacticClassifications:()=>q0,getEndLinePosition:()=>xp,getEntityNameFromTypeNode:()=>lm,getEntrypointsFromPackageJsonInfo:()=>Kq,getErrorCountForSummary:()=>iH,getErrorSpanForNode:()=>Kf,getErrorSummaryText:()=>cH,getEscapedTextOfIdentifierOrLiteral:()=>Ug,getEscapedTextOfJsxAttributeName:()=>tS,getEscapedTextOfJsxNamespacedName:()=>iS,getExpandoInitializer:()=>Gm,getExportAssignmentExpression:()=>hg,getExportInfoMap:()=>y0,getExportNeedsImportStarHelper:()=>OL,getExpressionAssociativity:()=>nA,getExpressionPrecedence:()=>iA,getExternalHelpersModuleName:()=>fR,getExternalModuleImportEqualsDeclarationExpression:()=>Sm,getExternalModuleName:()=>Ch,getExternalModuleNameFromDeclaration:()=>LA,getExternalModuleNameFromPath:()=>MA,getExternalModuleNameLiteral:()=>gR,getExternalModuleRequireArgument:()=>km,getFallbackOptions:()=>SU,getFileEmitOutput:()=>LJ,getFileMatcherPatterns:()=>mE,getFileNamesFromConfigSpecs:()=>xO,getFileWatcherEventKind:()=>Ki,getFilesInErrorForSummary:()=>oH,getFirstConstructorWithBody:()=>iy,getFirstIdentifier:()=>cv,getFirstNonSpaceCharacterPosition:()=>VX,getFirstProjectOutput:()=>eU,getFixableErrorSpanExpression:()=>UZ,getFormatCodeSettingsForWriting:()=>n0,getFullWidth:()=>sp,getFunctionFlags:()=>Ng,getHeritageClause:()=>Eg,getHostSignatureFromJSDoc:()=>jh,getIdentifierAutoGenerate:()=>$k,getIdentifierGeneratedImportReference:()=>Lk,getIdentifierTypeArguments:()=>Ok,getImmediatelyInvokedFunctionExpression:()=>om,getImpliedNodeFormatForEmitWorker:()=>TJ,getImpliedNodeFormatForFile:()=>xJ,getImpliedNodeFormatForFileWorker:()=>SJ,getImportNeedsImportDefaultHelper:()=>$L,getImportNeedsImportStarHelper:()=>qL,getIndentString:()=>RA,getInferredLibraryNameResolveFrom:()=>mJ,getInitializedVariables:()=>eb,getInitializerOfBinaryExpression:()=>ph,getInitializerOfBindingOrAssignmentElement:()=>yR,getInterfaceBaseTypeNodes:()=>Cg,getInternalEmitFlags:()=>Zp,getInvokedExpression:()=>dm,getIsFileExcluded:()=>A0,getIsolatedModules:()=>EC,getJSDocAugmentsTag:()=>Oc,getJSDocClassTag:()=>$c,getJSDocCommentRanges:()=>A_,getJSDocCommentsAndTags:()=>Oh,getJSDocDeprecatedTag:()=>Wc,getJSDocDeprecatedTagNoCache:()=>zc,getJSDocEnumTag:()=>Yc,getJSDocHost:()=>Jh,getJSDocImplementsTags:()=>qc,getJSDocOverloadTags:()=>Mh,getJSDocOverrideTagNoCache:()=>Gc,getJSDocParameterTags:()=>Tc,getJSDocParameterTagsNoCache:()=>Fc,getJSDocPrivateTag:()=>Mc,getJSDocPrivateTagNoCache:()=>jc,getJSDocProtectedTag:()=>Uc,getJSDocProtectedTagNoCache:()=>Jc,getJSDocPublicTag:()=>Qc,getJSDocPublicTagNoCache:()=>Lc,getJSDocReadonlyTag:()=>Vc,getJSDocReadonlyTagNoCache:()=>Hc,getJSDocReturnTag:()=>Xc,getJSDocReturnType:()=>ru,getJSDocRoot:()=>Vh,getJSDocSatisfiesExpressionType:()=>Zx,getJSDocSatisfiesTag:()=>eu,getJSDocTags:()=>ou,getJSDocTemplateTag:()=>Zc,getJSDocThisTag:()=>Kc,getJSDocType:()=>nu,getJSDocTypeAliasName:()=>kR,getJSDocTypeAssertionType:()=>cR,getJSDocTypeParameterDeclarations:()=>gy,getJSDocTypeParameterTags:()=>Pc,getJSDocTypeParameterTagsNoCache:()=>Nc,getJSDocTypeTag:()=>tu,getJSXImplicitImportBase:()=>WC,getJSXRuntimeImport:()=>zC,getJSXTransformEnabled:()=>GC,getKeyForCompilerOptions:()=>fq,getLanguageVariant:()=>lC,getLastChild:()=>vb,getLeadingCommentRanges:()=>la,getLeadingCommentRangesOfNode:()=>g_,getLeftmostAccessExpression:()=>Db,getLeftmostExpression:()=>Ib,getLibraryNameFromLibFileName:()=>hJ,getLineAndCharacterOfPosition:()=>Ms,getLineInfo:()=>gL,getLineOfLocalPosition:()=>ny,getLineStartPositionForPosition:()=>hY,getLineStarts:()=>qs,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Yv,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>zv,getLinesBetweenPositions:()=>Ls,getLinesBetweenRangeEndAndRangeStart:()=>Jv,getLinesBetweenRangeEndPositions:()=>Vv,getLiteralText:()=>nf,getLocalNameForExternalImport:()=>hR,getLocalSymbolForExportDefault:()=>vv,getLocaleSpecificMessage:()=>Vb,getLocaleTimeString:()=>tH,getMappedContextSpan:()=>hX,getMappedDocumentSpan:()=>mX,getMappedLocation:()=>_X,getMatchedFileSpec:()=>pH,getMatchedIncludeSpec:()=>fH,getMeaningFromDeclaration:()=>Qz,getMeaningFromLocation:()=>Lz,getMembersOfDeclaration:()=>T_,getModeForFileReference:()=>KU,getModeForResolutionAtIndex:()=>XU,getModeForUsageLocation:()=>eJ,getModifiedTime:()=>Mi,getModifiers:()=>wc,getModuleInstanceState:()=>N$,getModuleNameStringLiteralAt:()=>QJ,getModuleSpecifierEndingPreference:()=>$E,getModuleSpecifierResolverHost:()=>VK,getNameForExportedSymbol:()=>HZ,getNameFromImportAttribute:()=>fS,getNameFromIndexInfo:()=>Pf,getNameFromPropertyName:()=>LK,getNameOfAccessExpression:()=>Sb,getNameOfCompilerOptionValue:()=>PB,getNameOfDeclaration:()=>Sc,getNameOfExpando:()=>zm,getNameOfJSDocTypedef:()=>Cc,getNameOfScriptTarget:()=>MC,getNameOrArgument:()=>ch,getNameTable:()=>i5,getNamespaceDeclarationNode:()=>Eh,getNewLineCharacter:()=>Rv,getNewLineKind:()=>e0,getNewLineOrDefaultFromHost:()=>NX,getNewTargetContainer:()=>rm,getNextJSDocCommentLocation:()=>$h,getNodeChildren:()=>qF,getNodeForGeneratedName:()=>YR,getNodeId:()=>JQ,getNodeKind:()=>fY,getNodeModifiers:()=>dK,getNodeModulePathParts:()=>Ux,getNonAssignedNameOfDeclaration:()=>xc,getNonAssignmentOperatorForCompoundAssignment:()=>GL,getNonAugmentationDeclaration:()=>hf,getNonDecoratorTokenPosOfNode:()=>Mp,getNonIncrementalBuildInfoRoots:()=>IV,getNonModifierTokenPosOfNode:()=>jp,getNormalizedAbsolutePath:()=>Lo,getNormalizedAbsolutePathWithoutRoot:()=>jo,getNormalizedPathComponents:()=>Qo,getObjectFlags:()=>gb,getOperatorAssociativity:()=>rA,getOperatorPrecedence:()=>aA,getOptionFromName:()=>YN,getOptionsForLibraryResolution:()=>xq,getOptionsNameMap:()=>ON,getOrCreateEmitNode:()=>tk,getOrUpdate:()=>Q,getOriginalNode:()=>lc,getOriginalNodeId:()=>RL,getOutputDeclarationFileName:()=>Uj,getOutputDeclarationFileNameWorker:()=>Jj,getOutputExtension:()=>Mj,getOutputFileNames:()=>Zj,getOutputJSFileNameWorker:()=>Hj,getOutputPathsFor:()=>Qj,getOwnEmitOutputFilePath:()=>jA,getOwnKeys:()=>Ie,getOwnValues:()=>Fe,getPackageJsonTypesVersionsPaths:()=>eq,getPackageNameFromTypesPackageName:()=>E$,getPackageScopeForPath:()=>e$,getParameterSymbolFromJSDoc:()=>Qh,getParentNodeInSpan:()=>iX,getParseTreeNode:()=>fc,getParsedCommandLineOfConfigFile:()=>nB,getPathComponents:()=>Po,getPathFromPathComponents:()=>No,getPathUpdater:()=>J0,getPathsBasePath:()=>WA,getPatternFromSpec:()=>pE,getPendingEmitKindWithSeen:()=>rV,getPositionOfLineAndCharacter:()=>Bs,getPossibleGenericSignatures:()=>sK,getPossibleOriginalInputExtensionForExtension:()=>HA,getPossibleOriginalInputPathWithoutChangingExt:()=>GA,getPossibleTypeArgumentsInfo:()=>aK,getPreEmitDiagnostics:()=>BU,getPrecedingNonSpaceCharacterPosition:()=>HX,getPrivateIdentifier:()=>aM,getProperties:()=>KL,getProperty:()=>we,getPropertyArrayElementValue:()=>J_,getPropertyAssignmentAliasLikeExpression:()=>gg,getPropertyNameForPropertyNameNode:()=>Lg,getPropertyNameFromType:()=>cS,getPropertyNameOfBindingOrAssignmentElement:()=>CR,getPropertySymbolFromBindingElement:()=>rX,getPropertySymbolsFromContextualType:()=>s5,getQuoteFromPreference:()=>XK,getQuotePreference:()=>KK,getRangesWhere:()=>V,getRefactorContextSpan:()=>jZ,getReferencedFileLocation:()=>bJ,getRegexFromPattern:()=>hE,getRegularExpressionForWildcard:()=>uE,getRegularExpressionsForWildcards:()=>lE,getRelativePathFromDirectory:()=>rs,getRelativePathFromFile:()=>os,getRelativePathToDirectoryOrUrl:()=>ss,getRenameLocation:()=>oZ,getReplacementSpanForContextToken:()=>xK,getResolutionDiagnostic:()=>qJ,getResolutionModeOverride:()=>rJ,getResolveJsonModule:()=>wC,getResolvePackageJsonExports:()=>kC,getResolvePackageJsonImports:()=>DC,getResolvedExternalModuleName:()=>$A,getResolvedModuleFromResolution:()=>up,getResolvedTypeReferenceDirectiveFromResolution:()=>lp,getRestIndicatorOfBindingOrAssignmentElement:()=>bR,getRestParameterElementType:()=>I_,getRightMostAssignedExpression:()=>Km,getRootDeclaration:()=>Xg,getRootDirectoryOfResolutionCache:()=>HV,getRootLength:()=>wo,getScriptKind:()=>MX,getScriptKindFromFileName:()=>bE,getScriptTargetFeatures:()=>ef,getSelectedEffectiveModifierFlags:()=>qy,getSelectedSyntacticModifierFlags:()=>$y,getSemanticClassifications:()=>T0,getSemanticJsxChildren:()=>uA,getSetAccessorTypeAnnotationNode:()=>sy,getSetAccessorValueParameter:()=>oy,getSetExternalModuleIndicator:()=>_C,getShebang:()=>pa,getSingleVariableOfVariableStatement:()=>Rh,getSnapshotText:()=>qK,getSnippetElement:()=>Tk,getSourceFileOfModule:()=>yp,getSourceFileOfNode:()=>Ap,getSourceFilePathInNewDir:()=>KA,getSourceFileVersionAsHashFromText:()=>xH,getSourceFilesToEmit:()=>zA,getSourceMapRange:()=>ck,getSourceMapper:()=>S1,getSourceTextOfNodeFromSourceFile:()=>Up,getSpanOfTokenAtPosition:()=>zf,getSpellingSuggestion:()=>Nt,getStartPositionOfLine:()=>Cp,getStartPositionOfRange:()=>Wv,getStartsOnNewLine:()=>pk,getStaticPropertiesAndClassStaticBlock:()=>ZL,getStrictOptionValue:()=>LC,getStringComparer:()=>St,getSubPatternFromSpec:()=>fE,getSuperCallFromStatement:()=>WL,getSuperContainer:()=>im,getSupportedCodeFixes:()=>G8,getSupportedExtensions:()=>RE,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>PE,getSwitchedType:()=>gZ,getSymbolId:()=>VQ,getSymbolNameForPrivateIdentifier:()=>Jg,getSymbolTarget:()=>jX,getSyntacticClassifications:()=>O0,getSyntacticModifierFlags:()=>jy,getSyntacticModifierFlagsNoCache:()=>Hy,getSynthesizedDeepClone:()=>GX,getSynthesizedDeepCloneWithReplacements:()=>WX,getSynthesizedDeepClones:()=>YX,getSynthesizedDeepClonesWithReplacements:()=>KX,getSyntheticLeadingComments:()=>hk,getSyntheticTrailingComments:()=>yk,getTargetLabel:()=>Zz,getTargetOfBindingOrAssignmentElement:()=>vR,getTemporaryModuleResolutionState:()=>Zq,getTextOfConstantValue:()=>rf,getTextOfIdentifierOrLiteral:()=>jg,getTextOfJSDocComment:()=>uu,getTextOfJsxAttributeName:()=>nS,getTextOfJsxNamespacedName:()=>oS,getTextOfNode:()=>zp,getTextOfNodeFromSourceText:()=>Wp,getTextOfPropertyName:()=>Of,getThisContainer:()=>em,getThisParameter:()=>ay,getTokenAtPosition:()=>UY,getTokenPosOfNode:()=>Lp,getTokenSourceMapRange:()=>lk,getTouchingPropertyName:()=>MY,getTouchingToken:()=>jY,getTrailingCommentRanges:()=>da,getTrailingSemicolonDeferringWriter:()=>BA,getTransformers:()=>xj,getTsBuildInfoEmitOutputFilePath:()=>qj,getTsConfigObjectLiteralExpression:()=>V_,getTsConfigPropArrayElementValue:()=>H_,getTypeAnnotationNode:()=>my,getTypeArgumentOrTypeParameterList:()=>pK,getTypeKeywordOfTypeOnlyImport:()=>cX,getTypeNode:()=>Nk,getTypeNodeIfAccessible:()=>yZ,getTypeParameterFromJsDoc:()=>Hh,getTypeParameterOwner:()=>Xa,getTypesPackageName:()=>b$,getUILocale:()=>It,getUniqueName:()=>iZ,getUniqueSymbolId:()=>JX,getUseDefineForClassFields:()=>NC,getWatchErrorSummaryDiagnosticMessage:()=>sH,getWatchFactory:()=>xU,group:()=>Qe,groupBy:()=>Le,guessIndentation:()=>Bd,handleNoEmitOptions:()=>PJ,handleWatchOptionsConfigDirTemplateSubstitution:()=>WB,hasAbstractModifier:()=>Ry,hasAccessorModifier:()=>Ny,hasAmbientModifier:()=>Py,hasChangesInResolutions:()=>hp,hasContextSensitiveParameters:()=>Bx,hasDecorators:()=>Oy,hasDocComment:()=>uK,hasDynamicName:()=>$g,hasEffectiveModifier:()=>Dy,hasEffectiveModifiers:()=>Sy,hasEffectiveReadonlyModifier:()=>By,hasExtension:()=>Co,hasImplementationTSFileExtension:()=>OE,hasIndexSignature:()=>hZ,hasInferredType:()=>CS,hasInitializer:()=>Td,hasInvalidEscape:()=>_A,hasJSDocNodes:()=>wd,hasJSDocParameterTags:()=>Bc,hasJSFileExtension:()=>NE,hasJsonModuleEmitEnabled:()=>OC,hasOnlyExpressionInitializer:()=>Fd,hasOverrideModifier:()=>Fy,hasPossibleExternalModuleReference:()=>Df,hasProperty:()=>De,hasPropertyAccessExpressionWithName:()=>eY,hasQuestionToken:()=>kh,hasRecordedExternalHelpers:()=>_R,hasResolutionModeOverride:()=>lS,hasRestParameter:()=>$d,hasScopeMarker:()=>Wl,hasStaticModifier:()=>Ty,hasSyntacticModifier:()=>wy,hasSyntacticModifiers:()=>ky,hasTSFileExtension:()=>BE,hasTabstop:()=>Wx,hasTrailingDirectorySeparator:()=>So,hasType:()=>Id,hasTypeArguments:()=>Gh,hasZeroOrOneAsteriskCharacter:()=>YC,hostGetCanonicalFileName:()=>qA,hostUsesCaseSensitiveFileNames:()=>OA,idText:()=>hc,identifierIsThisKeyword:()=>py,identifierToKeywordKind:()=>gc,identity:()=>st,identitySourceMapConsumer:()=>FL,ignoreSourceNewlines:()=>Rk,ignoredPaths:()=>Xi,importFromModuleSpecifier:()=>yh,importSyntaxAffectsModuleResolution:()=>mC,indexOfAnyCharCode:()=>E,indexOfNode:()=>Kp,indicesOf:()=>W,inferredTypesContainingFile:()=>_J,injectClassNamedEvaluationHelperBlockIfMissing:()=>FM,injectClassThisAssignmentIfMissing:()=>SM,insertImports:()=>aX,insertSorted:()=>X,insertStatementAfterCustomPrologue:()=>Op,insertStatementAfterStandardPrologue:()=>Bp,insertStatementsAfterCustomPrologue:()=>Np,insertStatementsAfterStandardPrologue:()=>Pp,intersperse:()=>h,intrinsicTagNameToString:()=>sS,introducesArgumentsExoticObject:()=>O_,inverseJsxOptionMap:()=>lN,isAbstractConstructorSymbol:()=>mb,isAbstractModifier:()=>XD,isAccessExpression:()=>xb,isAccessibilityModifier:()=>AK,isAccessor:()=>pl,isAccessorModifier:()=>ew,isAliasableExpression:()=>_g,isAmbientModule:()=>cf,isAmbientPropertyDeclaration:()=>yf,isAnyDirectorySeparator:()=>mo,isAnyImportOrBareOrAccessedRequire:()=>xf,isAnyImportOrReExport:()=>wf,isAnyImportOrRequireStatement:()=>Sf,isAnyImportSyntax:()=>Ef,isAnySupportedFileExtension:()=>ex,isApplicableVersionedTypesKey:()=>p$,isArgumentExpressionOfElementAccess:()=>aY,isArray:()=>Ye,isArrayBindingElement:()=>xl,isArrayBindingOrAssignmentElement:()=>Fl,isArrayBindingOrAssignmentPattern:()=>Tl,isArrayBindingPattern:()=>Vw,isArrayLiteralExpression:()=>Gw,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>vK,isArrayTypeNode:()=>kw,isArrowFunction:()=>rI,isAsExpression:()=>AI,isAssertClause:()=>aT,isAssertEntry:()=>cT,isAssertionExpression:()=>Vl,isAssertsKeyword:()=>WD,isAssignmentDeclaration:()=>Um,isAssignmentExpression:()=>iv,isAssignmentOperator:()=>tv,isAssignmentPattern:()=>El,isAssignmentTarget:()=>Kh,isAsteriskToken:()=>qD,isAsyncFunction:()=>Bg,isAsyncModifier:()=>GD,isAutoAccessorPropertyDeclaration:()=>fl,isAwaitExpression:()=>aI,isAwaitKeyword:()=>zD,isBigIntLiteral:()=>SD,isBinaryExpression:()=>lI,isBinaryLogicalOperator:()=>zy,isBinaryOperatorToken:()=>LR,isBindableObjectDefinePropertyCall:()=>nh,isBindableStaticAccessExpression:()=>oh,isBindableStaticElementAccessExpression:()=>sh,isBindableStaticNameExpression:()=>ah,isBindingElement:()=>Hw,isBindingElementOfBareOrAccessedRequire:()=>$m,isBindingName:()=>nl,isBindingOrAssignmentElement:()=>kl,isBindingOrAssignmentPattern:()=>Dl,isBindingPattern:()=>Cl,isBlock:()=>DI,isBlockLike:()=>a0,isBlockOrCatchScoped:()=>sf,isBlockScope:()=>vf,isBlockScopedContainerTopLevel:()=>pf,isBooleanLiteral:()=>sl,isBreakOrContinueStatement:()=>Su,isBreakStatement:()=>$I,isBuildCommand:()=>fW,isBuildInfoFile:()=>Bj,isBuilderProgram:()=>uH,isBundle:()=>VT,isCallChain:()=>hu,isCallExpression:()=>Kw,isCallExpressionTarget:()=>jz,isCallLikeExpression:()=>Bl,isCallLikeOrFunctionLikeExpression:()=>Nl,isCallOrNewExpression:()=>Ol,isCallOrNewExpressionTarget:()=>Jz,isCallSignatureDeclaration:()=>gw,isCallToHelper:()=>ED,isCaseBlock:()=>tT,isCaseClause:()=>OT,isCaseKeyword:()=>rw,isCaseOrDefaultClause:()=>Cd,isCatchClause:()=>QT,isCatchClauseVariableDeclaration:()=>qx,isCatchClauseVariableDeclarationOrBindingElement:()=>af,isCheckJsEnabledForFile:()=>nx,isCircularBuildOrder:()=>jH,isClassDeclaration:()=>zI,isClassElement:()=>ll,isClassExpression:()=>mI,isClassInstanceProperty:()=>_l,isClassLike:()=>dl,isClassMemberModifier:()=>Xu,isClassNamedEvaluationHelperBlock:()=>wM,isClassOrTypeElement:()=>Al,isClassStaticBlockDeclaration:()=>fw,isClassThisAssignmentBlock:()=>EM,isColonToken:()=>LD,isCommaExpression:()=>oR,isCommaListExpression:()=>xI,isCommaSequence:()=>sR,isCommaToken:()=>ND,isComment:()=>fK,isCommonJsExportPropertyAssignment:()=>N_,isCommonJsExportedExpression:()=>P_,isCompoundAssignment:()=>HL,isComputedNonLiteralName:()=>Nf,isComputedPropertyName:()=>ow,isConciseBody:()=>Xl,isConditionalExpression:()=>dI,isConditionalTypeNode:()=>Pw,isConstAssertion:()=>gS,isConstTypeReference:()=>Cu,isConstructSignatureDeclaration:()=>Aw,isConstructorDeclaration:()=>_w,isConstructorTypeNode:()=>Ew,isContextualKeyword:()=>wg,isContinueStatement:()=>qI,isCustomPrologue:()=>f_,isDebuggerStatement:()=>VI,isDeclaration:()=>ld,isDeclarationBindingElement:()=>Sl,isDeclarationFileName:()=>KP,isDeclarationName:()=>ug,isDeclarationNameOfEnumOrNamespace:()=>Zv,isDeclarationReadonly:()=>n_,isDeclarationStatement:()=>dd,isDeclarationWithTypeParameterChildren:()=>Cf,isDeclarationWithTypeParameters:()=>bf,isDecorator:()=>cw,isDecoratorTarget:()=>Hz,isDefaultClause:()=>qT,isDefaultImport:()=>xh,isDefaultModifier:()=>HD,isDefaultedExpandoInitializer:()=>Wm,isDeleteExpression:()=>iI,isDeleteTarget:()=>ag,isDeprecatedDeclaration:()=>XZ,isDestructuringAssignment:()=>ov,isDiskPathRoot:()=>Ao,isDoStatement:()=>RI,isDocumentRegistryEntry:()=>$0,isDotDotDotToken:()=>PD,isDottedName:()=>uv,isDynamicName:()=>Qg,isEffectiveExternalModule:()=>gf,isEffectiveStrictModeSourceFile:()=>Af,isElementAccessChain:()=>mu,isElementAccessExpression:()=>Yw,isEmittedFileOfProgram:()=>CU,isEmptyArrayLiteral:()=>yv,isEmptyBindingElement:()=>tc,isEmptyBindingPattern:()=>ec,isEmptyObjectLiteral:()=>Av,isEmptyStatement:()=>II,isEmptyStringLiteral:()=>Am,isEntityName:()=>el,isEntityNameExpression:()=>av,isEnumConst:()=>t_,isEnumDeclaration:()=>XI,isEnumMember:()=>UT,isEqualityOperatorKind:()=>_Z,isEqualsGreaterThanToken:()=>jD,isExclamationToken:()=>$D,isExcludedFile:()=>SO,isExclusivelyTypeOnlyImportOrExport:()=>ZU,isExpandoPropertyDeclaration:()=>uS,isExportAssignment:()=>mT,isExportDeclaration:()=>hT,isExportModifier:()=>VD,isExportName:()=>tR,isExportNamespaceAsDefaultDeclaration:()=>Jp,isExportOrDefaultModifier:()=>WR,isExportSpecifier:()=>AT,isExportsIdentifier:()=>Xm,isExportsOrModuleExportsOrAlias:()=>U$,isExpression:()=>Jl,isExpressionNode:()=>vm,isExpressionOfExternalModuleImportEqualsDeclaration:()=>dY,isExpressionOfOptionalChainRoot:()=>yu,isExpressionStatement:()=>TI,isExpressionWithTypeArguments:()=>gI,isExpressionWithTypeArgumentsInClassExtendsClause:()=>sv,isExternalModule:()=>UP,isExternalModuleAugmentation:()=>_f,isExternalModuleImportEqualsDeclaration:()=>xm,isExternalModuleIndicator:()=>Yl,isExternalModuleNameRelative:()=>Sa,isExternalModuleReference:()=>ET,isExternalModuleSymbol:()=>Yd,isExternalOrCommonJsModule:()=>Zf,isFileLevelReservedGeneratedIdentifier:()=>Gu,isFileLevelUniqueName:()=>Sp,isFileProbablyExternalModule:()=>mP,isFirstDeclarationOfSymbolParameter:()=>gX,isFixablePromiseHandler:()=>N1,isForInOrOfStatement:()=>Kl,isForInStatement:()=>BI,isForInitializer:()=>ed,isForOfStatement:()=>OI,isForStatement:()=>NI,isFullSourceFile:()=>wm,isFunctionBlock:()=>$_,isFunctionBody:()=>Zl,isFunctionDeclaration:()=>WI,isFunctionExpression:()=>nI,isFunctionExpressionOrArrowFunction:()=>$x,isFunctionLike:()=>rl,isFunctionLikeDeclaration:()=>ol,isFunctionLikeKind:()=>cl,isFunctionLikeOrClassStaticBlockDeclaration:()=>il,isFunctionOrConstructorTypeNode:()=>bl,isFunctionOrModuleBlock:()=>ul,isFunctionSymbol:()=>hh,isFunctionTypeNode:()=>Cw,isGeneratedIdentifier:()=>Vu,isGeneratedPrivateIdentifier:()=>Hu,isGetAccessor:()=>Dd,isGetAccessorDeclaration:()=>mw,isGetOrSetAccessorDeclaration:()=>fu,isGlobalScopeAugmentation:()=>ff,isGlobalSourceFile:()=>Xf,isGrammarError:()=>wp,isHeritageClause:()=>$T,isHoistedFunction:()=>__,isHoistedVariableStatement:()=>h_,isIdentifier:()=>UD,isIdentifierANonContextualKeyword:()=>Fg,isIdentifierName:()=>pg,isIdentifierOrThisTypeNode:()=>RR,isIdentifierPart:()=>_a,isIdentifierStart:()=>fa,isIdentifierText:()=>ma,isIdentifierTypePredicate:()=>M_,isIdentifierTypeReference:()=>bx,isIfStatement:()=>FI,isIgnoredFileFromWildCardWatching:()=>bU,isImplicitGlob:()=>dE,isImportAttribute:()=>lT,isImportAttributeName:()=>Ju,isImportAttributes:()=>uT,isImportCall:()=>u_,isImportClause:()=>oT,isImportDeclaration:()=>iT,isImportEqualsDeclaration:()=>rT,isImportKeyword:()=>nw,isImportMeta:()=>l_,isImportOrExportSpecifier:()=>$u,isImportOrExportSpecifierName:()=>LX,isImportSpecifier:()=>_T,isImportTypeAssertionContainer:()=>sT,isImportTypeNode:()=>Mw,isImportable:()=>p0,isInComment:()=>cK,isInCompoundLikeAssignment:()=>Xh,isInExpressionContext:()=>bm,isInJSDoc:()=>Pm,isInJSFile:()=>Tm,isInJSXText:()=>nK,isInJsonFile:()=>Fm,isInNonReferenceComment:()=>CK,isInReferenceComment:()=>bK,isInRightSideOfInternalImportEqualsDeclaration:()=>Mz,isInString:()=>XY,isInTemplateString:()=>tK,isInTopLevelContext:()=>nm,isInTypeQuery:()=>ly,isIncrementalBuildInfo:()=>_V,isIncrementalBundleEmitBuildInfo:()=>fV,isIncrementalCompilation:()=>FC,isIndexSignatureDeclaration:()=>yw,isIndexedAccessTypeNode:()=>$w,isInferTypeNode:()=>Nw,isInfinityOrNaNString:()=>Ox,isInitializedProperty:()=>eM,isInitializedVariable:()=>tb,isInsideJsxElement:()=>rK,isInsideJsxElementOrAttribute:()=>ZY,isInsideNodeModules:()=>$Z,isInsideTemplateLiteral:()=>gK,isInstanceOfExpression:()=>hv,isInstantiatedModule:()=>HQ,isInterfaceDeclaration:()=>YI,isInternalDeclaration:()=>Md,isInternalModuleImportEqualsDeclaration:()=>Dm,isInternalName:()=>ZF,isIntersectionTypeNode:()=>Rw,isIntrinsicJsxName:()=>TA,isIterationStatement:()=>Hl,isJSDoc:()=>sF,isJSDocAllType:()=>XT,isJSDocAugmentsTag:()=>uF,isJSDocAuthorTag:()=>lF,isJSDocCallbackTag:()=>pF,isJSDocClassTag:()=>dF,isJSDocCommentContainingNode:()=>xd,isJSDocConstructSignature:()=>Dh,isJSDocDeprecatedTag:()=>yF,isJSDocEnumTag:()=>bF,isJSDocFunctionType:()=>rF,isJSDocImplementsTag:()=>TF,isJSDocImportTag:()=>PF,isJSDocIndexSignature:()=>Nm,isJSDocLikeText:()=>_P,isJSDocLink:()=>zT,isJSDocLinkCode:()=>YT,isJSDocLinkLike:()=>qd,isJSDocLinkPlain:()=>KT,isJSDocMemberName:()=>WT,isJSDocNameReference:()=>GT,isJSDocNamepathType:()=>oF,isJSDocNamespaceBody:()=>rd,isJSDocNode:()=>Ed,isJSDocNonNullableType:()=>tF,isJSDocNullableType:()=>eF,isJSDocOptionalParameter:()=>zx,isJSDocOptionalType:()=>nF,isJSDocOverloadTag:()=>AF,isJSDocOverrideTag:()=>gF,isJSDocParameterTag:()=>CF,isJSDocPrivateTag:()=>_F,isJSDocPropertyLikeTag:()=>Du,isJSDocPropertyTag:()=>IF,isJSDocProtectedTag:()=>mF,isJSDocPublicTag:()=>fF,isJSDocReadonlyTag:()=>hF,isJSDocReturnTag:()=>EF,isJSDocSatisfiesExpression:()=>Xx,isJSDocSatisfiesTag:()=>FF,isJSDocSeeTag:()=>vF,isJSDocSignature:()=>cF,isJSDocTag:()=>Sd,isJSDocTemplateTag:()=>kF,isJSDocThisTag:()=>xF,isJSDocThrowsTag:()=>RF,isJSDocTypeAlias:()=>wh,isJSDocTypeAssertion:()=>aR,isJSDocTypeExpression:()=>HT,isJSDocTypeLiteral:()=>aF,isJSDocTypeTag:()=>SF,isJSDocTypedefTag:()=>DF,isJSDocUnknownTag:()=>wF,isJSDocUnknownType:()=>ZT,isJSDocVariadicType:()=>iF,isJSXTagName:()=>ym,isJsonEqual:()=>_x,isJsonSourceFile:()=>e_,isJsxAttribute:()=>FT,isJsxAttributeLike:()=>Ad,isJsxAttributeName:()=>rS,isJsxAttributes:()=>RT,isJsxCallLike:()=>bd,isJsxChild:()=>gd,isJsxClosingElement:()=>DT,isJsxClosingFragment:()=>TT,isJsxElement:()=>xT,isJsxExpression:()=>NT,isJsxFragment:()=>wT,isJsxNamespacedName:()=>BT,isJsxOpeningElement:()=>kT,isJsxOpeningFragment:()=>IT,isJsxOpeningLikeElement:()=>vd,isJsxOpeningLikeElementTagName:()=>Gz,isJsxSelfClosingElement:()=>ST,isJsxSpreadAttribute:()=>PT,isJsxTagNameExpression:()=>hd,isJsxText:()=>DD,isJumpStatementTarget:()=>tY,isKeyword:()=>Sg,isKeywordOrPunctuation:()=>Dg,isKnownSymbol:()=>Vg,isLabelName:()=>rY,isLabelOfLabeledStatement:()=>nY,isLabeledStatement:()=>jI,isLateVisibilityPaintedStatement:()=>kf,isLeftHandSideExpression:()=>$l,isLet:()=>a_,isLineBreak:()=>Js,isLiteralComputedPropertyDeclarationName:()=>dg,isLiteralExpression:()=>Pu,isLiteralExpressionOfObject:()=>Nu,isLiteralImportTypeNode:()=>d_,isLiteralKind:()=>Ru,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>lY,isLiteralTypeLiteral:()=>Ul,isLiteralTypeNode:()=>Lw,isLocalName:()=>eR,isLogicalOperator:()=>Yy,isLogicalOrCoalescingAssignmentExpression:()=>Xy,isLogicalOrCoalescingAssignmentOperator:()=>Ky,isLogicalOrCoalescingBinaryExpression:()=>ev,isLogicalOrCoalescingBinaryOperator:()=>Zy,isMappedTypeNode:()=>Qw,isMemberName:()=>pu,isMetaProperty:()=>bI,isMethodDeclaration:()=>pw,isMethodOrAccessor:()=>ml,isMethodSignature:()=>dw,isMinusToken:()=>OD,isMissingDeclaration:()=>vT,isMissingPackageJsonInfo:()=>dq,isModifier:()=>Zu,isModifierKind:()=>Yu,isModifierLike:()=>hl,isModuleAugmentationExternal:()=>mf,isModuleBlock:()=>eT,isModuleBody:()=>td,isModuleDeclaration:()=>ZI,isModuleExportName:()=>yT,isModuleExportsAccessExpression:()=>eh,isModuleIdentifier:()=>Zm,isModuleName:()=>BR,isModuleOrEnumDeclaration:()=>od,isModuleReference:()=>md,isModuleSpecifierLike:()=>tX,isModuleWithStringLiteralName:()=>uf,isNameOfFunctionDeclaration:()=>uY,isNameOfModuleDeclaration:()=>cY,isNamedDeclaration:()=>Ec,isNamedEvaluation:()=>zg,isNamedEvaluationSource:()=>Wg,isNamedExportBindings:()=>ku,isNamedExports:()=>gT,isNamedImportBindings:()=>id,isNamedImports:()=>fT,isNamedImportsOrExports:()=>kb,isNamedTupleMember:()=>ww,isNamespaceBody:()=>nd,isNamespaceExport:()=>pT,isNamespaceExportDeclaration:()=>nT,isNamespaceImport:()=>dT,isNamespaceReexportDeclaration:()=>Em,isNewExpression:()=>Xw,isNewExpressionTarget:()=>Uz,isNewScopeNode:()=>TS,isNoSubstitutionTemplateLiteral:()=>ID,isNodeArray:()=>Fu,isNodeArrayMultiLine:()=>Hv,isNodeDescendantOf:()=>cg,isNodeKind:()=>wu,isNodeLikeSystem:()=>un,isNodeModulesDirectory:()=>cs,isNodeWithPossibleHoistedDeclaration:()=>Zh,isNonContextualKeyword:()=>Ig,isNonGlobalAmbientModule:()=>lf,isNonNullAccess:()=>Kx,isNonNullChain:()=>xu,isNonNullExpression:()=>vI,isNonStaticMethodOrAccessorWithPrivateName:()=>tM,isNotEmittedStatement:()=>bT,isNullishCoalesce:()=>bu,isNumber:()=>Ze,isNumericLiteral:()=>xD,isNumericLiteralName:()=>Lx,isObjectBindingElementWithoutPropertyName:()=>nX,isObjectBindingOrAssignmentElement:()=>Il,isObjectBindingOrAssignmentPattern:()=>wl,isObjectBindingPattern:()=>Jw,isObjectLiteralElement:()=>Rd,isObjectLiteralElementLike:()=>yl,isObjectLiteralExpression:()=>Ww,isObjectLiteralMethod:()=>Q_,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>L_,isObjectTypeDeclaration:()=>Cb,isOmittedExpression:()=>hI,isOptionalChain:()=>gu,isOptionalChainRoot:()=>Au,isOptionalDeclaration:()=>Yx,isOptionalJSDocPropertyLikeTag:()=>Hx,isOptionalTypeNode:()=>Iw,isOuterExpression:()=>uR,isOutermostOptionalChain:()=>vu,isOverrideModifier:()=>ZD,isPackageJsonInfo:()=>lq,isPackedArrayLiteral:()=>Fx,isParameter:()=>aw,isParameterPropertyDeclaration:()=>Za,isParameterPropertyModifier:()=>Ku,isParenthesizedExpression:()=>tI,isParenthesizedTypeNode:()=>Bw,isParseTreeNode:()=>pc,isPartOfParameterDeclaration:()=>Kg,isPartOfTypeNode:()=>S_,isPartOfTypeOnlyImportOrExportDeclaration:()=>ju,isPartOfTypeQuery:()=>Cm,isPartiallyEmittedExpression:()=>EI,isPatternMatch:()=>Kt,isPinnedComment:()=>$p,isPlainJsFile:()=>vp,isPlusToken:()=>BD,isPossiblyTypeArgumentPosition:()=>oK,isPostfixUnaryExpression:()=>uI,isPrefixUnaryExpression:()=>cI,isPrimitiveLiteralValue:()=>vS,isPrivateIdentifier:()=>JD,isPrivateIdentifierClassElementDeclaration:()=>Wu,isPrivateIdentifierPropertyAccessExpression:()=>zu,isPrivateIdentifierSymbol:()=>Hg,isProgramUptoDate:()=>CJ,isPrologueDirective:()=>p_,isPropertyAccessChain:()=>_u,isPropertyAccessEntityNameExpression:()=>lv,isPropertyAccessExpression:()=>zw,isPropertyAccessOrQualifiedName:()=>Pl,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Rl,isPropertyAssignment:()=>LT,isPropertyDeclaration:()=>lw,isPropertyName:()=>tl,isPropertyNameLiteral:()=>Mg,isPropertySignature:()=>uw,isPrototypeAccess:()=>pv,isPrototypePropertyAssignment:()=>fh,isPunctuation:()=>kg,isPushOrUnshiftIdentifier:()=>Yg,isQualifiedName:()=>iw,isQuestionDotToken:()=>MD,isQuestionOrExclamationToken:()=>FR,isQuestionOrPlusOrMinusToken:()=>NR,isQuestionToken:()=>QD,isReadonlyKeyword:()=>YD,isReadonlyKeywordOrPlusOrMinusToken:()=>PR,isRecognizedTripleSlashComment:()=>qp,isReferenceFileLocation:()=>vJ,isReferencedFile:()=>yJ,isRegularExpressionLiteral:()=>wD,isRequireCall:()=>Bm,isRequireVariableStatement:()=>Lm,isRestParameter:()=>Qd,isRestTypeNode:()=>Tw,isReturnStatement:()=>QI,isReturnStatementWithFixablePromiseHandler:()=>P1,isRightSideOfAccessExpression:()=>_v,isRightSideOfInstanceofExpression:()=>gv,isRightSideOfPropertyAccess:()=>sY,isRightSideOfQualifiedName:()=>oY,isRightSideOfQualifiedNameOrPropertyAccess:()=>fv,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>mv,isRootedDiskPath:()=>go,isSameEntityName:()=>Ym,isSatisfiesExpression:()=>yI,isSemicolonClassElement:()=>kI,isSetAccessor:()=>kd,isSetAccessorDeclaration:()=>hw,isShiftOperatorOrHigher:()=>OR,isShorthandAmbientModuleSymbol:()=>df,isShorthandPropertyAssignment:()=>MT,isSideEffectImport:()=>ES,isSignedNumericLiteral:()=>qg,isSimpleCopiableExpression:()=>JL,isSimpleInlineableExpression:()=>VL,isSimpleParameterList:()=>dM,isSingleOrDoubleQuote:()=>Mm,isSolutionConfig:()=>rO,isSourceElement:()=>_S,isSourceFile:()=>JT,isSourceFileFromLibrary:()=>i0,isSourceFileJS:()=>Im,isSourceFileNotJson:()=>Rm,isSourceMapping:()=>EL,isSpecialPropertyDeclaration:()=>_h,isSpreadAssignment:()=>jT,isSpreadElement:()=>_I,isStatement:()=>fd,isStatementButNotDeclaration:()=>pd,isStatementOrBlock:()=>_d,isStatementWithLocals:()=>bp,isStatic:()=>Iy,isStaticModifier:()=>KD,isString:()=>Xe,isStringANonContextualKeyword:()=>Tg,isStringAndEmptyAnonymousObjectIntersection:()=>hK,isStringDoubleQuoted:()=>jm,isStringLiteral:()=>kD,isStringLiteralLike:()=>Od,isStringLiteralOrJsxExpression:()=>yd,isStringLiteralOrTemplate:()=>mZ,isStringOrNumericLiteralLike:()=>Og,isStringOrRegularExpressionOrTemplateLiteral:()=>_K,isStringTextContainingNode:()=>Uu,isSuperCall:()=>c_,isSuperKeyword:()=>tw,isSuperProperty:()=>sm,isSupportedSourceFileName:()=>QE,isSwitchStatement:()=>MI,isSyntaxList:()=>NF,isSyntheticExpression:()=>CI,isSyntheticReference:()=>CT,isTagName:()=>iY,isTaggedTemplateExpression:()=>Zw,isTaggedTemplateTag:()=>Vz,isTemplateExpression:()=>pI,isTemplateHead:()=>TD,isTemplateLiteral:()=>ql,isTemplateLiteralKind:()=>Bu,isTemplateLiteralToken:()=>Ou,isTemplateLiteralTypeNode:()=>Uw,isTemplateLiteralTypeSpan:()=>jw,isTemplateMiddle:()=>FD,isTemplateMiddleOrTemplateTail:()=>qu,isTemplateSpan:()=>SI,isTemplateTail:()=>RD,isTextWhiteSpaceLike:()=>fX,isThis:()=>_Y,isThisContainerOrFunctionBlock:()=>tm,isThisIdentifier:()=>uy,isThisInTypeQuery:()=>dy,isThisInitializedDeclaration:()=>cm,isThisInitializedObjectBindingExpression:()=>um,isThisProperty:()=>am,isThisTypeNode:()=>Ow,isThisTypeParameter:()=>jx,isThisTypePredicate:()=>j_,isThrowStatement:()=>UI,isToken:()=>Tu,isTokenKind:()=>Iu,isTraceEnabled:()=>LO,isTransientSymbol:()=>zd,isTrivia:()=>Rg,isTryStatement:()=>JI,isTupleTypeNode:()=>Dw,isTypeAlias:()=>Ih,isTypeAliasDeclaration:()=>KI,isTypeAssertionExpression:()=>eI,isTypeDeclaration:()=>Jx,isTypeElement:()=>gl,isTypeKeyword:()=>PK,isTypeKeywordTokenOrIdentifier:()=>BK,isTypeLiteralNode:()=>Sw,isTypeNode:()=>vl,isTypeNodeKind:()=>Eb,isTypeOfExpression:()=>oI,isTypeOnlyExportDeclaration:()=>Lu,isTypeOnlyImportDeclaration:()=>Qu,isTypeOnlyImportOrExportDeclaration:()=>Mu,isTypeOperatorNode:()=>qw,isTypeParameterDeclaration:()=>sw,isTypePredicateNode:()=>vw,isTypeQueryNode:()=>xw,isTypeReferenceNode:()=>bw,isTypeReferenceType:()=>Pd,isTypeUsableAsPropertyName:()=>aS,isUMDExportSymbol:()=>Ab,isUnaryExpression:()=>Ll,isUnaryExpressionWithWrite:()=>jl,isUnicodeIdentifierStart:()=>ks,isUnionTypeNode:()=>Fw,isUrl:()=>ho,isValidBigIntString:()=>yx,isValidESSymbolDeclaration:()=>B_,isValidTypeOnlyAliasUseSite:()=>vx,isValueSignatureDeclaration:()=>eg,isVarAwaitUsing:()=>r_,isVarConst:()=>o_,isVarConstLike:()=>s_,isVarUsing:()=>i_,isVariableDeclaration:()=>HI,isVariableDeclarationInVariableStatement:()=>R_,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>qm,isVariableDeclarationInitializedToRequire:()=>Om,isVariableDeclarationList:()=>GI,isVariableLike:()=>F_,isVariableStatement:()=>wI,isVoidExpression:()=>sI,isWatchSet:()=>nb,isWhileStatement:()=>PI,isWhiteSpaceLike:()=>js,isWhiteSpaceSingleLine:()=>Us,isWithStatement:()=>LI,isWriteAccess:()=>ub,isWriteOnlyAccess:()=>cb,isYieldExpression:()=>fI,jsxModeNeedsExplicitImport:()=>r0,keywordPart:()=>bX,last:()=>Ae,lastOrUndefined:()=>ge,length:()=>u,libMap:()=>fN,libs:()=>pN,lineBreakPart:()=>BX,loadModuleFromGlobalCache:()=>I$,loadWithModeAwareCache:()=>dJ,makeIdentifierFromModuleName:()=>of,makeImport:()=>GK,makeStringLiteral:()=>WK,mangleScopedPackageName:()=>C$,map:()=>w,mapAllOrFail:()=>O,mapDefined:()=>q,mapDefinedIterator:()=>$,mapEntries:()=>U,mapIterator:()=>I,mapOneOrMany:()=>JZ,mapToDisplayParts:()=>OX,matchFiles:()=>gE,matchPatternOrExact:()=>ix,matchedText:()=>Ht,matchesExclude:()=>DO,matchesExcludeWorker:()=>wO,maxBy:()=>vt,maybeBind:()=>Je,maybeSetLocalizedDiagnosticMessages:()=>Jb,memoize:()=>dt,memoizeOne:()=>pt,min:()=>bt,minAndMax:()=>ax,missingFileModifiedTime:()=>Li,modifierToFlag:()=>Wy,modifiersToFlags:()=>Gy,moduleExportNameIsDefault:()=>Gp,moduleExportNameTextEscaped:()=>Hp,moduleExportNameTextUnescaped:()=>Vp,moduleOptionDeclaration:()=>gN,moduleResolutionIsEqualTo:()=>cp,moduleResolutionNameAndModeGetter:()=>sJ,moduleResolutionOptionDeclarations:()=>EN,moduleResolutionSupportsPackageJsonExportsAndImports:()=>QC,moduleResolutionUsesNodeModules:()=>HK,moduleSpecifierToValidIdentifier:()=>zZ,moduleSpecifiers:()=>G$,moduleSymbolToValidIdentifier:()=>WZ,moveEmitHelpers:()=>Ik,moveRangeEnd:()=>Nv,moveRangePastDecorators:()=>Ov,moveRangePastModifiers:()=>qv,moveRangePos:()=>Bv,moveSyntheticComments:()=>Ck,mutateMap:()=>_b,mutateMapSkippingNewValues:()=>fb,needsParentheses:()=>dZ,needsScopeMarker:()=>zl,newCaseClauseTracker:()=>o0,newPrivateEnvironment:()=>sM,noEmitNotification:()=>Fj,noEmitSubstitution:()=>Tj,noTransformers:()=>Ej,noTruncationMaximumTruncationLength:()=>Vd,nodeCanBeDecorated:()=>pm,nodeCoreModules:()=>DS,nodeHasName:()=>bc,nodeIsDecorated:()=>fm,nodeIsMissing:()=>kp,nodeIsPresent:()=>Dp,nodeIsSynthesized:()=>eA,nodeModuleNameResolver:()=>Pq,nodeModulesPathPart:()=>Qq,nodeNextJsonConfigResolver:()=>Nq,nodeOrChildIsDecorated:()=>_m,nodeOverlapsWithStartEnd:()=>CY,nodePosToString:()=>Ep,nodeSeenTracker:()=>OK,nodeStartsNewLexicalEnvironment:()=>Zg,noop:()=>nt,noopFileWatcher:()=>AH,normalizePath:()=>Mo,normalizeSlashes:()=>Bo,normalizeSpans:()=>Ja,not:()=>en,notImplemented:()=>lt,notImplementedResolver:()=>oU,nullNodeConverters:()=>OS,nullParenthesizerRules:()=>PS,nullTransformationContext:()=>Pj,objectAllocator:()=>$b,operatorPart:()=>EX,optionDeclarations:()=>yN,optionMapToObject:()=>TB,optionsAffectingProgramStructure:()=>SN,optionsForBuild:()=>RN,optionsForWatch:()=>_N,optionsHaveChanges:()=>ep,or:()=>Zt,orderedRemoveItem:()=>Lt,orderedRemoveItemAt:()=>Mt,packageIdToPackageName:()=>fp,packageIdToString:()=>_p,parameterIsThisKeyword:()=>cy,parameterNamePart:()=>xX,parseBaseNodeFactory:()=>lP,parseBigInt:()=>gx,parseBuildCommand:()=>eB,parseCommandLine:()=>zN,parseCommandLineWorker:()=>VN,parseConfigFileTextToJson:()=>iB,parseConfigFileWithSystem:()=>rH,parseConfigHostFromCompilerHostLike:()=>BJ,parseCustomTypeOption:()=>MN,parseIsolatedEntityName:()=>MP,parseIsolatedJSDocComment:()=>VP,parseJSDocTypeExpressionForTests:()=>HP,parseJsonConfigFileContent:()=>MB,parseJsonSourceFileConfigFileContent:()=>jB,parseJsonText:()=>jP,parseListTypeOption:()=>jN,parseNodeFactory:()=>dP,parseNodeModuleFromPath:()=>Mq,parsePackageName:()=>s$,parsePseudoBigInt:()=>mx,parseValidBigInt:()=>Ax,pasteEdits:()=>k_e,patchWriteFileEnsuringDirectory:()=>ao,pathContainsNodeModules:()=>Lq,pathIsAbsolute:()=>yo,pathIsBareSpecifier:()=>bo,pathIsRelative:()=>vo,patternText:()=>Vt,performIncrementalCompilation:()=>FH,performance:()=>Un,positionBelongsToNode:()=>xY,positionIsASICandidate:()=>SZ,positionIsSynthesized:()=>YE,positionsAreOnSameLine:()=>Gv,preProcessFile:()=>E1,probablyUsesSemicolons:()=>kZ,processCommentPragmas:()=>ZP,processPragmasIntoFields:()=>eN,processTaggedTemplateExpression:()=>BM,programContainsEsModules:()=>jK,programContainsModules:()=>MK,projectReferenceIsEqualTo:()=>ap,propertyNamePart:()=>SX,pseudoBigIntToString:()=>hx,punctuationPart:()=>CX,pushIfUnique:()=>ae,quote:()=>fZ,quotePreferenceFromString:()=>YK,rangeContainsPosition:()=>AY,rangeContainsPositionExclusive:()=>yY,rangeContainsRange:()=>Kv,rangeContainsRangeExclusive:()=>gY,rangeContainsStartEnd:()=>vY,rangeEndIsOnSameLineAsRangeStart:()=>Uv,rangeEndPositionsAreOnSameLine:()=>Mv,rangeEquals:()=>de,rangeIsOnSingleLine:()=>Qv,rangeOfNode:()=>cx,rangeOfTypeParameters:()=>ux,rangeOverlapsWithStartEnd:()=>bY,rangeStartIsOnSameLineAsRangeEnd:()=>jv,rangeStartPositionsAreOnSameLine:()=>Lv,readBuilderProgram:()=>RH,readConfigFile:()=>rB,readJson:()=>Dv,readJsonConfigFile:()=>oB,readJsonOrUndefined:()=>kv,reduceEachLeadingCommentRange:()=>aa,reduceEachTrailingCommentRange:()=>ca,reduceLeft:()=>Se,reduceLeftIterator:()=>_,reducePathComponents:()=>Oo,refactor:()=>r3,regExpEscape:()=>tE,regularExpressionFlagToCharacterCode:()=>Rs,relativeComplement:()=>ne,removeAllComments:()=>rk,removeEmitHelper:()=>Dk,removeExtension:()=>VE,removeFileExtension:()=>UE,removeIgnoredPath:()=>NV,removeMinAndVersionNumbers:()=>Qt,removePrefix:()=>zt,removeSuffix:()=>qt,removeTrailingDirectorySeparator:()=>Jo,repeatString:()=>$K,replaceElement:()=>Ce,replaceFirstStar:()=>pS,resolutionExtensionIsTSOrJson:()=>XE,resolveConfigFileProjectName:()=>$H,resolveJSModule:()=>Iq,resolveLibrary:()=>Sq,resolveModuleName:()=>Dq,resolveModuleNameFromCache:()=>kq,resolvePackageNameToPackageJson:()=>cq,resolvePath:()=>$o,resolveProjectReferencePath:()=>OJ,resolveTripleslashReference:()=>wU,resolveTypeReferenceDirective:()=>oq,resolvingEmptyArray:()=>jd,returnFalse:()=>rt,returnNoopFileWatcher:()=>yH,returnTrue:()=>it,returnUndefined:()=>ot,returnsPromise:()=>R1,rewriteModuleSpecifier:()=>pM,sameFlatMap:()=>B,sameMap:()=>T,sameMapping:()=>CL,scanTokenAtPosition:()=>Yf,scanner:()=>qz,semanticDiagnosticsOptionDeclarations:()=>vN,serializeCompilerOptions:()=>NB,server:()=>$ge,servicesVersion:()=>k8,setCommentRange:()=>mk,setConfigFileInOptions:()=>UB,setConstantValue:()=>xk,setEmitFlags:()=>ik,setGetSourceFileAsHashVersioned:()=>SH,setIdentifierAutoGenerate:()=>qk,setIdentifierGeneratedImportReference:()=>Qk,setIdentifierTypeArguments:()=>Bk,setInternalEmitFlags:()=>sk,setLocalizedDiagnosticMessages:()=>Ub,setNodeChildren:()=>$F,setNodeFlags:()=>Dx,setObjectAllocator:()=>Mb,setOriginalNode:()=>ek,setParent:()=>wx,setParentRecursive:()=>Ix,setPrivateIdentifier:()=>cM,setSnippetElement:()=>Fk,setSourceMapRange:()=>uk,setStackTraceLimit:()=>qi,setStartsOnNewLine:()=>fk,setSyntheticLeadingComments:()=>gk,setSyntheticTrailingComments:()=>vk,setSys:()=>uo,setSysLog:()=>to,setTextRange:()=>aP,setTextRangeEnd:()=>xx,setTextRangePos:()=>Ex,setTextRangePosEnd:()=>Sx,setTextRangePosWidth:()=>kx,setTokenSourceMapRange:()=>dk,setTypeNode:()=>Pk,setUILocale:()=>Tt,setValueDeclaration:()=>mh,shouldAllowImportingTsExtension:()=>w$,shouldPreserveConstEnums:()=>TC,shouldRewriteModuleSpecifier:()=>bh,shouldUseUriStyleNodeCoreModules:()=>ZZ,showModuleSpecifier:()=>yb,signatureHasRestParameter:()=>KQ,signatureToDisplayParts:()=>QX,single:()=>ve,singleElementArray:()=>nn,singleIterator:()=>M,singleOrMany:()=>be,singleOrUndefined:()=>ye,skipAlias:()=>sb,skipConstraint:()=>QK,skipOuterExpressions:()=>lR,skipParentheses:()=>sg,skipPartiallyEmittedExpressions:()=>Eu,skipTrivia:()=>Ks,skipTypeChecking:()=>lx,skipTypeCheckingIgnoringNoCheck:()=>dx,skipTypeParentheses:()=>og,skipWhile:()=>cn,sliceAfter:()=>ox,some:()=>J,sortAndDeduplicate:()=>Z,sortAndDeduplicateDiagnostics:()=>ka,sourceFileAffectingCompilerOptions:()=>xN,sourceFileMayBeEmitted:()=>YA,sourceMapCommentRegExp:()=>mL,sourceMapCommentRegExpDontCareLineStart:()=>_L,spacePart:()=>vX,spanMap:()=>j,startEndContainsRange:()=>Xv,startEndOverlapsWithStartEnd:()=>EY,startOnNewLine:()=>pR,startTracing:()=>dr,startsWith:()=>Wt,startsWithDirectory:()=>ts,startsWithUnderscore:()=>KZ,startsWithUseStrict:()=>iR,stringContainsAt:()=>YZ,stringToToken:()=>Ts,stripQuotes:()=>IA,supportedDeclarationExtensions:()=>IE,supportedJSExtensionsFlat:()=>kE,supportedLocaleDirectories:()=>cc,supportedTSExtensionsFlat:()=>EE,supportedTSImplementationExtensions:()=>TE,suppressLeadingAndTrailingTrivia:()=>XX,suppressLeadingTrivia:()=>ZX,suppressTrailingTrivia:()=>eZ,symbolEscapedNameNoDefault:()=>eX,symbolName:()=>Ac,symbolNameNoDefault:()=>ZK,symbolToDisplayParts:()=>$X,sys:()=>co,sysLog:()=>eo,tagNamesAreEquivalent:()=>aN,takeWhile:()=>an,targetOptionDeclaration:()=>hN,targetToLibMap:()=>Da,testFormatSettings:()=>kz,textChangeRangeIsUnchanged:()=>Wa,textChangeRangeNewSpan:()=>Ga,textChanges:()=>zde,textOrKeywordPart:()=>kX,textPart:()=>DX,textRangeContainsPositionInclusive:()=>Ra,textRangeContainsTextSpan:()=>Ba,textRangeIntersectsWithTextSpan:()=>ja,textSpanContainsPosition:()=>Fa,textSpanContainsTextRange:()=>Na,textSpanContainsTextSpan:()=>Pa,textSpanEnd:()=>Ia,textSpanIntersection:()=>Ua,textSpanIntersectsWith:()=>Qa,textSpanIntersectsWithPosition:()=>Ma,textSpanIntersectsWithTextSpan:()=>$a,textSpanIsEmpty:()=>Ta,textSpanOverlap:()=>qa,textSpanOverlapsWith:()=>Oa,textSpansEqual:()=>uX,textToKeywordObj:()=>fs,timestamp:()=>jn,toArray:()=>Ke,toBuilderFileEmit:()=>SV,toBuilderStateFileInfoForMultiEmit:()=>xV,toEditorSettings:()=>U8,toFileNameLowerCase:()=>ut,toPath:()=>Uo,toProgramEmitPending:()=>kV,toSorted:()=>ue,tokenIsIdentifierOrKeyword:()=>ds,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ps,tokenToString:()=>Is,trace:()=>QO,tracing:()=>Hn,tracingEnabled:()=>Gn,transferSourceFileChildren:()=>LF,transform:()=>c5,transformClassFields:()=>QM,transformDeclarations:()=>vj,transformECMAScriptModule:()=>dj,transformES2015:()=>sj,transformES2016:()=>ij,transformES2017:()=>JM,transformES2018:()=>HM,transformES2019:()=>GM,transformES2020:()=>WM,transformES2021:()=>zM,transformESDecorators:()=>UM,transformESNext:()=>YM,transformGenerators:()=>aj,transformImpliedNodeFormatDependentModule:()=>pj,transformJsx:()=>nj,transformLegacyDecorators:()=>jM,transformModule:()=>cj,transformNamedEvaluation:()=>PM,transformNodes:()=>Rj,transformSystemModule:()=>lj,transformTypeScript:()=>$M,transpile:()=>W1,transpileDeclaration:()=>j1,transpileModule:()=>M1,transpileOptionValueCompilerOptions:()=>kN,tryAddToSet:()=>L,tryAndIgnoreErrors:()=>FZ,tryCast:()=>et,tryDirectoryExists:()=>TZ,tryExtractTSExtension:()=>bv,tryFileExists:()=>IZ,tryGetClassExtendingExpressionWithTypeArguments:()=>nv,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>rv,tryGetDirectories:()=>DZ,tryGetExtensionFromPath:()=>tx,tryGetImportFromModuleSpecifier:()=>vh,tryGetJSDocSatisfiesTypeNode:()=>eS,tryGetModuleNameFromFile:()=>AR,tryGetModuleSpecifierFromDeclaration:()=>Ah,tryGetNativePerformanceHooks:()=>Qn,tryGetPropertyAccessOrIdentifierToString:()=>dv,tryGetPropertyNameOfBindingOrAssignmentElement:()=>ER,tryGetSourceMappingURL:()=>AL,tryGetTextOfPropertyName:()=>Bf,tryParseJson:()=>wv,tryParsePattern:()=>GE,tryParsePatterns:()=>zE,tryParseRawSourceMap:()=>vL,tryReadDirectory:()=>wZ,tryReadFile:()=>sB,tryRemoveDirectoryPrefix:()=>ZC,tryRemoveExtension:()=>JE,tryRemovePrefix:()=>Yt,tryRemoveSuffix:()=>$t,tscBuildOption:()=>FN,typeAcquisitionDeclarations:()=>NN,typeAliasNamePart:()=>wX,typeDirectiveIsEqualTo:()=>mp,typeKeywords:()=>RK,typeParameterNamePart:()=>IX,typeToDisplayParts:()=>qX,unchangedPollThresholds:()=>Vi,unchangedTextChangeRange:()=>Ya,unescapeLeadingUnderscores:()=>mc,unmangleScopedPackageName:()=>x$,unorderedRemoveItem:()=>Ut,unprefixedNodeCoreModules:()=>SS,unreachableCodeIsError:()=>qC,unsetNodeChildren:()=>QF,unusedLabelIsError:()=>$C,unwrapInnermostStatementOfLabel:()=>q_,unwrapParenthesizedExpression:()=>bS,updateErrorForNoInputFiles:()=>oO,updateLanguageServiceSourceFile:()=>K8,updateMissingFilePathsWatch:()=>yU,updateResolutionField:()=>zO,updateSharedExtendedConfigFileWatcher:()=>hU,updateSourceFile:()=>JP,updateWatchingWildcardDirectories:()=>vU,usingSingleLineStringWriter:()=>op,utf16EncodeAsString:()=>va,validateLocaleAndSetLanguage:()=>uc,version:()=>o,versionMajorMinor:()=>i,visitArray:()=>nL,visitCommaListElements:()=>uL,visitEachChild:()=>lL,visitFunctionBody:()=>aL,visitIterationBody:()=>cL,visitLexicalEnvironment:()=>iL,visitNode:()=>eL,visitNodes:()=>tL,visitParameterList:()=>oL,walkUpBindingElementsAndPatterns:()=>nc,walkUpOuterExpressions:()=>dR,walkUpParenthesizedExpressions:()=>rg,walkUpParenthesizedTypes:()=>ng,walkUpParenthesizedTypesAndGetParentAndChild:()=>ig,whitespaceOrMapCommentRegExp:()=>hL,writeCommentRange:()=>Cy,writeFile:()=>ZA,writeFileEnsuringDirectories:()=>ty,zipWith:()=>m}),e.exports=r;var i="5.7",o="5.7.2",s=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(s||{}),a=[],c=new Map;function u(e){return void 0!==e?e.length:0}function l(e,t){if(void 0!==e)for(let n=0;n=0;n--){const r=t(e[n],n);if(r)return r}}function p(e,t){if(void 0!==e)for(let n=0;n=0;r--){const n=e[r];if(t(n,r))return n}}function v(e,t,n){if(void 0===e)return-1;for(let r=n??0;r=0;r--)if(t(e[r],r))return r;return-1}function C(e,t,n=_t){if(void 0!==e)for(let r=0;r{const[i,o]=t(r,e);n.set(i,o)})),n}function J(e,t){if(void 0!==e){if(void 0===t)return e.length>0;for(let n=0;nn(e[t],e[r])||At(t,r)))}(e,r,n);let i=e[r[0]];const o=[r[0]];for(let n=1;ne[t]))}function Y(e,t,n){return 0===e.length?[]:1===e.length?e.slice():n?z(e,t,n):function(e,t){const n=[];for(let r=0;r0&&r(t,e[n-1]))return!1;if(n0&&ln.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);t:for(const s=i;is&&ln.assertGreaterThanOrEqual(n(e[i],e[i-1]),0),n(t[o],e[i])){case-1:r.push(t[o]);continue e;case 0:continue e;case 1:continue t}}return r}function re(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function ie(e,t){return void 0===e?t:void 0===t?e:Ye(e)?Ye(t)?H(e,t):re(e,t):Ye(t)?re(t,e):[e,t]}function oe(e,t){return t<0?e.length+t:t}function se(e,t,n,r){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(n,r);n=void 0===n?0:oe(t,n),r=void 0===r?t.length:oe(t,r);for(let i=n;i=0;t--)yield e[t]}function de(e,t,n,r){for(;nnull==e?void 0:e.at(t):(e,t)=>{if(void 0!==e&&(t=oe(e,t))>1);switch(r(n(e[i],i),t)){case-1:o=i+1;break;case 0:return i;case 1:s=i-1}}return~o}function Se(e,t,n,r,i){if(e&&e.length>0){const o=e.length;if(o>0){let s=void 0===r||r<0?0:r;const a=void 0===i||s+i>o-1?o-1:s+i;let c;for(arguments.length<=2?(c=e[s],s++):c=n;s<=a;)c=t(c,e[s],s),s++;return c}}return n}var ke=Object.prototype.hasOwnProperty;function De(e,t){return ke.call(e,t)}function we(e,t){return ke.call(e,t)?e[t]:void 0}function Ie(e){const t=[];for(const n in e)ke.call(e,n)&&t.push(n);return t}function Te(e){const t=[];do{const n=Object.getOwnPropertyNames(e);for(const e of n)ae(t,e)}while(e=Object.getPrototypeOf(e));return t}function Fe(e){const t=[];for(const n in e)ke.call(e,n)&&t.push(e[n]);return t}function Re(e,t){const n=new Array(e);for(let r=0;r100&&n>t.length>>1){const e=t.length-n;t.copyWithin(0,n),t.length=e,n=0}return e},isEmpty:r}}function ze(e,t){const n=new Map;let r=0;function*i(){for(const e of n.values())Ye(e)?yield*e:yield e}const o={has(r){const i=e(r);if(!n.has(i))return!1;const o=n.get(i);return Ye(o)?C(o,r,t):t(o,r)},add(i){const o=e(i);if(n.has(o)){const e=n.get(o);if(Ye(e))C(e,i,t)||(e.push(i),r++);else{const s=e;t(s,i)||(n.set(o,[s,i]),r++)}}else n.set(o,i),r++;return this},delete(i){const o=e(i);if(!n.has(o))return!1;const s=n.get(o);if(Ye(s)){for(let e=0;ei(),values:()=>i(),*entries(){for(const e of i())yield[e,e]},[Symbol.iterator]:()=>i(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function Ye(e){return Array.isArray(e)}function Ke(e){return Ye(e)?e:[e]}function Xe(e){return"string"==typeof e}function Ze(e){return"number"==typeof e}function et(e,t){return void 0!==e&&t(e)?e:void 0}function tt(e,t){return void 0!==e&&t(e)?e:ln.fail(`Invalid cast. The supplied value ${e} did not pass the test '${ln.getFunctionName(t)}'.`)}function nt(e){}function rt(){return!1}function it(){return!0}function ot(){}function st(e){return e}function at(e){return e.toLowerCase()}var ct=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function ut(e){return ct.test(e)?e.replace(ct,at):e}function lt(){throw new Error("Not implemented")}function dt(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function pt(e){const t=new Map;return n=>{const r=`${typeof n}:${n}`;let i=t.get(r);return void 0!==i||t.has(r)||(i=e(n),t.set(r,i)),i}}var ft=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(ft||{});function _t(e,t){return e===t}function mt(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()}function ht(e,t){return _t(e,t)}function gt(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e-1===t(e,n)?e:n))}function Ct(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function Et(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toLowerCase())<(t=t.toLowerCase())?-1:e>t?1:0}function xt(e,t){return gt(e,t)}function St(e){return e?Ct:xt}var kt,Dt,wt=(()=>function(e){const t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(e,n)=>function(e,t,n){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;const r=n(e,t);return r<0?-1:r>0?1:0}(e,n,t)})();function It(){return Dt}function Tt(e){Dt!==e&&(Dt=e,kt=void 0)}function Ft(e,t){return kt??(kt=wt(Dt)),kt(e,t)}function Rt(e,t,n,r){return e===t?0:void 0===e?-1:void 0===t?1:r(e[n],t[n])}function Pt(e,t){return At(e?1:0,t?1:0)}function Nt(e,t,n){const r=Math.max(2,Math.floor(.34*e.length));let i,o=Math.floor(.4*e.length)+1;for(const s of t){const t=n(s);if(void 0!==t&&Math.abs(t.length-e.length)<=r){if(t===e)continue;if(t.length<3&&t.toLowerCase()!==e.toLowerCase())continue;const n=Bt(e,t,o-.1);if(void 0===n)continue;ln.assert(nn?s-n:1),u=Math.floor(t.length>n+s?n+s:t.length);i[0]=s;let l=s;for(let e=1;en)return;const d=r;r=i,i=d}const s=r[t.length];return s>n?void 0:s}function Ot(e,t,n){const r=e.length-t.length;return r>=0&&(n?mt(e.slice(r),t):e.indexOf(t,r)===r)}function qt(e,t){return Ot(e,t)?e.slice(0,e.length-t.length):e}function $t(e,t){return Ot(e,t)?e.slice(0,e.length-t.length):void 0}function Qt(e){let t=e.length;for(let n=t-1;n>0;n--){let r=e.charCodeAt(n);if(r>=48&&r<=57)do{--n,r=e.charCodeAt(n)}while(n>0&&r>=48&&r<=57);else{if(!(n>4)||110!==r&&78!==r)break;if(--n,r=e.charCodeAt(n),105!==r&&73!==r)break;if(--n,r=e.charCodeAt(n),109!==r&&77!==r)break;--n,r=e.charCodeAt(n)}if(45!==r&&46!==r)break;t=n}return t===e.length?e:e.slice(0,t)}function Lt(e,t){for(let n=0;ne===t))}function Jt(e){return e?st:ut}function Vt({prefix:e,suffix:t}){return`${e}*${t}`}function Ht(e,t){return ln.assert(Kt(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function Gt(e,t,n){let r,i=-1;for(let o=0;oi&&Kt(a,n)&&(i=a.prefix.length,r=s)}return r}function Wt(e,t,n){return n?mt(e.slice(0,t.length),t):0===e.lastIndexOf(t,0)}function zt(e,t){return Wt(e,t)?e.substr(t.length):e}function Yt(e,t,n=st){return Wt(n(e),n(t))?e.substring(t.length):void 0}function Kt({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Wt(n,e)&&Ot(n,t)}function Xt(e,t){return n=>e(n)&&t(n)}function Zt(...e){return(...t)=>{let n;for(const r of e)if(n=r(...t),n)return n;return n}}function en(e){return(...t)=>!e(...t)}function tn(e){}function nn(e){return void 0===e?void 0:[e]}function rn(e,t,n,r,i,o){o??(o=nt);let s=0,a=0;const c=e.length,u=t.length;let l=!1;for(;s(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(dn||{});(e=>{let t=0;function n(t){return e.currentLogLevel<=t}function r(t,r){e.loggingHost&&n(t)&&e.loggingHost.log(t,r)}function i(e){r(3,e)}var o;e.currentLogLevel=2,e.isDebugging=!1,e.shouldLog=n,e.log=i,(o=i=e.log||(e.log={})).error=function(e){r(1,e)},o.warn=function(e){r(2,e)},o.log=function(e){r(3,e)},o.trace=function(e){r(4,e)};const s={};function a(e){return t>=e}function c(t,n){return!!a(t)||(s[n]={level:t,assertion:e[n]},e[n]=nt,!1)}function u(e,t){const n=new Error(e?`Debug Failure. ${e}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(n,t||u),n}function l(e,t,n,r){e||(t=t?`False expression: ${t}`:"False expression.",n&&(t+="\r\nVerbose Debug Information: "+("string"==typeof n?n:n())),u(t,r||l))}function d(e,t,n){null==e&&u(t,n||d)}function p(e,t,n){for(const r of e)d(r,t,n||p)}function f(e,t="Illegal value:",n){return u(`${t} ${"object"==typeof e&&De(e,"kind")&&De(e,"pos")?"SyntaxKind: "+y(e.kind):JSON.stringify(e)}`,n||f)}function _(e){if("function"!=typeof e)return"";if(De(e,"name"))return e.name;{const t=Function.prototype.toString.call(e),n=/^function\s+([\w$]+)\s*\(/.exec(t);return n?n[1]:""}}function h(e=0,t,n){const r=function(e){const t=A.get(e);if(t)return t;const n=[];for(const t in e){const r=e[t];"number"==typeof r&&n.push([r,t])}const r=ue(n,((e,t)=>At(e[0],t[0])));return A.set(e,r),r}(t);if(0===e)return r.length>0&&0===r[0][0]?r[0][1]:"0";if(n){const t=[];let n=e;for(const[i,o]of r){if(i>e)break;0!==i&&i&e&&(t.push(o),n&=~i)}if(0===n)return t.join("|")}else for(const[t,n]of r)if(t===e)return n;return e.toString()}e.getAssertionLevel=function(){return t},e.setAssertionLevel=function(n){const r=t;if(t=n,n>r)for(const t of Ie(s)){const r=s[t];void 0!==r&&e[t]!==r.assertion&&n>=r.level&&(e[t]=r,s[t]=void 0)}},e.shouldAssert=a,e.fail=u,e.failBadSyntaxKind=function e(t,n,r){return u(`${n||"Unexpected node."}\r\nNode ${y(t.kind)} was unexpected.`,r||e)},e.assert=l,e.assertEqual=function e(t,n,r,i,o){if(t!==n){u(`Expected ${t} === ${n}. ${r?i?`${r} ${i}`:r:""}`,o||e)}},e.assertLessThan=function e(t,n,r,i){t>=n&&u(`Expected ${t} < ${n}. ${r||""}`,i||e)},e.assertLessThanOrEqual=function e(t,n,r){t>n&&u(`Expected ${t} <= ${n}`,r||e)},e.assertGreaterThanOrEqual=function e(t,n,r){t= ${n}`,r||e)},e.assertIsDefined=d,e.checkDefined=function e(t,n,r){return d(t,n,r||e),t},e.assertEachIsDefined=p,e.checkEachDefined=function e(t,n,r){return p(t,n,r||e),t},e.assertNever=f,e.assertEachNode=function e(t,n,r,i){c(1,"assertEachNode")&&l(void 0===n||g(t,n),r||"Unexpected node.",(()=>`Node array did not pass test '${_(n)}'.`),i||e)},e.assertNode=function e(t,n,r,i){c(1,"assertNode")&&l(void 0!==t&&(void 0===n||n(t)),r||"Unexpected node.",(()=>`Node ${y(null==t?void 0:t.kind)} did not pass test '${_(n)}'.`),i||e)},e.assertNotNode=function e(t,n,r,i){c(1,"assertNotNode")&&l(void 0===t||void 0===n||!n(t),r||"Unexpected node.",(()=>`Node ${y(t.kind)} should not have passed test '${_(n)}'.`),i||e)},e.assertOptionalNode=function e(t,n,r,i){c(1,"assertOptionalNode")&&l(void 0===n||void 0===t||n(t),r||"Unexpected node.",(()=>`Node ${y(null==t?void 0:t.kind)} did not pass test '${_(n)}'.`),i||e)},e.assertOptionalToken=function e(t,n,r,i){c(1,"assertOptionalToken")&&l(void 0===n||void 0===t||t.kind===n,r||"Unexpected node.",(()=>`Node ${y(null==t?void 0:t.kind)} was not a '${y(n)}' token.`),i||e)},e.assertMissingNode=function e(t,n,r){c(1,"assertMissingNode")&&l(void 0===t,n||"Unexpected node.",(()=>`Node ${y(t.kind)} was unexpected'.`),r||e)},e.type=function(e){},e.getFunctionName=_,e.formatSymbol=function(e){return`{ name: ${mc(e.escapedName)}; flags: ${x(e.flags)}; declarations: ${w(e.declarations,(e=>y(e.kind)))} }`},e.formatEnum=h;const A=new Map;function y(e){return h(e,fr,!1)}function v(e){return h(e,_r,!0)}function b(e){return h(e,mr,!0)}function C(e){return h(e,Ei,!0)}function E(e){return h(e,Si,!0)}function x(e){return h(e,Mr,!0)}function S(e){return h(e,Vr,!0)}function k(e){return h(e,Zr,!0)}function D(e){return h(e,Hr,!0)}function I(e){return h(e,Cr,!0)}e.formatSyntaxKind=y,e.formatSnippetKind=function(e){return h(e,xi,!1)},e.formatScriptKind=function(e){return h(e,gi,!1)},e.formatNodeFlags=v,e.formatNodeCheckFlags=function(e){return h(e,Jr,!0)},e.formatModifierFlags=b,e.formatTransformFlags=C,e.formatEmitFlags=E,e.formatSymbolFlags=x,e.formatTypeFlags=S,e.formatSignatureFlags=k,e.formatObjectFlags=D,e.formatFlowFlags=I,e.formatRelationComparisonResult=function(e){return h(e,gr,!0)},e.formatCheckMode=function(e){return h(e,$Q,!0)},e.formatSignatureCheckMode=function(e){return h(e,QQ,!0)},e.formatTypeFacts=function(e){return h(e,OQ,!0)};let T,F,R=!1;function P(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value(){const e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return`${e}${t?` (${I(t)})`:""}`}},__debugFlowFlags:{get(){return h(this.flags,Cr,!0)}},__debugToString:{value(){return O(this)}}})}function N(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:e=>`NodeArray ${e=String(e).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]")}`}})}e.attachFlowNodeDebugInfo=function(e){return R&&("function"==typeof Object.setPrototypeOf?(T||(T=Object.create(Object.prototype),P(T)),Object.setPrototypeOf(e,T)):P(e)),e},e.attachNodeArrayDebugInfo=function(e){R&&("function"==typeof Object.setPrototypeOf?(F||(F=Object.create(Array.prototype),N(F)),Object.setPrototypeOf(e,F)):N(e))},e.enableDebugInfo=function(){if(R)return;const e=new WeakMap,t=new WeakMap;Object.defineProperties($b.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return`${e} '${Ac(this)}'${t?` (${x(t)})`:""}`}},__debugFlags:{get(){return x(this.flags)}}}),Object.defineProperties($b.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const e=67359327&this.flags?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:98304&this.flags?"NullableType":384&this.flags?`LiteralType ${JSON.stringify(this.value)}`:2048&this.flags?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",t=524288&this.flags?-1344&this.objectFlags:0;return`${e}${this.symbol?` '${Ac(this.symbol)}'`:""}${t?` (${D(t)})`:""}`}},__debugFlags:{get(){return S(this.flags)}},__debugObjectFlags:{get(){return 524288&this.flags?D(this.objectFlags):""}},__debugTypeToString:{value(){let t=e.get(this);return void 0===t&&(t=this.checker.typeToString(this),e.set(this,t)),t}}}),Object.defineProperties($b.getSignatureConstructor().prototype,{__debugFlags:{get(){return k(this.flags)}},__debugSignatureToString:{value(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}});const n=[$b.getNodeConstructor(),$b.getIdentifierConstructor(),$b.getTokenConstructor(),$b.getSourceFileConstructor()];for(const e of n)De(e.prototype,"__debugKind")||Object.defineProperties(e.prototype,{__tsDebuggerDisplay:{value(){return`${Vu(this)?"GeneratedIdentifier":UD(this)?`Identifier '${hc(this)}'`:JD(this)?`PrivateIdentifier '${hc(this)}'`:kD(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:xD(this)?`NumericLiteral ${this.text}`:SD(this)?`BigIntLiteral ${this.text}n`:sw(this)?"TypeParameterDeclaration":aw(this)?"ParameterDeclaration":_w(this)?"ConstructorDeclaration":mw(this)?"GetAccessorDeclaration":hw(this)?"SetAccessorDeclaration":gw(this)?"CallSignatureDeclaration":Aw(this)?"ConstructSignatureDeclaration":yw(this)?"IndexSignatureDeclaration":vw(this)?"TypePredicateNode":bw(this)?"TypeReferenceNode":Cw(this)?"FunctionTypeNode":Ew(this)?"ConstructorTypeNode":xw(this)?"TypeQueryNode":Sw(this)?"TypeLiteralNode":kw(this)?"ArrayTypeNode":Dw(this)?"TupleTypeNode":Iw(this)?"OptionalTypeNode":Tw(this)?"RestTypeNode":Fw(this)?"UnionTypeNode":Rw(this)?"IntersectionTypeNode":Pw(this)?"ConditionalTypeNode":Nw(this)?"InferTypeNode":Bw(this)?"ParenthesizedTypeNode":Ow(this)?"ThisTypeNode":qw(this)?"TypeOperatorNode":$w(this)?"IndexedAccessTypeNode":Qw(this)?"MappedTypeNode":Lw(this)?"LiteralTypeNode":ww(this)?"NamedTupleMember":Mw(this)?"ImportTypeNode":y(this.kind)}${this.flags?` (${v(this.flags)})`:""}`}},__debugKind:{get(){return y(this.kind)}},__debugNodeFlags:{get(){return v(this.flags)}},__debugModifierFlags:{get(){return b(Vy(this))}},__debugTransformFlags:{get(){return C(this.transformFlags)}},__debugIsParseTreeNode:{get(){return pc(this)}},__debugEmitFlags:{get(){return E(Xp(this))}},__debugGetText:{value(e){if(eA(this))return"";let n=t.get(this);if(void 0===n){const r=fc(this),i=r&&Ap(r);n=i?Up(i,r,e):"",t.set(this,n)}return n}}});R=!0},e.formatVariance=function(e){const t=7&e;let n=0===t?"in out":3===t?"[bivariant]":2===t?"in":1===t?"out":4===t?"[independent]":"";return 8&e?n+=" (unmeasurable)":16&e&&(n+=" (unreliable)"),n};class B{__debugToString(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return m(this.sources,this.targets||w(this.sources,(()=>"any")),((e,t)=>`${e.__debugTypeToString()} -> ${"string"==typeof t?t:t.__debugTypeToString()}`)).join(", ");case 2:return m(this.sources,this.targets,((e,t)=>`${e.__debugTypeToString()} -> ${t().__debugTypeToString()}`)).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split("\n").join("\n ")}\nm2: ${this.mapper2.__debugToString().split("\n").join("\n ")}`;default:return f(this)}}}function O(e){let t,n=-1;function r(e){return e.id||(e.id=n,n--),e.id}var i;let o;var s;(i=t||(t={})).lr="─",i.ud="│",i.dr="╭",i.dl="╮",i.ul="╯",i.ur="╰",i.udr="├",i.udl="┤",i.dlr="┬",i.ulr="┴",i.udlr="╫",(s=o||(o={}))[s.None=0]="None",s[s.Up=1]="Up",s[s.Down=2]="Down",s[s.Left=4]="Left",s[s.Right=8]="Right",s[s.UpDown=3]="UpDown",s[s.LeftRight=12]="LeftRight",s[s.UpLeft=5]="UpLeft",s[s.UpRight=9]="UpRight",s[s.DownLeft=6]="DownLeft",s[s.DownRight=10]="DownRight",s[s.UpDownLeft=7]="UpDownLeft",s[s.UpDownRight=11]="UpDownRight",s[s.UpLeftRight=13]="UpLeftRight",s[s.DownLeftRight=14]="DownLeftRight",s[s.UpDownLeftRight=15]="UpDownLeftRight",s[s.NoChildren=16]="NoChildren";const a=Object.create(null),c=[],u=_(e,new Set);for(const e of c)e.text=A(e.flowNode,e.circular),h(e);const l=function e(t){let n=0;for(const r of p(t))n=Math.max(n,e(r));return n+1}(u),d=function(e){const t=v(Array(e),0);for(const e of c)t[e.level]=Math.max(t[e.level],e.text.length);return t}(l);return function e(t,n){if(-1===t.lane){t.lane=n,t.endLane=n;const r=p(t);for(let i=0;i0&&n++;const o=r[i];e(o,n),o.endLane>t.endLane&&(n=o.endLane)}t.endLane=n}}(u,0),function(){const e=d.length,t=vt(c,0,(e=>e.lane))+1,n=v(Array(t),""),r=d.map((()=>Array(t))),i=d.map((()=>v(Array(t),0)));for(const e of c){r[e.level][e.lane]=e;const t=p(e);for(let n=0;n0&&(o|=1),n0&&(o|=1),t0?i[n-1][e]:0,r=e>0?i[n][e-1]:0;let o=i[n][e];o||(8&t&&(o|=12),2&r&&(o|=3),i[n][e]=o)}for(let t=0;t0?e.repeat(t):"";let n="";for(;n.length=0,"Invalid argument: major"),ln.assert(t>=0,"Invalid argument: minor"),ln.assert(n>=0,"Invalid argument: patch");const o=r?Ye(r)?r:r.split("."):a,s=i?Ye(i)?i:i.split("."):a;ln.assert(g(o,(e=>_n.test(e))),"Invalid argument: prerelease"),ln.assert(g(s,(e=>hn.test(e))),"Invalid argument: build"),this.major=e,this.minor=t,this.patch=n,this.prerelease=o,this.build=s}static tryParse(t){const n=vn(t);if(!n)return;const{major:r,minor:i,patch:o,prerelease:s,build:a}=n;return new e(r,i,o,s,a)}compareTo(e){return this===e?0:void 0===e?1:At(this.major,e.major)||At(this.minor,e.minor)||At(this.patch,e.patch)||function(e,t){if(e===t)return 0;if(0===e.length)return 0===t.length?0:1;if(0===t.length)return-1;const n=Math.min(e.length,t.length);for(let r=0;r=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i;function Dn(e){const t=[];for(let n of e.trim().split(Cn)){if(!n)continue;const e=[];n=n.trim();const r=Sn.exec(n);if(r){if(!In(r[1],r[2],e))return}else for(const t of n.split(En)){const n=kn.exec(t.trim());if(!n||!Tn(n[1],n[2],e))return}t.push(e)}return t}function wn(e){const t=xn.exec(e);if(!t)return;const[,n,r="*",i="*",o,s]=t;return{version:new yn(Fn(n)?0:parseInt(n,10),Fn(n)||Fn(r)?0:parseInt(r,10),Fn(n)||Fn(r)||Fn(i)?0:parseInt(i,10),o,s),major:n,minor:r,patch:i}}function In(e,t,n){const r=wn(e);if(!r)return!1;const i=wn(t);return!!i&&(Fn(r.major)||n.push(Rn(">=",r.version)),Fn(i.major)||n.push(Fn(i.minor)?Rn("<",i.version.increment("major")):Fn(i.patch)?Rn("<",i.version.increment("minor")):Rn("<=",i.version)),!0)}function Tn(e,t,n){const r=wn(t);if(!r)return!1;const{version:i,major:o,minor:s,patch:a}=r;if(Fn(o))"<"!==e&&">"!==e||n.push(Rn("<",yn.zero));else switch(e){case"~":n.push(Rn(">=",i)),n.push(Rn("<",i.increment(Fn(s)?"major":"minor")));break;case"^":n.push(Rn(">=",i)),n.push(Rn("<",i.increment(i.major>0||Fn(s)?"major":i.minor>0||Fn(a)?"minor":"patch")));break;case"<":case">=":n.push(Fn(s)||Fn(a)?Rn(e,i.with({prerelease:"0"})):Rn(e,i));break;case"<=":case">":n.push(Fn(s)?Rn("<="===e?"<":">=",i.increment("major").with({prerelease:"0"})):Fn(a)?Rn("<="===e?"<":">=",i.increment("minor").with({prerelease:"0"})):Rn(e,i));break;case"=":case void 0:Fn(s)||Fn(a)?(n.push(Rn(">=",i.with({prerelease:"0"}))),n.push(Rn("<",i.increment(Fn(s)?"major":"minor").with({prerelease:"0"})))):n.push(Rn("=",i));break;default:return!1}return!0}function Fn(e){return"*"===e||"x"===e||"X"===e}function Rn(e,t){return{operator:e,operand:t}}function Pn(e,t){for(const n of t)if(!Nn(e,n.operator,n.operand))return!1;return!0}function Nn(e,t,n){const r=e.compareTo(n);switch(t){case"<":return r<0;case"<=":return r<=0;case">":return r>0;case">=":return r>=0;case"=":return 0===r;default:return ln.assertNever(t)}}function Bn(e){return w(e,On).join(" ")}function On(e){return`${e.operator}${e.operand}`}var qn=function(){const e=function(){if(un())try{const{performance:e}=require("perf_hooks");if(e)return{shouldWriteNativeEvents:!1,performance:e}}catch{}if("object"==typeof performance)return{shouldWriteNativeEvents:!0,performance:performance}}();if(!e)return;const{shouldWriteNativeEvents:t,performance:n}=e,r={shouldWriteNativeEvents:t,performance:void 0,performanceTime:void 0};return"number"==typeof n.timeOrigin&&"function"==typeof n.now&&(r.performanceTime=n),r.performanceTime&&"function"==typeof n.mark&&"function"==typeof n.measure&&"function"==typeof n.clearMarks&&"function"==typeof n.clearMeasures&&(r.performance=n),r}(),$n=null==qn?void 0:qn.performanceTime;function Qn(){return qn}var Ln,Mn,jn=$n?()=>$n.now():Date.now,Un={};function Jn(e,t,n,r){return e?Vn(t,n,r):Wn}function Vn(e,t,n){let r=0;return{enter:function(){1==++r&&er(t)},exit:function(){0==--r?(er(n),tr(e,t,n)):r<0&&ln.fail("enter/exit count does not match.")}}}n(Un,{clearMarks:()=>ar,clearMeasures:()=>sr,createTimer:()=>Vn,createTimerIf:()=>Jn,disable:()=>lr,enable:()=>ur,forEachMark:()=>or,forEachMeasure:()=>ir,getCount:()=>nr,getDuration:()=>rr,isEnabled:()=>cr,mark:()=>er,measure:()=>tr,nullTimer:()=>Wn});var Hn,Gn,Wn={enter:nt,exit:nt},zn=!1,Yn=jn(),Kn=new Map,Xn=new Map,Zn=new Map;function er(e){if(zn){const t=Xn.get(e)??0;Xn.set(e,t+1),Kn.set(e,jn()),null==Mn||Mn.mark(e),"function"==typeof onProfilerEvent&&onProfilerEvent(e)}}function tr(e,t,n){if(zn){const r=(void 0!==n?Kn.get(n):void 0)??jn(),i=(void 0!==t?Kn.get(t):void 0)??Yn,o=Zn.get(e)||0;Zn.set(e,o+(r-i)),null==Mn||Mn.measure(e,t,n)}}function nr(e){return Xn.get(e)||0}function rr(e){return Zn.get(e)||0}function ir(e){Zn.forEach(((t,n)=>e(n,t)))}function or(e){Kn.forEach(((t,n)=>e(n)))}function sr(e){void 0!==e?Zn.delete(e):Zn.clear(),null==Mn||Mn.clearMeasures(e)}function ar(e){void 0!==e?(Xn.delete(e),Kn.delete(e)):(Xn.clear(),Kn.clear()),null==Mn||Mn.clearMarks(e)}function cr(){return zn}function ur(e=co){var t;return zn||(zn=!0,Ln||(Ln=Qn()),(null==Ln?void 0:Ln.performance)&&(Yn=Ln.performance.timeOrigin,(Ln.shouldWriteNativeEvents||(null==(t=null==e?void 0:e.cpuProfilingEnabled)?void 0:t.call(e))||(null==e?void 0:e.debugMode))&&(Mn=Ln.performance))),!0}function lr(){zn&&(Kn.clear(),Xn.clear(),Zn.clear(),Mn=void 0,zn=!1)}(e=>{let t,n,r=0,i=0;const o=[];let s;const a=[];var c;e.startTracing=function(c,u,l){if(ln.assert(!Hn,"Tracing already started"),void 0===t)try{t=require("fs")}catch(e){throw new Error(`tracing requires having fs\n(original error: ${e.message||e})`)}n=c,o.length=0,void 0===s&&(s=qo(u,"legend.json")),t.existsSync(u)||t.mkdirSync(u,{recursive:!0});const d="build"===n?`.${process.pid}-${++r}`:"server"===n?`.${process.pid}`:"",p=qo(u,`trace${d}.json`),f=qo(u,`types${d}.json`);a.push({configFilePath:l,tracePath:p,typesPath:f}),i=t.openSync(p,"w"),Hn=e;const _={cat:"__metadata",ph:"M",ts:1e3*jn(),pid:1,tid:1};t.writeSync(i,"[\n"+[{name:"process_name",args:{name:"tsc"},..._},{name:"thread_name",args:{name:"Main"},..._},{name:"TracingStartedInBrowser",..._,cat:"disabled-by-default-devtools.timeline"}].map((e=>JSON.stringify(e))).join(",\n"))},e.stopTracing=function(){ln.assert(Hn,"Tracing is not in progress"),ln.assert(!!o.length==("server"!==n)),t.writeSync(i,"\n]\n"),t.closeSync(i),Hn=void 0,o.length?function(e){var n,r,i,o,s,c,u,l,d,p,_,m,h,g,A,y,v,b,C;er("beginDumpTypes");const E=a[a.length-1].typesPath,x=t.openSync(E,"w"),S=new Map;t.writeSync(x,"[");const k=e.length;for(let a=0;ae.id)),referenceLocation:f(e.node)}}let R={};if(16777216&E.flags){const e=E;R={conditionalCheckType:null==(c=e.checkType)?void 0:c.id,conditionalExtendsType:null==(u=e.extendsType)?void 0:u.id,conditionalTrueType:(null==(l=e.resolvedTrueType)?void 0:l.id)??-1,conditionalFalseType:(null==(d=e.resolvedFalseType)?void 0:d.id)??-1}}let P={};if(33554432&E.flags){const e=E;P={substitutionBaseType:null==(p=e.baseType)?void 0:p.id,constraintType:null==(_=e.constraint)?void 0:_.id}}let N={};if(1024&D){const e=E;N={reverseMappedSourceType:null==(m=e.source)?void 0:m.id,reverseMappedMappedType:null==(h=e.mappedType)?void 0:h.id,reverseMappedConstraintType:null==(g=e.constraintType)?void 0:g.id}}let B,O={};if(256&D){const e=E;O={evolvingArrayElementType:e.elementType.id,evolvingArrayFinalType:null==(A=e.finalArrayType)?void 0:A.id}}const q=E.checker.getRecursionIdentity(E);q&&(B=S.get(q),B||(B=S.size,S.set(q,B)));const $={id:E.id,intrinsicName:E.intrinsicName,symbolName:(null==w?void 0:w.escapedName)&&mc(w.escapedName),recursionId:B,isTuple:!!(8&D)||void 0,unionTypes:1048576&E.flags?null==(y=E.types)?void 0:y.map((e=>e.id)):void 0,intersectionTypes:2097152&E.flags?E.types.map((e=>e.id)):void 0,aliasTypeArguments:null==(v=E.aliasTypeArguments)?void 0:v.map((e=>e.id)),keyofType:4194304&E.flags?null==(b=E.type)?void 0:b.id:void 0,...T,...F,...R,...P,...N,...O,destructuringPattern:f(E.pattern),firstDeclaration:f(null==(C=null==w?void 0:w.declarations)?void 0:C[0]),flags:ln.formatTypeFlags(E.flags).split("|"),display:I};t.writeSync(x,JSON.stringify($)),a0),d(u.length-1,1e3*jn(),e),u.length--},e.popAll=function(){const e=1e3*jn();for(let t=u.length-1;t>=0;t--)d(t,e);u.length=0};const l=1e4;function d(e,t,n){const{phase:r,name:i,args:o,time:s,separateBeginAndEnd:a}=u[e];a?(ln.assert(!n,"`results` are not supported for events with `separateBeginAndEnd`"),p("E",r,i,o,void 0,t)):l-s%l<=t-s&&p("X",r,i,{...o,results:n},'"dur":'+(t-s),s)}function p(e,r,o,s,a,c=1e3*jn()){"server"===n&&"checkTypes"===r||(er("beginTracing"),t.writeSync(i,`,\n{"pid":1,"tid":1,"ph":"${e}","cat":"${r}","ts":${c},"name":"${o}"`),a&&t.writeSync(i,`,${a}`),s&&t.writeSync(i,`,"args":${JSON.stringify(s)}`),t.writeSync(i,"}"),er("endTracing"),tr("Tracing","beginTracing","endTracing"))}function f(e){const t=Ap(e);return t?{path:t.path,start:n(Ms(t,e.pos)),end:n(Ms(t,e.end))}:void 0;function n(e){return{line:e.line+1,character:e.character+1}}}e.dumpLegend=function(){s&&t.writeFileSync(s,JSON.stringify(a))}})(Gn||(Gn={}));var dr=Gn.startTracing,pr=Gn.dumpLegend,fr=(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.QualifiedName=166]="QualifiedName",e[e.ComputedPropertyName=167]="ComputedPropertyName",e[e.TypeParameter=168]="TypeParameter",e[e.Parameter=169]="Parameter",e[e.Decorator=170]="Decorator",e[e.PropertySignature=171]="PropertySignature",e[e.PropertyDeclaration=172]="PropertyDeclaration",e[e.MethodSignature=173]="MethodSignature",e[e.MethodDeclaration=174]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",e[e.Constructor=176]="Constructor",e[e.GetAccessor=177]="GetAccessor",e[e.SetAccessor=178]="SetAccessor",e[e.CallSignature=179]="CallSignature",e[e.ConstructSignature=180]="ConstructSignature",e[e.IndexSignature=181]="IndexSignature",e[e.TypePredicate=182]="TypePredicate",e[e.TypeReference=183]="TypeReference",e[e.FunctionType=184]="FunctionType",e[e.ConstructorType=185]="ConstructorType",e[e.TypeQuery=186]="TypeQuery",e[e.TypeLiteral=187]="TypeLiteral",e[e.ArrayType=188]="ArrayType",e[e.TupleType=189]="TupleType",e[e.OptionalType=190]="OptionalType",e[e.RestType=191]="RestType",e[e.UnionType=192]="UnionType",e[e.IntersectionType=193]="IntersectionType",e[e.ConditionalType=194]="ConditionalType",e[e.InferType=195]="InferType",e[e.ParenthesizedType=196]="ParenthesizedType",e[e.ThisType=197]="ThisType",e[e.TypeOperator=198]="TypeOperator",e[e.IndexedAccessType=199]="IndexedAccessType",e[e.MappedType=200]="MappedType",e[e.LiteralType=201]="LiteralType",e[e.NamedTupleMember=202]="NamedTupleMember",e[e.TemplateLiteralType=203]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",e[e.ImportType=205]="ImportType",e[e.ObjectBindingPattern=206]="ObjectBindingPattern",e[e.ArrayBindingPattern=207]="ArrayBindingPattern",e[e.BindingElement=208]="BindingElement",e[e.ArrayLiteralExpression=209]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=210]="ObjectLiteralExpression",e[e.PropertyAccessExpression=211]="PropertyAccessExpression",e[e.ElementAccessExpression=212]="ElementAccessExpression",e[e.CallExpression=213]="CallExpression",e[e.NewExpression=214]="NewExpression",e[e.TaggedTemplateExpression=215]="TaggedTemplateExpression",e[e.TypeAssertionExpression=216]="TypeAssertionExpression",e[e.ParenthesizedExpression=217]="ParenthesizedExpression",e[e.FunctionExpression=218]="FunctionExpression",e[e.ArrowFunction=219]="ArrowFunction",e[e.DeleteExpression=220]="DeleteExpression",e[e.TypeOfExpression=221]="TypeOfExpression",e[e.VoidExpression=222]="VoidExpression",e[e.AwaitExpression=223]="AwaitExpression",e[e.PrefixUnaryExpression=224]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=225]="PostfixUnaryExpression",e[e.BinaryExpression=226]="BinaryExpression",e[e.ConditionalExpression=227]="ConditionalExpression",e[e.TemplateExpression=228]="TemplateExpression",e[e.YieldExpression=229]="YieldExpression",e[e.SpreadElement=230]="SpreadElement",e[e.ClassExpression=231]="ClassExpression",e[e.OmittedExpression=232]="OmittedExpression",e[e.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",e[e.AsExpression=234]="AsExpression",e[e.NonNullExpression=235]="NonNullExpression",e[e.MetaProperty=236]="MetaProperty",e[e.SyntheticExpression=237]="SyntheticExpression",e[e.SatisfiesExpression=238]="SatisfiesExpression",e[e.TemplateSpan=239]="TemplateSpan",e[e.SemicolonClassElement=240]="SemicolonClassElement",e[e.Block=241]="Block",e[e.EmptyStatement=242]="EmptyStatement",e[e.VariableStatement=243]="VariableStatement",e[e.ExpressionStatement=244]="ExpressionStatement",e[e.IfStatement=245]="IfStatement",e[e.DoStatement=246]="DoStatement",e[e.WhileStatement=247]="WhileStatement",e[e.ForStatement=248]="ForStatement",e[e.ForInStatement=249]="ForInStatement",e[e.ForOfStatement=250]="ForOfStatement",e[e.ContinueStatement=251]="ContinueStatement",e[e.BreakStatement=252]="BreakStatement",e[e.ReturnStatement=253]="ReturnStatement",e[e.WithStatement=254]="WithStatement",e[e.SwitchStatement=255]="SwitchStatement",e[e.LabeledStatement=256]="LabeledStatement",e[e.ThrowStatement=257]="ThrowStatement",e[e.TryStatement=258]="TryStatement",e[e.DebuggerStatement=259]="DebuggerStatement",e[e.VariableDeclaration=260]="VariableDeclaration",e[e.VariableDeclarationList=261]="VariableDeclarationList",e[e.FunctionDeclaration=262]="FunctionDeclaration",e[e.ClassDeclaration=263]="ClassDeclaration",e[e.InterfaceDeclaration=264]="InterfaceDeclaration",e[e.TypeAliasDeclaration=265]="TypeAliasDeclaration",e[e.EnumDeclaration=266]="EnumDeclaration",e[e.ModuleDeclaration=267]="ModuleDeclaration",e[e.ModuleBlock=268]="ModuleBlock",e[e.CaseBlock=269]="CaseBlock",e[e.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",e[e.ImportDeclaration=272]="ImportDeclaration",e[e.ImportClause=273]="ImportClause",e[e.NamespaceImport=274]="NamespaceImport",e[e.NamedImports=275]="NamedImports",e[e.ImportSpecifier=276]="ImportSpecifier",e[e.ExportAssignment=277]="ExportAssignment",e[e.ExportDeclaration=278]="ExportDeclaration",e[e.NamedExports=279]="NamedExports",e[e.NamespaceExport=280]="NamespaceExport",e[e.ExportSpecifier=281]="ExportSpecifier",e[e.MissingDeclaration=282]="MissingDeclaration",e[e.ExternalModuleReference=283]="ExternalModuleReference",e[e.JsxElement=284]="JsxElement",e[e.JsxSelfClosingElement=285]="JsxSelfClosingElement",e[e.JsxOpeningElement=286]="JsxOpeningElement",e[e.JsxClosingElement=287]="JsxClosingElement",e[e.JsxFragment=288]="JsxFragment",e[e.JsxOpeningFragment=289]="JsxOpeningFragment",e[e.JsxClosingFragment=290]="JsxClosingFragment",e[e.JsxAttribute=291]="JsxAttribute",e[e.JsxAttributes=292]="JsxAttributes",e[e.JsxSpreadAttribute=293]="JsxSpreadAttribute",e[e.JsxExpression=294]="JsxExpression",e[e.JsxNamespacedName=295]="JsxNamespacedName",e[e.CaseClause=296]="CaseClause",e[e.DefaultClause=297]="DefaultClause",e[e.HeritageClause=298]="HeritageClause",e[e.CatchClause=299]="CatchClause",e[e.ImportAttributes=300]="ImportAttributes",e[e.ImportAttribute=301]="ImportAttribute",e[e.AssertClause=300]="AssertClause",e[e.AssertEntry=301]="AssertEntry",e[e.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",e[e.PropertyAssignment=303]="PropertyAssignment",e[e.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",e[e.SpreadAssignment=305]="SpreadAssignment",e[e.EnumMember=306]="EnumMember",e[e.SourceFile=307]="SourceFile",e[e.Bundle=308]="Bundle",e[e.JSDocTypeExpression=309]="JSDocTypeExpression",e[e.JSDocNameReference=310]="JSDocNameReference",e[e.JSDocMemberName=311]="JSDocMemberName",e[e.JSDocAllType=312]="JSDocAllType",e[e.JSDocUnknownType=313]="JSDocUnknownType",e[e.JSDocNullableType=314]="JSDocNullableType",e[e.JSDocNonNullableType=315]="JSDocNonNullableType",e[e.JSDocOptionalType=316]="JSDocOptionalType",e[e.JSDocFunctionType=317]="JSDocFunctionType",e[e.JSDocVariadicType=318]="JSDocVariadicType",e[e.JSDocNamepathType=319]="JSDocNamepathType",e[e.JSDoc=320]="JSDoc",e[e.JSDocComment=320]="JSDocComment",e[e.JSDocText=321]="JSDocText",e[e.JSDocTypeLiteral=322]="JSDocTypeLiteral",e[e.JSDocSignature=323]="JSDocSignature",e[e.JSDocLink=324]="JSDocLink",e[e.JSDocLinkCode=325]="JSDocLinkCode",e[e.JSDocLinkPlain=326]="JSDocLinkPlain",e[e.JSDocTag=327]="JSDocTag",e[e.JSDocAugmentsTag=328]="JSDocAugmentsTag",e[e.JSDocImplementsTag=329]="JSDocImplementsTag",e[e.JSDocAuthorTag=330]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=331]="JSDocDeprecatedTag",e[e.JSDocClassTag=332]="JSDocClassTag",e[e.JSDocPublicTag=333]="JSDocPublicTag",e[e.JSDocPrivateTag=334]="JSDocPrivateTag",e[e.JSDocProtectedTag=335]="JSDocProtectedTag",e[e.JSDocReadonlyTag=336]="JSDocReadonlyTag",e[e.JSDocOverrideTag=337]="JSDocOverrideTag",e[e.JSDocCallbackTag=338]="JSDocCallbackTag",e[e.JSDocOverloadTag=339]="JSDocOverloadTag",e[e.JSDocEnumTag=340]="JSDocEnumTag",e[e.JSDocParameterTag=341]="JSDocParameterTag",e[e.JSDocReturnTag=342]="JSDocReturnTag",e[e.JSDocThisTag=343]="JSDocThisTag",e[e.JSDocTypeTag=344]="JSDocTypeTag",e[e.JSDocTemplateTag=345]="JSDocTemplateTag",e[e.JSDocTypedefTag=346]="JSDocTypedefTag",e[e.JSDocSeeTag=347]="JSDocSeeTag",e[e.JSDocPropertyTag=348]="JSDocPropertyTag",e[e.JSDocThrowsTag=349]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=350]="JSDocSatisfiesTag",e[e.JSDocImportTag=351]="JSDocImportTag",e[e.SyntaxList=352]="SyntaxList",e[e.NotEmittedStatement=353]="NotEmittedStatement",e[e.NotEmittedTypeElement=354]="NotEmittedTypeElement",e[e.PartiallyEmittedExpression=355]="PartiallyEmittedExpression",e[e.CommaListExpression=356]="CommaListExpression",e[e.SyntheticReferenceExpression=357]="SyntheticReferenceExpression",e[e.Count=358]="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=165]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=182]="FirstTypeNode",e[e.LastTypeNode=205]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=165]="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=243]="FirstStatement",e[e.LastStatement=259]="LastStatement",e[e.FirstNode=166]="FirstNode",e[e.FirstJSDocNode=309]="FirstJSDocNode",e[e.LastJSDocNode=351]="LastJSDocNode",e[e.FirstJSDocTagNode=327]="FirstJSDocTagNode",e[e.LastJSDocTagNode=351]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=165]="LastContextualKeyword",e))(fr||{}),_r=(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.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))(_r||{}),mr=(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))(mr||{}),hr=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(hr||{}),gr=(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))(gr||{}),Ar=(e=>(e[e.None=0]="None",e[e.Always=1]="Always",e[e.Never=2]="Never",e[e.Sometimes=3]="Sometimes",e))(Ar||{}),yr=(e=>(e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel",e[e.AllowNameSubstitution=64]="AllowNameSubstitution",e))(yr||{}),vr=(e=>(e[e.None=0]="None",e[e.HasIndices=1]="HasIndices",e[e.Global=2]="Global",e[e.IgnoreCase=4]="IgnoreCase",e[e.Multiline=8]="Multiline",e[e.DotAll=16]="DotAll",e[e.Unicode=32]="Unicode",e[e.UnicodeSets=64]="UnicodeSets",e[e.Sticky=128]="Sticky",e[e.AnyUnicodeMode=96]="AnyUnicodeMode",e[e.Modifiers=28]="Modifiers",e))(vr||{}),br=(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))(br||{}),Cr=(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))(Cr||{}),Er=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(Er||{}),xr=class{},Sr=(e=>(e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e))(Sr||{}),kr=(e=>(e[e.FilePreprocessingLibReferenceDiagnostic=0]="FilePreprocessingLibReferenceDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(kr||{}),Dr=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e[e.BuilderSignature=2]="BuilderSignature",e))(Dr||{}),wr=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(wr||{}),Ir=(e=>(e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e))(Ir||{}),Tr=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(Tr||{}),Fr=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(Fr||{}),Rr=(e=>(e[e.None=0]="None",e[e.NoSupertypeReduction=1]="NoSupertypeReduction",e[e.NoConstraintReduction=2]="NoConstraintReduction",e))(Rr||{}),Pr=(e=>(e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns",e))(Pr||{}),Nr=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e))(Nr||{}),Br=(e=>(e[e.None=0]="None",e[e.WriteComputedProps=1]="WriteComputedProps",e[e.NoSyntacticPrinter=2]="NoSyntacticPrinter",e[e.DoNotIncludeSymbolChain=4]="DoNotIncludeSymbolChain",e[e.AllowUnresolvedNames=8]="AllowUnresolvedNames",e))(Br||{}),Or=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.NodeBuilderFlagsMask=848330095]="NodeBuilderFlagsMask",e))(Or||{}),qr=(e=>(e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e))(qr||{}),$r=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e[e.NotResolved=3]="NotResolved",e))($r||{}),Qr=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(Qr||{}),Lr=(e=>(e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType",e))(Lr||{}),Mr=(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))(Mr||{}),jr=(e=>(e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e))(jr||{}),Ur=(e=>(e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this",e.InstantiationExpression="__instantiationExpression",e.ImportAttributes="__importAttributes",e))(Ur||{}),Jr=(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))(Jr||{}),Vr=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.Reserved1=536870912]="Reserved1",e[e.Reserved2=1073741824]="Reserved2",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.Primitive=402784252]="Primitive",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=473694207]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.IncludesConstrainedTypeVariable=536870912]="IncludesConstrainedTypeVariable",e[e.IncludesError=1073741824]="IncludesError",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(Vr||{}),Hr=(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.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.SingleSignatureType=134217728]="SingleSignatureType",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))(Hr||{}),Gr=(e=>(e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback",e))(Gr||{}),Wr=(e=>(e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest",e))(Wr||{}),zr=(e=>(e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.AllowMissing=16]="AllowMissing",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e))(zr||{}),Yr=(e=>(e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e))(Yr||{}),Kr=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(Kr||{}),Xr=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(Xr||{}),Zr=(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))(Zr||{}),ei=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(ei||{}),ti=(e=>(e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e))(ti||{}),ni=(e=>(e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e))(ni||{}),ri=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(ri||{}),ii=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(ii||{}),oi=(e=>(e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",e))(oi||{}),si=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(si||{});function ai(e,t=!0){const n=si[e.category];return t?n.toLowerCase():n}var ci=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e))(ci||{}),ui=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(ui||{}),li=(e=>(e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e))(li||{}),di=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(di||{}),pi=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(pi||{}),fi=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e[e.Preserve=200]="Preserve",e))(fi||{}),_i=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(_i||{}),mi=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(mi||{}),hi=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(hi||{}),gi=(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))(gi||{}),Ai=(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.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(Ai||{}),yi=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(yi||{}),vi=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(vi||{}),bi=(e=>(e[e.EOF=-1]="EOF",e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e.replacementCharacter=65533]="replacementCharacter",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(bi||{}),Ci=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(Ci||{}),Ei=(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))(Ei||{}),xi=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(xi||{}),Si=(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))(Si||{}),ki=(e=>(e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e))(ki||{}),Di={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},wi=(e=>(e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.SetFunctionName=4194304]="SetFunctionName",e[e.PropKey=8388608]="PropKey",e[e.AddDisposableResourceAndDisposeResources=16777216]="AddDisposableResourceAndDisposeResources",e[e.RewriteRelativeImportExtension=33554432]="RewriteRelativeImportExtension",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=16777216]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes",e))(wi||{}),Ii=(e=>(e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue",e[e.ImportTypeNodeAttributes=7]="ImportTypeNodeAttributes",e))(Ii||{}),Ti=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.ExpressionsWithTypeArguments=16]="ExpressionsWithTypeArguments",e[e.Assertions=6]="Assertions",e[e.All=31]="All",e[e.ExcludeJSDocTypeAssertion=-2147483648]="ExcludeJSDocTypeAssertion",e))(Ti||{}),Fi=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(Fi||{}),Ri=(e=>(e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportAttributes=526226]="ImportAttributes",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e))(Ri||{}),Pi=(e=>(e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default",e))(Pi||{}),Ni={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}},Bi=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))(Bi||{});function Oi(e){let t=5381;for(let n=0;n(e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e))($i||{}),Qi=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(Qi||{}),Li=new Date(0);function Mi(e,t){return e.getModifiedTime(t)||Li}function ji(e){return{250:e.Low,500:e.Medium,2e3:e.High}}var Ui={Low:32,Medium:64,High:256},Ji=ji(Ui),Vi=ji(Ui);function Hi(e,t,n,r,i){let o=n;for(let a=t.length;r&&a;s(),a--){const s=t[n];if(!s)continue;if(s.isClosed){t[n]=void 0;continue}r--;const a=Yi(s,Mi(e,s.fileName));s.isClosed?t[n]=void 0:(null==i||i(s,n,a),t[n]&&(o{o.isClosed=!0,Ut(t,o)}}};function s(e){const t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function a(e,t){t.pollIndex=u(t,t.pollingInterval,t.pollIndex,Ji[t.pollingInterval]),t.length?f(t.pollingInterval):(ln.assert(0===t.pollIndex),t.pollScheduled=!1)}function c(e,t){u(n,250,0,n.length),a(0,t),!t.pollScheduled&&n.length&&f(250)}function u(t,r,i,o){return Hi(e,t,i,o,(function(e,i,o){o?(e.unchangedPolls=0,t!==n&&(t[i]=void 0,function(e){n.push(e),p(250)}(e))):e.unchangedPolls!==Vi[r]?e.unchangedPolls++:t===n?(e.unchangedPolls=1,t[i]=void 0,d(e,250)):2e3!==r&&(e.unchangedPolls++,t[i]=void 0,d(e,250===r?500:2e3))}))}function l(e){switch(e){case 250:return r;case 500:return i;case 2e3:return o}}function d(e,t){l(t).push(e),p(t)}function p(e){l(e).pollScheduled||f(e)}function f(t){l(t).pollScheduled=e.setTimeout(250===t?c:a,t,250===t?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",l(t))}}function Wi(e,t,n,r){const i=Ve(),o=r?new Map:void 0,s=new Map,a=Jt(t);return function(t,r,c,u){const l=a(t);1===i.add(l,r).length&&o&&o.set(l,n(t)||Li);const d=Io(l)||".",p=s.get(d)||function(t,r,c){const u=e(t,1,((e,r)=>{if(!Xe(r))return;const s=Lo(r,t),c=a(s),u=s&&i.get(c);if(u){let t,r=1;if(o){const i=o.get(c);if("change"===e&&(t=n(s)||Li,t.getTime()===i.getTime()))return;t||(t=n(s)||Li),o.set(c,t),i===Li?r=0:t===Li&&(r=2)}for(const e of u)e(s,r,t)}}),!1,500,c);return u.referenceCount=0,s.set(r,u),u}(Io(t)||".",d,u);return p.referenceCount++,{close:()=>{1===p.referenceCount?(p.close(),s.delete(d)):p.referenceCount--,i.remove(l,r)}}}}function zi(e,t,n,r,i){const o=Jt(t)(n),s=e.get(o);return s?s.callbacks.push(r):e.set(o,{watcher:i(((t,n,r)=>{var i;return null==(i=e.get(o))?void 0:i.callbacks.slice().forEach((e=>e(t,n,r)))})),callbacks:[r]}),{close:()=>{const t=e.get(o);t&&Lt(t.callbacks,r)&&!t.callbacks.length&&(e.delete(o),kU(t))}}}function Yi(e,t){const n=e.mtime.getTime(),r=t.getTime();return n!==r&&(e.mtime=t,e.callback(e.fileName,Ki(n,r),t),!0)}function Ki(e,t){return 0===e?0:0===t?2:1}var Xi=["/node_modules/.","/.git","/.#"],Zi=nt;function eo(e){return Zi(e)}function to(e){Zi=e}function no({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:n,getAccessibleSortedChildDirectories:r,fileSystemEntryExists:i,realpath:o,setTimeout:s,clearTimeout:c}){const u=new Map,l=Ve(),d=new Map;let p;const f=St(!t),_=Jt(t);return(t,n,r,i)=>r?m(t,i,n):e(t,n,r,i);function m(t,n,r,o){const f=_(t);let m=u.get(f);m?m.refCount++:(m={watcher:e(t,(e=>{var r;b(e,n)||((null==n?void 0:n.synchronousWatchDirectory)?((null==(r=u.get(f))?void 0:r.targetWatcher)||h(t,f,e),v(t,f,n)):function(e,t,n,r){const o=u.get(t);if(o&&i(e,1))return void function(e,t,n,r){const i=d.get(t);i?i.fileNames.push(n):d.set(t,{dirName:e,options:r,fileNames:[n]});p&&(c(p),p=void 0);p=s(g,1e3,"timerToUpdateChildWatches")}(e,t,n,r);h(e,t,n),y(o),A(o)}(t,f,e,n))}),!1,n),refCount:1,childWatches:a,targetWatcher:void 0,links:void 0},u.set(f,m),v(t,f,n)),o&&(m.links??(m.links=new Set)).add(o);const C=r&&{dirName:t,callback:r};return C&&l.add(f,C),{dirName:t,close:()=>{var e;const t=ln.checkDefined(u.get(f));C&&l.remove(f,C),o&&(null==(e=t.links)||e.delete(o)),t.refCount--,t.refCount||(u.delete(f),t.links=void 0,kU(t),y(t),t.childWatches.forEach(rb))}}}function h(e,t,n,r){var i,o;let s,a;Xe(n)?s=n:a=n,l.forEach(((e,n)=>{if((!a||!0!==a.get(n))&&(n===t||Wt(t,n)&&t[n.length]===lo))if(a)if(r){const e=a.get(n);e?e.push(...r):a.set(n,r.slice())}else a.set(n,!0);else e.forEach((({callback:e})=>e(s)))})),null==(o=null==(i=u.get(t))?void 0:i.links)||o.forEach((t=>{const n=n=>qo(t,rs(e,n,_));a?h(t,_(t),a,null==r?void 0:r.map(n)):h(t,_(t),n(s))}))}function g(){var e;p=void 0,eo(`sysLog:: onTimerToUpdateChildWatches:: ${d.size}`);const t=jn(),n=new Map;for(;!p&&d.size;){const t=d.entries().next();ln.assert(!t.done);const{value:[r,{dirName:i,options:o,fileNames:s}]}=t;d.delete(r);const a=v(i,r,o);(null==(e=u.get(r))?void 0:e.targetWatcher)||h(i,r,n,a?void 0:s)}eo(`sysLog:: invokingWatchers:: Elapsed:: ${jn()-t}ms:: ${d.size}`),l.forEach(((e,t)=>{const r=n.get(t);r&&e.forEach((({callback:e,dirName:t})=>{Ye(r)?r.forEach(e):e(t)}))}));eo(`sysLog:: Elapsed:: ${jn()-t}ms:: onTimerToUpdateChildWatches:: ${d.size} ${p}`)}function A(e){if(!e)return;const t=e.childWatches;e.childWatches=a;for(const e of t)e.close(),A(u.get(_(e.dirName)))}function y(e){(null==e?void 0:e.targetWatcher)&&(e.targetWatcher.close(),e.targetWatcher=void 0)}function v(e,t,n){const s=u.get(t);if(!s)return!1;const c=Mo(o(e));let l,d;return 0===f(c,e)?l=rn(i(e,1)?q(r(e),(t=>{const r=Lo(t,e);return b(r,n)||0!==f(r,Mo(o(r)))?void 0:r})):a,s.childWatches,((e,t)=>f(e,t.dirName)),(function(e){p(m(e,n))}),rb,p):s.targetWatcher&&0===f(c,s.targetWatcher.dirName)?(l=!1,ln.assert(s.childWatches===a)):(y(s),s.targetWatcher=m(c,n,void 0,e),s.childWatches.forEach(rb),l=!0),s.childWatches=d||a,l;function p(e){(d||(d=[])).push(e)}}function b(e,r){return J(Xi,(n=>function(e,n){return!!e.includes(n)||!t&&_(e).includes(n)}(e,n)))||io(e,r,t,n)}}var ro=(e=>(e[e.File=0]="File",e[e.Directory=1]="Directory",e))(ro||{});function io(e,t,n,r){return((null==t?void 0:t.excludeDirectories)||(null==t?void 0:t.excludeFiles))&&(DO(e,null==t?void 0:t.excludeFiles,n,r())||DO(e,null==t?void 0:t.excludeDirectories,n,r()))}function oo(e,t,n,r,i){return(o,s)=>{if("rename"===o){const o=s?Mo(qo(e,s)):e;s&&io(o,n,r,i)||t(o)}}}function so({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:n,clearTimeout:r,fsWatchWorker:i,fileSystemEntryExists:o,useCaseSensitiveFileNames:s,getCurrentDirectory:a,fsSupportsRecursiveFsWatch:c,getAccessibleSortedChildDirectories:u,realpath:l,tscWatchFile:d,useNonPollingWatchers:p,tscWatchDirectory:f,inodeWatching:_,fsWatchWithTimestamp:m,sysLog:h}){const g=new Map,A=new Map,y=new Map;let v,b,C,E,x=!1;return{watchFile:S,watchDirectory:function(e,t,i,d){if(c)return F(e,1,oo(e,t,d,s,a),i,500,SU(d));E||(E=no({useCaseSensitiveFileNames:s,getCurrentDirectory:a,fileSystemEntryExists:o,getAccessibleSortedChildDirectories:u,watchDirectory:I,realpath:l,setTimeout:n,clearTimeout:r}));return E(e,t,i,d)}};function S(e,n,r,i){i=function(e,t){if(e&&void 0!==e.watchFile)return e;switch(d){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return w(4,1,e);case"UseFsEventsWithFallbackDynamicPolling":return w(4,2,e);case"UseFsEventsOnParentDirectory":t=!0;default:return t?w(5,1,e):{watchFile:4}}}(i,p);const o=ln.checkDefined(i.watchFile);switch(o){case 0:return T(e,n,250,void 0);case 1:return T(e,n,r,void 0);case 2:return k()(e,n,r,void 0);case 3:return D()(e,n,void 0,void 0);case 4:return F(e,0,function(e,t,n){return(r,i,o)=>{"rename"===r?(o||(o=n(e)||Li),t(e,o!==Li?0:2,o)):t(e,1,o)}}(e,n,t),!1,r,SU(i));case 5:return C||(C=Wi(F,s,t,m)),C(e,n,r,SU(i));default:ln.assertNever(o)}}function k(){return v||(v=Gi({getModifiedTime:t,setTimeout:n}))}function D(){return b||(b=function(e){const t=[];let n,r=0;return function(n,r){const i={fileName:n,callback:r,mtime:Mi(e,n)};return t.push(i),o(),{close:()=>{i.isClosed=!0,Ut(t,i)}}};function i(){n=void 0,r=Hi(e,t,r,Ji[250]),o()}function o(){t.length&&!n&&(n=e.setTimeout(i,2e3,"pollQueue"))}}({getModifiedTime:t,setTimeout:n}))}function w(e,t,n){const r=null==n?void 0:n.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?t:r}}function I(e,t,n,r){ln.assert(!n);const i=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(f){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const t=null==e?void 0:e.fallbackPolling;return{watchDirectory:0,fallbackPolling:void 0!==t?t:void 0}}}(r),o=ln.checkDefined(i.watchDirectory);switch(o){case 1:return T(e,(()=>t(e)),500,void 0);case 2:return k()(e,(()=>t(e)),500,void 0);case 3:return D()(e,(()=>t(e)),void 0,void 0);case 0:return F(e,1,oo(e,t,r,s,a),n,500,SU(i));default:ln.assertNever(o)}}function T(t,n,r,i){return zi(g,s,t,n,(n=>e(t,n,r,i)))}function F(e,n,r,a,c,u){return zi(a?y:A,s,e,r,(r=>function(e,n,r,s,a,c){let u,l;_&&(u=e.substring(e.lastIndexOf(lo)),l=u.slice(lo.length));let d=o(e,n)?f():y();return{close:()=>{d&&(d.close(),d=void 0)}};function p(t){d&&(h(`sysLog:: ${e}:: Changing watcher to ${t===f?"Present":"Missing"}FileSystemEntryWatcher`),d.close(),d=t())}function f(){if(x)return h(`sysLog:: ${e}:: Defaulting to watchFile`),A();try{const t=(1!==n&&m?R:i)(e,s,_?g:r);return t.on("error",(()=>{r("rename",""),p(y)})),t}catch(t){return x||(x="ENOSPC"===t.code),h(`sysLog:: ${e}:: Changing to watchFile`),A()}}function g(n,i){let o;if(i&&Ot(i,"~")&&(o=i,i=i.slice(0,i.length-1)),"rename"!==n||i&&i!==l&&!Ot(i,u))o&&r(n,o),r(n,i);else{const s=t(e)||Li;o&&r(n,o,s),r(n,i,s),_?p(s===Li?y:f):s===Li&&p(y)}}function A(){return S(e,function(e){return(t,n,r)=>e(1===n?"change":"rename","",r)}(r),a,c)}function y(){return S(e,((n,i,o)=>{0===i&&(o||(o=t(e)||Li),o!==Li&&(r("rename","",o),p(f)))}),a,c)}}(e,n,r,a,c,u)))}function R(e,n,r){let o=t(e)||Li;return i(e,n,((n,i,s)=>{"change"===n&&(s||(s=t(e)||Li),s.getTime()===o.getTime())||(o=s||t(e)||Li,r(n,i,o))}))}}function ao(e){const t=e.writeFile;e.writeFile=(n,r,i)=>ty(n,r,!!i,((n,r,i)=>t.call(e,n,r,i)),(t=>e.createDirectory(t)),(t=>e.directoryExists(t)))}var co=(()=>{let e;return un()&&(e=function(){const e=/^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/,t=require$$0$8,n=require$$0$9,r=require$$0$a;let i,o;try{i=require("crypto")}catch{i=void 0}let s="./profile.cpuprofile";const a="darwin"===process.platform,c="linux"===process.platform||a,u={throwIfNoEntry:!1},l=r.platform(),d="win32"!==l&&"win64"!==l&&!S((y=__filename,y.replace(/\w/g,(e=>{const t=e.toUpperCase();return e===t?e.toLowerCase():t})))),p=t.realpathSync.native?"win32"===process.platform?function(e){return e.length<260?t.realpathSync.native(e):t.realpathSync(e)}:t.realpathSync.native:t.realpathSync,f=__filename.endsWith("sys.js")?n.join(n.dirname(__dirname),"__fake__.js"):__filename,_="win32"===process.platform||a,m=dt((()=>process.cwd())),{watchFile:h,watchDirectory:g}=so({pollingWatchFileWorker:function(e,n,r){let i;return t.watchFile(e,{persistent:!0,interval:r},o),{close:()=>t.unwatchFile(e,o)};function o(t,r){const o=0==+r.mtime||2===i;if(0==+t.mtime){if(o)return;i=2}else if(o)i=0;else{if(+t.mtime==+r.mtime)return;i=1}n(e,i,t.mtime)}},getModifiedTime:D,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatchWorker:function(e,n,r){return t.watch(e,_?{persistent:!0,recursive:!!n}:{persistent:!0},r)},useCaseSensitiveFileNames:d,getCurrentDirectory:m,fileSystemEntryExists:x,fsSupportsRecursiveFsWatch:_,getAccessibleSortedChildDirectories:e=>E(e).directories,realpath:k,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:!!process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,inodeWatching:c,fsWatchWithTimestamp:a,sysLog:eo}),A={args:process.argv.slice(2),newLine:r.EOL,useCaseSensitiveFileNames:d,write(e){process.stdout.write(e)},getWidthOfTerminal:()=>process.stdout.columns,writeOutputIsTTY:()=>process.stdout.isTTY,readFile:function(e,n){let r;try{r=t.readFileSync(e)}catch{return}let i=r.length;if(i>=2&&254===r[0]&&255===r[1]){i&=-2;for(let e=0;e=2&&255===r[0]&&254===r[1]?r.toString("utf16le",2):i>=3&&239===r[0]&&187===r[1]&&191===r[2]?r.toString("utf8",3):r.toString("utf8")},writeFile:function(e,n,r){let i;r&&(n="\ufeff"+n);try{i=t.openSync(e,"w"),t.writeSync(i,n,void 0,"utf8")}finally{void 0!==i&&t.closeSync(i)}},watchFile:h,watchDirectory:g,preferNonRecursiveWatch:!_,resolvePath:e=>n.resolve(e),fileExists:S,directoryExists:function(e){return x(e,1)},getAccessibleFileSystemEntries:E,createDirectory(e){if(!A.directoryExists(e))try{t.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:()=>f,getCurrentDirectory:m,getDirectories:function(e){return E(e).directories.slice()},getEnvironmentVariable:e=>process.env[e]||"",readDirectory:function(e,t,n,r,i){return gE(e,t,n,r,d,process.cwd(),i,E,k)},getModifiedTime:D,setModifiedTime:function(e,n){try{t.utimesSync(e,n,n)}catch{return}},deleteFile:function(e){try{return t.unlinkSync(e)}catch{return}},createHash:i?w:Oi,createSHA256Hash:i?w:void 0,getMemoryUsage:()=>(commonjsGlobal.gc&&commonjsGlobal.gc(),process.memoryUsage().heapUsed),getFileSize(e){const t=v(e);return(null==t?void 0:t.isFile())?t.size:0},exit(e){b((()=>process.exit(e)))},enableCPUProfiler:function(e,t){if(o)return t(),!1;const n=require$$6$1;if(!n||!n.Session)return t(),!1;const r=new n.Session;return r.connect(),r.post("Profiler.enable",(()=>{r.post("Profiler.start",(()=>{o=r,s=e,t()}))})),!0},disableCPUProfiler:b,cpuProfilingEnabled:()=>!!o||C(process.execArgv,"--cpu-prof")||C(process.execArgv,"--prof"),realpath:k,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||J(process.execArgv,(e=>/^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(e)))||!!process.recordreplay,tryEnableSourceMapsForHost(){try{requireSourceMapSupport().install()}catch{}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:()=>{process.stdout.write("")},setBlocking:()=>{var e;const t=null==(e=process.stdout)?void 0:e._handle;t&&t.setBlocking&&t.setBlocking(!0)},base64decode:e=>Buffer.from(e,"base64").toString("utf8"),base64encode:e=>Buffer.from(e).toString("base64"),require:(e,t)=>{try{const n=Iq(t,e,A);return{module:commonjsRequire(n),modulePath:n,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};var y;return A;function v(e){try{return t.statSync(e,u)}catch{return}}function b(r){if(o&&"stopping"!==o){const i=o;return o.post("Profiler.stop",((a,{profile:c})=>{var u;if(!a){(null==(u=v(s))?void 0:u.isDirectory())&&(s=n.join(s,`${(new Date).toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`));try{t.mkdirSync(n.dirname(s),{recursive:!0})}catch{}t.writeFileSync(s,JSON.stringify(function(t){let r=0;const i=new Map,o=Bo(n.dirname(f)),s=`file://${1===wo(o)?"":"/"}${o}`;for(const n of t.nodes)if(n.callFrame.url){const t=Bo(n.callFrame.url);es(s,t,d)?n.callFrame.url=ss(s,t,s,Jt(d),!0):e.test(t)||(n.callFrame.url=(i.has(t)?i:i.set(t,`external${r}.js`)).get(t),r++)}return t}(c)))}o=void 0,i.disconnect(),r()})),o="stopping",!0}return r(),!1}function E(e){try{const n=t.readdirSync(e||".",{withFileTypes:!0}),r=[],i=[];for(const t of n){const n="string"==typeof t?t:t.name;if("."===n||".."===n)continue;let o;if("string"==typeof t||t.isSymbolicLink()){if(o=v(qo(e,n)),!o)continue}else o=t;o.isFile()?r.push(n):o.isDirectory()&&i.push(n)}return r.sort(),i.sort(),{files:r,directories:i}}catch{return rx}}function x(e,t){const n=v(e);if(!n)return!1;switch(t){case 0:return n.isFile();case 1:return n.isDirectory();default:return!1}}function S(e){return x(e,0)}function k(e){try{return p(e)}catch{return e}}function D(e){var t;return null==(t=v(e))?void 0:t.mtime}function w(e){const t=i.createHash("sha256");return t.update(e),t.digest("hex")}}()),e&&ao(e),e})();function uo(e){co=e}co&&co.getEnvironmentVariable&&(!function(e){if(!e.getEnvironmentVariable)return;const t=function(e,t){const r=n("TSC_WATCH_POLLINGINTERVAL");return!!r&&(i("Low"),i("Medium"),i("High"),!0);function i(e){t[e]=r[e]||t[e]}}(0,Qi);function n(t){let n;return r("Low"),r("Medium"),r("High"),n;function r(r){const i=function(t,n){return e.getEnvironmentVariable(`${t}_${n.toUpperCase()}`)}(t,r);i&&((n||(n={}))[r]=Number(i))}}function r(e,r){const i=n(e);return(t||i)&&ji(i?{...r,...i}:r)}Ji=r("TSC_WATCH_POLLINGCHUNKSIZE",Ui)||Ji,Vi=r("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",Ui)||Vi}(co),ln.setAssertionLevel(/^development$/i.test(co.getEnvironmentVariable("NODE_ENV"))?1:0)),co&&co.debugMode&&(ln.isDebugging=!0);var lo="/",po="\\",fo="://",_o=/\\/g;function mo(e){return 47===e||92===e}function ho(e){return Do(e)<0}function go(e){return Do(e)>0}function Ao(e){const t=Do(e);return t>0&&t===e.length}function yo(e){return 0!==Do(e)}function vo(e){return/^\.\.?(?:$|[\\/])/.test(e)}function bo(e){return!yo(e)&&!vo(e)}function Co(e){return To(e).includes(".")}function Eo(e,t){return e.length>t.length&&Ot(e,t)}function xo(e,t){for(const n of t)if(Eo(e,n))return!0;return!1}function So(e){return e.length>0&&mo(e.charCodeAt(e.length-1))}function ko(e){return e>=97&&e<=122||e>=65&&e<=90}function Do(e){if(!e)return 0;const t=e.charCodeAt(0);if(47===t||92===t){if(e.charCodeAt(1)!==t)return 1;const n=e.indexOf(47===t?lo:po,2);return n<0?e.length:n+1}if(ko(t)&&58===e.charCodeAt(1)){const t=e.charCodeAt(2);if(47===t||92===t)return 3;if(2===e.length)return 2}const n=e.indexOf(fo);if(-1!==n){const t=n+fo.length,r=e.indexOf(lo,t);if(-1!==r){const i=e.slice(0,n),o=e.slice(t,r);if("file"===i&&(""===o||"localhost"===o)&&ko(e.charCodeAt(r+1))){const t=function(e,t){const n=e.charCodeAt(t);if(58===n)return t+1;if(37===n&&51===e.charCodeAt(t+1)){const n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return-1}(e,r+2);if(-1!==t){if(47===e.charCodeAt(t))return~(t+1);if(t===e.length)return~t}}return~(r+1)}return~e.length}return 0}function wo(e){const t=Do(e);return t<0?~t:t}function Io(e){const t=wo(e=Bo(e));return t===e.length?e:(e=Jo(e)).slice(0,Math.max(t,e.lastIndexOf(lo)))}function To(e,t,n){if(wo(e=Bo(e))===e.length)return"";const r=(e=Jo(e)).slice(Math.max(wo(e),e.lastIndexOf(lo)+1)),i=void 0!==t&&void 0!==n?Ro(r,t,n):void 0;return i?r.slice(0,r.length-i.length):r}function Fo(e,t,n){if(Wt(t,".")||(t="."+t),e.length>=t.length&&46===e.charCodeAt(e.length-t.length)){const r=e.slice(e.length-t.length);if(n(r,t))return r}}function Ro(e,t,n){if(t)return function(e,t,n){if("string"==typeof t)return Fo(e,t,n)||"";for(const r of t){const t=Fo(e,r,n);if(t)return t}return""}(Jo(e),t,n?mt:ht);const r=To(e),i=r.lastIndexOf(".");return i>=0?r.substring(i):""}function Po(e,t=""){return function(e,t){const n=e.substring(0,t),r=e.substring(t).split(lo);return r.length&&!ge(r)&&r.pop(),[n,...r]}(e=qo(t,e),wo(e))}function No(e,t){if(0===e.length)return"";return(e[0]&&Vo(e[0]))+e.slice(1,t).join(lo)}function Bo(e){return e.includes("\\")?e.replace(_o,lo):e}function Oo(e){if(!J(e))return[];const t=[e[0]];for(let n=1;n1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(r)}}return t}function qo(e,...t){e&&(e=Bo(e));for(let n of t)n&&(n=Bo(n),e=e&&0===wo(n)?Vo(e)+n:n);return e}function $o(e,...t){return Mo(J(t)?qo(e,...t):Bo(e))}function Qo(e,t){return Oo(Po(e,t))}function Lo(e,t){return No(Qo(e,t))}function Mo(e){if(e=Bo(e),!zo.test(e))return e;const t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!zo.test(e)))return e;const n=No(Oo(Po(e)));return n&&So(e)?Vo(n):n}function jo(e,t){return 0===(n=Qo(e,t)).length?"":n.slice(1).join(lo);var n}function Uo(e,t,n){return n(go(e)?Mo(e):Lo(e,t))}function Jo(e){return So(e)?e.substr(0,e.length-1):e}function Vo(e){return So(e)?e:e+lo}function Ho(e){return yo(e)||vo(e)?e:"./"+e}function Go(e,t,n,r){const i=void 0!==n&&void 0!==r?Ro(e,n,r):Ro(e);return i?e.slice(0,e.length-i.length)+(Wt(t,".")?t:"."+t):e}function Wo(e,t){const n=XP(e);return n?e.slice(0,e.length-n.length)+(Wt(t,".")?t:"."+t):Go(e,t)}var zo=/\/\/|(?:^|\/)\.\.?(?:$|\/)/;function Yo(e,t,n){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;const r=e.substring(0,wo(e)),i=t.substring(0,wo(t)),o=Ct(r,i);if(0!==o)return o;const s=e.substring(r.length),a=t.substring(i.length);if(!zo.test(s)&&!zo.test(a))return n(s,a);const c=Oo(Po(e)),u=Oo(Po(t)),l=Math.min(c.length,u.length);for(let e=1;e0==wo(t)>0,"Paths must either both be absolute or both be relative");return No(ns(e,t,"boolean"==typeof n&&n?mt:ht,"function"==typeof n?n:st))}function is(e,t,n){return go(e)?ss(t,e,t,n,!1):e}function os(e,t,n){return Ho(rs(Io(e),t,n))}function ss(e,t,n,r,i){const o=ns($o(n,e),$o(n,t),ht,r),s=o[0];if(i&&go(s)){const e=s.charAt(0)===lo?"file://":"file:///";o[0]=e+s}return No(o)}function as(e,t){for(;;){const n=t(e);if(void 0!==n)return n;const r=Io(e);if(r===e)return;e=r}}function cs(e){return Ot(e,"/node_modules")}function us(e,t,n,r,i,o,s){return{code:e,category:t,key:n,message:r,reportsUnnecessary:i,elidedInCompatabilityPyramid:o,reportsDeprecated:s}}var ls={Unterminated_string_literal:us(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:us(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:us(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:us(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:us(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."),Trailing_comma_not_allowed:us(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:us(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:us(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:us(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:us(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:us(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:us(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:us(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:us(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:us(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:us(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:us(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:us(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:us(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:us(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:us(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:us(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:us(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:us(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:us(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:us(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."),Only_ambient_modules_can_use_quoted_names:us(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:us(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:us(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:us(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:us(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:us(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:us(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:us(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:us(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:us(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:us(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:us(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:us(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:us(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:us(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:us(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055","Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:us(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:us(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:us(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:us(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:us(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:us(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:us(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:us(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:us(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:us(1066,1,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:us(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:us(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."),_0_modifier_cannot_appear_on_a_type_member:us(1070,1,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:us(1071,1,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:us(1079,1,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:us(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:us(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:us(1090,1,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:us(1091,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:us(1092,1,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:us(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:us(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:us(1095,1,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:us(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:us(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:us(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:us(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:us(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:us(1101,1,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:us(1102,1,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:us(1103,1,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:us(1104,1,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:us(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:us(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:us(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:us(1108,1,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:us(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:us(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:us(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:us(1113,1,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:us(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:us(1115,1,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:us(1116,1,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:us(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:us(1118,1,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:us(1119,1,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:us(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:us(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:us(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:us(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:us(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:us(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:us(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:us(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:us(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:us(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:us(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:us(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:us(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:us(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:us(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:us(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:us(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:us(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:us(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:us(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:us(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:us(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:us(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:us(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:us(1147,1,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:us(1148,1,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:us(1149,1,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),_0_declarations_must_be_initialized:us(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:us(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:us(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:us(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:us(1162,1,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:us(1163,1,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:us(1164,1,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:us(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:us(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:us(1168,1,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:us(1169,1,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:us(1170,1,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:us(1171,1,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:us(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:us(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:us(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:us(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:us(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:us(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:us(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:us(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:us(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:us(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:us(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:us(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:us(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:us(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:us(1186,1,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:us(1187,1,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:us(1188,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:us(1189,1,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:us(1190,1,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:us(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:us(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:us(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:us(1194,1,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:us(1195,1,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:us(1196,1,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:us(1197,1,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:us(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:us(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:us(1200,1,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:us(1202,1,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:us(1203,1,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:us(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:us(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:us(1207,1,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:us(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}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:us(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:us(1211,1,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:us(1212,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:us(1213,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:us(1214,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:us(1215,1,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:us(1216,1,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:us(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:us(1221,1,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:us(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:us(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:us(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:us(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:us(1226,1,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:us(1227,1,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:us(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."),A_type_predicate_cannot_reference_a_rest_parameter:us(1229,1,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:us(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:us(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:us(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:us(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:us(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:us(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:us(1236,1,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:us(1237,1,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:us(1238,1,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:us(1239,1,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:us(1240,1,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:us(1241,1,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:us(1242,1,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:us(1243,1,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:us(1244,1,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:us(1245,1,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:us(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:us(1247,1,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:us(1248,1,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:us(1249,1,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5:us(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:us(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:us(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:us(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:us(1254,1,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:us(1255,1,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:us(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:us(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:us(1259,1,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:us(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:us(1261,1,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:us(1262,1,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:us(1263,1,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:us(1264,1,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:us(1265,1,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:us(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:us(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:us(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:us(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:us(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:us(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:us(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:us(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:us(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:us(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:us(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:us(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:us(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:us(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:us(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:us(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:us(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:us(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:us(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:us(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:us(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:us(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:us(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:us(1289,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:us(1290,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:us(1291,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:us(1292,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve:us(1293,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293","ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."),with_statements_are_not_allowed_in_an_async_function_block:us(1300,1,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:us(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:us(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:us(1312,1,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:us(1313,1,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:us(1314,1,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:us(1315,1,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:us(1316,1,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:us(1317,1,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:us(1318,1,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:us(1319,1,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:us(1320,1,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:us(1321,1,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:us(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:us(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve:us(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'."),Argument_of_dynamic_import_cannot_be_spread_element:us(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:us(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:us(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:us(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."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:us(1329,1,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:us(1330,1,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:us(1331,1,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:us(1332,1,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:us(1333,1,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:us(1334,1,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:us(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:us(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:us(1338,1,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:us(1339,1,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:us(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:us(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:us(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:us(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:us(1345,1,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:us(1346,1,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:us(1347,1,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:us(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:us(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:us(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:us(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:us(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:us(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:us(1354,1,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:us(1355,1,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:us(1356,1,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:us(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:us(1358,1,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:us(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."),Type_0_does_not_satisfy_the_expected_type_1:us(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:us(1361,1,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:us(1362,1,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:us(1363,1,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:us(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:us(1365,3,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:us(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:us(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:us(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:us(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:us(1375,1,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:us(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:us(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:us(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:us(1379,1,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:us(1380,1,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:us(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:us(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:us(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:us(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:us(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:us(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:us(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:us(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:us(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:us(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:us(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:us(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:us(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:us(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:us(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"),File_is_included_via_import_here:us(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:us(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:us(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:us(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:us(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}'"),File_is_included_via_type_library_reference_here:us(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:us(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:us(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:us(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:us(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:us(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:us(1410,3,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:us(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:us(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'"),File_is_output_from_referenced_project_specified_here:us(1413,3,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:us(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:us(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'"),File_is_source_from_referenced_project_specified_here:us(1416,3,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:us(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:us(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}'"),File_is_entry_point_of_type_library_specified_here:us(1419,3,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:us(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:us(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:us(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:us(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:us(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:us(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:us(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:us(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:us(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:us(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:us(1430,3,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:us(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:us(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:us(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:us(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:us(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:us(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:us(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:us(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:us(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:us(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:us(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:us(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:us(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:us(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:us(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."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments:us(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:us(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_should_be_either_require_or_import:us(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:us(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:us(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:us(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:us(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:us(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:us(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:us(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:us(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:us(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:us(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:us(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:us(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:us(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:us(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:us(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:us(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:us(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:us(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:us(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:us(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479","The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead."),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:us(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:us(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481","To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'."),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:us(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:us(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:us(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:us(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:us(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:us(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:us(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:us(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:us(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:us(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:us(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:us(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:us(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:us(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:us(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator:us(1497,1,"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497","Expression must be enclosed in parentheses to be used as a decorator."),Invalid_syntax_in_decorator:us(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:us(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:us(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:us(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:us(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:us(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:us(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:us(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:us(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:us(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:us(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:us(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:us(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:us(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:us(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:us(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:us(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:us(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:us(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:us(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:us(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:us(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:us(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:us(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:us(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:us(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:us(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:us(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:us(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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."),A_bigint_literal_cannot_be_used_as_a_property_name:us(1539,1,"A_bigint_literal_cannot_be_used_as_a_property_name_1539","A 'bigint' literal cannot be used as a property name."),A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead:us(1540,2,"A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540","A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.",void 0,void 0,!0),Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:us(1541,1,"Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541","Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:us(1542,1,"Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542","Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0:us(1543,1,"Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543","Importing a JSON file into an ECMAScript module requires a 'type: \"json\"' import attribute when 'module' is set to '{0}'."),Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0:us(1544,1,"Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544","Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."),The_types_of_0_are_incompatible_between_these_types:us(2200,1,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:us(2201,1,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:us(2202,1,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:us(2203,1,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:us(2204,1,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:us(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:us(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:us(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:us(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:us(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:us(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."),Add_extends_constraint:us(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:us(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:us(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:us(2301,1,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:us(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:us(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:us(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:us(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:us(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:us(2307,1,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:us(2308,1,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:us(2309,1,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:us(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:us(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:us(2312,1,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:us(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:us(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:us(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:us(2316,1,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:us(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:us(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:us(2319,1,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:us(2320,1,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:us(2321,1,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:us(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:us(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:us(2324,1,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:us(2325,1,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:us(2326,1,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:us(2327,1,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:us(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:us(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:us(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:us(2331,1,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:us(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_a_static_property_initializer:us(2334,1,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:us(2335,1,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:us(2336,1,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:us(2337,1,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:us(2338,1,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:us(2339,1,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:us(2340,1,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:us(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:us(2343,1,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:us(2344,1,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:us(2345,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Untyped_function_calls_may_not_accept_type_arguments:us(2347,1,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:us(2348,1,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:us(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:us(2350,1,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:us(2351,1,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:us(2352,1,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:us(2353,1,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:us(2354,1,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value:us(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:us(2356,1,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:us(2357,1,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:us(2358,1,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:us(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:us(2362,1,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:us(2363,1,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:us(2364,1,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:us(2365,1,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:us(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:us(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:us(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:us(2369,1,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:us(2370,1,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:us(2371,1,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:us(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:us(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:us(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:us(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:us(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:us(2377,1,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:us(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:us(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),Overload_signatures_must_all_be_exported_or_non_exported:us(2383,1,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:us(2384,1,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:us(2385,1,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:us(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:us(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:us(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:us(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:us(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:us(2391,1,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:us(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:us(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:us(2394,1,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:us(2395,1,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:us(2396,1,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:us(2397,1,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:us(2398,1,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:us(2399,1,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:us(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:us(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:us(2402,1,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:us(2403,1,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:us(2404,1,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:us(2405,1,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:us(2406,1,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:us(2407,1,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:us(2408,1,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:us(2409,1,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:us(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:us(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:us(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:us(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:us(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:us(2415,1,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:us(2416,1,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:us(2417,1,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:us(2418,1,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:us(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:us(2420,1,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:us(2422,1,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:us(2423,1,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:us(2425,1,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:us(2426,1,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:us(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:us(2428,1,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:us(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:us(2431,1,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:us(2432,1,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:us(2433,1,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:us(2434,1,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:us(2435,1,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:us(2436,1,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:us(2437,1,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:us(2438,1,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:us(2439,1,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:us(2440,1,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:us(2441,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:us(2442,1,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:us(2443,1,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:us(2444,1,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:us(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:us(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:us(2447,1,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:us(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:us(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:us(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:us(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:us(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:us(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:us(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:us(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:us(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:us(2459,1,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:us(2460,1,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:us(2461,1,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:us(2462,1,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:us(2463,1,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:us(2464,1,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:us(2465,1,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:us(2466,1,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:us(2467,1,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:us(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:us(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:us(2472,1,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:us(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:us(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:us(2475,1,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:us(2476,1,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:us(2477,1,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:us(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:us(2480,1,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:us(2481,1,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:us(2483,1,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:us(2484,1,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:us(2487,1,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:us(2488,1,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:us(2489,1,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:us(2490,1,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:us(2491,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:us(2492,1,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:us(2493,1,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:us(2494,1,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:us(2495,1,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression:us(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496","The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:us(2497,1,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:us(2498,1,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:us(2499,1,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:us(2500,1,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:us(2501,1,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:us(2502,1,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:us(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:us(2504,1,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:us(2505,1,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:us(2506,1,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:us(2507,1,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:us(2508,1,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:us(2509,1,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:us(2510,1,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:us(2511,1,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:us(2512,1,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:us(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:us(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:us(2515,1,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member {1} from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:us(2516,1,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:us(2517,1,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:us(2518,1,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:us(2519,1,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:us(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method:us(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522","The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:us(2523,1,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:us(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:us(2526,1,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:us(2527,1,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:us(2528,1,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:us(2529,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:us(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:us(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:us(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:us(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:us(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:us(2536,1,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:us(2537,1,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:us(2538,1,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:us(2539,1,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:us(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:us(2542,1,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:us(2543,1,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:us(2544,1,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:us(2545,1,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:us(2547,1,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:us(2548,1,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:us(2549,1,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:us(2550,1,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:us(2551,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:us(2552,1,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:us(2553,1,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:us(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:us(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:us(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:us(2558,1,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:us(2559,1,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:us(2560,1,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:us(2561,1,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:us(2562,1,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:us(2563,1,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:us(2564,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:us(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:us(2566,1,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:us(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:us(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:us(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:us(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:us(2574,1,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:us(2575,1,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:us(2576,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:us(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:us(2578,1,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:us(2580,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:us(2581,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:us(2582,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:us(2583,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:us(2584,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:us(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:us(2588,1,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:us(2589,1,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:us(2590,1,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:us(2591,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:us(2592,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:us(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:us(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:us(2595,1,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:us(2596,1,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:us(2597,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:us(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:us(2602,1,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:us(2603,1,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:us(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:us(2606,1,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:us(2607,1,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:us(2608,1,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:us(2609,1,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:us(2610,1,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:us(2611,1,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:us(2612,1,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:us(2613,1,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:us(2614,1,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:us(2615,1,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:us(2616,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:us(2617,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:us(2618,1,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:us(2619,1,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:us(2620,1,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:us(2621,1,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:us(2623,1,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:us(2624,1,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:us(2625,1,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:us(2626,1,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:us(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:us(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:us(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:us(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:us(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:us(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:us(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:us(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:us(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:us(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:us(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:us(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),React_components_cannot_include_JSX_namespace_names:us(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:us(2649,1,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more:us(2650,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650","Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:us(2651,1,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:us(2652,1,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:us(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2:us(2654,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more:us(2655,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1:us(2656,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656","Non-abstract class expression is missing implementations for the following members of '{0}': {1}."),JSX_expressions_must_have_one_parent_element:us(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:us(2658,1,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:us(2659,1,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:us(2660,1,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:us(2661,1,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:us(2662,1,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:us(2663,1,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:us(2664,1,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:us(2665,1,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:us(2666,1,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:us(2667,1,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:us(2668,1,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:us(2669,1,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:us(2670,1,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:us(2671,1,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:us(2672,1,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:us(2673,1,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:us(2674,1,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:us(2675,1,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:us(2676,1,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:us(2677,1,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:us(2678,1,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:us(2679,1,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:us(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:us(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:us(2683,1,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:us(2684,1,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:us(2685,1,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:us(2686,1,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:us(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:us(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:us(2689,1,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:us(2690,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:us(2692,1,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:us(2693,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:us(2694,1,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:us(2695,1,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:us(2696,1,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:us(2697,1,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:us(2698,1,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:us(2699,1,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:us(2700,1,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:us(2701,1,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:us(2702,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:us(2703,1,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:us(2704,1,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:us(2705,1,"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705","An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:us(2706,1,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:us(2707,1,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:us(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:us(2709,1,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:us(2710,1,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:us(2711,1,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:us(2712,1,"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712","A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:us(2713,1,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:us(2714,1,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:us(2715,1,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:us(2716,1,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:us(2717,1,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:us(2718,1,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:us(2719,1,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:us(2720,1,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:us(2721,1,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:us(2722,1,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:us(2723,1,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:us(2724,1,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:us(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:us(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:us(2727,1,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:us(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:us(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:us(2730,1,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:us(2731,1,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:us(2732,1,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:us(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:us(2734,1,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:us(2735,1,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:us(2736,1,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:us(2737,1,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:us(2738,3,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:us(2739,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:us(2740,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:us(2741,1,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:us(2742,1,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:us(2743,1,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:us(2744,1,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:us(2745,1,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:us(2746,1,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:us(2747,1,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_0_is_enabled:us(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:us(2749,1,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:us(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:us(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:us(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:us(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:us(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:us(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:us(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:us(2757,1,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:us(2758,1,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:us(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:us(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:us(2761,1,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:us(2762,1,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:us(2763,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:us(2764,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:us(2765,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:us(2766,1,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:us(2767,1,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:us(2768,1,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:us(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:us(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:us(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:us(2772,1,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:us(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:us(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:us(2775,1,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:us(2776,1,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:us(2777,1,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:us(2778,1,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:us(2779,1,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:us(2780,1,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:us(2781,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:us(2782,3,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:us(2783,1,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:us(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:us(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:us(2786,1,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:us(2787,1,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:us(2788,1,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:us(2789,1,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:us(2790,1,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:us(2791,1,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:us(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:us(2793,1,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:us(2794,1,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:us(2795,1,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:us(2796,1,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:us(2797,1,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:us(2798,1,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:us(2799,1,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:us(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:us(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:us(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:us(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:us(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:us(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:us(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:us(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),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:us(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."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:us(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:us(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:us(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:us(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:us(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:us(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:us(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:us(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:us(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:us(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:us(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:us(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:us(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:us(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:us(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:us(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:us(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:us(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:us(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:us(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:us(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types:us(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:us(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:us(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:us(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:us(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:us(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:us(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:us(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:us(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:us(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:us(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:us(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:us(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:us(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:us(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:us(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:us(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:us(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:us(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:us(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:us(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:us(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:us(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:us(2865,1,"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865","Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."),Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:us(2866,1,"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866","Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun:us(2867,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig:us(2868,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."),Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish:us(2869,1,"Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869","Right operand of ?? is unreachable because the left operand is never nullish."),This_binary_expression_is_never_nullish_Are_you_missing_parentheses:us(2870,1,"This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870","This binary expression is never nullish. Are you missing parentheses?"),This_expression_is_always_nullish:us(2871,1,"This_expression_is_always_nullish_2871","This expression is always nullish."),This_kind_of_expression_is_always_truthy:us(2872,1,"This_kind_of_expression_is_always_truthy_2872","This kind of expression is always truthy."),This_kind_of_expression_is_always_falsy:us(2873,1,"This_kind_of_expression_is_always_falsy_2873","This kind of expression is always falsy."),This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found:us(2874,1,"This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874","This JSX tag requires '{0}' to be in scope, but it could not be found."),This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed:us(2875,1,"This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875","This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed."),This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0:us(2876,1,"This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876",'This relative import path is unsafe to rewrite because it looks like a file name, but actually resolves to "{0}".'),This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path:us(2877,1,"This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877","This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."),This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files:us(2878,1,"This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878","This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."),Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found:us(2879,1,"Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879","Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."),Import_declaration_0_is_using_private_name_1:us(4e3,1,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:us(4002,1,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:us(4004,1,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:us(4006,1,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:us(4008,1,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:us(4010,1,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:us(4012,1,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:us(4014,1,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:us(4016,1,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:us(4019,1,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:us(4020,1,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:us(4021,1,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:us(4022,1,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4023,1,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:us(4024,1,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:us(4025,1,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4026,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us(4027,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:us(4028,1,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4029,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us(4030,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:us(4031,1,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:us(4032,1,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:us(4033,1,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4034,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:us(4035,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4036,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:us(4037,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4038,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4039,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:us(4040,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4041,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4042,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:us(4043,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us(4044,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:us(4045,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us(4046,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:us(4047,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us(4048,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:us(4049,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:us(4050,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:us(4051,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:us(4052,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:us(4053,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:us(4054,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:us(4055,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us(4056,1,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:us(4057,1,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:us(4058,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:us(4059,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:us(4060,1,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4061,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4062,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:us(4063,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us(4064,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:us(4065,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us(4066,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:us(4067,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4068,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4069,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:us(4070,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4071,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:us(4072,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:us(4073,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us(4074,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:us(4075,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4076,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:us(4077,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:us(4078,1,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:us(4081,1,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:us(4082,1,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:us(4083,1,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:us(4084,1,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:us(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us(4091,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:us(4092,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected:us(4094,1,"Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094","Property '{0}' of exported anonymous class type may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4095,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us(4096,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:us(4097,1,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4098,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us(4099,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:us(4100,1,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:us(4101,1,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:us(4102,1,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:us(4103,1,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:us(4104,1,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:us(4105,1,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:us(4106,1,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:us(4107,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us(4108,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:us(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:us(4110,1,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:us(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:us(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:us(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:us(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:us(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:us(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:us(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:us(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:us(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:us(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:us(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:us(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:us(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:us(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given:us(4125,1,"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125","Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value:us(4126,1,"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126","One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),The_current_host_does_not_support_the_0_option:us(5001,1,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:us(5009,1,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:us(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:us(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Unknown_compiler_option_0:us(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:us(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:us(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:us(5033,1,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:us(5042,1,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:us(5047,1,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:us(5051,1,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:us(5052,1,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:us(5053,1,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:us(5054,1,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:us(5055,1,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:us(5056,1,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:us(5057,1,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:us(5058,1,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:us(5059,1,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:us(5061,1,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:us(5062,1,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:us(5063,1,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:us(5064,1,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:us(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}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:us(5066,1,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:us(5067,1,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:us(5068,1,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:us(5069,1,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:us(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd:us(5071,1,"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071","Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."),Unknown_build_option_0:us(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:us(5073,1,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:us(5074,1,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:us(5075,1,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:us(5076,1,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:us(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:us(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:us(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:us(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:us(5081,1,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:us(5082,1,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:us(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:us(5085,1,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:us(5086,1,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:us(5087,1,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:us(5088,1,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:us(5089,1,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:us(5090,1,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:us(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:us(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:us(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:us(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later:us(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:us(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:us(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:us(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:us(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101","Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error."),Option_0_has_been_removed_Please_remove_it_from_your_configuration:us(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:us(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:us(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:us(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:us(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:us(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107","Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error."),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:us(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:us(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:us(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:us(6e3,3,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:us(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:us(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:us(6004,3,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:us(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:us(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:us(6007,3,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:us(6008,3,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:us(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:us(6010,3,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:us(6011,3,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:us(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:us(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:us(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:us(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:us(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:us(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:us(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:us(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'."),Syntax_Colon_0:us(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:us(6024,3,"options_6024","options"),file:us(6025,3,"file_6025","file"),Examples_Colon_0:us(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:us(6027,3,"Options_Colon_6027","Options:"),Version_0:us(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:us(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:us(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:us(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:us(6034,3,"KIND_6034","KIND"),FILE:us(6035,3,"FILE_6035","FILE"),VERSION:us(6036,3,"VERSION_6036","VERSION"),LOCATION:us(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:us(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:us(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:us(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:us(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:us(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:us(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:us(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:us(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:us(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:us(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:us(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:us(6052,3,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:us(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:us(6054,1,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:us(6055,3,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:us(6056,3,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:us(6058,3,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:us(6059,1,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:us(6060,3,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:us(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:us(6064,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:us(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:us(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:us(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:us(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:us(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:us(6073,3,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:us(6074,3,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:us(6075,3,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:us(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:us(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:us(6078,3,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:us(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:us(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:us(6082,1,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:us(6083,3,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:us(6084,3,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:us(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:us(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:us(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:us(6088,3,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:us(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:us(6090,3,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:us(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:us(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:us(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:us(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:us(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:us(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:us(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:us(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:us(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:us(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:us(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:us(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:us(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:us(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:us(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:us(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:us(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:us(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:us(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:us(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:us(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:us(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:us(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:us(6115,3,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:us(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:us(6119,3,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:us(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:us(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:us(6122,3,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:us(6123,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:us(6124,3,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:us(6125,3,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:us(6126,3,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:us(6127,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:us(6128,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:us(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:us(6131,1,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:us(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:us(6133,1,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:us(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:us(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:us(6136,3,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:us(6137,1,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:us(6138,1,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:us(6139,3,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:us(6140,1,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:us(6141,3,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:us(6142,1,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:us(6144,3,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:us(6146,3,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:us(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:us(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:us(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:us(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:us(6151,3,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:us(6152,3,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:us(6153,3,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:us(6154,3,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:us(6155,3,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:us(6156,3,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:us(6157,3,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:us(6158,3,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:us(6159,3,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:us(6160,3,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:us(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:us(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:us(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:us(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}."),Do_not_truncate_error_messages:us(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:us(6166,3,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:us(6167,3,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:us(6168,3,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:us(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:us(6170,3,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:us(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:us(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."),Enable_all_strict_type_checking_options:us(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:us(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:us(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:us(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:us(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:us(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:us(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:us(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:us(6191,3,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:us(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:us(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:us(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:us(6195,3,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:us(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:us(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:us(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:us(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:us(6200,1,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:us(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:us(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}"),_0_was_also_declared_here:us(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:us(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:us(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:us(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:us(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:us(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:us(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."),An_argument_for_0_was_not_provided:us(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:us(6211,3,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:us(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:us(6213,3,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:us(6214,3,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:us(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:us(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:us(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:us(6218,3,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:us(6219,3,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:us(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:us(6221,3,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:us(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:us(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:us(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:us(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:us(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:us(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:us(6229,1,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:us(6230,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:us(6231,1,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:us(6232,1,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:us(6233,1,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:us(6234,1,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:us(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:us(6236,1,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:us(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:us(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:us(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:us(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:us(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:us(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:us(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:us(6244,3,"Modules_6244","Modules"),File_Management:us(6245,3,"File_Management_6245","File Management"),Emit:us(6246,3,"Emit_6246","Emit"),JavaScript_Support:us(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:us(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:us(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:us(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:us(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:us(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:us(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:us(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:us(6255,3,"Projects_6255","Projects"),Output_Formatting:us(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:us(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:us(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"),Found_1_error_in_0:us(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:us(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:us(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:us(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:us(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:us(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:us(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:us(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278","There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings."),Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update:us(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."),There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler:us(6280,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280","There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."),package_json_has_a_peerDependencies_field:us(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:us(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:us(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),Enable_project_compilation:us(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:us(6304,1,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:us(6305,1,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:us(6306,1,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:us(6307,1,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Referenced_project_0_may_not_disable_emit:us(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:us(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:us(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:us(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:us(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:us(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:us(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:us(6356,3,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:us(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:us(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:us(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:us(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:us(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:us(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:us(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:us(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:us(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:us(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:us(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:us(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:us(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}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:us(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:us(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:us(6380,3,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:us(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:us(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:us(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"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:us(6384,3,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:us(6385,2,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:us(6386,3,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:us(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:us(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:us(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:us(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:us(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:us(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:us(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:us(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:us(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:us(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:us(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:us(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:us(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:us(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:us(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:us(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:us(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:us(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:us(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:us(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:us(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:us(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:us(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:us(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:us(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:us(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."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:us(6500,3,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:us(6501,3,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:us(6502,3,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:us(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."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:us(6504,1,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:us(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:us(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:us(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:us(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:us(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:us(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:us(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:us(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:us(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:us(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:us(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."),Filters_results_from_the_include_option:us(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:us(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:us(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:us(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:us(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:us(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:us(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:us(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."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:us(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:us(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:us(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:us(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:us(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:us(6640,3,"Skip_building_downstream_projects_on_error_in_upstream_project_6640","Skip building downstream projects on error in upstream project."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:us(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:us(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:us(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:us(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:us(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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 ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:us(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:us(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:us(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:us(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:us(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:us(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:us(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:us(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(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:us(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:us(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:us(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:us(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:us(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:us(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:us(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:us(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:us(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:us(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:us(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:us(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'."),Default_catch_clause_variables_as_unknown_instead_of_any:us(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:us(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:us(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:us(6806,3,"Check_side_effect_imports_6806","Check side effect imports."),This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2:us(6807,1,"This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807","This operation can be simplified. This shift is identical to `{0} {1} {2}`."),one_of_Colon:us(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:us(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:us(6902,3,"type_Colon_6902","type:"),default_Colon:us(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:us(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:us(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:us(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:us(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:us(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:us(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:us(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:us(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:us(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:us(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:us(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:us(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:us(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:us(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:us(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:us(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:us(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:us(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:us(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:us(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:us(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:us(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:us(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:us(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:us(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:us(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:us(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:us(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."),Variable_0_implicitly_has_an_1_type:us(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:us(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:us(7008,1,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:us(7009,1,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:us(7010,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:us(7011,1,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:us(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:us(7013,1,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:us(7014,1,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:us(7015,1,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:us(7016,1,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:us(7017,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:us(7018,1,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:us(7019,1,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:us(7020,1,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:us(7022,1,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:us(7023,1,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:us(7024,1,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation:us(7025,1,"Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025","Generator implicitly has yield type '{0}'. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:us(7026,1,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:us(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:us(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:us(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:us(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:us(7031,1,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:us(7032,1,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:us(7033,1,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:us(7034,1,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:us(7035,1,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:us(7036,1,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:us(7037,3,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:us(7038,3,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:us(7039,1,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:us(7040,1,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:us(7041,1,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:us(7042,1,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:us(7043,2,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:us(7044,2,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:us(7045,2,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:us(7046,2,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:us(7047,2,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:us(7048,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:us(7049,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:us(7050,2,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:us(7051,1,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:us(7052,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:us(7053,1,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:us(7054,1,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:us(7055,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:us(7056,1,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:us(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:us(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:us(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:us(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:us(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:us(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:us(8001,1,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:us(8002,1,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:us(8003,1,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:us(8004,1,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:us(8005,1,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:us(8006,1,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:us(8008,1,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:us(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:us(8010,1,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:us(8011,1,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:us(8012,1,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:us(8013,1,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:us(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:us(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:us(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:us(8020,1,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:us(8021,1,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:us(8022,1,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:us(8023,1,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:us(8024,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:us(8025,1,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:us(8026,1,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:us(8027,1,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:us(8028,1,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:us(8029,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:us(8030,1,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:us(8031,1,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:us(8032,1,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:us(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:us(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:us(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:us(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:us(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:us(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:us(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"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:us(9005,1,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:us(9006,1,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:us(9007,1,"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007","Function must have an explicit return type annotation with --isolatedDeclarations."),Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:us(9008,1,"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008","Method must have an explicit return type annotation with --isolatedDeclarations."),At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations:us(9009,1,"At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009","At least one accessor must have an explicit type annotation with --isolatedDeclarations."),Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations:us(9010,1,"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010","Variable must have an explicit type annotation with --isolatedDeclarations."),Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations:us(9011,1,"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011","Parameter must have an explicit type annotation with --isolatedDeclarations."),Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations:us(9012,1,"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012","Property must have an explicit type annotation with --isolatedDeclarations."),Expression_type_can_t_be_inferred_with_isolatedDeclarations:us(9013,1,"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013","Expression type can't be inferred with --isolatedDeclarations."),Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations:us(9014,1,"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014","Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."),Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations:us(9015,1,"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015","Objects that contain spread assignments can't be inferred with --isolatedDeclarations."),Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations:us(9016,1,"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016","Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."),Only_const_arrays_can_be_inferred_with_isolatedDeclarations:us(9017,1,"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017","Only const arrays can be inferred with --isolatedDeclarations."),Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations:us(9018,1,"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018","Arrays with spread elements can't inferred with --isolatedDeclarations."),Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations:us(9019,1,"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019","Binding elements can't be exported directly with --isolatedDeclarations."),Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations:us(9020,1,"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020","Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."),Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations:us(9021,1,"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021","Extends clause can't contain an expression with --isolatedDeclarations."),Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations:us(9022,1,"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022","Inference from class expressions is not supported with --isolatedDeclarations."),Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function:us(9023,1,"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023","Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."),Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations:us(9025,1,"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025","Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations."),Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations:us(9026,1,"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026","Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."),Add_a_type_annotation_to_the_variable_0:us(9027,1,"Add_a_type_annotation_to_the_variable_0_9027","Add a type annotation to the variable {0}."),Add_a_type_annotation_to_the_parameter_0:us(9028,1,"Add_a_type_annotation_to_the_parameter_0_9028","Add a type annotation to the parameter {0}."),Add_a_type_annotation_to_the_property_0:us(9029,1,"Add_a_type_annotation_to_the_property_0_9029","Add a type annotation to the property {0}."),Add_a_return_type_to_the_function_expression:us(9030,1,"Add_a_return_type_to_the_function_expression_9030","Add a return type to the function expression."),Add_a_return_type_to_the_function_declaration:us(9031,1,"Add_a_return_type_to_the_function_declaration_9031","Add a return type to the function declaration."),Add_a_return_type_to_the_get_accessor_declaration:us(9032,1,"Add_a_return_type_to_the_get_accessor_declaration_9032","Add a return type to the get accessor declaration."),Add_a_type_to_parameter_of_the_set_accessor_declaration:us(9033,1,"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033","Add a type to parameter of the set accessor declaration."),Add_a_return_type_to_the_method:us(9034,1,"Add_a_return_type_to_the_method_9034","Add a return type to the method"),Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit:us(9035,1,"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035","Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."),Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it:us(9036,1,"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036","Move the expression in default export to a variable and add a type annotation to it."),Default_exports_can_t_be_inferred_with_isolatedDeclarations:us(9037,1,"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037","Default exports can't be inferred with --isolatedDeclarations."),Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations:us(9038,1,"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038","Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."),Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations:us(9039,1,"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039","Type containing private name '{0}' can't be used with --isolatedDeclarations."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:us(17e3,1,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:us(17001,1,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:us(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:us(17004,1,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:us(17005,1,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:us(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:us(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:us(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:us(17009,1,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:us(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:us(17011,1,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:us(17012,1,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:us(17013,1,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:us(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:us(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:us(17016,1,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:us(17017,1,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:us(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:us(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:us(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Unicode_escape_sequence_cannot_appear_here:us(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:us(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:us(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:us(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}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:us(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:us(80002,2,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:us(80003,2,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:us(80004,2,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:us(80005,2,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:us(80006,2,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:us(80007,2,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:us(80008,2,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),JSDoc_typedef_may_be_converted_to_TypeScript_type:us(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:us(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:us(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:us(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:us(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:us(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:us(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:us(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:us(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:us(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:us(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:us(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:us(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:us(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:us(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:us(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:us(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:us(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:us(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:us(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:us(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:us(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:us(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:us(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:us(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:us(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:us(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:us(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:us(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:us(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:us(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:us(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:us(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:us(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:us(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:us(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:us(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:us(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:us(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:us(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:us(90055,3,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:us(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:us(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:us(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:us(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:us(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:us(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:us(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:us(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:us(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:us(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:us(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:us(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:us(90068,3,"Add_satisfies_and_an_inline_type_assertion_with_0_90068","Add satisfies and an inline type assertion with '{0}'"),Extract_to_variable_and_replace_with_0_as_typeof_0:us(90069,3,"Extract_to_variable_and_replace_with_0_as_typeof_0_90069","Extract to variable and replace with '{0} as typeof {0}'"),Mark_array_literal_as_const:us(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:us(90071,3,"Annotate_types_of_properties_expando_function_in_a_namespace_90071","Annotate types of properties expando function in a namespace"),Convert_function_to_an_ES2015_class:us(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:us(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:us(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:us(95005,3,"Extract_function_95005","Extract function"),Extract_constant:us(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:us(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:us(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:us(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:us(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:us(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:us(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:us(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:us(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:us(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:us(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:us(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:us(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:us(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:us(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:us(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:us(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:us(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:us(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:us(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:us(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:us(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:us(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:us(95030,3,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:us(95031,3,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:us(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:us(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:us(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:us(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:us(95036,3,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:us(95037,3,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:us(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:us(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:us(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:us(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:us(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:us(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:us(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:us(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:us(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:us(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:us(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:us(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:us(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:us(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:us(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:us(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:us(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:us(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:us(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:us(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:us(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:us(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:us(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:us(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:us(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:us(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:us(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:us(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:us(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:us(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:us(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:us(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:us(95070,3,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:us(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:us(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:us(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:us(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:us(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:us(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:us(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:us(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:us(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:us(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:us(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:us(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:us(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:us(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:us(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:us(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:us(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:us(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:us(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:us(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:us(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:us(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:us(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:us(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:us(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:us(95097,3,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:us(95098,3,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:us(95099,3,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:us(95100,3,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:us(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:us(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:us(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:us(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:us(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:us(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:us(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:us(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:us(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:us(95112,3,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:us(95113,3,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:us(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:us(95115,3,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:us(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:us(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:us(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:us(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:us(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:us(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:us(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:us(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:us(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:us(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:us(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:us(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:us(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:us(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:us(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:us(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:us(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:us(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:us(95134,3,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:us(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:us(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:us(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:us(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:us(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:us(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:us(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:us(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:us(95143,3,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:us(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:us(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:us(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:us(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:us(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:us(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:us(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:us(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:us(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:us(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:us(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:us(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:us(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:us(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:us(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:us(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:us(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:us(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:us(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:us(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:us(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:us(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:us(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:us(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:us(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:us(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:us(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:us(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:us(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:us(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:us(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:us(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:us(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:us(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:us(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:us(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:us(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:us(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:us(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:us(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:us(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:us(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:us(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:us(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:us(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:us(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:us(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:us(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:us(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:us(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:us(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:us(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),Add_resolution_mode_import_attribute:us(95196,3,"Add_resolution_mode_import_attribute_95196","Add 'resolution-mode' import attribute"),Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it:us(95197,3,"Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197","Add 'resolution-mode' import attribute to all type-only imports that need it"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:us(18004,1,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:us(18006,1,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:us(18007,1,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:us(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:us(18010,1,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:us(18011,1,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:us(18012,1,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:us(18013,1,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:us(18014,1,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:us(18015,1,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:us(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:us(18017,1,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:us(18018,1,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:us(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:us(18024,1,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:us(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:us(18027,1,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:us(18028,1,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:us(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:us(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:us(18031,1,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:us(18032,1,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:us(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:us(18034,3,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:us(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:us(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),await_expression_cannot_be_used_inside_a_class_static_block:us(18037,1,"await_expression_cannot_be_used_inside_a_class_static_block_18037","'await' expression cannot be used inside a class static block."),for_await_loops_cannot_be_used_inside_a_class_static_block:us(18038,1,"for_await_loops_cannot_be_used_inside_a_class_static_block_18038","'for await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:us(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:us(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:us(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:us(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:us(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:us(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:us(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:us(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:us(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:us(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:us(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:us(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Its_type_0_is_not_a_valid_JSX_element_type:us(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:us(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block."),_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled:us(18055,1,"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055","'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."),Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled:us(18056,1,"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056","Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled."),String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020:us(18057,1,"String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057","String literal import and export names are not supported when the '--module' flag is set to 'es2015' or 'es2020'.")};function ds(e){return e>=80}function ps(e){return 32===e||ds(e)}var fs={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,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},_s=new Map(Object.entries(fs)),ms=new Map(Object.entries({...fs,"{":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,">":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})),hs=new Map([[100,1],[103,2],[105,4],[109,8],[115,16],[117,32],[118,64],[121,128]]),gs=new Map([[1,Di.RegularExpressionFlagsHasIndices],[16,Di.RegularExpressionFlagsDotAll],[32,Di.RegularExpressionFlagsUnicode],[64,Di.RegularExpressionFlagsUnicodeSets],[128,Di.RegularExpressionFlagsSticky]]),As=[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],ys=[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],vs=[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],bs=[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],Cs=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Es=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,xs=/@(?:see|link)/i;function Ss(e,t){if(e=2?vs:As)}function Ds(e){const t=[];return e.forEach(((e,n)=>{t[e]=n})),t}var ws=Ds(ms);function Is(e){return ws[e]}function Ts(e){return ms.get(e)}var Fs=Ds(hs);function Rs(e){return Fs[e]}function Ps(e){return hs.get(e)}function Ns(e){const t=[];let n=0,r=0;for(;n127&&Js(i)&&(t.push(r),r=n)}}return t.push(r),t}function Bs(e,t,n,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,r):Os(qs(e),t,n,e.text,r)}function Os(e,t,n,r,i){(t<0||t>=e.length)&&(i?t=t<0?0:t>=e.length?e.length-1:t:ln.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${void 0!==r?ee(e,Ns(r)):"unknown"}`));const o=e[t]+n;return i?o>e[t+1]?e[t+1]:"string"==typeof r&&o>r.length?r.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function Js(e){return 10===e||13===e||8232===e||8233===e}function Vs(e){return e>=48&&e<=57}function Hs(e){return Vs(e)||e>=65&&e<=70||e>=97&&e<=102}function Gs(e){return e>=65&&e<=90||e>=97&&e<=122}function Ws(e){return Gs(e)||Vs(e)||95===e}function zs(e){return e>=48&&e<=55}function Ys(e,t){const n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function Ks(e,t,n,r,i){if(YE(t))return t;let o=!1;for(;;){const s=e.charCodeAt(t);switch(s){case 13:10===e.charCodeAt(t+1)&&t++;case 10:if(t++,n)return t;o=!!i;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(r)break;if(47===e.charCodeAt(t+1)){for(t+=2;t127&&js(s)){t++;continue}}return t}}var Xs=7;function Zs(e,t){if(ln.assert(t>=0),0===t||Js(e.charCodeAt(t-1))){const n=e.charCodeAt(t);if(t+Xs=0&&n127&&js(s)){d&&Js(s)&&(l=!0),n++;continue}break e}}return d&&(f=i(a,c,u,l,o,f)),f}function oa(e,t,n,r){return ia(!1,e,t,!1,n,r)}function sa(e,t,n,r){return ia(!1,e,t,!0,n,r)}function aa(e,t,n,r,i){return ia(!0,e,t,!1,n,r,i)}function ca(e,t,n,r,i){return ia(!0,e,t,!0,n,r,i)}function ua(e,t,n,r,i,o=[]){return o.push({kind:n,pos:e,end:t,hasTrailingNewLine:r}),o}function la(e,t){return aa(e,t,ua,void 0,void 0)}function da(e,t){return ca(e,t,ua,void 0,void 0)}function pa(e){const t=ta.exec(e);if(t)return t[0]}function fa(e,t){return Gs(e)||36===e||95===e||e>127&&ks(e,t)}function _a(e,t,n){return Ws(e)||36===e||1===n&&(45===e||58===e)||e>127&&function(e,t){return Ss(e,t>=2?bs:ys)}(e,t)}function ma(e,t,n){let r=ga(e,0);if(!fa(r,t))return!1;for(let i=Aa(r);iu,getStartPos:()=>u,getTokenEnd:()=>a,getTextPos:()=>a,getToken:()=>p,getTokenStart:()=>d,getTokenPos:()=>d,getTokenText:()=>h.substring(d,a),getTokenValue:()=>f,hasUnicodeEscape:()=>!!(1024&_),hasExtendedUnicodeEscape:()=>!!(8&_),hasPrecedingLineBreak:()=>!!(1&_),hasPrecedingJSDocComment:()=>!!(2&_),hasPrecedingJSDocLeadingAsterisks:()=>!!(32768&_),isIdentifier:()=>80===p||p>118,isReservedWord:()=>p>=83&&p<=118,isUnterminated:()=>!!(4&_),getCommentDirectives:()=>m,getNumericLiteralFlags:()=>25584&_,getTokenFlags:()=>_,reScanGreaterToken:function(){if(32===p){if(62===E(a))return 62===E(a+1)?61===E(a+2)?(a+=3,p=73):(a+=2,p=50):61===E(a+1)?(a+=2,p=72):(a++,p=49);if(61===E(a))return a++,p=34}return p},reScanAsteriskEqualsToken:function(){return ln.assert(67===p,"'reScanAsteriskEqualsToken' should only be called on a '*='"),a=d+1,p=64},reScanSlashToken:function(t){if(44===p||69===p){const n=d+1;a=n;let r=!1,i=!1,s=!1;for(;;){const e=x(a);if(-1===e||Js(e)){_|=4;break}if(r)r=!1;else{if(47===e&&!s)break;91===e?s=!0:92===e?r=!0:93===e?s=!1:s||40!==e||63!==x(a+1)||60!==x(a+2)||61===x(a+3)||33===x(a+3)||(i=!0)}a++}const u=a;if(4&_){a=n,r=!1;let e=0,t=!1,i=0;for(;a{!function(t,n,r){var i,s,u,p,_=!!(64&t),m=!!(96&t),g=m||!n,A=!1,y=0,v=[];function b(e){for(;;){if(v.push(p),p=void 0,k(e),p=v.pop(),124!==x(a))return;a++}}function k(t){let n=!1;for(;;){const r=a,i=x(a);switch(i){case-1:return;case 94:case 36:a++,n=!1;break;case 92:switch(x(++a)){case 98:case 66:a++,n=!1;break;default:w(),n=!0}break;case 40:if(63===x(++a))switch(x(++a)){case 61:case 33:a++,n=!g;break;case 60:const t=a;switch(x(++a)){case 61:case 33:a++,n=!1;break;default:R(!1),G(62),e<5&&S(ls.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later,t,a-t),y++,n=!0}break;default:const r=a,i=D(0);45===x(a)&&(a++,D(i),a===r+1&&S(ls.Subpattern_flags_must_be_present_when_there_is_a_minus_sign,r,a-r)),G(58),n=!0}else y++,n=!0;b(!0),G(41);break;case 123:const o=++a;I();const s=f;if(!g&&!s){n=!0;break}if(44===x(a)){a++,I();const e=f;if(s)e&&Number.parseInt(s)>Number.parseInt(e)&&(g||125===x(a))&&S(ls.Numbers_out_of_order_in_quantifier,o,a-o);else{if(!e&&125!==x(a)){S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,r,1,String.fromCharCode(i)),n=!0;break}S(ls.Incomplete_quantifier_Digit_expected,o,0)}}else if(!s){g&&S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,r,1,String.fromCharCode(i)),n=!0;break}if(125!==x(a)){if(!g){n=!0;break}S(ls._0_expected,a,0,String.fromCharCode(125)),a--}case 42:case 43:case 63:63===x(++a)&&a++,n||S(ls.There_is_nothing_available_for_repetition,r,a-r),n=!1;break;case 46:a++,n=!0;break;case 91:a++,_?O():B(),G(93),n=!0;break;case 41:if(t)return;case 93:case 125:(g||41===i)&&S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(i)),a++,n=!0;break;case 47:case 124:return;default:H(),n=!0}}}function D(t){for(;;){const n=C(a);if(-1===n||!_a(n,e))break;const r=Aa(n),i=Ps(n);void 0===i?S(ls.Unknown_regular_expression_flag,a,r):t&i?S(ls.Duplicate_regular_expression_flag,a,r):28&i?(t|=i,V(i,r)):S(ls.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern,a,r),a+=r}return t}function w(){switch(ln.assertEqual(E(a-1),92),x(a)){case 107:60===x(++a)?(a++,R(!0),G(62)):(g||r)&&S(ls.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets,a-2,2);break;case 113:if(_){a++,S(ls.q_is_only_available_inside_character_class,a-2,2);break}default:ln.assert(j()||T()||F(!0))}}function T(){ln.assertEqual(E(a-1),92);const e=x(a);if(e>=49&&e<=57){const e=a;return I(),u=re(u,{pos:e,end:a,value:+f}),!0}return!1}function F(e){ln.assertEqual(E(a-1),92);let t=x(a);switch(t){case-1:return S(ls.Undetermined_character_escape,a-1,1),"\\";case 99:if(t=x(++a),Gs(t))return a++,String.fromCharCode(31&t);if(g)S(ls.c_must_be_followed_by_an_ASCII_letter,a-2,2);else if(e)return a--,"\\";return String.fromCharCode(t);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(t);default:return a--,N(12|(m?16:0)|(e?32:0))}}function R(t){ln.assertEqual(E(a-1),60),d=a,J(C(a),e),a===d?S(ls.Expected_a_capturing_group_name):t?s=re(s,{pos:d,end:a,name:f}):(null==p?void 0:p.has(f))||v.some((e=>null==e?void 0:e.has(f)))?S(ls.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other,d,a-d):(p??(p=new Set),p.add(f),i??(i=new Set),i.add(f))}function P(e){return 93===e||-1===e||a>=c}function B(){for(ln.assertEqual(E(a-1),91),94===x(a)&&a++;;){if(P(x(a)))return;const e=a,t=M();if(45===x(a)){if(P(x(++a)))return;!t&&g&&S(ls.A_character_class_range_must_not_be_bounded_by_another_character_class,e,a-1-e);const n=a,r=M();if(!r&&g){S(ls.A_character_class_range_must_not_be_bounded_by_another_character_class,n,a-n);continue}if(!t)continue;const i=ga(t,0),o=ga(r,0);t.length===Aa(i)&&r.length===Aa(o)&&i>o&&S(ls.Range_out_of_order_in_character_class,e,a-e)}}}function O(){ln.assertEqual(E(a-1),91);let e=!1;94===x(a)&&(a++,e=!0);let t=!1,n=x(a);if(P(n))return;let r,i=a;switch(h.slice(a,a+2)){case"--":case"&&":S(ls.Expected_a_class_set_operand),A=!1;break;default:r=$()}switch(x(a)){case 45:if(45===x(a+1))return e&&A&&S(ls.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,i,a-i),t=A,q(3),void(A=!e&&t);break;case 38:if(38===x(a+1))return q(2),e&&A&&S(ls.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,i,a-i),t=A,void(A=!e&&t);S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(n));break;default:e&&A&&S(ls.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,i,a-i),t=A}for(;n=x(a),-1!==n;){switch(n){case 45:if(n=x(++a),P(n))return void(A=!e&&t);if(45===n){a++,S(ls.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),i=a-2,r=h.slice(i,a);continue}{r||S(ls.A_character_class_range_must_not_be_bounded_by_another_character_class,i,a-1-i);const n=a,o=$();if(e&&A&&S(ls.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,n,a-n),t||(t=A),!o){S(ls.A_character_class_range_must_not_be_bounded_by_another_character_class,n,a-n);break}if(!r)break;const s=ga(r,0),c=ga(o,0);r.length===Aa(s)&&o.length===Aa(c)&&s>c&&S(ls.Range_out_of_order_in_character_class,i,a-i)}break;case 38:i=a,38===x(++a)?(a++,S(ls.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),38===x(a)&&(S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(n)),a++)):S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a-1,1,String.fromCharCode(n)),r=h.slice(i,a);continue}if(P(x(a)))break;switch(i=a,h.slice(a,a+2)){case"--":case"&&":S(ls.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a,2),a+=2,r=h.slice(i,a);break;default:r=$()}}A=!e&&t}function q(e){let t=A;for(;;){let n=x(a);if(P(n))break;switch(n){case 45:45===x(++a)?(a++,3!==e&&S(ls.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2)):S(ls.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-1,1);break;case 38:38===x(++a)?(a++,2!==e&&S(ls.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),38===x(a)&&(S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(n)),a++)):S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a-1,1,String.fromCharCode(n));break;default:switch(e){case 3:S(ls._0_expected,a,0,"--");break;case 2:S(ls._0_expected,a,0,"&&")}}if(n=x(a),P(n)){S(ls.Expected_a_class_set_operand);break}$(),t&&(t=A)}A=t}function $(){switch(A=!1,x(a)){case-1:return"";case 91:return a++,O(),G(93),"";case 92:if(a++,j())return"";if(113===x(a))return 123===x(++a)?(a++,Q(),G(125),""):(S(ls.q_must_be_followed_by_string_alternatives_enclosed_in_braces,a-2,2),"q");a--;default:return L()}}function Q(){ln.assertEqual(E(a-1),123);let e=0;for(;;){switch(x(a)){case-1:return;case 125:return void(1!==e&&(A=!0));case 124:1!==e&&(A=!0),a++,o=a,e=0;break;default:L(),e++}}}function L(){const e=x(a);if(-1===e)return"";if(92===e){const e=x(++a);switch(e){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(e);default:return F(!1)}}else if(e===x(a+1))switch(e){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 S(ls.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash,a,2),a+=2,h.substring(a-2,a)}switch(e){case 47:case 40:case 41:case 91:case 93:case 123:case 125:case 45:case 124:return S(ls.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(e)),a++,String.fromCharCode(e)}return H()}function M(){if(92!==x(a))return H();{const e=x(++a);switch(e){case 98:return a++,"\b";case 45:return a++,String.fromCharCode(e);default:return j()?"":F(!1)}}}function j(){ln.assertEqual(E(a-1),92);let e=!1;const t=a-1,n=x(a);switch(n){case 100:case 68:case 115:case 83:case 119:case 87:return a++,!0;case 80:e=!0;case 112:if(123===x(++a)){const n=++a,r=U();if(61===x(a)){const e=ba.get(r);if(a===n)S(ls.Expected_a_Unicode_property_name);else if(void 0===e){S(ls.Unknown_Unicode_property_name,n,a-n);const e=Nt(r,ba.keys(),st);e&&S(ls.Did_you_mean_0,n,a-n,e)}const t=++a,i=U();if(a===t)S(ls.Expected_a_Unicode_property_value);else if(void 0!==e&&!xa[e].has(i)){S(ls.Unknown_Unicode_property_value,t,a-t);const n=Nt(i,xa[e],st);n&&S(ls.Did_you_mean_0,t,a-t,n)}}else if(a===n)S(ls.Expected_a_Unicode_property_name_or_value);else if(Ea.has(r))_?e?S(ls.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,n,a-n):A=!0:S(ls.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set,n,a-n);else if(!xa.General_Category.has(r)&&!Ca.has(r)){S(ls.Unknown_Unicode_property_name_or_value,n,a-n);const e=Nt(r,[...xa.General_Category,...Ca,...Ea],st);e&&S(ls.Did_you_mean_0,n,a-n,e)}G(125),m||S(ls.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set,t,a-t)}else{if(!g)return a--,!1;S(ls._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces,a-2,2,String.fromCharCode(n))}return!0}return!1}function U(){let e="";for(;;){const t=x(a);if(-1===t||!Ws(t))break;e+=String.fromCharCode(t),a++}return e}function H(){const e=m?Aa(C(a)):1;return a+=e,e>0?h.substring(a-e,a):""}function G(e){x(a)===e?a++:S(ls._0_expected,a,0,String.fromCharCode(e))}b(!1),l(s,(e=>{if(!(null==i?void 0:i.has(e.name))&&(S(ls.There_is_no_capturing_group_named_0_in_this_regular_expression,e.pos,e.end-e.pos,e.name),i)){const t=Nt(e.name,i,st);t&&S(ls.Did_you_mean_0,e.pos,e.end-e.pos,t)}})),l(u,(e=>{e.value>y&&(y?S(ls.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression,e.pos,e.end-e.pos,y):S(ls.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression,e.pos,e.end-e.pos))}))}(r,!0,i)}))}f=h.substring(d,a),p=14}return p},reScanTemplateToken:function(e){return a=d,p=P(!e)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return a=d,p=P(!0)},scanJsxIdentifier:function(){if(ds(p)){for(;a=c)return p=1;for(let t=E(a);a=0&&Us(E(a-1))&&!(a+1{const e=v.getText();return e.slice(0,v.getTokenFullStart())+"║"+e.slice(v.getTokenFullStart())}}),v;function b(e){return ga(h,e)}function C(e){return e>=0&&e=0&&e=65&&e<=70)e+=32;else if(!(e>=48&&e<=57||e>=97&&e<=102))break;r.push(e),a++,o=!1}}return r.length=c){n+=h.substring(r,a),_|=4,S(ls.Unterminated_string_literal);break}const i=E(a);if(i===t){n+=h.substring(r,a),a++;break}if(92!==i||e){if((10===i||13===i)&&!e){n+=h.substring(r,a),_|=4,S(ls.Unterminated_string_literal);break}a++}else n+=h.substring(r,a),n+=N(3),r=a}return n}function P(e){const t=96===E(a);let n,r=++a,i="";for(;;){if(a>=c){i+=h.substring(r,a),_|=4,S(ls.Unterminated_template_literal),n=t?15:18;break}const o=E(a);if(96===o){i+=h.substring(r,a),a++,n=t?15:18;break}if(36===o&&a+1=c)return S(ls.Unexpected_end_of_text),"";const r=E(a);switch(a++,r){case 48:if(a>=c||!Vs(E(a)))return"\0";case 49:case 50:case 51:a=55296&&i<=56319&&a+6=56320&&n<=57343)return a=t,o+String.fromCharCode(n)}return o;case 120:for(;a1114111&&(e&&S(ls.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,n,a-n),o=!0),a>=c?(e&&S(ls.Unexpected_end_of_text),o=!0):125===E(a)?a++:(e&&S(ls.Unterminated_Unicode_escape_sequence),o=!0),o?(_|=2048,h.substring(t,a)):(_|=8,va(i))}function O(){if(a+5=0&&_a(r,e)){t+=B(!0),n=a;continue}if(r=O(),!(r>=0&&_a(r,e)))break;_|=1024,t+=h.substring(n,a),t+=va(r),n=a+=6}}return t+=h.substring(n,a),t}function Q(){const e=f.length;if(e>=2&&e<=12){const e=f.charCodeAt(0);if(e>=97&&e<=122){const e=_s.get(f);if(void 0!==e)return p=e}}return p=80}function L(e){let t="",n=!1,r=!1;for(;;){const i=E(a);if(95!==i){if(n=!0,!Vs(i)||i-48>=e)break;t+=h[a],a++,r=!1}else _|=512,n?(n=!1,r=!0):S(r?ls.Multiple_consecutive_numeric_separators_are_not_permitted:ls.Numeric_separators_are_not_allowed_here,a,1),a++}return 95===E(a-1)&&S(ls.Numeric_separators_are_not_allowed_here,a-1,1),t}function M(){if(110===E(a))return f+="n",384&_&&(f=mx(f)+"n"),a++,10;{const e=128&_?parseInt(f.slice(2),2):256&_?parseInt(f.slice(2),8):+f;return f=""+e,9}}function j(){for(u=a,_=0;;){if(d=a,a>=c)return p=1;const r=b(a);if(0===a&&35===r&&na(h,a)){if(a=ra(h,a),t)continue;return p=6}switch(r){case 10:case 13:if(_|=1,t){a++;continue}return 13===r&&a+1=0&&fa(i,e))return f=B(!0)+$(),p=Q();const o=O();return o>=0&&fa(o,e)?(a+=6,_|=1024,f=String.fromCharCode(o)+$(),p=Q()):(S(ls.Invalid_character),a++,p=0);case 35:if(0!==a&&"!"===h[a+1])return S(ls.can_only_be_used_at_the_start_of_a_file,a,2),a++,p=0;const s=b(a+1);if(92===s){a++;const t=q();if(t>=0&&fa(t,e))return f="#"+B(!0)+$(),p=81;const n=O();if(n>=0&&fa(n,e))return a+=6,_|=1024,f="#"+String.fromCharCode(n)+$(),p=81;a--}return fa(s,e)?(a++,J(s,e)):(f="#",S(ls.Invalid_character,a++,Aa(r))),p=81;case 65533:return S(ls.File_appears_to_be_binary,0,0),a=c,p=8;default:const u=J(r,e);if(u)return p=u;if(Us(r)){a+=Aa(r);continue}if(Js(r)){_|=1,a+=Aa(r);continue}const l=Aa(r);return S(ls.Invalid_character,a,l),a+=l,p=0}}}function U(){switch(y){case 0:return!0;case 1:return!1}return 3!==A&&4!==A||3!==y&&xs.test(h.slice(u,a))}function J(e,t){let n=e;if(fa(n,t)){for(a+=Aa(n);a=c)return p=1;let t=E(a);if(60===t)return 47===E(a+1)?(a+=2,p=31):(a++,p=30);if(123===t)return a++,p=19;let n=0;for(;a0)break;js(t)||(n=a)}a++}return f=h.substring(u,a),-1===n?13:12}function W(){switch(u=a,E(a)){case 34:case 39:return f=R(!0),p=11;default:return j()}}function z(){if(u=d=a,_=0,a>=c)return p=1;const t=b(a);switch(a+=Aa(t),t){case 9:case 11:case 12:case 32:for(;a=0&&fa(t,e))return f=B(!0)+$(),p=Q();const n=O();return n>=0&&fa(n,e)?(a+=6,_|=1024,f=String.fromCharCode(n)+$(),p=Q()):(a++,p=0)}if(fa(t,e)){let n=t;for(;a=0),a=e,u=e,d=e,p=0,f=void 0,_=0}}function ga(e,t){return e.codePointAt(t)}function Aa(e){return e>=65536?2:-1===e?0:1}var ya=String.fromCodePoint?e=>String.fromCodePoint(e):function(e){if(ln.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);const t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)};function va(e){return ya(e)}var ba=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),Ca=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"]),Ea=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"]),xa={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};function Sa(e){return vo(e)||go(e)}function ka(e){return Z(e,rC,aC)}xa.Script_Extensions=xa.Script;var Da=new Map([[99,"lib.esnext.full.d.ts"],[10,"lib.es2023.full.d.ts"],[9,"lib.es2022.full.d.ts"],[8,"lib.es2021.full.d.ts"],[7,"lib.es2020.full.d.ts"],[6,"lib.es2019.full.d.ts"],[5,"lib.es2018.full.d.ts"],[4,"lib.es2017.full.d.ts"],[3,"lib.es2016.full.d.ts"],[2,"lib.es6.d.ts"]]);function wa(e){const t=yC(e);switch(t){case 99:case 10:case 9:case 8:case 7:case 6:case 5:case 4:case 3:case 2:return Da.get(t);default:return"lib.d.ts"}}function Ia(e){return e.start+e.length}function Ta(e){return 0===e.length}function Fa(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function Pa(e,t){return t.start>=e.start&&Ia(t)<=Ia(e)}function Na(e,t){return t.pos>=e.start&&t.end<=Ia(e)}function Ba(e,t){return t.start>=e.pos&&Ia(t)<=e.end}function Oa(e,t){return void 0!==qa(e,t)}function qa(e,t){const n=Ua(e,t);return n&&0===n.length?void 0:n}function $a(e,t){return La(e.start,e.length,t.start,t.length)}function Qa(e,t,n){return La(e.start,e.length,t,n)}function La(e,t,n,r){return n<=e+t&&n+r>=e}function Ma(e,t){return t<=Ia(e)&&t>=e.start}function ja(e,t){return Qa(t,e.pos,e.end-e.pos)}function Ua(e,t){const n=Math.max(e.start,t.start),r=Math.min(Ia(e),Ia(t));return n<=r?Ha(n,r):void 0}function Ja(e){e=e.filter((e=>e.length>0)).sort(((e,t)=>e.start!==t.start?e.start-t.start:e.length-t.length));const t=[];let n=0;for(;n=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function mc(e){const t=e;return t.length>=3&&95===t.charCodeAt(0)&&95===t.charCodeAt(1)&&95===t.charCodeAt(2)?t.substr(1):t}function hc(e){return mc(e.escapedText)}function gc(e){const t=Ts(e.escapedText);return t?et(t,Sg):void 0}function Ac(e){return e.valueDeclaration&&Wu(e.valueDeclaration)?hc(e.valueDeclaration.name):mc(e.escapedName)}function yc(e){const t=e.parent.parent;if(t){if(ld(t))return vc(t);switch(t.kind){case 243:if(t.declarationList&&t.declarationList.declarations[0])return vc(t.declarationList.declarations[0]);break;case 244:let e=t.expression;switch(226===e.kind&&64===e.operatorToken.kind&&(e=e.left),e.kind){case 211:return e.name;case 212:const t=e.argumentExpression;if(UD(t))return t}break;case 217:return vc(t.expression);case 256:if(ld(t.statement)||Jl(t.statement))return vc(t.statement)}}}function vc(e){const t=Sc(e);return t&&UD(t)?t:void 0}function bc(e,t){return!(!Ec(e)||!UD(e.name)||hc(e.name)!==hc(t))||!(!wI(e)||!J(e.declarationList.declarations,(e=>bc(e,t))))}function Cc(e){return e.name||yc(e)}function Ec(e){return!!e.name}function xc(e){switch(e.kind){case 80:return e;case 348:case 341:{const{name:t}=e;if(166===t.kind)return t.right;break}case 213:case 226:{const t=e;switch(th(t)){case 1:case 4:case 5:case 3:return uh(t.left);case 7:case 8:case 9:return t.arguments[1];default:return}}case 346:return Cc(e);case 340:return yc(e);case 277:{const{expression:t}=e;return UD(t)?t:void 0}case 212:const t=e;if(sh(t))return t.argumentExpression}return e.name}function Sc(e){if(void 0!==e)return xc(e)||(nI(e)||rI(e)||mI(e)?kc(e):void 0)}function kc(e){if(e.parent){if(LT(e.parent)||Hw(e.parent))return e.parent.name;if(lI(e.parent)&&e===e.parent.right){if(UD(e.parent.left))return e.parent.left;if(xb(e.parent.left))return uh(e.parent.left)}else if(HI(e.parent)&&UD(e.parent.name))return e.parent.name}}function Dc(e){if(Oy(e))return S(e.modifiers,cw)}function wc(e){if(wy(e,98303))return S(e.modifiers,Zu)}function Ic(e,t){if(e.name){if(UD(e.name)){const n=e.name.escapedText;return iu(e.parent,t).filter((e=>CF(e)&&UD(e.name)&&e.name.escapedText===n))}{const n=e.parent.parameters.indexOf(e);ln.assert(n>-1,"Parameters should always be in their parents' parameter list");const r=iu(e.parent,t).filter(CF);if(nkF(e)&&e.typeParameters.some((e=>e.name.escapedText===n))))}function Pc(e){return Rc(e,!1)}function Nc(e){return Rc(e,!0)}function Bc(e){return!!su(e,CF)}function Oc(e){return su(e,uF)}function qc(e){return au(e,TF)}function $c(e){return su(e,dF)}function Qc(e){return su(e,fF)}function Lc(e){return su(e,fF,!0)}function Mc(e){return su(e,_F)}function jc(e){return su(e,_F,!0)}function Uc(e){return su(e,mF)}function Jc(e){return su(e,mF,!0)}function Vc(e){return su(e,hF)}function Hc(e){return su(e,hF,!0)}function Gc(e){return su(e,gF,!0)}function Wc(e){return su(e,yF)}function zc(e){return su(e,yF,!0)}function Yc(e){return su(e,bF)}function Kc(e){return su(e,xF)}function Xc(e){return su(e,EF)}function Zc(e){return su(e,kF)}function eu(e){return su(e,FF)}function tu(e){const t=su(e,SF);if(t&&t.typeExpression&&t.typeExpression.type)return t}function nu(e){let t=su(e,SF);return!t&&aw(e)&&(t=A(Tc(e),(e=>!!e.typeExpression))),t&&t.typeExpression&&t.typeExpression.type}function ru(e){const t=Xc(e);if(t&&t.typeExpression)return t.typeExpression.type;const n=tu(e);if(n&&n.typeExpression){const e=n.typeExpression.type;if(Sw(e)){const t=A(e.members,gw);return t&&t.type}if(Cw(e)||rF(e))return e.type}}function iu(e,t){var n;if(!Bh(e))return a;let r=null==(n=e.jsDoc)?void 0:n.jsDocCache;if(void 0===r||t){const n=Oh(e,t);ln.assert(n.length<2||n[0]!==n[1]),r=R(n,(e=>sF(e)?e.tags:e)),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=r)}return r}function ou(e){return iu(e,!1)}function su(e,t,n){return A(iu(e,n),t)}function au(e,t){return ou(e).filter(t)}function cu(e,t){return ou(e).filter((e=>e.kind===t))}function uu(e){return"string"==typeof e?e:null==e?void 0:e.map((e=>321===e.kind?e.text:function(e){const t=324===e.kind?"link":325===e.kind?"linkcode":"linkplain",n=e.name?qf(e.name):"",r=e.name&&(""===e.text||e.text.startsWith("://"))?"":" ";return`{@${t} ${n}${r}${e.text}}`}(e))).join("")}function lu(e){if(cF(e)){if(AF(e.parent)){const t=Vh(e.parent);if(t&&u(t.tags))return R(t.tags,(e=>kF(e)?e.typeParameters:void 0))}return a}if(wh(e))return ln.assert(320===e.parent.kind),R(e.parent.tags,(e=>kF(e)?e.typeParameters:void 0));if(e.typeParameters)return e.typeParameters;if(wR(e)&&e.typeParameters)return e.typeParameters;if(Tm(e)){const t=gy(e);if(t.length)return t;const n=nu(e);if(n&&Cw(n)&&n.typeParameters)return n.typeParameters}return a}function du(e){return e.constraint?e.constraint:kF(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function pu(e){return 80===e.kind||81===e.kind}function fu(e){return 178===e.kind||177===e.kind}function _u(e){return zw(e)&&!!(64&e.flags)}function mu(e){return Yw(e)&&!!(64&e.flags)}function hu(e){return Kw(e)&&!!(64&e.flags)}function gu(e){const t=e.kind;return!!(64&e.flags)&&(211===t||212===t||213===t||235===t)}function Au(e){return gu(e)&&!vI(e)&&!!e.questionDotToken}function yu(e){return Au(e.parent)&&e.parent.expression===e}function vu(e){return!gu(e.parent)||Au(e.parent)||e!==e.parent.expression}function bu(e){return 226===e.kind&&61===e.operatorToken.kind}function Cu(e){return bw(e)&&UD(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments}function Eu(e){return lR(e,8)}function xu(e){return vI(e)&&!!(64&e.flags)}function Su(e){return 252===e.kind||251===e.kind}function ku(e){return 280===e.kind||279===e.kind}function Du(e){return 348===e.kind||341===e.kind}function wu(e){return e>=166}function Iu(e){return e>=0&&e<=165}function Tu(e){return Iu(e.kind)}function Fu(e){return De(e,"pos")&&De(e,"end")}function Ru(e){return 9<=e&&e<=15}function Pu(e){return Ru(e.kind)}function Nu(e){switch(e.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function Bu(e){return 15<=e&&e<=18}function Ou(e){return Bu(e.kind)}function qu(e){const t=e.kind;return 17===t||18===t}function $u(e){return _T(e)||AT(e)}function Qu(e){switch(e.kind){case 276:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 274:return e.parent.isTypeOnly;case 273:case 271:return e.isTypeOnly}return!1}function Lu(e){switch(e.kind){case 281:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 278:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 280:return e.parent.isTypeOnly}return!1}function Mu(e){return Qu(e)||Lu(e)}function ju(e){return void 0!==dc(e,Mu)}function Uu(e){return 11===e.kind||Bu(e.kind)}function Ju(e){return kD(e)||UD(e)}function Vu(e){var t;return UD(e)&&void 0!==(null==(t=e.emitNode)?void 0:t.autoGenerate)}function Hu(e){var t;return JD(e)&&void 0!==(null==(t=e.emitNode)?void 0:t.autoGenerate)}function Gu(e){const t=e.emitNode.autoGenerate.flags;return!!(32&t)&&!!(16&t)&&!!(8&t)}function Wu(e){return(lw(e)||ml(e))&&JD(e.name)}function zu(e){return zw(e)&&JD(e.name)}function Yu(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 Ku(e){return!!(31&Wy(e))}function Xu(e){return Ku(e)||126===e||164===e||129===e}function Zu(e){return Yu(e.kind)}function el(e){const t=e.kind;return 166===t||80===t}function tl(e){const t=e.kind;return 80===t||81===t||11===t||9===t||167===t}function nl(e){const t=e.kind;return 80===t||206===t||207===t}function rl(e){return!!e&&cl(e.kind)}function il(e){return!!e&&(cl(e.kind)||fw(e))}function ol(e){return e&&al(e.kind)}function sl(e){return 112===e.kind||97===e.kind}function al(e){switch(e){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function cl(e){switch(e){case 173:case 179:case 323:case 180:case 181:case 184:case 317:case 185:return!0;default:return al(e)}}function ul(e){return JT(e)||eT(e)||DI(e)&&rl(e.parent)}function ll(e){const t=e.kind;return 176===t||172===t||174===t||177===t||178===t||181===t||175===t||240===t}function dl(e){return e&&(263===e.kind||231===e.kind)}function pl(e){return e&&(177===e.kind||178===e.kind)}function fl(e){return lw(e)&&Ny(e)}function _l(e){return Tm(e)&&uS(e)?!(oh(e)&&pv(e.expression)||ah(e,!0)):e.parent&&dl(e.parent)&&lw(e)&&!Ny(e)}function ml(e){switch(e.kind){case 174:case 177:case 178:return!0;default:return!1}}function hl(e){return Zu(e)||cw(e)}function gl(e){const t=e.kind;return 180===t||179===t||171===t||173===t||181===t||177===t||178===t||354===t}function Al(e){return gl(e)||ll(e)}function yl(e){const t=e.kind;return 303===t||304===t||305===t||174===t||177===t||178===t}function vl(e){return Eb(e.kind)}function bl(e){switch(e.kind){case 184:case 185:return!0}return!1}function Cl(e){if(e){const t=e.kind;return 207===t||206===t}return!1}function El(e){const t=e.kind;return 209===t||210===t}function xl(e){const t=e.kind;return 208===t||232===t}function Sl(e){switch(e.kind){case 260:case 169:case 208:return!0}return!1}function kl(e){return HI(e)||aw(e)||Il(e)||Fl(e)}function Dl(e){return wl(e)||Tl(e)}function wl(e){switch(e.kind){case 206:case 210:return!0}return!1}function Il(e){switch(e.kind){case 208:case 303:case 304:case 305:return!0}return!1}function Tl(e){switch(e.kind){case 207:case 209:return!0}return!1}function Fl(e){switch(e.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return iv(e,!0)}function Rl(e){const t=e.kind;return 211===t||166===t||205===t}function Pl(e){const t=e.kind;return 211===t||166===t}function Nl(e){return Bl(e)||$x(e)}function Bl(e){switch(e.kind){case 213:case 214:case 215:case 170:case 286:case 285:case 289:return!0;case 226:return 104===e.operatorToken.kind;default:return!1}}function Ol(e){return 213===e.kind||214===e.kind}function ql(e){const t=e.kind;return 228===t||15===t}function $l(e){return Ql(Eu(e).kind)}function Ql(e){switch(e){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function Ll(e){return Ml(Eu(e).kind)}function Ml(e){switch(e){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return Ql(e)}}function jl(e){switch(e.kind){case 225:return!0;case 224:return 46===e.operator||47===e.operator;default:return!1}}function Ul(e){switch(e.kind){case 106:case 112:case 97:case 224:return!0;default:return Pu(e)}}function Jl(e){return function(e){switch(e){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 356:case 355:case 238:return!0;default:return Ml(e)}}(Eu(e).kind)}function Vl(e){const t=e.kind;return 216===t||234===t}function Hl(e,t){switch(e.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return t&&Hl(e.statement,t)}return!1}function Gl(e){return mT(e)||hT(e)}function Wl(e){return J(e,Gl)}function zl(e){return!(wf(e)||mT(e)||wy(e,32)||cf(e))}function Yl(e){return wf(e)||mT(e)||wy(e,32)}function Kl(e){return 249===e.kind||250===e.kind}function Xl(e){return DI(e)||Jl(e)}function Zl(e){return DI(e)}function ed(e){return GI(e)||Jl(e)}function td(e){const t=e.kind;return 268===t||267===t||80===t}function nd(e){const t=e.kind;return 268===t||267===t}function rd(e){const t=e.kind;return 80===t||267===t}function id(e){const t=e.kind;return 275===t||274===t}function od(e){return 267===e.kind||266===e.kind}function sd(e){switch(e.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 338:case 340:case 317:case 341:case 348:case 323:case 346:case 322:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 307:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function ad(e){switch(e.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 338:case 340:case 317:case 323:case 346:case 200:case 174:case 173:case 267:case 178:case 307:case 265:return!0;default:return!1}}function cd(e){return 262===e||282===e||263===e||264===e||265===e||266===e||267===e||272===e||271===e||278===e||277===e||270===e}function ud(e){return 252===e||251===e||259===e||246===e||244===e||242===e||249===e||250===e||248===e||245===e||256===e||253===e||255===e||257===e||258===e||243===e||247===e||254===e||353===e}function ld(e){return 168===e.kind?e.parent&&345!==e.parent.kind||Tm(e):219===(t=e.kind)||208===t||263===t||231===t||175===t||176===t||266===t||306===t||281===t||262===t||218===t||177===t||273===t||271===t||276===t||264===t||291===t||174===t||173===t||267===t||270===t||274===t||280===t||169===t||303===t||172===t||171===t||178===t||304===t||265===t||168===t||260===t||346===t||338===t||348===t||202===t;var t}function dd(e){return cd(e.kind)}function pd(e){return ud(e.kind)}function fd(e){const t=e.kind;return ud(t)||cd(t)||function(e){if(241!==e.kind)return!1;if(void 0!==e.parent&&(258===e.parent.kind||299===e.parent.kind))return!1;return!$_(e)}(e)}function _d(e){const t=e.kind;return ud(t)||cd(t)||241===t}function md(e){const t=e.kind;return 283===t||166===t||80===t}function hd(e){const t=e.kind;return 110===t||80===t||211===t||295===t}function gd(e){const t=e.kind;return 284===t||294===t||285===t||12===t||288===t}function Ad(e){const t=e.kind;return 291===t||293===t}function yd(e){const t=e.kind;return 11===t||294===t}function vd(e){const t=e.kind;return 286===t||285===t}function bd(e){const t=e.kind;return 286===t||285===t||289===t}function Cd(e){const t=e.kind;return 296===t||297===t}function Ed(e){return e.kind>=309&&e.kind<=351}function xd(e){return 320===e.kind||319===e.kind||321===e.kind||qd(e)||Sd(e)||aF(e)||cF(e)}function Sd(e){return e.kind>=327&&e.kind<=351}function kd(e){return 178===e.kind}function Dd(e){return 177===e.kind}function wd(e){if(!Bh(e))return!1;const{jsDoc:t}=e;return!!t&&t.length>0}function Id(e){return!!e.type}function Td(e){return!!e.initializer}function Fd(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function Rd(e){return 291===e.kind||293===e.kind||yl(e)}function Pd(e){return 183===e.kind||233===e.kind}var Nd=1073741823;function Bd(e){let t=Nd;for(const n of e){if(!n.length)continue;let e=0;for(;e0?n.parent.parameters[r-1]:void 0,o=t.text,s=i?H(da(o,Ks(o,i.end+1,!1,!0)),la(o,e.pos)):da(o,Ks(o,e.pos,!1,!0));return J(s)&&Ld(Ae(s),t)}return!!l(n&&g_(n,t),(e=>Ld(e,t)))}var jd=[],Ud="tslib",Jd=160,Vd=1e6;function Hd(e,t){const n=e.declarations;if(n)for(const e of n)if(e.kind===t)return e}function Gd(e,t){return S(e.declarations||a,(e=>e.kind===t))}function Wd(e){const t=new Map;if(e)for(const n of e)t.set(n.escapedName,n);return t}function zd(e){return!!(33554432&e.flags)}function Yd(e){return!!(1536&e.flags)&&34===e.escapedName.charCodeAt(0)}var Kd=function(){var e="";const t=t=>e+=t;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(e,n)=>t(e),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&js(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:nt,decreaseIndent:nt,clear:()=>e=""}}();function Xd(e,t){return e.configFilePath!==t.configFilePath||function(e,t){return ep(e,t,EN)}(e,t)}function Zd(e,t){return ep(e,t,SN)}function ep(e,t,n){return e!==t&&n.some((n=>!_x(HC(e,n),HC(t,n))))}function tp(e,t){for(;;){const n=t(e);if("quit"===n)return;if(void 0!==n)return n;if(JT(e))return;e=e.parent}}function np(e,t){const n=e.entries();for(const[e,r]of n){const n=t(r,e);if(n)return n}}function rp(e,t){const n=e.keys();for(const e of n){const n=t(e);if(n)return n}}function ip(e,t){e.forEach(((e,n)=>{t.set(n,e)}))}function op(e){const t=Kd.getText();try{return e(Kd),Kd.getText()}finally{Kd.clear(),Kd.writeKeyword(t)}}function sp(e){return e.end-e.pos}function ap(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function cp(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&(n=e.resolvedModule.packageId,r=t.resolvedModule.packageId,n===r||!!n&&!!r&&n.name===r.name&&n.subModuleName===r.subModuleName&&n.version===r.version&&n.peerDependencies===r.peerDependencies)&&e.alternateResult===t.alternateResult;var n,r}function up(e){return e.resolvedModule}function lp(e){return e.resolvedTypeReferenceDirective}function dp(e,t,n,r,i){var o;const s=null==(o=t.getResolvedModule(e,n,r))?void 0:o.alternateResult,a=s&&(2===bC(t.getCompilerOptions())?[ls.There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler,[s]]:[ls.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,[s,s.includes(Qq+"@types/")?`@types/${C$(i)}`:i]]),c=a?eC(void 0,a[0],...a[1]):t.typesPackageExists(i)?eC(void 0,ls.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,i,C$(i)):t.packageBundlesTypes(i)?eC(void 0,ls.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,i,n):eC(void 0,ls.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,n,C$(i));return c&&(c.repopulateInfo=()=>({moduleReference:n,mode:r,packageName:i===n?void 0:i})),c}function pp(e){const t=tx(e.fileName),n=e.packageJsonScope,r=".ts"===t?".mts":".js"===t?".mjs":void 0,i=n&&!n.contents.packageJsonContent.type?r?eC(void 0,ls.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,r,qo(n.packageDirectory,"package.json")):eC(void 0,ls.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,qo(n.packageDirectory,"package.json")):r?eC(void 0,ls.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,r):eC(void 0,ls.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module);return i.repopulateInfo=()=>!0,i}function fp({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function _p(e){return`${fp(e)}@${e.version}${e.peerDependencies??""}`}function mp(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function hp(e,t,n,r){ln.assert(e.length===t.length);for(let i=0;i=0),qs(t)[e]}function Ep(e){const t=Ap(e),n=Ms(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function xp(e,t){ln.assert(e>=0);const n=qs(t),r=e,i=t.text;if(r+1===n.length)return i.length-1;{const e=n[r];let t=n[r+1]-1;for(ln.assert(Js(i.charCodeAt(t)));e<=t&&Js(i.charCodeAt(t));)t--;return t}}function Sp(e,t,n){return!(n&&n(t)||e.identifiers.has(t))}function kp(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function Dp(e){return!kp(e)}function wp(e,t){return sw(e)?t===e.expression:fw(e)?t===e.modifiers:uw(e)?t===e.initializer:lw(e)?t===e.questionToken&&fl(e):LT(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ip(e.modifiers,t,hl):MT(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Ip(e.modifiers,t,hl):pw(e)?t===e.exclamationToken:_w(e)?t===e.typeParameters||t===e.type||Ip(e.typeParameters,t,sw):mw(e)?t===e.typeParameters||Ip(e.typeParameters,t,sw):hw(e)?t===e.typeParameters||t===e.type||Ip(e.typeParameters,t,sw):!!nT(e)&&(t===e.modifiers||Ip(e.modifiers,t,hl))}function Ip(e,t,n){return!(!e||Ye(t)||!n(t))&&C(e,t)}function Tp(e,t,n){if(void 0===t||0===t.length)return e;let r=0;for(;r[`${Ms(e,t.range.end).line}`,t]))),r=new Map;return{getUnusedExpectations:function(){return Pe(n.entries()).filter((([e,t])=>0===t.type&&!r.get(e))).map((([e,t])=>t))},markUsed:function(e){if(!n.has(`${e}`))return!1;return r.set(`${e}`,!0),!0}}}function Lp(e,t,n){if(kp(e))return e.pos;if(Ed(e)||12===e.kind)return Ks((t??Ap(e)).text,e.pos,!1,!0);if(n&&wd(e))return Lp(e.jsDoc[0],t);if(352===e.kind){t??(t=Ap(e));const r=fe(qF(e,t));if(r)return Lp(r,t,n)}return Ks((t??Ap(e)).text,e.pos,!1,!1,Pm(e))}function Mp(e,t){const n=!kp(e)&&cP(e)?y(e.modifiers,cw):void 0;return n?Ks((t||Ap(e)).text,n.end):Lp(e,t)}function jp(e,t){const n=!kp(e)&&cP(e)&&e.modifiers?Ae(e.modifiers):void 0;return n?Ks((t||Ap(e)).text,n.end):Lp(e,t)}function Up(e,t,n=!1){return Wp(e.text,t,n)}function Jp(e){return!!(hT(e)&&e.exportClause&&pT(e.exportClause)&&Gp(e.exportClause.name))}function Vp(e){return 11===e.kind?e.text:mc(e.escapedText)}function Hp(e){return 11===e.kind?_c(e.text):e.escapedText}function Gp(e){return"default"===(11===e.kind?e.text:e.escapedText)}function Wp(e,t,n=!1){if(kp(t))return"";let r=e.substring(n?t.pos:Ks(e,t.pos),t.end);return function(e){return!!dc(e,HT)}(t)&&(r=r.split(/\r\n|\n|\r/).map((e=>e.replace(/^\s*\*/,"").trimStart())).join("\n")),r}function zp(e,t=!1){return Up(Ap(e),e,t)}function Yp(e){return e.pos}function Kp(e,t){return Ee(e,t,Yp,At)}function Xp(e){const t=e.emitNode;return t&&t.flags||0}function Zp(e){const t=e.emitNode;return t&&t.internalFlags||0}var ef=dt((()=>new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Iterator:new Map(Object.entries({es2015:a})),AsyncIterator:new Map(Object.entries({es2015:a})),ArrayBuffer:new Map(Object.entries({es2024:["maxByteLength","resizable","resize","detached","transfer","transferToFixedLength"]})),Atomics:new Map(Object.entries({es2017:["add","and","compareExchange","exchange","isLockFree","load","or","store","sub","wait","notify","xor"],es2024:["waitAsync"]})),SharedArrayBuffer:new Map(Object.entries({es2017:["byteLength","slice"],es2024:["growable","maxByteLength","grow"]})),AsyncIterable:new Map(Object.entries({es2018:a})),AsyncIterableIterator:new Map(Object.entries({es2018:a})),AsyncGenerator:new Map(Object.entries({es2018:a})),AsyncGeneratorFunction:new Map(Object.entries({es2018:a})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"],es2024:["unicodeSets"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get","getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"],esnext:["fromAsync"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"],es2024:["groupBy"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),MapConstructor:new Map(Object.entries({es2024:["groupBy"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"],esnext:["union","intersection","difference","symmetricDifference","isSubsetOf","isSupersetOf","isDisjointFrom"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"],es2024:["withResolvers"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"],es2024:["isWellFormed","toWellFormed"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:a,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"],esnext:["metadata","dispose","asyncDispose"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:a})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),BigInt64Array:new Map(Object.entries({es2020:a,es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),BigUint64Array:new Map(Object.entries({es2020:a,es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Error:new Map(Object.entries({es2022:["cause"]}))})))),tf=(e=>(e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e))(tf||{});function nf(e,t,n){if(t&&function(e,t){if(eA(e)||!e.parent||4&t&&e.isUnterminated)return!1;if(xD(e)){if(26656&e.numericLiteralFlags)return!1;if(512&e.numericLiteralFlags)return!!(8&t)}return!SD(e)}(e,n))return Up(t,e);switch(e.kind){case 11:{const t=2&n?wA:1&n||16777216&Xp(e)?bA:EA;return e.singleQuote?"'"+t(e.text,39)+"'":'"'+t(e.text,34)+'"'}case 15:case 16:case 17:case 18:{const t=1&n||16777216&Xp(e)?bA:EA,r=e.rawText??pA(t(e.text,96));switch(e.kind){case 15:return"`"+r+"`";case 16:return"`"+r+"${";case 17:return"}"+r+"${";case 18:return"}"+r+"`"}break}case 9:case 10:return e.text;case 14:return 4&n&&e.isUnterminated?e.text+(92===e.text.charCodeAt(e.text.length-1)?" /":"/"):e.text}return ln.fail(`Literal kind '${e.kind}' not accounted for.`)}function rf(e){return Xe(e)?`"${bA(e)}"`:""+e}function of(e){return To(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function sf(e){return!!(7&sc(e))||af(e)}function af(e){const t=Xg(e);return 260===t.kind&&299===t.parent.kind}function cf(e){return ZI(e)&&(11===e.name.kind||ff(e))}function uf(e){return ZI(e)&&11===e.name.kind}function lf(e){return ZI(e)&&kD(e.name)}function df(e){return function(e){return!!e&&267===e.kind&&!e.body}(e.valueDeclaration)}function pf(e){return 307===e.kind||267===e.kind||il(e)}function ff(e){return!!(2048&e.flags)}function _f(e){return cf(e)&&mf(e)}function mf(e){switch(e.parent.kind){case 307:return UP(e.parent);case 268:return cf(e.parent.parent)&&JT(e.parent.parent.parent)&&!UP(e.parent.parent.parent)}return!1}function hf(e){var t;return null==(t=e.declarations)?void 0:t.find((e=>!(_f(e)||ZI(e)&&ff(e))))}function gf(e,t){return UP(e)||(1===(n=vC(t))||100===n||199===n)&&!!e.commonJsModuleIndicator;var n}function Af(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!e.isDeclarationFile&&(!!LC(t,"alwaysStrict")||(!!iR(e.statements)||!(!UP(e)&&!EC(t))))}function yf(e){return!!(33554432&e.flags)||wy(e,128)}function vf(e,t){switch(e.kind){case 307:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!il(t)}return!1}function bf(e){switch(ln.type(e),e.kind){case 338:case 346:case 323:return!0;default:return Cf(e)}}function Cf(e){switch(ln.type(e),e.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 317:case 263:case 231:case 264:case 265:case 345:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function Ef(e){switch(e.kind){case 272:case 271:return!0;default:return!1}}function xf(e){return Ef(e)||qm(e)}function Sf(e){return Ef(e)||Lm(e)}function kf(e){switch(e.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function Df(e){return wf(e)||ZI(e)||Mw(e)||u_(e)}function wf(e){return Ef(e)||hT(e)}function If(e){return dc(e.parent,(e=>!!(1&J$(e))))}function Tf(e){return dc(e.parent,(e=>vf(e,e.parent)))}function Ff(e,t){let n=Tf(e);for(;n;)t(n),n=Tf(n)}function Rf(e){return e&&0!==sp(e)?zp(e):"(Missing)"}function Pf(e){return e.declaration?Rf(e.declaration.parameters[0].name):void 0}function Nf(e){return 167===e.kind&&!Og(e.expression)}function Bf(e){var t;switch(e.kind){case 80:case 81:return(null==(t=e.emitNode)?void 0:t.autoGenerate)?void 0:e.escapedText;case 11:case 9:case 10:case 15:return _c(e.text);case 167:return Og(e.expression)?_c(e.expression.text):void 0;case 295:return iS(e);default:return ln.assertNever(e)}}function Of(e){return ln.checkDefined(Bf(e))}function qf(e){switch(e.kind){case 110:return"this";case 81:case 80:return 0===sp(e)?hc(e):zp(e);case 166:return qf(e.left)+"."+qf(e.right);case 211:return UD(e.name)||JD(e.name)?qf(e.expression)+"."+qf(e.name):ln.assertNever(e.name);case 311:return qf(e.left)+"#"+qf(e.right);case 295:return qf(e.namespace)+":"+qf(e.name);default:return ln.assertNever(e)}}function $f(e,t,...n){return Lf(Ap(e),e,t,...n)}function Qf(e,t,n,...r){const i=Ks(e.text,t.pos);return Yb(e,i,t.end-i,n,...r)}function Lf(e,t,n,...r){const i=Kf(e,t);return Yb(e,i.start,i.length,n,...r)}function Mf(e,t,n,r){const i=Kf(e,t);return Jf(e,i.start,i.length,n,r)}function jf(e,t,n,r){const i=Ks(e.text,t.pos);return Jf(e,i,t.end-i,n,r)}function Uf(e,t,n){ln.assertGreaterThanOrEqual(t,0),ln.assertGreaterThanOrEqual(n,0),ln.assertLessThanOrEqual(t,e.length),ln.assertLessThanOrEqual(t+n,e.length)}function Jf(e,t,n,r,i){return Uf(e.text,t,n),{file:e,start:t,length:n,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:i,canonicalHead:r.canonicalHead}}function Vf(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function Hf(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function Gf(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function Wf(e,...t){return{code:e.code,messageText:Kb(e,...t)}}function zf(e,t){const n=ha(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);n.scan();return Ha(n.getTokenStart(),n.getTokenEnd())}function Yf(e,t){const n=ha(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function Kf(e,t){let n=t;switch(t.kind){case 307:{const t=Ks(e.text,0,!1);return t===e.text.length?Va(0,0):zf(e,t)}case 260:case 208:case 263:case 231:case 264:case 267:case 266:case 306:case 262:case 218:case 174:case 177:case 178:case 265:case 172:case 171:case 274:n=t.name;break;case 219:return function(e,t){const n=Ks(e.text,t.pos);if(t.body&&241===t.body.kind){const{line:r}=Ms(e,t.body.pos),{line:i}=Ms(e,t.body.end);if(r0?t.statements[0].pos:t.end);case 253:case 229:return zf(e,Ks(e.text,t.pos));case 238:return zf(e,Ks(e.text,t.expression.end));case 350:return zf(e,Ks(e.text,t.tagName.pos));case 176:{const n=t,r=Ks(e.text,n.pos),i=ha(e.languageVersion,!0,e.languageVariant,e.text,void 0,r);let o=i.scan();for(;137!==o&&1!==o;)o=i.scan();return Ha(r,i.getTokenEnd())}}if(void 0===n)return zf(e,t.pos);ln.assert(!sF(n));const r=kp(n),i=r||DD(t)?n.pos:Ks(e.text,n.pos);return r?(ln.assert(i===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),ln.assert(i===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(ln.assert(i>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),ln.assert(i<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Ha(i,n.end)}function Xf(e){return 307===e.kind&&!Zf(e)}function Zf(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)}function e_(e){return 6===e.scriptKind}function t_(e){return!!(4096&ic(e))}function n_(e){return!(!(8&ic(e))||Za(e,e.parent))}function r_(e){return 6==(7&sc(e))}function i_(e){return 4==(7&sc(e))}function o_(e){return 2==(7&sc(e))}function s_(e){const t=7&sc(e);return 2===t||4===t||6===t}function a_(e){return 1==(7&sc(e))}function c_(e){return 213===e.kind&&108===e.expression.kind}function u_(e){return 213===e.kind&&102===e.expression.kind}function l_(e){return bI(e)&&102===e.keywordToken&&"meta"===e.name.escapedText}function d_(e){return Mw(e)&&Lw(e.argument)&&kD(e.argument.literal)}function p_(e){return 244===e.kind&&11===e.expression.kind}function f_(e){return!!(2097152&Xp(e))}function __(e){return f_(e)&&WI(e)}function m_(e){return UD(e.name)&&!e.initializer}function h_(e){return f_(e)&&wI(e)&&g(e.declarationList.declarations,m_)}function g_(e,t){return 12!==e.kind?la(t.text,e.pos):void 0}function A_(e,t){return S(169===e.kind||168===e.kind||218===e.kind||219===e.kind||217===e.kind||260===e.kind||281===e.kind?H(da(t,e.pos),la(t,e.pos)):la(t,e.pos),(n=>n.end<=e.end&&42===t.charCodeAt(n.pos+1)&&42===t.charCodeAt(n.pos+2)&&47!==t.charCodeAt(n.pos+3)))}var y_=/^\/\/\/\s*/,v_=/^\/\/\/\s*/,b_=/^\/\/\/\s*/,C_=/^\/\/\/\s*/,E_=/^\/\/\/\s*/,x_=/^\/\/\/\s*/;function S_(e){if(182<=e.kind&&e.kind<=205)return!0;switch(e.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return 222!==e.parent.kind;case 233:return k_(e);case 168:return 200===e.parent.kind||195===e.parent.kind;case 80:(166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e)&&(e=e.parent),ln.assert(80===e.kind||166===e.kind||211===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:{const{parent:t}=e;if(186===t.kind)return!1;if(205===t.kind)return!t.isTypeOf;if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 233:return k_(t);case 168:case 345:return e===t.constraint;case 172:case 171:case 169:case 260:case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:case 179:case 180:case 181:case 216:return e===t.type;case 213:case 214:case 215:return C(t.typeArguments,e)}}}return!1}function k_(e){return TF(e.parent)||uF(e.parent)||$T(e.parent)&&!sv(e)}function D_(e,t){return function e(n){switch(n.kind){case 253:return t(n);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return OP(n,e)}}(e)}function w_(e,t){return function e(n){switch(n.kind){case 229:t(n);const r=n.expression;return void(r&&e(r));case 266:case 264:case 267:case 265:return;default:if(rl(n)){if(n.name&&167===n.name.kind)return void e(n.name.expression)}else S_(n)||OP(n,e)}}(e)}function I_(e){return e&&188===e.kind?e.elementType:e&&183===e.kind?ye(e.typeArguments):void 0}function T_(e){switch(e.kind){case 264:case 263:case 231:case 187:return e.members;case 210:return e.properties}}function F_(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function R_(e){return 261===e.parent.kind&&243===e.parent.parent.kind}function P_(e){return!!Tm(e)&&(Ww(e.parent)&&lI(e.parent.parent)&&2===th(e.parent.parent)||N_(e.parent))}function N_(e){return!!Tm(e)&&(lI(e)&&1===th(e))}function B_(e){return(HI(e)?o_(e)&&UD(e.name)&&R_(e):lw(e)?By(e)&&Ty(e):uw(e)&&By(e))||N_(e)}function O_(e){switch(e.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function q_(e,t){for(;;){if(t&&t(e),256!==e.statement.kind)return e.statement;e=e.statement}}function $_(e){return e&&241===e.kind&&rl(e.parent)}function Q_(e){return e&&174===e.kind&&210===e.parent.kind}function L_(e){return!(174!==e.kind&&177!==e.kind&&178!==e.kind||210!==e.parent.kind&&231!==e.parent.kind)}function M_(e){return e&&1===e.kind}function j_(e){return e&&0===e.kind}function U_(e,t,n,r){return l(null==e?void 0:e.properties,(e=>{if(!LT(e))return;const i=Bf(e.name);return t===i||r&&r===i?n(e):void 0}))}function J_(e,t,n){return U_(e,t,(e=>Gw(e.initializer)?A(e.initializer.elements,(e=>kD(e)&&e.text===n)):void 0))}function V_(e){if(e&&e.statements.length){return et(e.statements[0].expression,Ww)}}function H_(e,t,n){return G_(e,t,(e=>Gw(e.initializer)?A(e.initializer.elements,(e=>kD(e)&&e.text===n)):void 0))}function G_(e,t,n){return U_(V_(e),t,n)}function W_(e){return dc(e.parent,rl)}function z_(e){return dc(e.parent,ol)}function Y_(e){return dc(e.parent,dl)}function K_(e){return dc(e.parent,(e=>dl(e)||rl(e)?"quit":fw(e)))}function X_(e){return dc(e.parent,il)}function Z_(e){const t=dc(e.parent,(e=>dl(e)?"quit":cw(e)));return t&&dl(t.parent)?Y_(t.parent):Y_(t??e)}function em(e,t,n){for(ln.assert(307!==e.kind);;){if(!(e=e.parent))return ln.fail();switch(e.kind){case 167:if(n&&dl(e.parent.parent))return e;e=e.parent.parent;break;case 170:169===e.parent.kind&&ll(e.parent.parent)?e=e.parent.parent:ll(e.parent)&&(e=e.parent);break;case 219:if(!t)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 307:return e}}}function tm(e){switch(e.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(e.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function nm(e){UD(e)&&(zI(e.parent)||WI(e.parent))&&e.parent.name===e&&(e=e.parent);return JT(em(e,!0,!1))}function rm(e){const t=em(e,!1,!1);if(t)switch(t.kind){case 176:case 262:case 218:return t}}function im(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 167:e=e.parent;break;case 262:case 218:case 219:if(!t)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return e;case 170:169===e.parent.kind&&ll(e.parent.parent)?e=e.parent.parent:ll(e.parent)&&(e=e.parent)}}}function om(e){if(218===e.kind||219===e.kind){let t=e,n=e.parent;for(;217===n.kind;)t=n,n=n.parent;if(213===n.kind&&n.expression===t)return n}}function sm(e){const t=e.kind;return(211===t||212===t)&&108===e.expression.kind}function am(e){const t=e.kind;return(211===t||212===t)&&110===e.expression.kind}function cm(e){var t;return!!e&&HI(e)&&110===(null==(t=e.initializer)?void 0:t.kind)}function um(e){return!!e&&(MT(e)||LT(e))&&lI(e.parent.parent)&&64===e.parent.parent.operatorToken.kind&&110===e.parent.parent.right.kind}function lm(e){switch(e.kind){case 183:return e.typeName;case 233:return av(e.expression)?e.expression:void 0;case 80:case 166:return e}}function dm(e){switch(e.kind){case 215:return e.tag;case 286:case 285:return e.tagName;case 226:return e.right;case 289:return e;default:return e.expression}}function pm(e,t,n,r){if(e&&Ec(t)&&JD(t.name))return!1;switch(t.kind){case 263:return!0;case 231:return!e;case 172:return void 0!==n&&(e?zI(n):dl(n)&&!Ry(t)&&!Py(t));case 177:case 178:case 174:return void 0!==t.body&&void 0!==n&&(e?zI(n):dl(n));case 169:return!!e&&(void 0!==n&&void 0!==n.body&&(176===n.kind||174===n.kind||178===n.kind)&&ay(n)!==t&&void 0!==r&&263===r.kind)}return!1}function fm(e,t,n,r){return Oy(t)&&pm(e,t,n,r)}function _m(e,t,n,r){return fm(e,t,n,r)||mm(e,t,n)}function mm(e,t,n){switch(t.kind){case 263:return J(t.members,(r=>_m(e,r,t,n)));case 231:return!e&&J(t.members,(r=>_m(e,r,t,n)));case 174:case 178:case 176:return J(t.parameters,(r=>fm(e,r,t,n)));default:return!1}}function hm(e,t){if(fm(e,t))return!0;const n=iy(t);return!!n&&mm(e,n,t)}function gm(e,t,n){let r;if(pl(t)){const{firstAccessor:e,secondAccessor:i,setAccessor:o}=fy(n.members,t),s=Oy(e)?e:i&&Oy(i)?i:void 0;if(!s||t!==s)return!1;r=null==o?void 0:o.parameters}else pw(t)&&(r=t.parameters);if(fm(e,t,n))return!0;if(r)for(const i of r)if(!cy(i)&&fm(e,i,t,n))return!0;return!1}function Am(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return Am(e.textSourceNode);case 15:return""===e.text}return!1}return""===e.text}function ym(e){const{parent:t}=e;return(286===t.kind||285===t.kind||287===t.kind)&&t.tagName===e}function vm(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!$T(e.parent)&&!uF(e.parent);case 166:for(;166===e.parent.kind;)e=e.parent;return 186===e.parent.kind||qd(e.parent)||GT(e.parent)||WT(e.parent)||ym(e);case 311:for(;WT(e.parent);)e=e.parent;return 186===e.parent.kind||qd(e.parent)||GT(e.parent)||WT(e.parent)||ym(e);case 81:return lI(e.parent)&&e.parent.left===e&&103===e.parent.operatorToken.kind;case 80:if(186===e.parent.kind||qd(e.parent)||GT(e.parent)||WT(e.parent)||ym(e))return!0;case 9:case 10:case 11:case 15:case 110:return bm(e);default:return!1}}function bm(e){const{parent:t}=e;switch(t.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return t.initializer===e;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return t.expression===e;case 248:const n=t;return n.initializer===e&&261!==n.initializer.kind||n.condition===e||n.incrementor===e;case 249:case 250:const r=t;return r.initializer===e&&261!==r.initializer.kind||r.expression===e;case 216:case 234:case 239:case 167:case 238:return e===t.expression;case 170:case 294:case 293:case 305:return!0;case 233:return t.expression===e&&!S_(t);case 304:return t.objectAssignmentInitializer===e;default:return vm(t)}}function Cm(e){for(;166===e.kind||80===e.kind;)e=e.parent;return 186===e.kind}function Em(e){return pT(e)&&!!e.parent.moduleSpecifier}function xm(e){return 271===e.kind&&283===e.moduleReference.kind}function Sm(e){return ln.assert(xm(e)),e.moduleReference.expression}function km(e){return qm(e)&&Db(e.initializer).arguments[0]}function Dm(e){return 271===e.kind&&283!==e.moduleReference.kind}function wm(e){return 307===(null==e?void 0:e.kind)}function Im(e){return Tm(e)}function Tm(e){return!!e&&!!(524288&e.flags)}function Fm(e){return!!e&&!!(134217728&e.flags)}function Rm(e){return!e_(e)}function Pm(e){return!!e&&!!(16777216&e.flags)}function Nm(e){return bw(e)&&UD(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(154===e.typeArguments[0].kind||150===e.typeArguments[0].kind)}function Bm(e,t){if(213!==e.kind)return!1;const{expression:n,arguments:r}=e;if(80!==n.kind||"require"!==n.escapedText)return!1;if(1!==r.length)return!1;const i=r[0];return!t||Od(i)}function Om(e){return Qm(e,!1)}function qm(e){return Qm(e,!0)}function $m(e){return Hw(e)&&qm(e.parent.parent)}function Qm(e,t){return HI(e)&&!!e.initializer&&Bm(t?Db(e.initializer):e.initializer,!0)}function Lm(e){return wI(e)&&e.declarationList.declarations.length>0&&g(e.declarationList.declarations,(e=>Om(e)))}function Mm(e){return 39===e||34===e}function jm(e,t){return 34===Up(t,e).charCodeAt(0)}function Um(e){return lI(e)||xb(e)||UD(e)||Kw(e)}function Jm(e){return Tm(e)&&e.initializer&&lI(e.initializer)&&(57===e.initializer.operatorToken.kind||61===e.initializer.operatorToken.kind)&&e.name&&av(e.name)&&Ym(e.name,e.initializer.left)?e.initializer.right:e.initializer}function Vm(e){const t=Jm(e);return t&&Gm(t,pv(e.name))}function Hm(e){if(e&&e.parent&&lI(e.parent)&&64===e.parent.operatorToken.kind){const t=pv(e.parent.left);return Gm(e.parent.right,t)||function(e,t,n){const r=lI(t)&&(57===t.operatorToken.kind||61===t.operatorToken.kind)&&Gm(t.right,n);if(r&&Ym(e,t.left))return r}(e.parent.left,e.parent.right,t)}if(e&&Kw(e)&&nh(e)){const t=function(e,t){return l(e.properties,(e=>LT(e)&&UD(e.name)&&"value"===e.name.escapedText&&e.initializer&&Gm(e.initializer,t)))}(e.arguments[2],"prototype"===e.arguments[1].text);if(t)return t}}function Gm(e,t){if(Kw(e)){const t=sg(e.expression);return 218===t.kind||219===t.kind?e:void 0}return 218===e.kind||231===e.kind||219===e.kind||Ww(e)&&(0===e.properties.length||t)?e:void 0}function Wm(e){const t=HI(e.parent)?e.parent.name:lI(e.parent)&&64===e.parent.operatorToken.kind?e.parent.left:void 0;return t&&Gm(e.right,pv(t))&&av(t)&&Ym(t,e.left)}function zm(e){if(lI(e.parent)){const t=57!==e.parent.operatorToken.kind&&61!==e.parent.operatorToken.kind||!lI(e.parent.parent)?e.parent:e.parent.parent;if(64===t.operatorToken.kind&&UD(t.left))return t.left}else if(HI(e.parent))return e.parent.name}function Ym(e,t){return Mg(e)&&Mg(t)?jg(e)===jg(t):pu(e)&&rh(t)&&(110===t.expression.kind||UD(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))?Ym(e,ch(t)):!(!rh(e)||!rh(t))&&(lh(e)===lh(t)&&Ym(e.expression,t.expression))}function Km(e){for(;iv(e,!0);)e=e.right;return e}function Xm(e){return UD(e)&&"exports"===e.escapedText}function Zm(e){return UD(e)&&"module"===e.escapedText}function eh(e){return(zw(e)||ih(e))&&Zm(e.expression)&&"exports"===lh(e)}function th(e){const t=function(e){if(Kw(e)){if(!nh(e))return 0;const t=e.arguments[0];return Xm(t)||eh(t)?8:oh(t)&&"prototype"===lh(t)?9:7}if(64!==e.operatorToken.kind||!xb(e.left)||function(e){return sI(e)&&xD(e.expression)&&"0"===e.expression.text}(Km(e)))return 0;if(ah(e.left.expression,!0)&&"prototype"===lh(e.left)&&Ww(ph(e)))return 6;return dh(e.left)}(e);return 5===t||Tm(e)?t:0}function nh(e){return 3===u(e.arguments)&&zw(e.expression)&&UD(e.expression.expression)&&"Object"===hc(e.expression.expression)&&"defineProperty"===hc(e.expression.name)&&Og(e.arguments[1])&&ah(e.arguments[0],!0)}function rh(e){return zw(e)||ih(e)}function ih(e){return Yw(e)&&Og(e.argumentExpression)}function oh(e,t){return zw(e)&&(!t&&110===e.expression.kind||UD(e.name)&&ah(e.expression,!0))||sh(e,t)}function sh(e,t){return ih(e)&&(!t&&110===e.expression.kind||av(e.expression)||oh(e.expression,!0))}function ah(e,t){return av(e)||oh(e,t)}function ch(e){return zw(e)?e.name:e.argumentExpression}function uh(e){if(zw(e))return e.name;const t=sg(e.argumentExpression);return xD(t)||Od(t)?t:e}function lh(e){const t=uh(e);if(t){if(UD(t))return t.escapedText;if(Od(t)||xD(t))return _c(t.text)}}function dh(e){if(110===e.expression.kind)return 4;if(eh(e))return 2;if(ah(e.expression,!0)){if(pv(e.expression))return 3;let t=e;for(;!UD(t.expression);)t=t.expression;const n=t.expression;if(("exports"===n.escapedText||"module"===n.escapedText&&"exports"===lh(t))&&oh(e))return 1;if(ah(e,!0)||Yw(e)&&Qg(e))return 5}return 0}function ph(e){for(;lI(e.right);)e=e.right;return e.right}function fh(e){return lI(e)&&3===th(e)}function _h(e){return Tm(e)&&e.parent&&244===e.parent.kind&&(!Yw(e)||ih(e))&&!!tu(e.parent)}function mh(e,t){const{valueDeclaration:n}=e;(!n||(!(33554432&t.flags)||Tm(t)||33554432&n.flags)&&Um(n)&&!Um(t)||n.kind!==t.kind&&function(e){return ZI(e)||UD(e)}(n))&&(e.valueDeclaration=t)}function hh(e){if(!e||!e.valueDeclaration)return!1;const t=e.valueDeclaration;return 262===t.kind||HI(t)&&t.initializer&&rl(t.initializer)}function gh(e){switch(null==e?void 0:e.kind){case 260:case 208:case 272:case 278:case 271:case 273:case 280:case 274:case 281:case 276:case 205:return!0}return!1}function Ah(e){var t,n;switch(e.kind){case 260:case 208:return null==(t=dc(e.initializer,(e=>Bm(e,!0))))?void 0:t.arguments[0];case 272:case 278:case 351:return et(e.moduleSpecifier,Od);case 271:return et(null==(n=et(e.moduleReference,ET))?void 0:n.expression,Od);case 273:case 280:return et(e.parent.moduleSpecifier,Od);case 274:case 281:return et(e.parent.parent.moduleSpecifier,Od);case 276:return et(e.parent.parent.parent.moduleSpecifier,Od);case 205:return d_(e)?e.argument.literal:void 0;default:ln.assertNever(e)}}function yh(e){return vh(e)||ln.failBadSyntaxKind(e.parent)}function vh(e){switch(e.parent.kind){case 272:case 278:case 351:return e.parent;case 283:return e.parent.parent;case 213:return u_(e.parent)||Bm(e.parent,!1)?e.parent:void 0;case 201:if(!kD(e))break;return et(e.parent.parent,Mw);default:return}}function bh(e,t){return!!t.rewriteRelativeImportExtensions&&vo(e)&&!KP(e)&&BE(e)}function Ch(e){switch(e.kind){case 272:case 278:case 351:return e.moduleSpecifier;case 271:return 283===e.moduleReference.kind?e.moduleReference.expression:void 0;case 205:return d_(e)?e.argument.literal:void 0;case 213:return e.arguments[0];case 267:return 11===e.name.kind?e.name:void 0;default:return ln.assertNever(e)}}function Eh(e){switch(e.kind){case 272:return e.importClause&&et(e.importClause.namedBindings,dT);case 271:return e;case 278:return e.exportClause&&et(e.exportClause,pT);default:return ln.assertNever(e)}}function xh(e){return!(272!==e.kind&&351!==e.kind||!e.importClause||!e.importClause.name)}function Sh(e,t){if(e.name){const n=t(e);if(n)return n}if(e.namedBindings){const n=dT(e.namedBindings)?t(e.namedBindings):l(e.namedBindings.elements,t);if(n)return n}}function kh(e){switch(e.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return void 0!==e.questionToken}return!1}function Dh(e){const t=rF(e)?fe(e.parameters):void 0,n=et(t&&t.name,UD);return!!n&&"new"===n.escapedText}function wh(e){return 346===e.kind||338===e.kind||340===e.kind}function Ih(e){return wh(e)||KI(e)}function Th(e){return TI(e)&&lI(e.expression)&&0!==th(e.expression)&&lI(e.expression.right)&&(57===e.expression.right.operatorToken.kind||61===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Fh(e){switch(e.kind){case 243:const t=Rh(e);return t&&t.initializer;case 172:case 303:return e.initializer}}function Rh(e){return wI(e)?fe(e.declarationList.declarations):void 0}function Ph(e){return ZI(e)&&e.body&&267===e.body.kind?e.body:void 0}function Nh(e){if(e.kind>=243&&e.kind<=259)return!0;switch(e.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function Bh(e){switch(e.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 317:case 323:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function Oh(e,t){let n;F_(e)&&Td(e)&&wd(e.initializer)&&(n=se(n,qh(e,e.initializer.jsDoc)));let r=e;for(;r&&r.parent;){if(wd(r)&&(n=se(n,qh(e,r.jsDoc))),169===r.kind){n=se(n,(t?Fc:Tc)(r));break}if(168===r.kind){n=se(n,(t?Nc:Pc)(r));break}r=$h(r)}return n||a}function qh(e,t){const n=Ae(t);return R(t,(t=>{if(t===n){const n=S(t.tags,(t=>function(e,t){return!((SF(t)||FF(t))&&t.parent&&sF(t.parent)&&tI(t.parent.parent)&&t.parent.parent!==e)}(e,t)));return t.tags===n?[t]:n}return S(t.tags,AF)}))}function $h(e){const t=e.parent;return 303===t.kind||277===t.kind||172===t.kind||244===t.kind&&211===e.kind||253===t.kind||Ph(t)||iv(e)?t:t.parent&&(Rh(t.parent)===e||iv(t))?t.parent:t.parent&&t.parent.parent&&(Rh(t.parent.parent)||Fh(t.parent.parent)===e||Th(t.parent.parent))?t.parent.parent:void 0}function Qh(e){if(e.symbol)return e.symbol;if(!UD(e.name))return;const t=e.name.escapedText,n=jh(e);if(!n)return;const r=A(n.parameters,(e=>80===e.name.kind&&e.name.escapedText===t));return r&&r.symbol}function Lh(e){if(sF(e.parent)&&e.parent.tags){const t=A(e.parent.tags,wh);if(t)return t}return jh(e)}function Mh(e){return au(e,AF)}function jh(e){const t=Uh(e);if(t)return uw(t)&&t.type&&rl(t.type)?t.type:rl(t)?t:void 0}function Uh(e){const t=Jh(e);if(t)return Th(t)||function(e){return TI(e)&&lI(e.expression)&&64===e.expression.operatorToken.kind?Km(e.expression):void 0}(t)||Fh(t)||Rh(t)||Ph(t)||t}function Jh(e){const t=Vh(e);if(!t)return;const n=t.parent;return n&&n.jsDoc&&t===ge(n.jsDoc)?n:void 0}function Vh(e){return dc(e.parent,sF)}function Hh(e){const t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&A(n,(e=>e.name.escapedText===t))}function Gh(e){return!!e.typeArguments}var Wh=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(Wh||{});function zh(e){let t=e.parent;for(;;){switch(t.kind){case 226:const n=t;return tv(n.operatorToken.kind)&&n.left===e?n:void 0;case 224:case 225:const r=t,i=r.operator;return 46===i||47===i?r:void 0;case 249:case 250:const o=t;return o.initializer===e?o:void 0;case 217:case 209:case 230:case 235:e=t;break;case 305:e=t.parent;break;case 304:if(t.name!==e)return;e=t.parent;break;case 303:if(t.name===e)return;e=t.parent;break;default:return}t=e.parent}}function Yh(e){const t=zh(e);if(!t)return 0;switch(t.kind){case 226:const e=t.operatorToken.kind;return 64===e||Ky(e)?1:2;case 224:case 225:return 2;case 249:case 250:return 1}}function Kh(e){return!!zh(e)}function Xh(e){const t=zh(e);return!!t&&iv(t,!0)&&function(e){const t=sg(e.right);return 226===t.kind&&OR(t.operatorToken.kind)}(t)}function Zh(e){switch(e.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function eg(e){return nI(e)||rI(e)||ml(e)||WI(e)||_w(e)}function tg(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function ng(e){return tg(e,196)}function rg(e){return tg(e,217)}function ig(e){let t;for(;e&&196===e.kind;)t=e,e=e.parent;return[t,e]}function og(e){for(;Bw(e);)e=e.type;return e}function sg(e,t){return lR(e,t?-2147483647:1)}function ag(e){return(211===e.kind||212===e.kind)&&((e=rg(e.parent))&&220===e.kind)}function cg(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function ug(e){return!JT(e)&&!Cl(e)&&ld(e.parent)&&e.parent.name===e}function lg(e){const t=e.parent;switch(e.kind){case 11:case 15:case 9:if(ow(t))return t.parent;case 80:if(ld(t))return t.name===e?t:void 0;if(iw(t)){const e=t.parent;return CF(e)&&e.name===t?e:void 0}{const n=t.parent;return lI(n)&&0!==th(n)&&(n.left.symbol||n.symbol)&&Sc(n)===e?n:void 0}case 81:return ld(t)&&t.name===e?t:void 0;default:return}}function dg(e){return Og(e)&&167===e.parent.kind&&ld(e.parent.parent)}function pg(e){const t=e.parent;switch(t.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return t.name===e;case 166:return t.right===e;case 208:case 276:return t.propertyName===e;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function fg(e){switch(e.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return e.parent;case 166:do{e=e.parent}while(166===e.parent.kind);return fg(e)}}function _g(e){return av(e)||mI(e)}function mg(e){return _g(hg(e))}function hg(e){return mT(e)?e.expression:e.right}function gg(e){return 304===e.kind?e.name:303===e.kind?e.initializer:e.parent.right}function Ag(e){const t=yg(e);if(t&&Tm(e)){const t=Oc(e);if(t)return t.class}return t}function yg(e){const t=Eg(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function vg(e){if(Tm(e))return qc(e).map((e=>e.class));{const t=Eg(e.heritageClauses,119);return null==t?void 0:t.types}}function bg(e){return YI(e)?Cg(e)||a:dl(e)&&H(nn(Ag(e)),vg(e))||a}function Cg(e){const t=Eg(e.heritageClauses,96);return t?t.types:void 0}function Eg(e,t){if(e)for(const n of e)if(n.token===t)return n}function xg(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function Sg(e){return 83<=e&&e<=165}function kg(e){return 19<=e&&e<=79}function Dg(e){return Sg(e)||kg(e)}function wg(e){return 128<=e&&e<=165}function Ig(e){return Sg(e)&&!wg(e)}function Tg(e){const t=Ts(e);return void 0!==t&&Ig(t)}function Fg(e){const t=gc(e);return!!t&&!wg(t)}function Rg(e){return 2<=e&&e<=7}var Pg=(e=>(e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e))(Pg||{});function Ng(e){if(!e)return 4;let t=0;switch(e.kind){case 262:case 218:case 174:e.asteriskToken&&(t|=1);case 219:wy(e,1024)&&(t|=2)}return e.body||(t|=4),t}function Bg(e){switch(e.kind){case 262:case 218:case 219:case 174:return void 0!==e.body&&void 0===e.asteriskToken&&wy(e,1024)}return!1}function Og(e){return Od(e)||xD(e)}function qg(e){return cI(e)&&(40===e.operator||41===e.operator)&&xD(e.operand)}function $g(e){const t=Sc(e);return!!t&&Qg(t)}function Qg(e){if(167!==e.kind&&212!==e.kind)return!1;const t=Yw(e)?sg(e.argumentExpression):e.expression;return!Og(t)&&!qg(t)}function Lg(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 15:case 9:case 10:return _c(e.text);case 167:const t=e.expression;return Og(t)?_c(t.text):qg(t)?41===t.operator?Is(t.operator)+t.operand.text:t.operand.text:void 0;case 295:return iS(e);default:return ln.assertNever(e)}}function Mg(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function jg(e){return pu(e)?hc(e):BT(e)?oS(e):e.text}function Ug(e){return pu(e)?e.escapedText:BT(e)?iS(e):_c(e.text)}function Jg(e,t){return`__#${VQ(e)}@${t}`}function Vg(e){return Wt(e.escapedName,"__@")}function Hg(e){return Wt(e.escapedName,"__#")}function Gg(e,t){switch((e=lR(e)).kind){case 231:if(TM(e))return!1;break;case 218:if(e.name)return!1;break;case 219:break;default:return!1}return"function"!=typeof t||t(e)}function Wg(e){switch(e.kind){case 303:return!function(e){return UD(e)?"__proto__"===hc(e):kD(e)&&"__proto__"===e.text}(e.name);case 304:return!!e.objectAssignmentInitializer;case 260:return UD(e.name)&&!!e.initializer;case 169:case 208:return UD(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 172:return!!e.initializer;case 226:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return UD(e.left)}break;case 277:return!0}return!1}function zg(e,t){if(!Wg(e))return!1;switch(e.kind){case 303:case 260:case 169:case 208:case 172:return Gg(e.initializer,t);case 304:return Gg(e.objectAssignmentInitializer,t);case 226:return Gg(e.right,t);case 277:return Gg(e.expression,t)}}function Yg(e){return"push"===e.escapedText||"unshift"===e.escapedText}function Kg(e){return 169===Xg(e).kind}function Xg(e){for(;208===e.kind;)e=e.parent.parent;return e}function Zg(e){const t=e.kind;return 176===t||218===t||262===t||219===t||174===t||177===t||178===t||267===t||307===t}function eA(e){return YE(e.pos)||YE(e.end)}var tA=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(tA||{});function nA(e){const t=oA(e),n=214===e.kind&&void 0!==e.arguments;return rA(e.kind,t,n)}function rA(e,t,n){switch(e){case 214:return n?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226: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 iA(e){const t=oA(e),n=214===e.kind&&void 0!==e.arguments;return aA(e.kind,t,n)}function oA(e){return 226===e.kind?e.operatorToken.kind:224===e.kind||225===e.kind?e.operator:e.kind}var sA=(e=>(e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e))(sA||{});function aA(e,t,n){switch(e){case 356:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226: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 cA(t)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return n?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function cA(e){switch(e){case 61:return 4;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 uA(e){return S(e,(e=>{switch(e.kind){case 294:return!!e.expression;case 12:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))}function lA(){let e=[];const t=[],n=new Map;let r=!1;return{add:function(i){let o;i.file?(o=n.get(i.file.fileName),o||(o=[],n.set(i.file.fileName,o),X(t,i.file.fileName,xt))):(r&&(r=!1,e=e.slice()),o=e);X(o,i,iC,aC)},lookup:function(t){let r;r=t.file?n.get(t.file.fileName):e;if(!r)return;const i=Ee(r,t,st,iC);if(i>=0)return r[i];if(~i>0&&aC(t,r[~i-1]))return r[~i-1];return},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){if(r)return n.get(r)||[];const i=P(t,(e=>n.get(e)));if(!e.length)return i;return i.unshift(...e),i}}}var dA=/\$\{/g;function pA(e){return e.replace(dA,"\\${")}function fA(e){return!!(2048&(e.templateFlags||0))}function _A(e){return e&&!!(ID(e)?fA(e):fA(e.head)||J(e.templateSpans,(e=>fA(e.literal))))}var mA=/[\\"\u0000-\u001f\u2028\u2029\u0085]/g,hA=/[\\'\u0000-\u001f\u2028\u2029\u0085]/g,gA=/\r\n|[\\`\u0000-\u0009\u000b-\u001f\u2028\u2029\u0085]/g,AA=new Map(Object.entries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function yA(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function vA(e,t,n){if(0===e.charCodeAt(0)){const r=n.charCodeAt(t+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return AA.get(e)||yA(e.charCodeAt(0))}function bA(e,t){const n=96===t?gA:39===t?hA:mA;return e.replace(n,vA)}var CA=/[^\u0000-\u007F]/g;function EA(e,t){return e=bA(e,t),CA.test(e)?e.replace(CA,(e=>yA(e.charCodeAt(0)))):e}var xA=/["\u0000-\u001f\u2028\u2029\u0085]/g,SA=/['\u0000-\u001f\u2028\u2029\u0085]/g,kA=new Map(Object.entries({'"':""","'":"'"}));function DA(e){return 0===e.charCodeAt(0)?"�":kA.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function wA(e,t){const n=39===t?SA:xA;return e.replace(n,DA)}function IA(e){const t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e;var n}function TA(e){const t=e.charCodeAt(0);return t>=97&&t<=122||e.includes("-")}var FA=[""," "];function RA(e){const t=FA[1];for(let n=FA.length;n<=e;n++)FA.push(FA[n-1]+t);return FA[e]}function PA(){return FA[1].length}function NA(e){var t,n,r,i,o,s=!1;function a(e){const n=Ns(e);n.length>1?(i=i+n.length-1,o=t.length-e.length+Ae(n),r=o-t.length==0):r=!1}function c(e){e&&e.length&&(r&&(e=RA(n)+e,r=!1),t+=e,a(e))}function u(e){e&&(s=!1),c(e)}function l(){t="",n=0,r=!0,i=0,o=0,s=!1}return l(),{write:u,rawWrite:function(e){void 0!==e&&(t+=e,a(e),s=!1)},writeLiteral:function(e){e&&e.length&&u(e)},writeLine:function(n){r&&!n||(i++,o=(t+=e).length,r=!0,s=!1)},increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>i,getColumn:()=>r?n*PA():t.length-o,getText:()=>t,isAtStartOfLine:()=>r,hasTrailingComment:()=>s,hasTrailingWhitespace:()=>!!t.length&&js(t.charCodeAt(t.length-1)),clear:l,writeKeyword:u,writeOperator:u,writeParameter:u,writeProperty:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeSymbol:(e,t)=>u(e),writeTrailingSemicolon:u,writeComment:function(e){e&&(s=!0),c(e)}}}function BA(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(t){n(),e.writeLiteral(t)},writeStringLiteral(t){n(),e.writeStringLiteral(t)},writeSymbol(t,r){n(),e.writeSymbol(t,r)},writePunctuation(t){n(),e.writePunctuation(t)},writeKeyword(t){n(),e.writeKeyword(t)},writeOperator(t){n(),e.writeOperator(t)},writeParameter(t){n(),e.writeParameter(t)},writeSpace(t){n(),e.writeSpace(t)},writeProperty(t){n(),e.writeProperty(t)},writeComment(t){n(),e.writeComment(t)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}}}function OA(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function qA(e){return Jt(OA(e))}function $A(e,t,n){return t.moduleName||MA(e,t.fileName,n&&n.fileName)}function QA(e,t){return e.getCanonicalFileName(Lo(t,e.getCurrentDirectory()))}function LA(e,t,n){const r=t.getExternalModuleFileFromDeclaration(n);if(!r||r.isDeclarationFile)return;const i=Ch(n);return!i||!Od(i)||vo(i.text)||QA(e,r.path).includes(QA(e,Vo(e.getCommonSourceDirectory())))?$A(e,r):void 0}function MA(e,t,n){const r=t=>e.getCanonicalFileName(t),i=Uo(n?Io(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r),o=UE(ss(i,Lo(t,e.getCurrentDirectory()),i,r,!1));return n?Ho(o):o}function jA(e,t,n){const r=t.getCompilerOptions();let i;return i=r.outDir?UE(KA(e,t,r.outDir)):UE(e),i+n}function UA(e,t){return JA(e,t.getCompilerOptions(),t)}function JA(e,t,n){const r=t.declarationDir||t.outDir,i=r?XA(e,r,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(e=>n.getCanonicalFileName(e))):e,o=VA(i);return UE(i)+o}function VA(e){return xo(e,[".mjs",".mts"])?".d.mts":xo(e,[".cjs",".cts"])?".d.cts":xo(e,[".json"])?".d.json.ts":".d.ts"}function HA(e){return xo(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:xo(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:xo(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function GA(e,t,n,r){return n?$o(r(),rs(n,e,t)):e}function WA(e,t){var n;if(e.paths)return e.baseUrl??ln.checkDefined(e.pathsBasePath||(null==(n=t.getCurrentDirectory)?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function zA(e,t,n){const r=e.getCompilerOptions();if(r.outFile){const t=vC(r),i=r.emitDeclarationOnly||2===t||4===t;return S(e.getSourceFiles(),(t=>(i||!UP(t))&&YA(t,e,n)))}return S(void 0===t?e.getSourceFiles():[t],(t=>YA(t,e,n)))}function YA(e,t,n){const r=t.getCompilerOptions();if(r.noEmitForJsFiles&&Im(e))return!1;if(e.isDeclarationFile)return!1;if(t.isSourceFileFromExternalLibrary(e))return!1;if(n)return!0;if(t.isSourceOfProjectReferenceRedirect(e.fileName))return!1;if(!e_(e))return!0;if(t.getResolvedProjectReferenceToRedirect(e.fileName))return!1;if(r.outFile)return!0;if(!r.outDir)return!1;if(r.rootDir||r.composite&&r.configFilePath){const n=Lo(Yj(r,(()=>[]),t.getCurrentDirectory(),t.getCanonicalFileName),t.getCurrentDirectory()),i=XA(e.fileName,r.outDir,t.getCurrentDirectory(),n,t.getCanonicalFileName);if(0===Zo(e.fileName,i,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()))return!1}return!0}function KA(e,t,n){return XA(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),(e=>t.getCanonicalFileName(e)))}function XA(e,t,n,r,i){let o=Lo(e,n);return o=0===i(o).indexOf(i(r))?o.substring(r.length):o,qo(t,o)}function ZA(e,t,n,r,i,o,s){e.writeFile(n,r,i,(e=>{t.add(Xb(ls.Could_not_write_file_0_Colon_1,n,e))}),o,s)}function ey(e,t,n){if(e.length>wo(e)&&!n(e)){ey(Io(e),t,n),t(e)}}function ty(e,t,n,r,i,o){try{r(e,t,n)}catch{ey(Io(Mo(e)),i,o),r(e,t,n)}}function ny(e,t){return Qs(qs(e),t)}function ry(e,t){return Qs(e,t)}function iy(e){return A(e.members,(e=>_w(e)&&Dp(e.body)))}function oy(e){if(e&&e.parameters.length>0){const t=2===e.parameters.length&&cy(e.parameters[0]);return e.parameters[t?1:0]}}function sy(e){const t=oy(e);return t&&t.type}function ay(e){if(e.parameters.length&&!cF(e)){const t=e.parameters[0];if(cy(t))return t}}function cy(e){return uy(e.name)}function uy(e){return!!e&&80===e.kind&&py(e)}function ly(e){return!!dc(e,(e=>186===e.kind||80!==e.kind&&166!==e.kind&&"quit"))}function dy(e){if(!uy(e))return!1;for(;iw(e.parent)&&e.parent.left===e;)e=e.parent;return 186===e.parent.kind}function py(e){return"this"===e.escapedText}function fy(e,t){let n,r,i,o;return $g(t)?(n=t,177===t.kind?i=t:178===t.kind?o=t:ln.fail("Accessor has wrong kind")):l(e,(e=>{if(pl(e)&&Iy(e)===Iy(t)){Lg(e.name)===Lg(t.name)&&(n?r||(r=e):n=e,177!==e.kind||i||(i=e),178!==e.kind||o||(o=e))}})),{firstAccessor:n,secondAccessor:r,getAccessor:i,setAccessor:o}}function _y(e){if(!Tm(e)&&WI(e))return;if(KI(e))return;const t=e.type;return t||!Tm(e)?t:Du(e)?e.typeExpression&&e.typeExpression.type:nu(e)}function my(e){return e.type}function hy(e){return cF(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Tm(e)?ru(e):void 0)}function gy(e){return R(ou(e),(e=>function(e){return kF(e)&&!(320===e.parent.kind&&(e.parent.tags.some(wh)||e.parent.tags.some(AF)))}(e)?e.typeParameters:void 0))}function Ay(e){const t=oy(e);return t&&_y(t)}function yy(e,t,n,r){!function(e,t,n,r){r&&r.length&&n!==r[0].pos&&ry(e,n)!==ry(e,r[0].pos)&&t.writeLine()}(e,t,n.pos,r)}function vy(e,t,n,r){n!==r&&ry(e,n)!==ry(e,r)&&t.writeLine()}function by(e,t,n,r,i,o,s){let a,c;if(s?0===i.pos&&(a=S(la(e,i.pos),(function(t){return $p(e,t.pos)}))):a=la(e,i.pos),a){const s=[];let u;for(const e of a){if(u){const n=ry(t,u.end);if(ry(t,e.pos)>=n+2)break}s.push(e),u=e}if(s.length){const u=ry(t,Ae(s).end);ry(t,Ks(e,i.pos))>=u+2&&(yy(t,n,i,a),function(e,t,n,r,i,o,s,a){if(r&&r.length>0){let i=!1;for(const o of r)i&&(n.writeSpace(" "),i=!1),a(e,t,n,o.pos,o.end,s),o.hasTrailingNewLine?n.writeLine():i=!0;i&&o&&n.writeSpace(" ")}}(e,t,n,s,0,!0,o,r),c={nodePos:i.pos,detachedCommentEndPos:Ae(s).end})}}return c}function Cy(e,t,n,r,i,o){if(42===e.charCodeAt(r+1)){const s=$s(t,r),a=t.length;let c;for(let u=r,l=s.line;u0){let e=i%PA();const t=RA((i-e)/PA());for(n.rawWrite(t);e;)n.rawWrite(" "),e--}else n.rawWrite("")}Ey(e,i,n,o,u,d),u=d}}else n.writeComment(e.substring(r,i))}function Ey(e,t,n,r,i,o){const s=Math.min(t,o-1),a=e.substring(i,s).trim();a?(n.writeComment(a),s!==t&&n.writeLine()):n.rawWrite(r)}function xy(e,t,n){let r=0;for(;t=0&&e.kind<=165?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Hy(e)),n||t&&Tm(e)?(268435456&e.modifierFlagsCache||!e.parent||(e.modifierFlagsCache|=268435456|Uy(e)),Jy(e.modifierFlagsCache)):function(e){return 65535&e}(e.modifierFlagsCache))}function Ly(e){return Qy(e,!0)}function My(e){return Qy(e,!0,!0)}function jy(e){return Qy(e,!1)}function Uy(e){let t=0;return e.parent&&!aw(e)&&(Tm(e)&&(Lc(e)&&(t|=8388608),jc(e)&&(t|=16777216),Jc(e)&&(t|=33554432),Hc(e)&&(t|=67108864),Gc(e)&&(t|=134217728)),zc(e)&&(t|=65536)),t}function Jy(e){return 131071&e|(260046848&e)>>>23}function Vy(e){return Hy(e)|function(e){return Jy(Uy(e))}(e)}function Hy(e){let t=cP(e)?Gy(e.modifiers):0;return(8&e.flags||80===e.kind&&4096&e.flags)&&(t|=32),t}function Gy(e){let t=0;if(e)for(const n of e)t|=Wy(n.kind);return t}function Wy(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 170:return 32768}return 0}function zy(e){return 57===e||56===e}function Yy(e){return zy(e)||54===e}function Ky(e){return 76===e||77===e||78===e}function Xy(e){return lI(e)&&Ky(e.operatorToken.kind)}function Zy(e){return zy(e)||61===e}function ev(e){return lI(e)&&Zy(e.operatorToken.kind)}function tv(e){return e>=64&&e<=79}function nv(e){const t=rv(e);return t&&!t.isImplements?t.class:void 0}function rv(e){if(gI(e)){if($T(e.parent)&&dl(e.parent.parent))return{class:e.parent.parent,isImplements:119===e.parent.token};if(uF(e.parent)){const t=Uh(e.parent);if(t&&dl(t))return{class:t,isImplements:!1}}}}function iv(e,t){return lI(e)&&(t?64===e.operatorToken.kind:tv(e.operatorToken.kind))&&$l(e.left)}function ov(e){if(iv(e,!0)){const t=e.left.kind;return 210===t||209===t}return!1}function sv(e){return void 0!==nv(e)}function av(e){return 80===e.kind||lv(e)}function cv(e){switch(e.kind){case 80:return e;case 166:do{e=e.left}while(80!==e.kind);return e;case 211:do{e=e.expression}while(80!==e.kind);return e}}function uv(e){return 80===e.kind||110===e.kind||108===e.kind||236===e.kind||211===e.kind&&uv(e.expression)||217===e.kind&&uv(e.expression)}function lv(e){return zw(e)&&UD(e.name)&&av(e.expression)}function dv(e){if(zw(e)){const t=dv(e.expression);if(void 0!==t)return t+"."+qf(e.name)}else if(Yw(e)){const t=dv(e.expression);if(void 0!==t&&tl(e.argumentExpression))return t+"."+Lg(e.argumentExpression)}else{if(UD(e))return mc(e.escapedText);if(BT(e))return oS(e)}}function pv(e){return oh(e)&&"prototype"===lh(e)}function fv(e){return 166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e||236===e.parent.kind&&e.parent.name===e}function _v(e){return!!e.parent&&(zw(e.parent)&&e.parent.name===e||Yw(e.parent)&&e.parent.argumentExpression===e)}function mv(e){return iw(e.parent)&&e.parent.right===e||zw(e.parent)&&e.parent.name===e||WT(e.parent)&&e.parent.right===e}function hv(e){return lI(e)&&104===e.operatorToken.kind}function gv(e){return hv(e.parent)&&e===e.parent.right}function Av(e){return 210===e.kind&&0===e.properties.length}function yv(e){return 209===e.kind&&0===e.elements.length}function vv(e){if(function(e){return e&&u(e.declarations)>0&&wy(e.declarations[0],2048)}(e)&&e.declarations)for(const t of e.declarations)if(t.localSymbol)return t.localSymbol}function bv(e){return A(SE,(t=>Eo(e,t)))}var Cv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Ev(e){let t="";const n=function(e){const t=[],n=e.length;for(let r=0;r>6|192),t.push(63&n|128)):n<65536?(t.push(n>>12|224),t.push(n>>6&63|128),t.push(63&n|128)):n<131072?(t.push(n>>18|240),t.push(n>>12&63|128),t.push(n>>6&63|128),t.push(63&n|128)):ln.assert(!1,"Unexpected code point")}return t}(e);let r=0;const i=n.length;let o,s,a,c;for(;r>2,s=(3&n[r])<<4|n[r+1]>>4,a=(15&n[r+1])<<2|n[r+2]>>6,c=63&n[r+2],r+1>=i?a=c=64:r+2>=i&&(c=64),t+=Cv.charAt(o)+Cv.charAt(s)+Cv.charAt(a)+Cv.charAt(c),r+=3;return t}function xv(e,t){return e&&e.base64encode?e.base64encode(t):Ev(t)}function Sv(e,t){if(e&&e.base64decode)return e.base64decode(t);const n=t.length,r=[];let i=0;for(;i>4&3,c=(15&n)<<4|o>>2&15,u=(3&o)<<6|63&s;0===c&&0!==o?r.push(a):0===u&&0!==s?r.push(a,c):r.push(a,c,u),i+=4}return function(e){let t="",n=0;const r=e.length;for(;n=e||-1===t),{pos:e,end:t}}function Nv(e,t){return Pv(e.pos,t)}function Bv(e,t){return Pv(t,e.end)}function Ov(e){const t=cP(e)?y(e.modifiers,cw):void 0;return t&&!YE(t.end)?Bv(e,t.end):e}function qv(e){if(lw(e)||pw(e))return Bv(e,e.name.pos);const t=cP(e)?ge(e.modifiers):void 0;return t&&!YE(t.end)?Bv(e,t.end):Ov(e)}function $v(e,t){return Pv(e,e+Is(t).length)}function Qv(e,t){return jv(e,e,t)}function Lv(e,t,n){return Gv(Wv(e,n,!1),Wv(t,n,!1),n)}function Mv(e,t,n){return Gv(e.end,t.end,n)}function jv(e,t,n){return Gv(Wv(e,n,!1),t.end,n)}function Uv(e,t,n){return Gv(e.end,Wv(t,n,!1),n)}function Jv(e,t,n,r){const i=Wv(t,n,r);return Ls(n,e.end,i)}function Vv(e,t,n){return Ls(n,e.end,t.end)}function Hv(e,t){return!Gv(e.pos,e.end,t)}function Gv(e,t,n){return 0===Ls(n,e,t)}function Wv(e,t,n){return YE(e.pos)?-1:Ks(t.text,e.pos,!1,n)}function zv(e,t,n,r){const i=Ks(n.text,e,!1,r),o=function(e,t=0,n){for(;e-- >t;)if(!js(n.text.charCodeAt(e)))return e}(i,t,n);return Ls(n,o??t,i)}function Yv(e,t,n,r){const i=Ks(n.text,e,!1,r);return Ls(n,e,Math.min(t,i))}function Kv(e,t){return Xv(e.pos,e.end,t)}function Xv(e,t,n){return e<=n.pos&&t>=n.end}function Zv(e){const t=fc(e);if(t)switch(t.parent.kind){case 266:case 267:return t===t.parent.name}return!1}function eb(e){return S(e.declarations,tb)}function tb(e){return HI(e)&&void 0!==e.initializer}function nb(e){return e.watch&&De(e,"watch")}function rb(e){e.close()}function ib(e){return 33554432&e.flags?e.links.checkFlags:0}function ob(e,t=!1){if(e.valueDeclaration){const n=ic(t&&e.declarations&&A(e.declarations,hw)||32768&e.flags&&A(e.declarations,mw)||e.valueDeclaration);return e.parent&&32&e.parent.flags?n:-8&n}if(6&ib(e)){const t=e.links.checkFlags;return(1024&t?2:256&t?1:4)|(2048&t?256:0)}return 4194304&e.flags?257:0}function sb(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e}function ab(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function cb(e){return 1===lb(e)}function ub(e){return 0!==lb(e)}function lb(e){const{parent:t}=e;switch(null==t?void 0:t.kind){case 217:case 209:return lb(t);case 225:case 224:const{operator:n}=t;return 46===n||47===n?2:0;case 226:const{left:r,operatorToken:i}=t;return r===e&&tv(i.kind)?64===i.kind?1:2:0;case 211:return t.name!==e?0:lb(t);case 303:{const n=lb(t.parent);return e===t.name?function(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return ln.assertNever(e)}}(n):n}case 304:return e===t.objectAssignmentInitializer?0:lb(t.parent);case 249:case 250:return e===t.initializer?1:0;default:return 0}}function db(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if("object"==typeof e[n]){if(!db(e[n],t[n]))return!1}else if("function"!=typeof e[n]&&e[n]!==t[n])return!1;return!0}function pb(e,t){e.forEach(t),e.clear()}function fb(e,t,n){const{onDeleteValue:r,onExistingValue:i}=n;e.forEach(((n,o)=>{var s;(null==t?void 0:t.has(o))?i&&i(n,null==(s=t.get)?void 0:s.call(t,o),o):(e.delete(o),r(n,o))}))}function _b(e,t,n){fb(e,t,n);const{createNewValue:r}=n;null==t||t.forEach(((t,n)=>{e.has(n)||e.set(n,r(n,t))}))}function mb(e){if(32&e.flags){const t=hb(e);return!!t&&wy(t,64)}return!1}function hb(e){var t;return null==(t=e.declarations)?void 0:t.find(dl)}function gb(e){return 3899393&e.flags?e.objectFlags:0}function Ab(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&nT(e.declarations[0])}function yb({moduleSpecifier:e}){return kD(e)?e.text:zp(e)}function vb(e){let t;return OP(e,(e=>{Dp(e)&&(t=e)}),(e=>{for(let n=e.length-1;n>=0;n--)if(Dp(e[n])){t=e[n];break}})),t}function bb(e,t){return!e.has(t)&&(e.add(t),!0)}function Cb(e){return dl(e)||YI(e)||Sw(e)}function Eb(e){return e>=182&&e<=205||133===e||159===e||150===e||163===e||151===e||136===e||154===e||155===e||116===e||157===e||146===e||141===e||233===e||312===e||313===e||314===e||315===e||316===e||317===e||318===e}function xb(e){return 211===e.kind||212===e.kind}function Sb(e){return 211===e.kind?e.name:(ln.assert(212===e.kind),e.argumentExpression)}function kb(e){return 275===e.kind||279===e.kind}function Db(e){for(;xb(e);)e=e.expression;return e}function wb(e,t){if(xb(e.parent)&&_v(e))return function e(n){if(211===n.kind){const e=t(n.name);if(void 0!==e)return e}else if(212===n.kind){if(!UD(n.argumentExpression)&&!Od(n.argumentExpression))return;{const e=t(n.argumentExpression);if(void 0!==e)return e}}if(xb(n.expression))return e(n.expression);if(UD(n.expression))return t(n.expression);return}(e.parent)}function Ib(e,t){for(;;){switch(e.kind){case 225:e=e.operand;continue;case 226:e=e.left;continue;case 227:e=e.condition;continue;case 215:e=e.tag;continue;case 213:if(t)return e;case 234:case 212:case 211:case 235:case 355:case 238:e=e.expression;continue}return e}}function Tb(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 Fb(e,t){this.flags=t,(ln.isDebugging||Hn)&&(this.checker=e)}function Rb(e,t){this.flags=t,ln.isDebugging&&(this.checker=e)}function Pb(e,t,n){this.pos=t,this.end=n,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 Nb(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function Bb(e,t,n){this.pos=t,this.end=n,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 Ob(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(e=>e)}var qb,$b={getNodeConstructor:()=>Pb,getTokenConstructor:()=>Nb,getIdentifierConstructor:()=>Bb,getPrivateIdentifierConstructor:()=>Pb,getSourceFileConstructor:()=>Pb,getSymbolConstructor:()=>Tb,getTypeConstructor:()=>Fb,getSignatureConstructor:()=>Rb,getSourceMapSourceConstructor:()=>Ob},Qb=[];function Lb(e){Qb.push(e),e($b)}function Mb(e){Object.assign($b,e),l(Qb,(e=>e($b)))}function jb(e,t){return e.replace(/\{(\d+)\}/g,((e,n)=>""+ln.checkDefined(t[+n])))}function Ub(e){qb=e}function Jb(e){!qb&&e&&(qb=e())}function Vb(e){return qb&&qb[e.key]||e.message}function Hb(e,t,n,r,i,...o){n+r>t.length&&(r=t.length-n),Uf(t,n,r);let s=Vb(i);return J(o)&&(s=jb(s,o)),{file:void 0,start:n,length:r,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,fileName:e}}function Gb(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function Wb(e,t){const n=t.fileName||"",r=t.text.length;ln.assertEqual(e.fileName,n),ln.assertLessThanOrEqual(e.start,r),ln.assertLessThanOrEqual(e.start+e.length,r);const i={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){i.relatedInformation=[];for(const o of e.relatedInformation)Gb(o)&&o.fileName===n?(ln.assertLessThanOrEqual(o.start,r),ln.assertLessThanOrEqual(o.start+o.length,r),i.relatedInformation.push(Wb(o,t))):i.relatedInformation.push(o)}return i}function zb(e,t){const n=[];for(const r of e)n.push(Wb(r,t));return n}function Yb(e,t,n,r,...i){Uf(e.text,t,n);let o=Vb(r);return J(i)&&(o=jb(o,i)),{file:e,start:t,length:n,messageText:o,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function Kb(e,...t){let n=Vb(e);return J(t)&&(n=jb(n,t)),n}function Xb(e,...t){let n=Vb(e);return J(t)&&(n=jb(n,t)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function Zb(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function eC(e,t,...n){let r=Vb(t);return J(n)&&(r=jb(r,n)),{messageText:r,category:t.category,code:t.code,next:void 0===e||Array.isArray(e)?e:[e]}}function tC(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function nC(e){return e.file?e.file.path:void 0}function rC(e,t){return iC(e,t)||function(e,t){if(!e.relatedInformation&&!t.relatedInformation)return 0;if(e.relatedInformation&&t.relatedInformation)return At(t.relatedInformation.length,e.relatedInformation.length)||l(e.relatedInformation,((e,n)=>rC(e,t.relatedInformation[n])))||0;return e.relatedInformation?-1:1}(e,t)||0}function iC(e,t){const n=cC(e),r=cC(t);return xt(nC(e),nC(t))||At(e.start,t.start)||At(e.length,t.length)||At(n,r)||function(e,t){let n=uC(e),r=uC(t);"string"!=typeof n&&(n=n.messageText);"string"!=typeof r&&(r=r.messageText);const i="string"!=typeof e.messageText?e.messageText.next:void 0,o="string"!=typeof t.messageText?t.messageText.next:void 0;let s=xt(n,r);if(s)return s;if(s=function(e,t){if(void 0===e&&void 0===t)return 0;if(void 0===e)return 1;if(void 0===t)return-1;return oC(e,t)||sC(e,t)}(i,o),s)return s;if(e.canonicalHead&&!t.canonicalHead)return-1;if(t.canonicalHead&&!e.canonicalHead)return 1;return 0}(e,t)||0}function oC(e,t){if(void 0===e&&void 0===t)return 0;if(void 0===e)return 1;if(void 0===t)return-1;let n=At(t.length,e.length);if(n)return n;for(let r=0;r{e.externalModuleIndicator=mP(e)||!e.isDeclarationFile||void 0};case 1:return e=>{e.externalModuleIndicator=mP(e)};case 2:const t=[mP];4!==e.jsx&&5!==e.jsx||t.push(pC),t.push(fC);const n=Zt(...t),r=t=>{t.externalModuleIndicator=n(t,e)};return r}}function mC(e){const t=bC(e);return 3<=t&&t<=99||kC(e)||DC(e)}var hC={allowImportingTsExtensions:{dependencies:["rewriteRelativeImportExtensions"],computeValue:e=>!(!e.allowImportingTsExtensions&&!e.rewriteRelativeImportExtensions)},target:{dependencies:["module"],computeValue:e=>(0===e.target?void 0:e.target)??((100===e.module?9:199===e.module&&99)||1)},module:{dependencies:["target"],computeValue:e=>"number"==typeof e.module?e.module:hC.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(void 0===t)switch(hC.module.computeValue(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>e.moduleDetection||(100===hC.module.computeValue(e)||199===hC.module.computeValue(e)?3:2)},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!(!e.isolatedModules&&!e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(hC.module.computeValue(e)){case 100:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:hC.esModuleInterop.computeValue(e)||4===hC.module.computeValue(e)||100===hC.moduleResolution.computeValue(e)},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{const t=hC.moduleResolution.computeValue(e);if(!QC(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{const t=hC.moduleResolution.computeValue(e);if(!QC(t))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>void 0!==e.resolveJsonModule?e.resolveJsonModule:100===hC.moduleResolution.computeValue(e)},declaration:{dependencies:["composite"],computeValue:e=>!(!e.declaration&&!e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!(!e.preserveConstEnums&&!hC.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!(!e.incremental&&!e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!(!e.declarationMap||!hC.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>void 0===e.allowJs?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>void 0===e.useDefineForClassFields?hC.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>LC(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>LC(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>LC(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>LC(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>LC(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>LC(e,"strictPropertyInitialization")},strictBuiltinIteratorReturn:{dependencies:["strict"],computeValue:e=>LC(e,"strictBuiltinIteratorReturn")},alwaysStrict:{dependencies:["strict"],computeValue:e=>LC(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>LC(e,"useUnknownInCatchVariables")}},gC=hC,AC=hC.allowImportingTsExtensions.computeValue,yC=hC.target.computeValue,vC=hC.module.computeValue,bC=hC.moduleResolution.computeValue,CC=hC.moduleDetection.computeValue,EC=hC.isolatedModules.computeValue,xC=hC.esModuleInterop.computeValue,SC=hC.allowSyntheticDefaultImports.computeValue,kC=hC.resolvePackageJsonExports.computeValue,DC=hC.resolvePackageJsonImports.computeValue,wC=hC.resolveJsonModule.computeValue,IC=hC.declaration.computeValue,TC=hC.preserveConstEnums.computeValue,FC=hC.incremental.computeValue,RC=hC.declarationMap.computeValue,PC=hC.allowJs.computeValue,NC=hC.useDefineForClassFields.computeValue;function BC(e){return e>=5&&e<=99}function OC(e){switch(vC(e)){case 0:case 4:case 3:return!1}return!0}function qC(e){return!1===e.allowUnreachableCode}function $C(e){return!1===e.allowUnusedLabels}function QC(e){return e>=3&&e<=99||100===e}function LC(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function MC(e){return np(hN.type,((t,n)=>t===e?n:void 0))}function jC(e){return!1!==e.useDefineForClassFields&&yC(e)>=9}function UC(e,t){return ep(t,e,vN)}function JC(e,t){return ep(t,e,bN)}function VC(e,t){return ep(t,e,CN)}function HC(e,t){return t.strictFlag?LC(e,t.name):t.allowJsFlag?PC(e):e[t.name]}function GC(e){const t=e.jsx;return 2===t||4===t||5===t}function WC(e,t){const n=null==t?void 0:t.pragmas.get("jsximportsource"),r=Ye(n)?n[n.length-1]:n,i=null==t?void 0:t.pragmas.get("jsxruntime"),o=Ye(i)?i[i.length-1]:i;if("classic"!==(null==o?void 0:o.arguments.factory))return 4===e.jsx||5===e.jsx||e.jsxImportSource||r||"automatic"===(null==o?void 0:o.arguments.factory)?(null==r?void 0:r.arguments.factory)||e.jsxImportSource||"react":void 0}function zC(e,t){return e?`${e}/${5===t.jsx?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function YC(e){let t=!1;for(let n=0;ni,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>r,setSymlinkedFile:(e,t)=>(i||(i=new Map)).set(e,t),setSymlinkedDirectory:(i,o)=>{let s=Uo(i,e,t);Px(s)||(s=Vo(s),!1===o||(null==n?void 0:n.has(s))||(r||(r=Ve())).add(o.realPath,i),(n||(n=new Map)).set(s,o))},setSymlinksFromResolutions(e,t,n){ln.assert(!o),o=!0,e((e=>s(this,e.resolvedModule))),t((e=>s(this,e.resolvedTypeReferenceDirective))),n.forEach((e=>s(this,e.resolvedTypeReferenceDirective)))},hasProcessedResolutions:()=>o,setSymlinksFromResolution(e){s(this,e)},hasAnySymlinks:function(){return!!(null==i?void 0:i.size)||!!n&&!!np(n,(e=>!!e))}};function s(n,r){if(!r||!r.originalPath||!r.resolvedFileName)return;const{resolvedFileName:i,originalPath:o}=r;n.setSymlinkedFile(Uo(o,e,t),i);const[s,c]=function(e,t,n,r){const i=Po(Lo(e,n)),o=Po(Lo(t,n));let s=!1;for(;i.length>=2&&o.length>=2&&!XC(i[i.length-2],r)&&!XC(o[o.length-2],r)&&r(i[i.length-1])===r(o[o.length-1]);)i.pop(),o.pop(),s=!0;return s?[No(i),No(o)]:void 0}(i,o,e,t)||a;s&&c&&n.setSymlinkedDirectory(c,{real:Vo(s),realPath:Vo(Uo(s,e,t))})}}function XC(e,t){return void 0!==e&&("node_modules"===t(e)||Wt(e,"@"))}function ZC(e,t,n){const r=Yt(e,t,n);return void 0===r?void 0:mo((i=r).charCodeAt(0))?i.slice(1):void 0;var i}var eE=/[^\w\s/]/g;function tE(e){return e.replace(eE,nE)}function nE(e){return"\\"+e}var rE=[42,63],iE=`(?!(${["node_modules","bower_components","jspm_packages"].join("|")})(/|$))`,oE={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${iE}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>_E(e,oE.singleAsteriskRegexFragment)},sE={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${iE}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>_E(e,sE.singleAsteriskRegexFragment)},aE={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>_E(e,aE.singleAsteriskRegexFragment)},cE={files:oE,directories:sE,exclude:aE};function uE(e,t,n){const r=lE(e,t,n);if(!r||!r.length)return;return`^(${r.map((e=>`(${e})`)).join("|")})${"exclude"===n?"($|/)":"$"}`}function lE(e,t,n){if(void 0!==e&&0!==e.length)return R(e,(e=>e&&fE(e,t,n,cE[n])))}function dE(e){return!/[.*?]/.test(e)}function pE(e,t,n){const r=e&&fE(e,t,n,cE[n]);return r&&`^(${r})${"exclude"===n?"($|/)":"$"}`}function fE(e,t,n,{singleAsteriskRegexFragment:r,doubleAsteriskRegexFragment:i,replaceWildcardCharacter:o}=cE[n]){let s="",a=!1;const c=Qo(e,t),u=Ae(c);if("exclude"!==n&&"**"===u)return;c[0]=Jo(c[0]),dE(u)&&c.push("**","*");let l=0;for(let e of c){if("**"===e)s+=i;else if("directories"===n&&(s+="(",l++),a&&(s+=lo),"exclude"!==n){let t="";42===e.charCodeAt(0)?(t+="([^./]"+r+")?",e=e.substr(1)):63===e.charCodeAt(0)&&(t+="[^./]",e=e.substr(1)),t+=e.replace(eE,o),t!==e&&(s+=iE),s+=t}else s+=e.replace(eE,o);a=!0}for(;l>0;)s+=")?",l--;return s}function _E(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function mE(e,t,n,r,i){e=Mo(e);const o=qo(i=Mo(i),e);return{includeFilePatterns:w(lE(n,o,"files"),(e=>`^${e}$`)),includeFilePattern:uE(n,o,"files"),includeDirectoryPattern:uE(n,o,"directories"),excludePattern:uE(t,o,"exclude"),basePaths:AE(e,n,r)}}function hE(e,t){return new RegExp(e,t?"":"i")}function gE(e,t,n,r,i,o,s,a,c){e=Mo(e),o=Mo(o);const u=mE(e,n,r,i,o),l=u.includeFilePatterns&&u.includeFilePatterns.map((e=>hE(e,i))),d=u.includeDirectoryPattern&&hE(u.includeDirectoryPattern,i),p=u.excludePattern&&hE(u.excludePattern,i),f=l?l.map((()=>[])):[[]],_=new Map,m=Jt(i);for(const e of u.basePaths)h(e,qo(o,e),s);return F(f);function h(e,n,r){const i=m(c(n));if(_.has(i))return;_.set(i,!0);const{files:o,directories:s}=a(e);for(const r of ue(o,xt)){const i=qo(e,r),o=qo(n,r);if((!t||xo(i,t))&&(!p||!p.test(o)))if(l){const e=v(l,(e=>e.test(o)));-1!==e&&f[e].push(i)}else f[0].push(i)}if(void 0===r||0!=--r)for(const t of ue(s,xt)){const i=qo(e,t),o=qo(n,t);d&&!d.test(o)||p&&p.test(o)||h(i,o,r)}}}function AE(e,t,n){const r=[e];if(t){const i=[];for(const n of t){const t=go(n)?n:Mo(qo(e,n));i.push(yE(t))}i.sort(St(!n));for(const t of i)g(r,(r=>!es(r,t,e,!n)))&&r.push(t)}return r}function yE(e){const t=E(e,rE);return t<0?Co(e)?Jo(Io(e)):e:e.substring(0,e.lastIndexOf(lo,t))}function vE(e,t){return t||bE(e)||3}function bE(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 CE=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],EE=F(CE),xE=[...CE,[".json"]],SE=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],kE=F([[".js",".jsx"],[".mjs"],[".cjs"]]),DE=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],wE=[...DE,[".json"]],IE=[".d.ts",".d.cts",".d.mts"],TE=[".ts",".cts",".mts",".tsx"],FE=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"];function RE(e,t){const n=e&&PC(e);if(!t||0===t.length)return n?DE:CE;const r=n?DE:CE,i=F(r);return[...r,...q(t,(e=>{return 7===e.scriptKind||n&&(1===(t=e.scriptKind)||2===t)&&!i.includes(e.extension)?[e.extension]:void 0;var t}))]}function PE(e,t){return e&&wC(e)?t===DE?wE:t===CE?xE:[...t,[".json"]]:t}function NE(e){return J(kE,(t=>Eo(e,t)))}function BE(e){return J(EE,(t=>Eo(e,t)))}function OE(e){return J(TE,(t=>Eo(e,t)))&&!KP(e)}var qE=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(qE||{});function $E(e,t,n,r){const i=bC(n),o=3<=i&&i<=99;return"js"===e||99===t&&o?w$(n)&&2!==s()?3:2:"minimal"===e?0:"index"===e?1:w$(n)?s():r&&function({imports:e},t=Zt(NE,BE)){return p(e,(({text:e})=>vo(e)&&!xo(e,FE)?t(e):void 0))||!1}(r)?2:0;function s(){let e=!1;const i=(null==r?void 0:r.imports.length)?r.imports:r&&Im(r)?function(e){let t,n=0;for(const r of e.statements){if(n>3)break;Lm(r)?t=H(t,r.declarationList.declarations.map((e=>e.initializer))):TI(r)&&Bm(r.expression,!0)?t=re(t,r.expression):n++}return t||a}(r).map((e=>e.arguments[0])):a;for(const s of i)if(vo(s.text)){if(o&&1===t&&99===eJ(r,s,n))continue;if(xo(s.text,FE))continue;if(BE(s.text))return 3;NE(s.text)&&(e=!0)}return e?2:0}}function QE(e,t,n){if(!e)return!1;const r=RE(t,n);for(const n of F(PE(t,r)))if(Eo(e,n))return!0;return!1}function LE(e){const t=e.match(/\//g);return t?t.length:0}function ME(e,t){return At(LE(e),LE(t))}var jE=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"];function UE(e){for(const t of jE){const n=JE(e,t);if(void 0!==n)return n}return e}function JE(e,t){return Eo(e,t)?VE(e,t):void 0}function VE(e,t){return e.substring(0,e.length-t.length)}function HE(e,t){return Go(e,t,jE,!1)}function GE(e){const t=e.indexOf("*");return-1===t?e:-1!==e.indexOf("*",t+1)?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}var WE=new WeakMap;function zE(e){let t,n,r=WE.get(e);if(void 0!==r)return r;const i=Ie(e);for(const e of i){const r=GE(e);void 0!==r&&("string"==typeof r?(t??(t=new Set)).add(r):(n??(n=[])).push(r))}return WE.set(e,r={matchableStringSet:t,patterns:n}),r}function YE(e){return!(e>=0)}function KE(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e||Wt(e,".d.")&&Ot(e,".ts")}function XE(e){return KE(e)||".json"===e}function ZE(e){const t=tx(e);return void 0!==t?t:ln.fail(`File ${e} has unknown extension.`)}function ex(e){return void 0!==tx(e)}function tx(e){return A(jE,(t=>Eo(e,t)))}function nx(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}var rx={files:a,directories:a};function ix(e,t){const{matchableStringSet:n,patterns:r}=e;return(null==n?void 0:n.has(t))?t:void 0!==r&&0!==r.length?Gt(r,(e=>e),t):void 0}function ox(e,t){const n=e.indexOf(t);return ln.assert(-1!==n),e.slice(n)}function sx(e,...t){return t.length?(e.relatedInformation||(e.relatedInformation=[]),ln.assert(e.relatedInformation!==a,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t),e):e}function ax(e,t){ln.assert(0!==e.length);let n=t(e[0]),r=n;for(let i=1;ir&&(r=o)}return{min:n,max:r}}function cx(e){return{pos:Lp(e),end:e.end}}function ux(e,t){return{pos:t.pos-1,end:Math.min(e.text.length,Ks(e.text,t.end)+1)}}function lx(e,t,n){return px(e,t,n,!1)}function dx(e,t,n){return px(e,t,n,!0)}function px(e,t,n,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||!r&&t.noCheck||n.isSourceOfProjectReferenceRedirect(e.fileName)||!fx(e,t)}function fx(e,t){if(e.checkJsDirective&&!1===e.checkJsDirective.enabled)return!1;if(3===e.scriptKind||4===e.scriptKind||5===e.scriptKind)return!0;const n=(1===e.scriptKind||2===e.scriptKind)&&nx(e,t);return vp(e,t.checkJs)||n||7===e.scriptKind}function _x(e,t){return e===t||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&Be(e,t,_x)}function mx(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 n=e.length-1;let r=0;for(;48===e.charCodeAt(r);)r++;return e.slice(r,n)||"0"}const n=e.length-1,r=(n-2)*t,i=new Uint16Array((r>>>4)+(15&r?1:0));for(let r=n-1,o=0;r>=2;r--,o+=t){const t=o>>>4,n=e.charCodeAt(r),s=(n<=57?n-48:10+n-(n<=70?65:97))<<(15&o);i[t]|=s;const a=s>>>16;a&&(i[t+1]|=a)}let o="",s=i.length-1,a=!0;for(;a;){let e=0;a=!1;for(let t=s;t>=0;t--){const n=e<<16|i[t],r=n/10|0;i[t]=r,e=n-10*r,r&&!a&&(s=t,a=!0)}o=e+o}return o}function hx({negative:e,base10Value:t}){return(e&&"0"!==t?"-":"")+t}function gx(e){if(yx(e,!1))return Ax(e)}function Ax(e){const t=e.startsWith("-");return{negative:t,base10Value:mx(`${t?e.slice(1):e}n`)}}function yx(e,t){if(""===e)return!1;const n=ha(99,!1);let r=!0;n.setOnError((()=>r=!1)),n.setText(e+"n");let i=n.scan();const o=41===i;o&&(i=n.scan());const s=n.getTokenFlags();return r&&10===i&&n.getTokenEnd()===e.length+1&&!(512&s)&&(!t||e===hx({negative:o,base10Value:mx(n.getTokenValue())}))}function vx(e){return!!(33554432&e.flags)||Cm(e)||function(e){if(80!==e.kind)return!1;const t=dc(e.parent,(e=>{switch(e.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}}));return 119===(null==t?void 0:t.token)||264===(null==t?void 0:t.parent.kind)}(e)||function(e){for(;80===e.kind||211===e.kind;)e=e.parent;if(167!==e.kind)return!1;if(wy(e.parent,64))return!0;const t=e.parent.parent.kind;return 264===t||187===t}(e)||!(vm(e)||function(e){return UD(e)&&MT(e.parent)&&e.parent.name===e}(e))}function bx(e){return bw(e)&&UD(e.typeName)}function Cx(e,t=_t){if(e.length<2)return!0;const n=e[0];for(let r=1,i=e.length;re.includes(t)))}function Nx(e){if(!e.parent)return;switch(e.kind){case 168:const{parent:t}=e;return 195===t.kind?void 0:t.typeParameters;case 169:return e.parent.parameters;case 204:case 239:return e.parent.templateSpans;case 170:{const{parent:t}=e;return uP(t)?t.modifiers:void 0}case 298:return e.parent.heritageClauses}const{parent:t}=e;if(Sd(e))return aF(e.parent)?void 0:e.parent.tags;switch(t.kind){case 187:case 264:return gl(e)?t.members:void 0;case 192:case 193:return t.types;case 189:case 209:case 356:case 275:case 279:return t.elements;case 210:case 292:return t.properties;case 213:case 214:return vl(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 284:case 288:return gd(e)?t.children:void 0;case 286:case 285:return vl(e)?t.typeArguments:void 0;case 241:case 296:case 297:case 268:case 307:return t.statements;case 269:return t.clauses;case 263:case 231:return ll(e)?t.members:void 0;case 266:return UT(e)?t.members:void 0}}function Bx(e){if(!e.typeParameters){if(J(e.parameters,(e=>!_y(e))))return!0;if(219!==e.kind){const t=fe(e.parameters);if(!t||!cy(t))return!0}}return!1}function Ox(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function qx(e){return 260===e.kind&&299===e.parent.kind}function $x(e){return 218===e.kind||219===e.kind}function Qx(e){return e.replace(/\$/g,(()=>"\\$"))}function Lx(e){return(+e).toString()===e}function Mx(e,t,n,r,i){const o=i&&"new"===e;return!o&&ma(e,t)?XS.createIdentifier(e):!r&&!o&&Lx(e)&&+e>=0?XS.createNumericLiteral(+e):XS.createStringLiteral(e,!!n)}function jx(e){return!!(262144&e.flags&&e.isThisType)}function Ux(e){let t,n=0,r=0,i=0,o=0;var s;(s=t||(t={}))[s.BeforeNodeModules=0]="BeforeNodeModules",s[s.NodeModules=1]="NodeModules",s[s.Scope=2]="Scope",s[s.PackageContent=3]="PackageContent";let a=0,c=0,u=0;for(;c>=0;)switch(a=c,c=e.indexOf("/",a+1),u){case 0:e.indexOf(Qq,a)===a&&(n=a,r=c,u=1);break;case 1:case 2:1===u&&"@"===e.charAt(a+1)?u=2:(i=c,u=3);break;case 3:u=e.indexOf(Qq,a)===a?1:3}return o=a,u>1?{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:r,packageRootIndex:i,fileNameIndex:o}:void 0}function Jx(e){switch(e.kind){case 168:case 263:case 264:case 265:case 266:case 346:case 338:case 340:return!0;case 273:return e.isTypeOnly;case 276:case 281:return e.parent.parent.isTypeOnly;default:return!1}}function Vx(e){return XI(e)||wI(e)||WI(e)||zI(e)||YI(e)||Jx(e)||ZI(e)&&!_f(e)&&!ff(e)}function Hx(e){if(!Du(e))return!1;const{isBracketed:t,typeExpression:n}=e;return t||!!n&&316===n.type.kind}function Gx(e,t){if(0===e.length)return!1;const n=e.charCodeAt(0);return 35===n?e.length>1&&fa(e.charCodeAt(1),t):fa(n,t)}function Wx(e){var t;return 0===(null==(t=Tk(e))?void 0:t.kind)}function zx(e){return Tm(e)&&(e.type&&316===e.type.kind||Tc(e).some(Hx))}function Yx(e){switch(e.kind){case 172:case 171:return!!e.questionToken;case 169:return!!e.questionToken||zx(e);case 348:case 341:return Hx(e);default:return!1}}function Kx(e){const t=e.kind;return(211===t||212===t)&&vI(e.expression)}function Xx(e){return Tm(e)&&tI(e)&&wd(e)&&!!eu(e)}function Zx(e){return ln.checkDefined(eS(e))}function eS(e){const t=eu(e);return t&&t.typeExpression&&t.typeExpression.type}function tS(e){return UD(e)?e.escapedText:iS(e)}function nS(e){return UD(e)?hc(e):oS(e)}function rS(e){const t=e.kind;return 80===t||295===t}function iS(e){return`${e.namespace.escapedText}:${hc(e.name)}`}function oS(e){return`${hc(e.namespace)}:${hc(e.name)}`}function sS(e){return UD(e)?hc(e):oS(e)}function aS(e){return!!(8576&e.flags)}function cS(e){return 8192&e.flags?e.escapedName:384&e.flags?_c(""+e.value):ln.fail()}function uS(e){return!!e&&(zw(e)||Yw(e)||lI(e))}function lS(e){return void 0!==e&&!!rJ(e.attributes)}var dS=String.prototype.replace;function pS(e,t){return dS.call(e,"*",t)}function fS(e){return UD(e.name)?e.name.escapedText:_c(e.name.text)}function _S(e){switch(e.kind){case 168:case 169:case 172:case 171:case 185:case 184:case 179:case 180:case 181:case 174:case 173:case 175:case 176:case 177:case 178:case 183:case 182:case 186:case 187:case 188:case 189:case 192:case 193:case 196:case 190:case 191:case 197:case 198:case 194:case 195:case 203:case 205:case 202:case 328:case 329:case 346:case 338:case 340:case 345:case 344:case 324:case 325:case 326:case 341:case 348:case 317:case 315:case 314:case 312:case 313:case 322:case 318:case 309:case 333:case 335:case 334:case 350:case 343:case 199:case 200:case 262:case 241:case 268:case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 260:case 208:case 263:case 264:case 265:case 266:case 267:case 272:case 271:case 278:case 277:case 242:case 259:case 282:return!0}return!1}function mS(e,t=!1,n=!1,r=!1){return{value:e,isSyntacticallyString:t,resolvedOtherFiles:n,hasExternalReferences:r}}function hS({evaluateElementAccessExpression:e,evaluateEntityNameExpression:t}){function n(r,i){let o=!1,s=!1,a=!1;switch((r=sg(r)).kind){case 224:const c=n(r.operand,i);if(s=c.resolvedOtherFiles,a=c.hasExternalReferences,"number"==typeof c.value)switch(r.operator){case 40:return mS(c.value,o,s,a);case 41:return mS(-c.value,o,s,a);case 55:return mS(~c.value,o,s,a)}break;case 226:{const e=n(r.left,i),t=n(r.right,i);if(o=(e.isSyntacticallyString||t.isSyntacticallyString)&&40===r.operatorToken.kind,s=e.resolvedOtherFiles||t.resolvedOtherFiles,a=e.hasExternalReferences||t.hasExternalReferences,"number"==typeof e.value&&"number"==typeof t.value)switch(r.operatorToken.kind){case 52:return mS(e.value|t.value,o,s,a);case 51:return mS(e.value&t.value,o,s,a);case 49:return mS(e.value>>t.value,o,s,a);case 50:return mS(e.value>>>t.value,o,s,a);case 48:return mS(e.value<=2)break;case 174:case 176:case 177:case 178:case 262:if(3&l&&"arguments"===P){k=n;break e}break;case 218:if(3&l&&"arguments"===P){k=n;break e}if(16&l){const e=a.name;if(e&&P===e.escapedText){k=a.symbol;break e}}break;case 170:a.parent&&169===a.parent.kind&&(a=a.parent),a.parent&&(ll(a.parent)||263===a.parent.kind)&&(a=a.parent);break;case 346:case 338:case 340:case 351:const o=Vh(a);o&&(a=o.parent);break;case 169:D&&(D===a.initializer||D===a.name&&Cl(D))&&(T||(T=a));break;case 208:D&&(D===a.initializer||D===a.name&&Cl(D))&&Kg(a)&&!T&&(T=a);break;case 195:if(262144&l){const e=a.typeParameter.name;if(e&&P===e.escapedText){k=a.typeParameter.symbol;break e}}break;case 281:D&&D===a.propertyName&&a.parent.parent.moduleSpecifier&&(a=a.parent.parent.parent)}y(a,D)&&(w=a),D=a,a=kF(a)?Lh(a)||a.parent:(CF(a)||EF(a))&&jh(a)||a.parent}!A||!k||w&&k===w.symbol||(k.isReferenced|=l);if(!k){if(D&&(ln.assertNode(D,JT),D.commonJsModuleIndicator&&"exports"===P&&l&D.symbol.flags))return D.symbol;b||(k=s(o,P,l))}if(!k&&S&&Tm(S)&&S.parent&&Bm(S.parent,!1))return t;if(_){if(I&&u(S,P,I,k))return;k?p(S,k,l,D,T,R):d(S,c,l,_)}return k};function h(t,n,r){const i=yC(e),o=n;if(aw(r)&&o.body&&t.valueDeclaration&&t.valueDeclaration.pos>=o.body.pos&&t.valueDeclaration.end<=o.body.end&&i>=2){let e=c(o);return void 0===e&&(e=l(o.parameters,(function(e){return s(e.name)||!!e.initializer&&s(e.initializer)}))||!1,a(o,e)),!e}return!1;function s(e){switch(e.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return s(e.name);case 172:return Ty(e)?!_:s(e.name);default:return bu(e)||gu(e)?i<7:Hw(e)&&e.dotDotDotToken&&Jw(e.parent)?i<4:!vl(e)&&(OP(e,s)||!1)}}}function g(e,t){return 219!==e.kind&&218!==e.kind?xw(e)||(ol(e)||172===e.kind&&!Iy(e))&&(!t||t!==e.name):(!t||t!==e.name)&&(!(!e.asteriskToken&&!wy(e,1024))||!om(e))}function y(e,t){switch(e.kind){case 169:return!!t&&t===e.name;case 262:case 263:case 264:case 266:case 265:case 267:return!0;default:return!1}}function v(e,t){if(e.declarations)for(const n of e.declarations)if(168===n.kind){if((kF(n.parent)?Jh(n.parent):n.parent)===t)return!(kF(n.parent)&&A(n.parent.parent.tags,wh))}return!1}}function vS(e,t=!0){switch(ln.type(e),e.kind){case 112:case 97:case 9:case 11:case 15:return!0;case 10:return t;case 224:return 41===e.operator?xD(e.operand)||t&&SD(e.operand):40===e.operator&&xD(e.operand);default:return!1}}function bS(e){for(;217===e.kind;)e=e.expression;return e}function CS(e){switch(ln.type(e),e.kind){case 169:case 171:case 172:case 208:case 211:case 212:case 226:case 260:case 277:case 303:case 304:case 341:case 348:return!0;default:return!1}}function ES(e){const t=dc(e,iT);return!!t&&!t.importClause}var xS=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","test/mock_loader","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],SS=new Set(xS),kS=new Set(["node:sea","node:sqlite","node:test","node:test/reporters"]),DS=new Set([...xS,...xS.map((e=>`node:${e}`)),...kS]);function wS(e,t,n,r){const i=Tm(e),o=/import|require/g;for(;null!==o.exec(e.text);){const s=IS(e,o.lastIndex,t);if(i&&Bm(s,n))r(s,s.arguments[0]);else if(u_(s)&&s.arguments.length>=1&&(!n||Od(s.arguments[0])))r(s,s.arguments[0]);else if(t&&d_(s))r(s,s.argument.literal);else if(t&&PF(s)){const e=Ch(s);e&&kD(e)&&e.text&&r(s,e)}}}function IS(e,t,n){const r=Tm(e);let i=e;const o=e=>{if(e.pos<=t&&(to(e,t),t.set(e,n));return n},getParenthesizeRightSideOfBinaryForOperator:function(e){n||(n=new Map);let t=n.get(e);t||(t=t=>s(e,void 0,t),n.set(e,t));return t},parenthesizeLeftSideOfBinary:o,parenthesizeRightSideOfBinary:s,parenthesizeExpressionOfComputedPropertyName:function(t){return sR(t)?e.createParenthesizedExpression(t):t},parenthesizeConditionOfConditionalExpression:function(t){const n=aA(227,58),r=Eu(t);if(1!==At(iA(r),n))return e.createParenthesizedExpression(t);return t},parenthesizeBranchOfConditionalExpression:function(t){return sR(Eu(t))?e.createParenthesizedExpression(t):t},parenthesizeExpressionOfExportDefault:function(t){const n=Eu(t);let r=sR(n);if(!r)switch(Ib(n,!1).kind){case 231:case 218:r=!0}return r?e.createParenthesizedExpression(t):t},parenthesizeExpressionOfNew:function(t){const n=Ib(t,!0);switch(n.kind){case 213:return e.createParenthesizedExpression(t);case 214:return n.arguments?t:e.createParenthesizedExpression(t)}return a(t)},parenthesizeLeftSideOfAccess:a,parenthesizeOperandOfPostfixUnary:function(t){return $l(t)?t:aP(e.createParenthesizedExpression(t),t)},parenthesizeOperandOfPrefixUnary:function(t){return Ll(t)?t:aP(e.createParenthesizedExpression(t),t)},parenthesizeExpressionsOfCommaDelimitedList:function(t){const n=T(t,c);return aP(e.createNodeArray(n,t.hasTrailingComma),t)},parenthesizeExpressionForDisallowedComma:c,parenthesizeExpressionOfExpressionStatement:function(t){const n=Eu(t);if(Kw(n)){const r=n.expression,i=Eu(r).kind;if(218===i||219===i){const i=e.updateCallExpression(n,aP(e.createParenthesizedExpression(r),r),n.typeArguments,n.arguments);return e.restoreOuterExpressions(t,i,8)}}const r=Ib(n,!1).kind;if(210===r||218===r)return aP(e.createParenthesizedExpression(t),t);return t},parenthesizeConciseBodyOfArrowFunction:function(t){if(!DI(t)&&(sR(t)||210===Ib(t,!1).kind))return aP(e.createParenthesizedExpression(t),t);return t},parenthesizeCheckTypeOfConditionalType:u,parenthesizeExtendsTypeOfConditionalType:function(t){if(194===t.kind)return e.createParenthesizedType(t);return t},parenthesizeConstituentTypesOfUnionType:function(t){return e.createNodeArray(T(t,l))},parenthesizeConstituentTypeOfUnionType:l,parenthesizeConstituentTypesOfIntersectionType:function(t){return e.createNodeArray(T(t,d))},parenthesizeConstituentTypeOfIntersectionType:d,parenthesizeOperandOfTypeOperator:p,parenthesizeOperandOfReadonlyTypeOperator:function(t){if(198===t.kind)return e.createParenthesizedType(t);return p(t)},parenthesizeNonArrayTypeOfPostfixType:f,parenthesizeElementTypesOfTupleType:function(t){return e.createNodeArray(T(t,_))},parenthesizeElementTypeOfTupleType:_,parenthesizeTypeOfOptionalType:function(t){return m(t)?e.createParenthesizedType(t):f(t)},parenthesizeTypeArguments:function(t){if(J(t))return e.createNodeArray(T(t,g))},parenthesizeLeadingTypeArgument:h};function r(e){if(Ru((e=Eu(e)).kind))return e.kind;if(226===e.kind&&40===e.operatorToken.kind){if(void 0!==e.cachedLiteralKind)return e.cachedLiteralKind;const t=r(e.left),n=Ru(t)&&t===r(e.right)?t:0;return e.cachedLiteralKind=n,n}return 0}function i(t,n,i,o){return 217===Eu(n).kind?n:function(e,t,n,i){const o=aA(226,e),s=rA(226,e),a=Eu(t);if(!n&&219===t.kind&&o>3)return!0;switch(At(iA(a),o)){case-1:return!(!n&&1===s&&229===t.kind);case 1:return!1;case 0:if(n)return 1===s;if(lI(a)&&a.operatorToken.kind===e){if(function(e){return 42===e||52===e||51===e||53===e||28===e}(e))return!1;if(40===e){const e=i?r(i):0;if(Ru(e)&&e===r(a))return!1}}return 0===nA(a)}}(t,n,i,o)?e.createParenthesizedExpression(n):n}function o(e,t){return i(e,t,!0)}function s(e,t,n){return i(e,n,!1,t)}function a(t,n){const r=Eu(t);return!$l(r)||214===r.kind&&!r.arguments||!n&&gu(r)?aP(e.createParenthesizedExpression(t),t):t}function c(t){return iA(Eu(t))>aA(226,28)?t:aP(e.createParenthesizedExpression(t),t)}function u(t){switch(t.kind){case 184:case 185:case 194:return e.createParenthesizedType(t)}return t}function l(t){switch(t.kind){case 192:case 193:return e.createParenthesizedType(t)}return u(t)}function d(t){switch(t.kind){case 192:case 193:return e.createParenthesizedType(t)}return l(t)}function p(t){return 193===t.kind?e.createParenthesizedType(t):d(t)}function f(t){switch(t.kind){case 195:case 198:case 186:return e.createParenthesizedType(t)}return p(t)}function _(t){return m(t)?e.createParenthesizedType(t):t}function m(e){return eF(e)?e.postfix:ww(e)||Cw(e)||Ew(e)||qw(e)?m(e.type):Pw(e)?m(e.falseType):Fw(e)||Rw(e)?m(Ae(e.types)):!!Nw(e)&&(!!e.typeParameter.constraint&&m(e.typeParameter.constraint))}function h(t){return bl(t)&&t.typeParameters?e.createParenthesizedType(t):t}function g(e,t){return 0===t?h(e):e}}var PS={getParenthesizeLeftSideOfBinaryForOperator:e=>st,getParenthesizeRightSideOfBinaryForOperator:e=>st,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:st,parenthesizeConditionOfConditionalExpression:st,parenthesizeBranchOfConditionalExpression:st,parenthesizeExpressionOfExportDefault:st,parenthesizeExpressionOfNew:e=>tt(e,$l),parenthesizeLeftSideOfAccess:e=>tt(e,$l),parenthesizeOperandOfPostfixUnary:e=>tt(e,$l),parenthesizeOperandOfPrefixUnary:e=>tt(e,Ll),parenthesizeExpressionsOfCommaDelimitedList:e=>tt(e,Fu),parenthesizeExpressionForDisallowedComma:st,parenthesizeExpressionOfExpressionStatement:st,parenthesizeConciseBodyOfArrowFunction:st,parenthesizeCheckTypeOfConditionalType:st,parenthesizeExtendsTypeOfConditionalType:st,parenthesizeConstituentTypesOfUnionType:e=>tt(e,Fu),parenthesizeConstituentTypeOfUnionType:st,parenthesizeConstituentTypesOfIntersectionType:e=>tt(e,Fu),parenthesizeConstituentTypeOfIntersectionType:st,parenthesizeOperandOfTypeOperator:st,parenthesizeOperandOfReadonlyTypeOperator:st,parenthesizeNonArrayTypeOfPostfixType:st,parenthesizeElementTypesOfTupleType:e=>tt(e,Fu),parenthesizeElementTypeOfTupleType:st,parenthesizeTypeOfOptionalType:st,parenthesizeTypeArguments:e=>e&&tt(e,Fu),parenthesizeLeadingTypeArgument:st};function NS(e){return{convertToFunctionBlock:function(t,n){if(DI(t))return t;const r=e.createReturnStatement(t);aP(r,t);const i=e.createBlock([r],n);return aP(i,t),i},convertToFunctionExpression:function(t){var n;if(!t.body)return ln.fail("Cannot convert a FunctionDeclaration without a body");const r=e.createFunctionExpression(null==(n=wc(t))?void 0:n.filter((e=>!VD(e)&&!HD(e))),t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);ek(r,t),aP(r,t),pk(t)&&fk(r,!0);return r},convertToClassExpression:function(t){var n;const r=e.createClassExpression(null==(n=t.modifiers)?void 0:n.filter((e=>!VD(e)&&!HD(e))),t.name,t.typeParameters,t.heritageClauses,t.members);ek(r,t),aP(r,t),pk(t)&&fk(r,!0);return r},convertToArrayAssignmentElement:t,convertToObjectAssignmentElement:n,convertToAssignmentPattern:r,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:o,convertToAssignmentElementTarget:s};function t(t){if(Hw(t)){if(t.dotDotDotToken)return ln.assertNode(t.name,UD),ek(aP(e.createSpreadElement(t.name),t),t);const n=s(t.name);return t.initializer?ek(aP(e.createAssignment(n,t.initializer),t),t):n}return tt(t,Jl)}function n(t){if(Hw(t)){if(t.dotDotDotToken)return ln.assertNode(t.name,UD),ek(aP(e.createSpreadAssignment(t.name),t),t);if(t.propertyName){const n=s(t.name);return ek(aP(e.createPropertyAssignment(t.propertyName,t.initializer?e.createAssignment(n,t.initializer):n),t),t)}return ln.assertNode(t.name,UD),ek(aP(e.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return tt(t,yl)}function r(e){switch(e.kind){case 207:case 209:return o(e);case 206:case 210:return i(e)}}function i(t){return Jw(t)?ek(aP(e.createObjectLiteralExpression(w(t.elements,n)),t),t):tt(t,Ww)}function o(n){return Vw(n)?ek(aP(e.createArrayLiteralExpression(w(n.elements,t)),n),n):tt(n,Gw)}function s(e){return Cl(e)?r(e):tt(e,Jl)}}var BS,OS={convertToFunctionBlock:lt,convertToFunctionExpression:lt,convertToClassExpression:lt,convertToArrayAssignmentElement:lt,convertToObjectAssignmentElement:lt,convertToAssignmentPattern:lt,convertToObjectAssignmentPattern:lt,convertToArrayAssignmentPattern:lt,convertToAssignmentElementTarget:lt},qS=0,$S=(e=>(e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e))($S||{}),QS=[];function LS(e){QS.push(e)}function MS(e,t){const n=8&e?st:ek,r=dt((()=>1&e?PS:RS(v))),i=dt((()=>2&e?OS:NS(v))),o=pt((e=>(t,n)=>Nt(t,e,n))),s=pt((e=>t=>Rt(e,t))),c=pt((e=>t=>Pt(t,e))),u=pt((e=>()=>function(e){return C(e)}(e))),d=pt((e=>t=>pr(e,t))),p=pt((e=>(t,n)=>function(e,t,n){return t.type!==n?Ni(pr(e,n),t):t}(e,t,n))),f=pt((e=>(t,n)=>dr(e,t,n))),_=pt((e=>(t,n)=>function(e,t,n){return t.type!==n?Ni(dr(e,n,t.postfix),t):t}(e,t,n))),m=pt((e=>(t,n)=>Nr(e,t,n))),h=pt((e=>(t,n,r)=>function(e,t,n=gr(t),r){return t.tagName!==n||t.comment!==r?Ni(Nr(e,n,r),t):t}(e,t,n,r))),A=pt((e=>(t,n,r)=>Br(e,t,n,r))),y=pt((e=>(t,n,r,i)=>function(e,t,n=gr(t),r,i){return t.tagName!==n||t.typeExpression!==r||t.comment!==i?Ni(Br(e,n,r,i),t):t}(e,t,n,r,i))),v={get parenthesizer(){return r()},get converters(){return i()},baseFactory:t,flags:e,createNodeArray:b,createNumericLiteral:S,createBigIntLiteral:k,createStringLiteral:w,createStringLiteralFromNode:function(e){const t=D(jg(e),void 0);return t.textSourceNode=e,t},createRegularExpressionLiteral:I,createLiteralLikeNode:function(e,t){switch(e){case 9:return S(t,0);case 10:return k(t);case 11:return w(t,void 0);case 12:return Hr(t,!1);case 13:return Hr(t,!0);case 14:return I(t);case 15:return Mt(e,t,void 0,0)}},createIdentifier:R,createTempVariable:P,createLoopVariable:function(e){let t=2;e&&(t|=8);return F("",t,void 0,void 0)},createUniqueName:function(e,t=0,n,r){return ln.assert(!(7&t),"Argument out of range: flags"),ln.assert(32!=(48&t),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),F(e,3|t,n,r)},getGeneratedNameForNode:N,createPrivateIdentifier:function(e){Wt(e,"#")||ln.fail("First character of private identifier must be #: "+e);return O(_c(e))},createUniquePrivateName:function(e,t,n){e&&!Wt(e,"#")&&ln.fail("First character of private identifier must be #: "+e);const r=8|(e?3:1);return q(e??"",r,t,n)},getGeneratedPrivateNameForNode:function(e,t,n){const r=pu(e)?ZR(!0,t,e,n,hc):`#generated@${JQ(e)}`,i=q(r,4|(t||n?16:0),t,n);return i.original=e,i},createToken:Q,createSuper:function(){return Q(108)},createThis:L,createNull:M,createTrue:j,createFalse:U,createModifier:V,createModifiersFromModifierFlags:H,createQualifiedName:G,updateQualifiedName:function(e,t,n){return e.left!==t||e.right!==n?Ni(G(t,n),e):e},createComputedPropertyName:W,updateComputedPropertyName:function(e,t){return e.expression!==t?Ni(W(t),e):e},createTypeParameterDeclaration:z,updateTypeParameterDeclaration:Y,createParameterDeclaration:K,updateParameterDeclaration:X,createDecorator:Z,updateDecorator:function(e,t){return e.expression!==t?Ni(Z(t),e):e},createPropertySignature:ee,updatePropertySignature:te,createPropertyDeclaration:ne,updatePropertyDeclaration:ie,createMethodSignature:oe,updateMethodSignature:se,createMethodDeclaration:ae,updateMethodDeclaration:ce,createConstructorDeclaration:le,updateConstructorDeclaration:de,createGetAccessorDeclaration:pe,updateGetAccessorDeclaration:fe,createSetAccessorDeclaration:_e,updateSetAccessorDeclaration:me,createCallSignature:he,updateCallSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?x(he(t,n,r),e):e},createConstructSignature:Ae,updateConstructSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?x(Ae(t,n,r),e):e},createIndexSignature:ve,updateIndexSignature:be,createClassStaticBlockDeclaration:ue,updateClassStaticBlockDeclaration:function(e,t){return e.body!==t?function(e,t){e!==t&&(e.modifiers=t.modifiers);return Ni(e,t)}(ue(t),e):e},createTemplateLiteralTypeSpan:Ce,updateTemplateLiteralTypeSpan:function(e,t,n){return e.type!==t||e.literal!==n?Ni(Ce(t,n),e):e},createKeywordTypeNode:function(e){return Q(e)},createTypePredicateNode:Ee,updateTypePredicateNode:function(e,t,n,r){return e.assertsModifier!==t||e.parameterName!==n||e.type!==r?Ni(Ee(t,n,r),e):e},createTypeReferenceNode:xe,updateTypeReferenceNode:function(e,t,n){return e.typeName!==t||e.typeArguments!==n?Ni(xe(t,n),e):e},createFunctionTypeNode:ke,updateFunctionTypeNode:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?function(e,t){e!==t&&(e.modifiers=t.modifiers);return x(e,t)}(ke(t,n,r),e):e},createConstructorTypeNode:we,updateConstructorTypeNode:function(...e){return 5===e.length?Te(...e):4===e.length?function(e,t,n,r){return Te(e,e.modifiers,t,n,r)}(...e):ln.fail("Incorrect number of arguments specified.")},createTypeQueryNode:Fe,updateTypeQueryNode:function(e,t,n){return e.exprName!==t||e.typeArguments!==n?Ni(Fe(t,n),e):e},createTypeLiteralNode:Re,updateTypeLiteralNode:function(e,t){return e.members!==t?Ni(Re(t),e):e},createArrayTypeNode:Pe,updateArrayTypeNode:function(e,t){return e.elementType!==t?Ni(Pe(t),e):e},createTupleTypeNode:Ne,updateTupleTypeNode:function(e,t){return e.elements!==t?Ni(Ne(t),e):e},createNamedTupleMember:Be,updateNamedTupleMember:function(e,t,n,r,i){return e.dotDotDotToken!==t||e.name!==n||e.questionToken!==r||e.type!==i?Ni(Be(t,n,r,i),e):e},createOptionalTypeNode:Oe,updateOptionalTypeNode:function(e,t){return e.type!==t?Ni(Oe(t),e):e},createRestTypeNode:qe,updateRestTypeNode:function(e,t){return e.type!==t?Ni(qe(t),e):e},createUnionTypeNode:function(e){return $e(192,e,r().parenthesizeConstituentTypesOfUnionType)},updateUnionTypeNode:function(e,t){return Qe(e,t,r().parenthesizeConstituentTypesOfUnionType)},createIntersectionTypeNode:function(e){return $e(193,e,r().parenthesizeConstituentTypesOfIntersectionType)},updateIntersectionTypeNode:function(e,t){return Qe(e,t,r().parenthesizeConstituentTypesOfIntersectionType)},createConditionalTypeNode:Le,updateConditionalTypeNode:function(e,t,n,r,i){return e.checkType!==t||e.extendsType!==n||e.trueType!==r||e.falseType!==i?Ni(Le(t,n,r,i),e):e},createInferTypeNode:Me,updateInferTypeNode:function(e,t){return e.typeParameter!==t?Ni(Me(t),e):e},createImportTypeNode:Ue,updateImportTypeNode:function(e,t,n,r,i,o=e.isTypeOf){return e.argument!==t||e.attributes!==n||e.qualifier!==r||e.typeArguments!==i||e.isTypeOf!==o?Ni(Ue(t,n,r,i,o),e):e},createParenthesizedType:Je,updateParenthesizedType:function(e,t){return e.type!==t?Ni(Je(t),e):e},createThisTypeNode:function(){const e=C(197);return e.transformFlags=1,e},createTypeOperatorNode:Ve,updateTypeOperatorNode:function(e,t){return e.type!==t?Ni(Ve(e.operator,t),e):e},createIndexedAccessTypeNode:He,updateIndexedAccessTypeNode:function(e,t,n){return e.objectType!==t||e.indexType!==n?Ni(He(t,n),e):e},createMappedTypeNode:Ge,updateMappedTypeNode:function(e,t,n,r,i,o,s){return e.readonlyToken!==t||e.typeParameter!==n||e.nameType!==r||e.questionToken!==i||e.type!==o||e.members!==s?Ni(Ge(t,n,r,i,o,s),e):e},createLiteralTypeNode:We,updateLiteralTypeNode:function(e,t){return e.literal!==t?Ni(We(t),e):e},createTemplateLiteralType:je,updateTemplateLiteralType:function(e,t,n){return e.head!==t||e.templateSpans!==n?Ni(je(t,n),e):e},createObjectBindingPattern:ze,updateObjectBindingPattern:function(e,t){return e.elements!==t?Ni(ze(t),e):e},createArrayBindingPattern:Ke,updateArrayBindingPattern:function(e,t){return e.elements!==t?Ni(Ke(t),e):e},createBindingElement:Xe,updateBindingElement:function(e,t,n,r,i){return e.propertyName!==n||e.dotDotDotToken!==t||e.name!==r||e.initializer!==i?Ni(Xe(t,n,r,i),e):e},createArrayLiteralExpression:Ze,updateArrayLiteralExpression:function(e,t){return e.elements!==t?Ni(Ze(t,e.multiLine),e):e},createObjectLiteralExpression:et,updateObjectLiteralExpression:function(e,t){return e.properties!==t?Ni(et(t,e.multiLine),e):e},createPropertyAccessExpression:4&e?(e,t)=>ik(rt(e,t),262144):rt,updatePropertyAccessExpression:function(e,t,n){if(_u(e))return at(e,t,e.questionDotToken,tt(n,UD));return e.expression!==t||e.name!==n?Ni(rt(t,n),e):e},createPropertyAccessChain:4&e?(e,t,n)=>ik(ot(e,t,n),262144):ot,updatePropertyAccessChain:at,createElementAccessExpression:ut,updateElementAccessExpression:function(e,t,n){if(mu(e))return ft(e,t,e.questionDotToken,n);return e.expression!==t||e.argumentExpression!==n?Ni(ut(t,n),e):e},createElementAccessChain:lt,updateElementAccessChain:ft,createCallExpression:mt,updateCallExpression:function(e,t,n,r){if(hu(e))return gt(e,t,e.questionDotToken,n,r);return e.expression!==t||e.typeArguments!==n||e.arguments!==r?Ni(mt(t,n,r),e):e},createCallChain:ht,updateCallChain:gt,createNewExpression:At,updateNewExpression:function(e,t,n,r){return e.expression!==t||e.typeArguments!==n||e.arguments!==r?Ni(At(t,n,r),e):e},createTaggedTemplateExpression:yt,updateTaggedTemplateExpression:function(e,t,n,r){return e.tag!==t||e.typeArguments!==n||e.template!==r?Ni(yt(t,n,r),e):e},createTypeAssertion:vt,updateTypeAssertion:bt,createParenthesizedExpression:Ct,updateParenthesizedExpression:Et,createFunctionExpression:xt,updateFunctionExpression:St,createArrowFunction:kt,updateArrowFunction:Dt,createDeleteExpression:wt,updateDeleteExpression:function(e,t){return e.expression!==t?Ni(wt(t),e):e},createTypeOfExpression:It,updateTypeOfExpression:function(e,t){return e.expression!==t?Ni(It(t),e):e},createVoidExpression:Tt,updateVoidExpression:function(e,t){return e.expression!==t?Ni(Tt(t),e):e},createAwaitExpression:Ft,updateAwaitExpression:function(e,t){return e.expression!==t?Ni(Ft(t),e):e},createPrefixUnaryExpression:Rt,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?Ni(Rt(e.operator,t),e):e},createPostfixUnaryExpression:Pt,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?Ni(Pt(t,e.operator),e):e},createBinaryExpression:Nt,updateBinaryExpression:function(e,t,n,r){return e.left!==t||e.operatorToken!==n||e.right!==r?Ni(Nt(t,n,r),e):e},createConditionalExpression:Ot,updateConditionalExpression:function(e,t,n,r,i,o){return e.condition!==t||e.questionToken!==n||e.whenTrue!==r||e.colonToken!==i||e.whenFalse!==o?Ni(Ot(t,n,r,i,o),e):e},createTemplateExpression:qt,updateTemplateExpression:function(e,t,n){return e.head!==t||e.templateSpans!==n?Ni(qt(t,n),e):e},createTemplateHead:function(e,t,n){return e=$t(16,e,t,n),Mt(16,e,t,n)},createTemplateMiddle:function(e,t,n){return e=$t(16,e,t,n),Mt(17,e,t,n)},createTemplateTail:function(e,t,n){return e=$t(16,e,t,n),Mt(18,e,t,n)},createNoSubstitutionTemplateLiteral:function(e,t,n){return e=$t(16,e,t,n),Lt(15,e,t,n)},createTemplateLiteralLikeNode:Mt,createYieldExpression:jt,updateYieldExpression:function(e,t,n){return e.expression!==n||e.asteriskToken!==t?Ni(jt(t,n),e):e},createSpreadElement:Ut,updateSpreadElement:function(e,t){return e.expression!==t?Ni(Ut(t),e):e},createClassExpression:Jt,updateClassExpression:Vt,createOmittedExpression:function(){return C(232)},createExpressionWithTypeArguments:Ht,updateExpressionWithTypeArguments:Gt,createAsExpression:zt,updateAsExpression:Yt,createNonNullExpression:Kt,updateNonNullExpression:Xt,createSatisfiesExpression:Zt,updateSatisfiesExpression:en,createNonNullChain:tn,updateNonNullChain:nn,createMetaProperty:rn,updateMetaProperty:function(e,t){return e.name!==t?Ni(rn(e.keywordToken,t),e):e},createTemplateSpan:on,updateTemplateSpan:function(e,t,n){return e.expression!==t||e.literal!==n?Ni(on(t,n),e):e},createSemicolonClassElement:function(){const e=C(240);return e.transformFlags|=1024,e},createBlock:sn,updateBlock:function(e,t){return e.statements!==t?Ni(sn(t,e.multiLine),e):e},createVariableStatement:an,updateVariableStatement:cn,createEmptyStatement:un,createExpressionStatement:dn,updateExpressionStatement:function(e,t){return e.expression!==t?Ni(dn(t),e):e},createIfStatement:pn,updateIfStatement:function(e,t,n,r){return e.expression!==t||e.thenStatement!==n||e.elseStatement!==r?Ni(pn(t,n,r),e):e},createDoStatement:fn,updateDoStatement:function(e,t,n){return e.statement!==t||e.expression!==n?Ni(fn(t,n),e):e},createWhileStatement:_n,updateWhileStatement:function(e,t,n){return e.expression!==t||e.statement!==n?Ni(_n(t,n),e):e},createForStatement:mn,updateForStatement:function(e,t,n,r,i){return e.initializer!==t||e.condition!==n||e.incrementor!==r||e.statement!==i?Ni(mn(t,n,r,i),e):e},createForInStatement:hn,updateForInStatement:function(e,t,n,r){return e.initializer!==t||e.expression!==n||e.statement!==r?Ni(hn(t,n,r),e):e},createForOfStatement:gn,updateForOfStatement:function(e,t,n,r,i){return e.awaitModifier!==t||e.initializer!==n||e.expression!==r||e.statement!==i?Ni(gn(t,n,r,i),e):e},createContinueStatement:An,updateContinueStatement:function(e,t){return e.label!==t?Ni(An(t),e):e},createBreakStatement:yn,updateBreakStatement:function(e,t){return e.label!==t?Ni(yn(t),e):e},createReturnStatement:vn,updateReturnStatement:function(e,t){return e.expression!==t?Ni(vn(t),e):e},createWithStatement:bn,updateWithStatement:function(e,t,n){return e.expression!==t||e.statement!==n?Ni(bn(t,n),e):e},createSwitchStatement:Cn,updateSwitchStatement:function(e,t,n){return e.expression!==t||e.caseBlock!==n?Ni(Cn(t,n),e):e},createLabeledStatement:En,updateLabeledStatement:xn,createThrowStatement:Sn,updateThrowStatement:function(e,t){return e.expression!==t?Ni(Sn(t),e):e},createTryStatement:kn,updateTryStatement:function(e,t,n,r){return e.tryBlock!==t||e.catchClause!==n||e.finallyBlock!==r?Ni(kn(t,n,r),e):e},createDebuggerStatement:function(){const e=C(259);return e.jsDoc=void 0,e.flowNode=void 0,e},createVariableDeclaration:Dn,updateVariableDeclaration:function(e,t,n,r,i){return e.name!==t||e.type!==r||e.exclamationToken!==n||e.initializer!==i?Ni(Dn(t,n,r,i),e):e},createVariableDeclarationList:wn,updateVariableDeclarationList:function(e,t){return e.declarations!==t?Ni(wn(t,e.flags),e):e},createFunctionDeclaration:In,updateFunctionDeclaration:Tn,createClassDeclaration:Fn,updateClassDeclaration:Rn,createInterfaceDeclaration:Pn,updateInterfaceDeclaration:Nn,createTypeAliasDeclaration:Bn,updateTypeAliasDeclaration:On,createEnumDeclaration:qn,updateEnumDeclaration:$n,createModuleDeclaration:Qn,updateModuleDeclaration:Ln,createModuleBlock:Mn,updateModuleBlock:function(e,t){return e.statements!==t?Ni(Mn(t),e):e},createCaseBlock:jn,updateCaseBlock:function(e,t){return e.clauses!==t?Ni(jn(t),e):e},createNamespaceExportDeclaration:Un,updateNamespaceExportDeclaration:function(e,t){return e.name!==t?function(e,t){e!==t&&(e.modifiers=t.modifiers);return Ni(e,t)}(Un(t),e):e},createImportEqualsDeclaration:Jn,updateImportEqualsDeclaration:Vn,createImportDeclaration:Hn,updateImportDeclaration:Gn,createImportClause:Wn,updateImportClause:function(e,t,n,r){return e.isTypeOnly!==t||e.name!==n||e.namedBindings!==r?Ni(Wn(t,n,r),e):e},createAssertClause:zn,updateAssertClause:function(e,t,n){return e.elements!==t||e.multiLine!==n?Ni(zn(t,n),e):e},createAssertEntry:Yn,updateAssertEntry:function(e,t,n){return e.name!==t||e.value!==n?Ni(Yn(t,n),e):e},createImportTypeAssertionContainer:Kn,updateImportTypeAssertionContainer:function(e,t,n){return e.assertClause!==t||e.multiLine!==n?Ni(Kn(t,n),e):e},createImportAttributes:Xn,updateImportAttributes:function(e,t,n){return e.elements!==t||e.multiLine!==n?Ni(Xn(t,n,e.token),e):e},createImportAttribute:Zn,updateImportAttribute:function(e,t,n){return e.name!==t||e.value!==n?Ni(Zn(t,n),e):e},createNamespaceImport:er,updateNamespaceImport:function(e,t){return e.name!==t?Ni(er(t),e):e},createNamespaceExport:tr,updateNamespaceExport:function(e,t){return e.name!==t?Ni(tr(t),e):e},createNamedImports:nr,updateNamedImports:function(e,t){return e.elements!==t?Ni(nr(t),e):e},createImportSpecifier:rr,updateImportSpecifier:function(e,t,n,r){return e.isTypeOnly!==t||e.propertyName!==n||e.name!==r?Ni(rr(t,n,r),e):e},createExportAssignment:ir,updateExportAssignment:or,createExportDeclaration:sr,updateExportDeclaration:ar,createNamedExports:cr,updateNamedExports:function(e,t){return e.elements!==t?Ni(cr(t),e):e},createExportSpecifier:ur,updateExportSpecifier:function(e,t,n,r){return e.isTypeOnly!==t||e.propertyName!==n||e.name!==r?Ni(ur(t,n,r),e):e},createMissingDeclaration:function(){const e=E(282);return e.jsDoc=void 0,e},createExternalModuleReference:lr,updateExternalModuleReference:function(e,t){return e.expression!==t?Ni(lr(t),e):e},get createJSDocAllType(){return u(312)},get createJSDocUnknownType(){return u(313)},get createJSDocNonNullableType(){return f(315)},get updateJSDocNonNullableType(){return _(315)},get createJSDocNullableType(){return f(314)},get updateJSDocNullableType(){return _(314)},get createJSDocOptionalType(){return d(316)},get updateJSDocOptionalType(){return p(316)},get createJSDocVariadicType(){return d(318)},get updateJSDocVariadicType(){return p(318)},get createJSDocNamepathType(){return d(319)},get updateJSDocNamepathType(){return p(319)},createJSDocFunctionType:fr,updateJSDocFunctionType:function(e,t,n){return e.parameters!==t||e.type!==n?Ni(fr(t,n),e):e},createJSDocTypeLiteral:_r,updateJSDocTypeLiteral:function(e,t,n){return e.jsDocPropertyTags!==t||e.isArrayType!==n?Ni(_r(t,n),e):e},createJSDocTypeExpression:mr,updateJSDocTypeExpression:function(e,t){return e.type!==t?Ni(mr(t),e):e},createJSDocSignature:hr,updateJSDocSignature:function(e,t,n,r){return e.typeParameters!==t||e.parameters!==n||e.type!==r?Ni(hr(t,n,r),e):e},createJSDocTemplateTag:vr,updateJSDocTemplateTag:function(e,t=gr(e),n,r,i){return e.tagName!==t||e.constraint!==n||e.typeParameters!==r||e.comment!==i?Ni(vr(t,n,r,i),e):e},createJSDocTypedefTag:br,updateJSDocTypedefTag:function(e,t=gr(e),n,r,i){return e.tagName!==t||e.typeExpression!==n||e.fullName!==r||e.comment!==i?Ni(br(t,n,r,i),e):e},createJSDocParameterTag:Cr,updateJSDocParameterTag:function(e,t=gr(e),n,r,i,o,s){return e.tagName!==t||e.name!==n||e.isBracketed!==r||e.typeExpression!==i||e.isNameFirst!==o||e.comment!==s?Ni(Cr(t,n,r,i,o,s),e):e},createJSDocPropertyTag:Er,updateJSDocPropertyTag:function(e,t=gr(e),n,r,i,o,s){return e.tagName!==t||e.name!==n||e.isBracketed!==r||e.typeExpression!==i||e.isNameFirst!==o||e.comment!==s?Ni(Er(t,n,r,i,o,s),e):e},createJSDocCallbackTag:xr,updateJSDocCallbackTag:function(e,t=gr(e),n,r,i){return e.tagName!==t||e.typeExpression!==n||e.fullName!==r||e.comment!==i?Ni(xr(t,n,r,i),e):e},createJSDocOverloadTag:Sr,updateJSDocOverloadTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.typeExpression!==n||e.comment!==r?Ni(Sr(t,n,r),e):e},createJSDocAugmentsTag:kr,updateJSDocAugmentsTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.class!==n||e.comment!==r?Ni(kr(t,n,r),e):e},createJSDocImplementsTag:Dr,updateJSDocImplementsTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.class!==n||e.comment!==r?Ni(Dr(t,n,r),e):e},createJSDocSeeTag:wr,updateJSDocSeeTag:function(e,t,n,r){return e.tagName!==t||e.name!==n||e.comment!==r?Ni(wr(t,n,r),e):e},createJSDocImportTag:$r,updateJSDocImportTag:function(e,t,n,r,i,o){return e.tagName!==t||e.comment!==o||e.importClause!==n||e.moduleSpecifier!==r||e.attributes!==i?Ni($r(t,n,r,i,o),e):e},createJSDocNameReference:Ir,updateJSDocNameReference:function(e,t){return e.name!==t?Ni(Ir(t),e):e},createJSDocMemberName:Tr,updateJSDocMemberName:function(e,t,n){return e.left!==t||e.right!==n?Ni(Tr(t,n),e):e},createJSDocLink:Fr,updateJSDocLink:function(e,t,n){return e.name!==t?Ni(Fr(t,n),e):e},createJSDocLinkCode:Rr,updateJSDocLinkCode:function(e,t,n){return e.name!==t?Ni(Rr(t,n),e):e},createJSDocLinkPlain:Pr,updateJSDocLinkPlain:function(e,t,n){return e.name!==t?Ni(Pr(t,n),e):e},get createJSDocTypeTag(){return A(344)},get updateJSDocTypeTag(){return y(344)},get createJSDocReturnTag(){return A(342)},get updateJSDocReturnTag(){return y(342)},get createJSDocThisTag(){return A(343)},get updateJSDocThisTag(){return y(343)},get createJSDocAuthorTag(){return m(330)},get updateJSDocAuthorTag(){return h(330)},get createJSDocClassTag(){return m(332)},get updateJSDocClassTag(){return h(332)},get createJSDocPublicTag(){return m(333)},get updateJSDocPublicTag(){return h(333)},get createJSDocPrivateTag(){return m(334)},get updateJSDocPrivateTag(){return h(334)},get createJSDocProtectedTag(){return m(335)},get updateJSDocProtectedTag(){return h(335)},get createJSDocReadonlyTag(){return m(336)},get updateJSDocReadonlyTag(){return h(336)},get createJSDocOverrideTag(){return m(337)},get updateJSDocOverrideTag(){return h(337)},get createJSDocDeprecatedTag(){return m(331)},get updateJSDocDeprecatedTag(){return h(331)},get createJSDocThrowsTag(){return A(349)},get updateJSDocThrowsTag(){return y(349)},get createJSDocSatisfiesTag(){return A(350)},get updateJSDocSatisfiesTag(){return y(350)},createJSDocEnumTag:qr,updateJSDocEnumTag:function(e,t=gr(e),n,r){return e.tagName!==t||e.typeExpression!==n||e.comment!==r?Ni(qr(t,n,r),e):e},createJSDocUnknownTag:Or,updateJSDocUnknownTag:function(e,t,n){return e.tagName!==t||e.comment!==n?Ni(Or(t,n),e):e},createJSDocText:Qr,updateJSDocText:function(e,t){return e.text!==t?Ni(Qr(t),e):e},createJSDocComment:Lr,updateJSDocComment:function(e,t,n){return e.comment!==t||e.tags!==n?Ni(Lr(t,n),e):e},createJsxElement:Mr,updateJsxElement:function(e,t,n,r){return e.openingElement!==t||e.children!==n||e.closingElement!==r?Ni(Mr(t,n,r),e):e},createJsxSelfClosingElement:jr,updateJsxSelfClosingElement:function(e,t,n,r){return e.tagName!==t||e.typeArguments!==n||e.attributes!==r?Ni(jr(t,n,r),e):e},createJsxOpeningElement:Ur,updateJsxOpeningElement:function(e,t,n,r){return e.tagName!==t||e.typeArguments!==n||e.attributes!==r?Ni(Ur(t,n,r),e):e},createJsxClosingElement:Jr,updateJsxClosingElement:function(e,t){return e.tagName!==t?Ni(Jr(t),e):e},createJsxFragment:Vr,createJsxText:Hr,updateJsxText:function(e,t,n){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==n?Ni(Hr(t,n),e):e},createJsxOpeningFragment:function(){const e=C(289);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){const e=C(290);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,n,r){return e.openingFragment!==t||e.children!==n||e.closingFragment!==r?Ni(Vr(t,n,r),e):e},createJsxAttribute:Gr,updateJsxAttribute:function(e,t,n){return e.name!==t||e.initializer!==n?Ni(Gr(t,n),e):e},createJsxAttributes:Wr,updateJsxAttributes:function(e,t){return e.properties!==t?Ni(Wr(t),e):e},createJsxSpreadAttribute:zr,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?Ni(zr(t),e):e},createJsxExpression:Yr,updateJsxExpression:function(e,t){return e.expression!==t?Ni(Yr(e.dotDotDotToken,t),e):e},createJsxNamespacedName:Kr,updateJsxNamespacedName:function(e,t,n){return e.namespace!==t||e.name!==n?Ni(Kr(t,n),e):e},createCaseClause:Xr,updateCaseClause:function(e,t,n){return e.expression!==t||e.statements!==n?Ni(Xr(t,n),e):e},createDefaultClause:Zr,updateDefaultClause:function(e,t){return e.statements!==t?Ni(Zr(t),e):e},createHeritageClause:ei,updateHeritageClause:function(e,t){return e.types!==t?Ni(ei(e.token,t),e):e},createCatchClause:ti,updateCatchClause:function(e,t,n){return e.variableDeclaration!==t||e.block!==n?Ni(ti(t,n),e):e},createPropertyAssignment:ni,updatePropertyAssignment:ri,createShorthandPropertyAssignment:ii,updateShorthandPropertyAssignment:function(e,t,n){return e.name!==t||e.objectAssignmentInitializer!==n?function(e,t){e!==t&&(e.modifiers=t.modifiers,e.questionToken=t.questionToken,e.exclamationToken=t.exclamationToken,e.equalsToken=t.equalsToken);return Ni(e,t)}(ii(t,n),e):e},createSpreadAssignment:oi,updateSpreadAssignment:function(e,t){return e.expression!==t?Ni(oi(t),e):e},createEnumMember:si,updateEnumMember:function(e,t,n){return e.name!==t||e.initializer!==n?Ni(si(t,n),e):e},createSourceFile:function(e,n,r){const i=t.createBaseSourceFileNode(307);return i.statements=b(e),i.endOfFileToken=n,i.flags|=r,i.text="",i.fileName="",i.path="",i.resolvedPath="",i.originalFileName="",i.languageVersion=1,i.languageVariant=0,i.scriptKind=0,i.isDeclarationFile=!1,i.hasNoDefaultLib=!1,i.transformFlags|=GS(i.statements)|HS(i.endOfFileToken),i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.nodeCount=0,i.identifierCount=0,i.symbolCount=0,i.parseDiagnostics=void 0,i.bindDiagnostics=void 0,i.bindSuggestionDiagnostics=void 0,i.lineMap=void 0,i.externalModuleIndicator=void 0,i.setExternalModuleIndicator=void 0,i.pragmas=void 0,i.checkJsDirective=void 0,i.referencedFiles=void 0,i.typeReferenceDirectives=void 0,i.libReferenceDirectives=void 0,i.amdDependencies=void 0,i.commentDirectives=void 0,i.identifiers=void 0,i.packageJsonLocations=void 0,i.packageJsonScope=void 0,i.imports=void 0,i.moduleAugmentations=void 0,i.ambientModuleNames=void 0,i.classifiableNames=void 0,i.impliedNodeFormat=void 0,i},updateSourceFile:function(e,t,n=e.isDeclarationFile,r=e.referencedFiles,i=e.typeReferenceDirectives,o=e.hasNoDefaultLib,s=e.libReferenceDirectives){return e.statements!==t||e.isDeclarationFile!==n||e.referencedFiles!==r||e.typeReferenceDirectives!==i||e.hasNoDefaultLib!==o||e.libReferenceDirectives!==s?Ni(function(e,t,n,r,i,o,s){const a=ci(e);return a.statements=b(t),a.isDeclarationFile=n,a.referencedFiles=r,a.typeReferenceDirectives=i,a.hasNoDefaultLib=o,a.libReferenceDirectives=s,a.transformFlags=GS(a.statements)|HS(a.endOfFileToken),a}(e,t,n,r,i,o,s),e):e},createRedirectedSourceFile:ai,createBundle:ui,updateBundle:function(e,t){return e.sourceFiles!==t?Ni(ui(t),e):e},createSyntheticExpression:function(e,t=!1,n){const r=C(237);return r.type=e,r.isSpread=t,r.tupleNameSource=n,r},createSyntaxList:function(e){const t=C(352);return t._children=e,t},createNotEmittedStatement:function(e){const t=C(353);return t.original=e,aP(t,e),t},createNotEmittedTypeElement:function(){return C(354)},createPartiallyEmittedExpression:li,updatePartiallyEmittedExpression:di,createCommaListExpression:fi,updateCommaListExpression:function(e,t){return e.elements!==t?Ni(fi(t),e):e},createSyntheticReferenceExpression:_i,updateSyntheticReferenceExpression:function(e,t,n){return e.expression!==t||e.thisArg!==n?Ni(_i(t,n),e):e},cloneNode:mi,get createComma(){return o(28)},get createAssignment(){return o(64)},get createLogicalOr(){return o(57)},get createLogicalAnd(){return o(56)},get createBitwiseOr(){return o(52)},get createBitwiseXor(){return o(53)},get createBitwiseAnd(){return o(51)},get createStrictEquality(){return o(37)},get createStrictInequality(){return o(38)},get createEquality(){return o(35)},get createInequality(){return o(36)},get createLessThan(){return o(30)},get createLessThanEquals(){return o(33)},get createGreaterThan(){return o(32)},get createGreaterThanEquals(){return o(34)},get createLeftShift(){return o(48)},get createRightShift(){return o(49)},get createUnsignedRightShift(){return o(50)},get createAdd(){return o(40)},get createSubtract(){return o(41)},get createMultiply(){return o(42)},get createDivide(){return o(44)},get createModulo(){return o(45)},get createExponent(){return o(43)},get createPrefixPlus(){return s(40)},get createPrefixMinus(){return s(41)},get createPrefixIncrement(){return s(46)},get createPrefixDecrement(){return s(47)},get createBitwiseNot(){return s(55)},get createLogicalNot(){return s(54)},get createPostfixIncrement(){return c(46)},get createPostfixDecrement(){return c(47)},createImmediatelyInvokedFunctionExpression:function(e,t,n){return mt(xt(void 0,void 0,void 0,void 0,t?[t]:[],void 0,sn(e,!0)),void 0,n?[n]:[])},createImmediatelyInvokedArrowFunction:function(e,t,n){return mt(kt(void 0,void 0,t?[t]:[],void 0,void 0,sn(e,!0)),void 0,n?[n]:[])},createVoidZero:hi,createExportDefault:function(e){return ir(void 0,!1,e)},createExternalModuleExport:function(e){return sr(void 0,!1,cr([ur(!1,void 0,e)]))},createTypeCheck:function(e,t){return"null"===t?v.createStrictEquality(e,M()):"undefined"===t?v.createStrictEquality(e,hi()):v.createStrictEquality(It(e),w(t))},createIsNotTypeCheck:function(e,t){return"null"===t?v.createStrictInequality(e,M()):"undefined"===t?v.createStrictInequality(e,hi()):v.createStrictInequality(It(e),w(t))},createMethodCall:gi,createGlobalMethodCall:Ai,createFunctionBindCall:function(e,t,n){return gi(e,"bind",[t,...n])},createFunctionCallCall:function(e,t,n){return gi(e,"call",[t,...n])},createFunctionApplyCall:function(e,t,n){return gi(e,"apply",[t,n])},createArraySliceCall:function(e,t){return gi(e,"slice",void 0===t?[]:[Fi(t)])},createArrayConcatCall:function(e,t){return gi(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,n){return Ai("Object","defineProperty",[e,Fi(t),n])},createObjectGetOwnPropertyDescriptorCall:function(e,t){return Ai("Object","getOwnPropertyDescriptor",[e,Fi(t)])},createReflectGetCall:function(e,t,n){return Ai("Reflect","get",n?[e,t,n]:[e,t])},createReflectSetCall:function(e,t,n,r){return Ai("Reflect","set",r?[e,t,n,r]:[e,t,n])},createPropertyDescriptor:function(e,t){const n=[];yi(n,"enumerable",Fi(e.enumerable)),yi(n,"configurable",Fi(e.configurable));let r=yi(n,"writable",Fi(e.writable));r=yi(n,"value",e.value)||r;let i=yi(n,"get",e.get);return i=yi(n,"set",e.set)||i,ln.assert(!(r&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),et(n,!t)},createCallBinding:function(e,t,n,i=!1){const o=lR(e,31);let s,a;sm(o)?(s=L(),a=o):tw(o)?(s=L(),a=void 0!==n&&n<2?aP(R("_super"),o):o):8192&Xp(o)?(s=hi(),a=r().parenthesizeLeftSideOfAccess(o,!1)):zw(o)?vi(o.expression,i)?(s=P(t),a=rt(aP(v.createAssignment(s,o.expression),o.expression),o.name),aP(a,o)):(s=o.expression,a=o):Yw(o)?vi(o.expression,i)?(s=P(t),a=ut(aP(v.createAssignment(s,o.expression),o.expression),o.argumentExpression),aP(a,o)):(s=o.expression,a=o):(s=hi(),a=r().parenthesizeLeftSideOfAccess(e,!1));return{target:a,thisArg:s}},createAssignmentTargetWrapper:function(e,t){return rt(Ct(et([_e(void 0,"value",[K(void 0,void 0,e,void 0,void 0,void 0)],sn([dn(t)]))])),"value")},inlineExpressions:function(e){return e.length>10?fi(e):Se(e,v.createComma)},getInternalName:function(e,t,n){return bi(e,t,n,98304)},getLocalName:function(e,t,n,r){return bi(e,t,n,32768,r)},getExportName:Ci,getDeclarationName:function(e,t,n){return bi(e,t,n)},getNamespaceMemberName:Ei,getExternalModuleOrNamespaceExportName:function(e,t,n,r){if(e&&wy(t,32))return Ei(e,bi(t),n,r);return Ci(t,n,r)},restoreOuterExpressions:function e(t,n,r=31){if(t&&uR(t,r)&&!function(e){return tI(e)&&eA(e)&&eA(ck(e))&&eA(_k(e))&&!J(hk(e))&&!J(yk(e))}(t))return function(e,t){switch(e.kind){case 217:return Et(e,t);case 216:return bt(e,e.type,t);case 234:return Yt(e,t,e.type);case 238:return en(e,t,e.type);case 235:return Xt(e,t);case 233:return Gt(e,t,e.typeArguments);case 355:return di(e,t)}}(t,e(t.expression,n));return n},restoreEnclosingLabel:function e(t,n,r){if(!n)return t;const i=xn(n,n.label,jI(n.statement)?e(t,n.statement):t);r&&r(n);return i},createUseStrictPrologue:Si,copyPrologue:function(e,t,n,r){const i=ki(e,t,0,n);return Di(e,t,i,r)},copyStandardPrologue:ki,copyCustomPrologue:Di,ensureUseStrict:function(e){if(!rR(e))return aP(b([Si(),...e]),e);return e},liftToBlock:function(e){return ln.assert(g(e,_d),"Cannot lift nodes to a Block."),ye(e)||sn(e)},mergeLexicalEnvironment:function(e,t){if(!J(t))return e;const n=wi(e,p_,0),r=wi(e,__,n),i=wi(e,h_,r),o=wi(t,p_,0),s=wi(t,__,o),a=wi(t,h_,s),c=wi(t,f_,a);ln.assert(c===t.length,"Expected declarations to be valid standard or custom prologues");const u=Fu(e)?e.slice():e;c>a&&u.splice(i,0,...t.slice(a,c));a>s&&u.splice(r,0,...t.slice(s,a));s>o&&u.splice(n,0,...t.slice(o,s));if(o>0)if(0===n)u.splice(0,0,...t.slice(0,o));else{const r=new Map;for(let t=0;t=0;e--){const n=t[e];r.has(n.expression.text)||u.unshift(n)}}if(Fu(e))return aP(b(u,e.hasTrailingComma),e);return e},replaceModifiers:function(e,t){let n;n="number"==typeof t?H(t):t;return sw(e)?Y(e,n,e.name,e.constraint,e.default):aw(e)?X(e,n,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):Ew(e)?Te(e,n,e.typeParameters,e.parameters,e.type):uw(e)?te(e,n,e.name,e.questionToken,e.type):lw(e)?ie(e,n,e.name,e.questionToken??e.exclamationToken,e.type,e.initializer):dw(e)?se(e,n,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):pw(e)?ce(e,n,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):_w(e)?de(e,n,e.parameters,e.body):mw(e)?fe(e,n,e.name,e.parameters,e.type,e.body):hw(e)?me(e,n,e.name,e.parameters,e.body):yw(e)?be(e,n,e.parameters,e.type):nI(e)?St(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):rI(e)?Dt(e,n,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):mI(e)?Vt(e,n,e.name,e.typeParameters,e.heritageClauses,e.members):wI(e)?cn(e,n,e.declarationList):WI(e)?Tn(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):zI(e)?Rn(e,n,e.name,e.typeParameters,e.heritageClauses,e.members):YI(e)?Nn(e,n,e.name,e.typeParameters,e.heritageClauses,e.members):KI(e)?On(e,n,e.name,e.typeParameters,e.type):XI(e)?$n(e,n,e.name,e.members):ZI(e)?Ln(e,n,e.name,e.body):rT(e)?Vn(e,n,e.isTypeOnly,e.name,e.moduleReference):iT(e)?Gn(e,n,e.importClause,e.moduleSpecifier,e.attributes):mT(e)?or(e,n,e.expression):hT(e)?ar(e,n,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.attributes):ln.assertNever(e)},replaceDecoratorsAndModifiers:function(e,t){return aw(e)?X(e,t,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):lw(e)?ie(e,t,e.name,e.questionToken??e.exclamationToken,e.type,e.initializer):pw(e)?ce(e,t,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):mw(e)?fe(e,t,e.name,e.parameters,e.type,e.body):hw(e)?me(e,t,e.name,e.parameters,e.body):mI(e)?Vt(e,t,e.name,e.typeParameters,e.heritageClauses,e.members):zI(e)?Rn(e,t,e.name,e.typeParameters,e.heritageClauses,e.members):ln.assertNever(e)},replacePropertyName:function(e,t){switch(e.kind){case 177:return fe(e,e.modifiers,t,e.parameters,e.type,e.body);case 178:return me(e,e.modifiers,t,e.parameters,e.body);case 174:return ce(e,e.modifiers,e.asteriskToken,t,e.questionToken,e.typeParameters,e.parameters,e.type,e.body);case 173:return se(e,e.modifiers,t,e.questionToken,e.typeParameters,e.parameters,e.type);case 172:return ie(e,e.modifiers,t,e.questionToken??e.exclamationToken,e.type,e.initializer);case 171:return te(e,e.modifiers,t,e.questionToken,e.type);case 303:return ri(e,t,e.initializer)}}};return l(QS,(e=>e(v))),v;function b(e,t){if(void 0===e||e===a)e=[];else if(Fu(e)){if(void 0===t||e.hasTrailingComma===t)return void 0===e.transformFlags&&WS(e),ln.attachNodeArrayDebugInfo(e),e;const n=e.slice();return n.pos=e.pos,n.end=e.end,n.hasTrailingComma=t,n.transformFlags=e.transformFlags,ln.attachNodeArrayDebugInfo(n),n}const n=e.length,r=n>=1&&n<=4?e.slice():e;return r.pos=-1,r.end=-1,r.hasTrailingComma=!!t,r.transformFlags=0,WS(r),ln.attachNodeArrayDebugInfo(r),r}function C(e){return t.createBaseNode(e)}function E(e){const t=C(e);return t.symbol=void 0,t.localSymbol=void 0,t}function x(e,t){return e!==t&&(e.typeArguments=t.typeArguments),Ni(e,t)}function S(e,t=0){const n="number"==typeof e?e+"":e;ln.assert(45!==n.charCodeAt(0),"Negative numbers should be created in combination with createPrefixUnaryExpression");const r=E(9);return r.text=n,r.numericLiteralFlags=t,384&t&&(r.transformFlags|=1024),r}function k(e){const t=$(10);return t.text="string"==typeof e?e:hx(e)+"n",t.transformFlags|=32,t}function D(e,t){const n=E(11);return n.text=e,n.singleQuote=t,n}function w(e,t,n){const r=D(e,t);return r.hasExtendedUnicodeEscape=n,n&&(r.transformFlags|=1024),r}function I(e){const t=$(14);return t.text=e,t}function T(e){const n=t.createBaseIdentifierNode(80);return n.escapedText=e,n.jsDoc=void 0,n.flowNode=void 0,n.symbol=void 0,n}function F(e,t,n,r){const i=T(_c(e));return qk(i,{flags:t,id:qS,prefix:n,suffix:r}),qS++,i}function R(e,t,n){void 0===t&&e&&(t=Ts(e)),80===t&&(t=void 0);const r=T(_c(e));return n&&(r.flags|=256),"await"===r.escapedText&&(r.transformFlags|=67108864),256&r.flags&&(r.transformFlags|=1024),r}function P(e,t,n,r){let i=1;t&&(i|=8);const o=F("",i,n,r);return e&&e(o),o}function N(e,t=0,n,r){ln.assert(!(7&t),"Argument out of range: flags");(n||r)&&(t|=16);const i=F(e?pu(e)?ZR(!1,n,e,r,hc):`generated@${JQ(e)}`:"",4|t,n,r);return i.original=e,i}function O(e){const n=t.createBasePrivateIdentifierNode(81);return n.escapedText=e,n.transformFlags|=16777216,n}function q(e,t,n,r){const i=O(_c(e));return qk(i,{flags:t,id:qS,prefix:n,suffix:r}),qS++,i}function $(e){return t.createBaseTokenNode(e)}function Q(e){ln.assert(e>=0&&e<=165,"Invalid token"),ln.assert(e<=15||e>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),ln.assert(e<=9||e>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),ln.assert(80!==e,"Invalid token. Use 'createIdentifier' to create identifiers");const t=$(e);let n=0;switch(e){case 134:n=384;break;case 160:n=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:n=1;break;case 108:n=134218752,t.flowNode=void 0;break;case 126:n=1024;break;case 129:n=16777216;break;case 110:n=16384,t.flowNode=void 0}return n&&(t.transformFlags|=n),t}function L(){return Q(110)}function M(){return Q(106)}function j(){return Q(112)}function U(){return Q(97)}function V(e){return Q(e)}function H(e){const t=[];return 32&e&&t.push(V(95)),128&e&&t.push(V(138)),2048&e&&t.push(V(90)),4096&e&&t.push(V(87)),1&e&&t.push(V(125)),2&e&&t.push(V(123)),4&e&&t.push(V(124)),64&e&&t.push(V(128)),256&e&&t.push(V(126)),16&e&&t.push(V(164)),8&e&&t.push(V(148)),512&e&&t.push(V(129)),1024&e&&t.push(V(134)),8192&e&&t.push(V(103)),16384&e&&t.push(V(147)),t.length?t:void 0}function G(e,t){const n=C(166);return n.left=e,n.right=Ti(t),n.transformFlags|=HS(n.left)|VS(n.right),n.flowNode=void 0,n}function W(e){const t=C(167);return t.expression=r().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=132096|HS(t.expression),t}function z(e,t,n,r){const i=E(168);return i.modifiers=Ii(e),i.name=Ti(t),i.constraint=n,i.default=r,i.transformFlags=1,i.expression=void 0,i.jsDoc=void 0,i}function Y(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.constraint!==r||e.default!==i?Ni(z(t,n,r,i),e):e}function K(e,t,n,r,i,o){const s=E(169);return s.modifiers=Ii(e),s.dotDotDotToken=t,s.name=Ti(n),s.questionToken=r,s.type=i,s.initializer=Ri(o),uy(s.name)?s.transformFlags=1:s.transformFlags=GS(s.modifiers)|HS(s.dotDotDotToken)|JS(s.name)|HS(s.questionToken)|HS(s.initializer)|(s.questionToken??s.type?1:0)|(s.dotDotDotToken??s.initializer?1024:0)|(31&Gy(s.modifiers)?8192:0),s.jsDoc=void 0,s}function X(e,t,n,r,i,o,s){return e.modifiers!==t||e.dotDotDotToken!==n||e.name!==r||e.questionToken!==i||e.type!==o||e.initializer!==s?Ni(K(t,n,r,i,o,s),e):e}function Z(e){const t=C(170);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=33562625|HS(t.expression),t}function ee(e,t,n,r){const i=E(171);return i.modifiers=Ii(e),i.name=Ti(t),i.type=r,i.questionToken=n,i.transformFlags=1,i.initializer=void 0,i.jsDoc=void 0,i}function te(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.questionToken!==r||e.type!==i?function(e,t){e!==t&&(e.initializer=t.initializer);return Ni(e,t)}(ee(t,n,r,i),e):e}function ne(e,t,n,r,i){const o=E(172);o.modifiers=Ii(e),o.name=Ti(t),o.questionToken=n&&QD(n)?n:void 0,o.exclamationToken=n&&$D(n)?n:void 0,o.type=r,o.initializer=Ri(i);const s=33554432&o.flags||128&Gy(o.modifiers);return o.transformFlags=GS(o.modifiers)|JS(o.name)|HS(o.initializer)|(s||o.questionToken||o.exclamationToken||o.type?1:0)|(ow(o.name)||256&Gy(o.modifiers)&&o.initializer?8192:0)|16777216,o.jsDoc=void 0,o}function ie(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.questionToken!==(void 0!==r&&QD(r)?r:void 0)||e.exclamationToken!==(void 0!==r&&$D(r)?r:void 0)||e.type!==i||e.initializer!==o?Ni(ne(t,n,r,i,o),e):e}function oe(e,t,n,r,i,o){const s=E(173);return s.modifiers=Ii(e),s.name=Ti(t),s.questionToken=n,s.typeParameters=Ii(r),s.parameters=Ii(i),s.type=o,s.transformFlags=1,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.typeArguments=void 0,s}function se(e,t,n,r,i,o,s){return e.modifiers!==t||e.name!==n||e.questionToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s?x(oe(t,n,r,i,o,s),e):e}function ae(e,t,n,r,i,o,s,a){const c=E(174);if(c.modifiers=Ii(e),c.asteriskToken=t,c.name=Ti(n),c.questionToken=r,c.exclamationToken=void 0,c.typeParameters=Ii(i),c.parameters=b(o),c.type=s,c.body=a,c.body){const e=1024&Gy(c.modifiers),t=!!c.asteriskToken,n=e&&t;c.transformFlags=GS(c.modifiers)|HS(c.asteriskToken)|JS(c.name)|HS(c.questionToken)|GS(c.typeParameters)|GS(c.parameters)|HS(c.type)|-67108865&HS(c.body)|(n?128:e?256:t?2048:0)|(c.questionToken||c.typeParameters||c.type?1:0)|1024}else c.transformFlags=1;return c.typeArguments=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.flowNode=void 0,c.endFlowNode=void 0,c.returnFlowNode=void 0,c}function ce(e,t,n,r,i,o,s,a,c){return e.modifiers!==t||e.asteriskToken!==n||e.name!==r||e.questionToken!==i||e.typeParameters!==o||e.parameters!==s||e.type!==a||e.body!==c?function(e,t){e!==t&&(e.exclamationToken=t.exclamationToken);return Ni(e,t)}(ae(t,n,r,i,o,s,a,c),e):e}function ue(e){const t=E(175);return t.body=e,t.transformFlags=16777216|HS(e),t.modifiers=void 0,t.jsDoc=void 0,t.locals=void 0,t.nextContainer=void 0,t.endFlowNode=void 0,t.returnFlowNode=void 0,t}function le(e,t,n){const r=E(176);return r.modifiers=Ii(e),r.parameters=b(t),r.body=n,r.body?r.transformFlags=GS(r.modifiers)|GS(r.parameters)|-67108865&HS(r.body)|1024:r.transformFlags=1,r.typeParameters=void 0,r.type=void 0,r.typeArguments=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.endFlowNode=void 0,r.returnFlowNode=void 0,r}function de(e,t,n,r){return e.modifiers!==t||e.parameters!==n||e.body!==r?function(e,t){e!==t&&(e.typeParameters=t.typeParameters,e.type=t.type);return x(e,t)}(le(t,n,r),e):e}function pe(e,t,n,r,i){const o=E(177);return o.modifiers=Ii(e),o.name=Ti(t),o.parameters=b(n),o.type=r,o.body=i,o.body?o.transformFlags=GS(o.modifiers)|JS(o.name)|GS(o.parameters)|HS(o.type)|-67108865&HS(o.body)|(o.type?1:0):o.transformFlags=1,o.typeArguments=void 0,o.typeParameters=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.flowNode=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function fe(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.parameters!==r||e.type!==i||e.body!==o?function(e,t){e!==t&&(e.typeParameters=t.typeParameters);return x(e,t)}(pe(t,n,r,i,o),e):e}function _e(e,t,n,r){const i=E(178);return i.modifiers=Ii(e),i.name=Ti(t),i.parameters=b(n),i.body=r,i.body?i.transformFlags=GS(i.modifiers)|JS(i.name)|GS(i.parameters)|-67108865&HS(i.body)|(i.type?1:0):i.transformFlags=1,i.typeArguments=void 0,i.typeParameters=void 0,i.type=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 me(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.parameters!==r||e.body!==i?function(e,t){e!==t&&(e.typeParameters=t.typeParameters,e.type=t.type);return x(e,t)}(_e(t,n,r,i),e):e}function he(e,t,n){const r=E(179);return r.typeParameters=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function Ae(e,t,n){const r=E(180);return r.typeParameters=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function ve(e,t,n){const r=E(181);return r.modifiers=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function be(e,t,n,r){return e.parameters!==n||e.type!==r||e.modifiers!==t?x(ve(t,n,r),e):e}function Ce(e,t){const n=C(204);return n.type=e,n.literal=t,n.transformFlags=1,n}function Ee(e,t,n){const r=C(182);return r.assertsModifier=e,r.parameterName=Ti(t),r.type=n,r.transformFlags=1,r}function xe(e,t){const n=C(183);return n.typeName=Ti(e),n.typeArguments=t&&r().parenthesizeTypeArguments(b(t)),n.transformFlags=1,n}function ke(e,t,n){const r=E(184);return r.typeParameters=Ii(e),r.parameters=Ii(t),r.type=n,r.transformFlags=1,r.modifiers=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function we(...e){return 4===e.length?Ie(...e):3===e.length?function(e,t,n){return Ie(void 0,e,t,n)}(...e):ln.fail("Incorrect number of arguments specified.")}function Ie(e,t,n,r){const i=E(185);return i.modifiers=Ii(e),i.typeParameters=Ii(t),i.parameters=Ii(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.typeArguments=void 0,i}function Te(e,t,n,r,i){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i?x(we(t,n,r,i),e):e}function Fe(e,t){const n=C(186);return n.exprName=e,n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags=1,n}function Re(e){const t=E(187);return t.members=b(e),t.transformFlags=1,t}function Pe(e){const t=C(188);return t.elementType=r().parenthesizeNonArrayTypeOfPostfixType(e),t.transformFlags=1,t}function Ne(e){const t=C(189);return t.elements=b(r().parenthesizeElementTypesOfTupleType(e)),t.transformFlags=1,t}function Be(e,t,n,r){const i=E(202);return i.dotDotDotToken=e,i.name=t,i.questionToken=n,i.type=r,i.transformFlags=1,i.jsDoc=void 0,i}function Oe(e){const t=C(190);return t.type=r().parenthesizeTypeOfOptionalType(e),t.transformFlags=1,t}function qe(e){const t=C(191);return t.type=e,t.transformFlags=1,t}function $e(e,t,n){const r=C(e);return r.types=v.createNodeArray(n(t)),r.transformFlags=1,r}function Qe(e,t,n){return e.types!==t?Ni($e(e.kind,t,n),e):e}function Le(e,t,n,i){const o=C(194);return o.checkType=r().parenthesizeCheckTypeOfConditionalType(e),o.extendsType=r().parenthesizeExtendsTypeOfConditionalType(t),o.trueType=n,o.falseType=i,o.transformFlags=1,o.locals=void 0,o.nextContainer=void 0,o}function Me(e){const t=C(195);return t.typeParameter=e,t.transformFlags=1,t}function je(e,t){const n=C(203);return n.head=e,n.templateSpans=b(t),n.transformFlags=1,n}function Ue(e,t,n,i,o=!1){const s=C(205);return s.argument=e,s.attributes=t,s.assertions&&s.assertions.assertClause&&s.attributes&&(s.assertions.assertClause=s.attributes),s.qualifier=n,s.typeArguments=i&&r().parenthesizeTypeArguments(i),s.isTypeOf=o,s.transformFlags=1,s}function Je(e){const t=C(196);return t.type=e,t.transformFlags=1,t}function Ve(e,t){const n=C(198);return n.operator=e,n.type=148===e?r().parenthesizeOperandOfReadonlyTypeOperator(t):r().parenthesizeOperandOfTypeOperator(t),n.transformFlags=1,n}function He(e,t){const n=C(199);return n.objectType=r().parenthesizeNonArrayTypeOfPostfixType(e),n.indexType=t,n.transformFlags=1,n}function Ge(e,t,n,r,i,o){const s=E(200);return s.readonlyToken=e,s.typeParameter=t,s.nameType=n,s.questionToken=r,s.type=i,s.members=o&&b(o),s.transformFlags=1,s.locals=void 0,s.nextContainer=void 0,s}function We(e){const t=C(201);return t.literal=e,t.transformFlags=1,t}function ze(e){const t=C(206);return t.elements=b(e),t.transformFlags|=525312|GS(t.elements),32768&t.transformFlags&&(t.transformFlags|=65664),t}function Ke(e){const t=C(207);return t.elements=b(e),t.transformFlags|=525312|GS(t.elements),t}function Xe(e,t,n,r){const i=E(208);return i.dotDotDotToken=e,i.propertyName=Ti(t),i.name=Ti(n),i.initializer=Ri(r),i.transformFlags|=HS(i.dotDotDotToken)|JS(i.propertyName)|JS(i.name)|HS(i.initializer)|(i.dotDotDotToken?32768:0)|1024,i.flowNode=void 0,i}function Ze(e,t){const n=C(209),i=e&&ge(e),o=b(e,!(!i||!hI(i))||void 0);return n.elements=r().parenthesizeExpressionsOfCommaDelimitedList(o),n.multiLine=t,n.transformFlags|=GS(n.elements),n}function et(e,t){const n=E(210);return n.properties=b(e),n.multiLine=t,n.transformFlags|=GS(n.properties),n.jsDoc=void 0,n}function nt(e,t,n){const r=E(211);return r.expression=e,r.questionDotToken=t,r.name=n,r.transformFlags=HS(r.expression)|HS(r.questionDotToken)|(UD(r.name)?VS(r.name):536870912|HS(r.name)),r.jsDoc=void 0,r.flowNode=void 0,r}function rt(e,t){const n=nt(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Ti(t));return tw(e)&&(n.transformFlags|=384),n}function ot(e,t,n){const i=nt(r().parenthesizeLeftSideOfAccess(e,!0),t,Ti(n));return i.flags|=64,i.transformFlags|=32,i}function at(e,t,n,r){return ln.assert(!!(64&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==t||e.questionDotToken!==n||e.name!==r?Ni(ot(t,n,r),e):e}function ct(e,t,n){const r=E(212);return r.expression=e,r.questionDotToken=t,r.argumentExpression=n,r.transformFlags|=HS(r.expression)|HS(r.questionDotToken)|HS(r.argumentExpression),r.jsDoc=void 0,r.flowNode=void 0,r}function ut(e,t){const n=ct(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Fi(t));return tw(e)&&(n.transformFlags|=384),n}function lt(e,t,n){const i=ct(r().parenthesizeLeftSideOfAccess(e,!0),t,Fi(n));return i.flags|=64,i.transformFlags|=32,i}function ft(e,t,n,r){return ln.assert(!!(64&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==t||e.questionDotToken!==n||e.argumentExpression!==r?Ni(lt(t,n,r),e):e}function _t(e,t,n,r){const i=E(213);return i.expression=e,i.questionDotToken=t,i.typeArguments=n,i.arguments=r,i.transformFlags|=HS(i.expression)|HS(i.questionDotToken)|GS(i.typeArguments)|GS(i.arguments),i.typeArguments&&(i.transformFlags|=1),sm(i.expression)&&(i.transformFlags|=16384),i}function mt(e,t,n){const i=_t(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Ii(t),r().parenthesizeExpressionsOfCommaDelimitedList(b(n)));return nw(i.expression)&&(i.transformFlags|=8388608),i}function ht(e,t,n,i){const o=_t(r().parenthesizeLeftSideOfAccess(e,!0),t,Ii(n),r().parenthesizeExpressionsOfCommaDelimitedList(b(i)));return o.flags|=64,o.transformFlags|=32,o}function gt(e,t,n,r,i){return ln.assert(!!(64&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==t||e.questionDotToken!==n||e.typeArguments!==r||e.arguments!==i?Ni(ht(t,n,r,i),e):e}function At(e,t,n){const i=E(214);return i.expression=r().parenthesizeExpressionOfNew(e),i.typeArguments=Ii(t),i.arguments=n?r().parenthesizeExpressionsOfCommaDelimitedList(n):void 0,i.transformFlags|=HS(i.expression)|GS(i.typeArguments)|GS(i.arguments)|32,i.typeArguments&&(i.transformFlags|=1),i}function yt(e,t,n){const i=C(215);return i.tag=r().parenthesizeLeftSideOfAccess(e,!1),i.typeArguments=Ii(t),i.template=n,i.transformFlags|=HS(i.tag)|GS(i.typeArguments)|HS(i.template)|1024,i.typeArguments&&(i.transformFlags|=1),_A(i.template)&&(i.transformFlags|=128),i}function vt(e,t){const n=C(216);return n.expression=r().parenthesizeOperandOfPrefixUnary(t),n.type=e,n.transformFlags|=HS(n.expression)|HS(n.type)|1,n}function bt(e,t,n){return e.type!==t||e.expression!==n?Ni(vt(t,n),e):e}function Ct(e){const t=C(217);return t.expression=e,t.transformFlags=HS(t.expression),t.jsDoc=void 0,t}function Et(e,t){return e.expression!==t?Ni(Ct(t),e):e}function xt(e,t,n,r,i,o,s){const a=E(218);a.modifiers=Ii(e),a.asteriskToken=t,a.name=Ti(n),a.typeParameters=Ii(r),a.parameters=b(i),a.type=o,a.body=s;const c=1024&Gy(a.modifiers),u=!!a.asteriskToken,l=c&&u;return a.transformFlags=GS(a.modifiers)|HS(a.asteriskToken)|JS(a.name)|GS(a.typeParameters)|GS(a.parameters)|HS(a.type)|-67108865&HS(a.body)|(l?128:c?256:u?2048:0)|(a.typeParameters||a.type?1:0)|4194304,a.typeArguments=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function St(e,t,n,r,i,o,s,a){return e.name!==r||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==a?x(xt(t,n,r,i,o,s,a),e):e}function kt(e,t,n,i,o,s){const a=E(219);a.modifiers=Ii(e),a.typeParameters=Ii(t),a.parameters=b(n),a.type=i,a.equalsGreaterThanToken=o??Q(39),a.body=r().parenthesizeConciseBodyOfArrowFunction(s);const c=1024&Gy(a.modifiers);return a.transformFlags=GS(a.modifiers)|GS(a.typeParameters)|GS(a.parameters)|HS(a.type)|HS(a.equalsGreaterThanToken)|-67108865&HS(a.body)|(a.typeParameters||a.type?1:0)|(c?16640:0)|1024,a.typeArguments=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function Dt(e,t,n,r,i,o,s){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==r||e.type!==i||e.equalsGreaterThanToken!==o||e.body!==s?x(kt(t,n,r,i,o,s),e):e}function wt(e){const t=C(220);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=HS(t.expression),t}function It(e){const t=C(221);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=HS(t.expression),t}function Tt(e){const t=C(222);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=HS(t.expression),t}function Ft(e){const t=C(223);return t.expression=r().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=2097536|HS(t.expression),t}function Rt(e,t){const n=C(224);return n.operator=e,n.operand=r().parenthesizeOperandOfPrefixUnary(t),n.transformFlags|=HS(n.operand),46!==e&&47!==e||!UD(n.operand)||Vu(n.operand)||eR(n.operand)||(n.transformFlags|=268435456),n}function Pt(e,t){const n=C(225);return n.operator=t,n.operand=r().parenthesizeOperandOfPostfixUnary(e),n.transformFlags|=HS(n.operand),!UD(n.operand)||Vu(n.operand)||eR(n.operand)||(n.transformFlags|=268435456),n}function Nt(e,t,n){const i=E(226),o="number"==typeof(s=t)?Q(s):s;var s;const a=o.kind;return i.left=r().parenthesizeLeftSideOfBinary(a,e),i.operatorToken=o,i.right=r().parenthesizeRightSideOfBinary(a,i.left,n),i.transformFlags|=HS(i.left)|HS(i.operatorToken)|HS(i.right),61===a?i.transformFlags|=32:64===a?Ww(i.left)?i.transformFlags|=5248|Bt(i.left):Gw(i.left)&&(i.transformFlags|=5120|Bt(i.left)):43===a||68===a?i.transformFlags|=512:Ky(a)&&(i.transformFlags|=16),103===a&&JD(i.left)&&(i.transformFlags|=536870912),i.jsDoc=void 0,i}function Bt(e){return sP(e)?65536:0}function Ot(e,t,n,i,o){const s=C(227);return s.condition=r().parenthesizeConditionOfConditionalExpression(e),s.questionToken=t??Q(58),s.whenTrue=r().parenthesizeBranchOfConditionalExpression(n),s.colonToken=i??Q(59),s.whenFalse=r().parenthesizeBranchOfConditionalExpression(o),s.transformFlags|=HS(s.condition)|HS(s.questionToken)|HS(s.whenTrue)|HS(s.colonToken)|HS(s.whenFalse),s}function qt(e,t){const n=C(228);return n.head=e,n.templateSpans=b(t),n.transformFlags|=HS(n.head)|GS(n.templateSpans)|1024,n}function $t(e,t,n,r=0){let i;if(ln.assert(!(-7177&r),"Unsupported template flags."),void 0!==n&&n!==t&&(i=function(e,t){BS||(BS=ha(99,!1,0));switch(e){case 15:BS.setText("`"+t+"`");break;case 16:BS.setText("`"+t+"${");break;case 17:BS.setText("}"+t+"${");break;case 18:BS.setText("}"+t+"`")}let n,r=BS.scan();20===r&&(r=BS.reScanTemplateToken(!1));if(BS.isUnterminated())return BS.setText(void 0),US;switch(r){case 15:case 16:case 17:case 18:n=BS.getTokenValue()}if(void 0===n||1!==BS.scan())return BS.setText(void 0),US;return BS.setText(void 0),n}(e,n),"object"==typeof i))return ln.fail("Invalid raw text");if(void 0===t){if(void 0===i)return ln.fail("Arguments 'text' and 'rawText' may not both be undefined.");t=i}else void 0!==i&&ln.assert(t===i,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return t}function Qt(e){let t=1024;return e&&(t|=128),t}function Lt(e,t,n,r){const i=E(e);return i.text=t,i.rawText=n,i.templateFlags=7176&r,i.transformFlags=Qt(i.templateFlags),i}function Mt(e,t,n,r){return 15===e?Lt(e,t,n,r):function(e,t,n,r){const i=$(e);return i.text=t,i.rawText=n,i.templateFlags=7176&r,i.transformFlags=Qt(i.templateFlags),i}(e,t,n,r)}function jt(e,t){ln.assert(!e||!!t,"A `YieldExpression` with an asteriskToken must have an expression.");const n=C(229);return n.expression=t&&r().parenthesizeExpressionForDisallowedComma(t),n.asteriskToken=e,n.transformFlags|=1049728|(HS(n.expression)|HS(n.asteriskToken)),n}function Ut(e){const t=C(230);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=33792|HS(t.expression),t}function Jt(e,t,n,r,i){const o=E(231);return o.modifiers=Ii(e),o.name=Ti(t),o.typeParameters=Ii(n),o.heritageClauses=Ii(r),o.members=b(i),o.transformFlags|=GS(o.modifiers)|JS(o.name)|GS(o.typeParameters)|GS(o.heritageClauses)|GS(o.members)|(o.typeParameters?1:0)|1024,o.jsDoc=void 0,o}function Vt(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.heritageClauses!==i||e.members!==o?Ni(Jt(t,n,r,i,o),e):e}function Ht(e,t){const n=C(233);return n.expression=r().parenthesizeLeftSideOfAccess(e,!1),n.typeArguments=t&&r().parenthesizeTypeArguments(t),n.transformFlags|=HS(n.expression)|GS(n.typeArguments)|1024,n}function Gt(e,t,n){return e.expression!==t||e.typeArguments!==n?Ni(Ht(t,n),e):e}function zt(e,t){const n=C(234);return n.expression=e,n.type=t,n.transformFlags|=HS(n.expression)|HS(n.type)|1,n}function Yt(e,t,n){return e.expression!==t||e.type!==n?Ni(zt(t,n),e):e}function Kt(e){const t=C(235);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.transformFlags|=1|HS(t.expression),t}function Xt(e,t){return xu(e)?nn(e,t):e.expression!==t?Ni(Kt(t),e):e}function Zt(e,t){const n=C(238);return n.expression=e,n.type=t,n.transformFlags|=HS(n.expression)|HS(n.type)|1,n}function en(e,t,n){return e.expression!==t||e.type!==n?Ni(Zt(t,n),e):e}function tn(e){const t=C(235);return t.flags|=64,t.expression=r().parenthesizeLeftSideOfAccess(e,!0),t.transformFlags|=1|HS(t.expression),t}function nn(e,t){return ln.assert(!!(64&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==t?Ni(tn(t),e):e}function rn(e,t){const n=C(236);switch(n.keywordToken=e,n.name=t,n.transformFlags|=HS(n.name),e){case 105:n.transformFlags|=1024;break;case 102:n.transformFlags|=32;break;default:return ln.assertNever(e)}return n.flowNode=void 0,n}function on(e,t){const n=C(239);return n.expression=e,n.literal=t,n.transformFlags|=HS(n.expression)|HS(n.literal)|1024,n}function sn(e,t){const n=C(241);return n.statements=b(e),n.multiLine=t,n.transformFlags|=GS(n.statements),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n}function an(e,t){const n=C(243);return n.modifiers=Ii(e),n.declarationList=Ye(t)?wn(t):t,n.transformFlags|=GS(n.modifiers)|HS(n.declarationList),128&Gy(n.modifiers)&&(n.transformFlags=1),n.jsDoc=void 0,n.flowNode=void 0,n}function cn(e,t,n){return e.modifiers!==t||e.declarationList!==n?Ni(an(t,n),e):e}function un(){const e=C(242);return e.jsDoc=void 0,e}function dn(e){const t=C(244);return t.expression=r().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=HS(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function pn(e,t,n){const r=C(245);return r.expression=e,r.thenStatement=Pi(t),r.elseStatement=Pi(n),r.transformFlags|=HS(r.expression)|HS(r.thenStatement)|HS(r.elseStatement),r.jsDoc=void 0,r.flowNode=void 0,r}function fn(e,t){const n=C(246);return n.statement=Pi(e),n.expression=t,n.transformFlags|=HS(n.statement)|HS(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function _n(e,t){const n=C(247);return n.expression=e,n.statement=Pi(t),n.transformFlags|=HS(n.expression)|HS(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function mn(e,t,n,r){const i=C(248);return i.initializer=e,i.condition=t,i.incrementor=n,i.statement=Pi(r),i.transformFlags|=HS(i.initializer)|HS(i.condition)|HS(i.incrementor)|HS(i.statement),i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i}function hn(e,t,n){const r=C(249);return r.initializer=e,r.expression=t,r.statement=Pi(n),r.transformFlags|=HS(r.initializer)|HS(r.expression)|HS(r.statement),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.flowNode=void 0,r}function gn(e,t,n,i){const o=C(250);return o.awaitModifier=e,o.initializer=t,o.expression=r().parenthesizeExpressionForDisallowedComma(n),o.statement=Pi(i),o.transformFlags|=HS(o.awaitModifier)|HS(o.initializer)|HS(o.expression)|HS(o.statement)|1024,e&&(o.transformFlags|=128),o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.flowNode=void 0,o}function An(e){const t=C(251);return t.label=Ti(e),t.transformFlags|=4194304|HS(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function yn(e){const t=C(252);return t.label=Ti(e),t.transformFlags|=4194304|HS(t.label),t.jsDoc=void 0,t.flowNode=void 0,t}function vn(e){const t=C(253);return t.expression=e,t.transformFlags|=4194432|HS(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function bn(e,t){const n=C(254);return n.expression=e,n.statement=Pi(t),n.transformFlags|=HS(n.expression)|HS(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function Cn(e,t){const n=C(255);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.caseBlock=t,n.transformFlags|=HS(n.expression)|HS(n.caseBlock),n.jsDoc=void 0,n.flowNode=void 0,n.possiblyExhaustive=!1,n}function En(e,t){const n=C(256);return n.label=Ti(e),n.statement=Pi(t),n.transformFlags|=HS(n.label)|HS(n.statement),n.jsDoc=void 0,n.flowNode=void 0,n}function xn(e,t,n){return e.label!==t||e.statement!==n?Ni(En(t,n),e):e}function Sn(e){const t=C(257);return t.expression=e,t.transformFlags|=HS(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function kn(e,t,n){const r=C(258);return r.tryBlock=e,r.catchClause=t,r.finallyBlock=n,r.transformFlags|=HS(r.tryBlock)|HS(r.catchClause)|HS(r.finallyBlock),r.jsDoc=void 0,r.flowNode=void 0,r}function Dn(e,t,n,r){const i=E(260);return i.name=Ti(e),i.exclamationToken=t,i.type=n,i.initializer=Ri(r),i.transformFlags|=JS(i.name)|HS(i.initializer)|(i.exclamationToken??i.type?1:0),i.jsDoc=void 0,i}function wn(e,t=0){const n=C(261);return n.flags|=7&t,n.declarations=b(e),n.transformFlags|=4194304|GS(n.declarations),7&t&&(n.transformFlags|=263168),4&t&&(n.transformFlags|=4),n}function In(e,t,n,r,i,o,s){const a=E(262);if(a.modifiers=Ii(e),a.asteriskToken=t,a.name=Ti(n),a.typeParameters=Ii(r),a.parameters=b(i),a.type=o,a.body=s,!a.body||128&Gy(a.modifiers))a.transformFlags=1;else{const e=1024&Gy(a.modifiers),t=!!a.asteriskToken,n=e&&t;a.transformFlags=GS(a.modifiers)|HS(a.asteriskToken)|JS(a.name)|GS(a.typeParameters)|GS(a.parameters)|HS(a.type)|-67108865&HS(a.body)|(n?128:e?256:t?2048:0)|(a.typeParameters||a.type?1:0)|4194304}return a.typeArguments=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function Tn(e,t,n,r,i,o,s,a){return e.modifiers!==t||e.asteriskToken!==n||e.name!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==a?function(e,t){e!==t&&e.modifiers===t.modifiers&&(e.modifiers=t.modifiers);return x(e,t)}(In(t,n,r,i,o,s,a),e):e}function Fn(e,t,n,r,i){const o=E(263);return o.modifiers=Ii(e),o.name=Ti(t),o.typeParameters=Ii(n),o.heritageClauses=Ii(r),o.members=b(i),128&Gy(o.modifiers)?o.transformFlags=1:(o.transformFlags|=GS(o.modifiers)|JS(o.name)|GS(o.typeParameters)|GS(o.heritageClauses)|GS(o.members)|(o.typeParameters?1:0)|1024,8192&o.transformFlags&&(o.transformFlags|=1)),o.jsDoc=void 0,o}function Rn(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.heritageClauses!==i||e.members!==o?Ni(Fn(t,n,r,i,o),e):e}function Pn(e,t,n,r,i){const o=E(264);return o.modifiers=Ii(e),o.name=Ti(t),o.typeParameters=Ii(n),o.heritageClauses=Ii(r),o.members=b(i),o.transformFlags=1,o.jsDoc=void 0,o}function Nn(e,t,n,r,i,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.heritageClauses!==i||e.members!==o?Ni(Pn(t,n,r,i,o),e):e}function Bn(e,t,n,r){const i=E(265);return i.modifiers=Ii(e),i.name=Ti(t),i.typeParameters=Ii(n),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function On(e,t,n,r,i){return e.modifiers!==t||e.name!==n||e.typeParameters!==r||e.type!==i?Ni(Bn(t,n,r,i),e):e}function qn(e,t,n){const r=E(266);return r.modifiers=Ii(e),r.name=Ti(t),r.members=b(n),r.transformFlags|=GS(r.modifiers)|HS(r.name)|GS(r.members)|1,r.transformFlags&=-67108865,r.jsDoc=void 0,r}function $n(e,t,n,r){return e.modifiers!==t||e.name!==n||e.members!==r?Ni(qn(t,n,r),e):e}function Qn(e,t,n,r=0){const i=E(267);return i.modifiers=Ii(e),i.flags|=2088&r,i.name=t,i.body=n,128&Gy(i.modifiers)?i.transformFlags=1:i.transformFlags|=GS(i.modifiers)|HS(i.name)|HS(i.body)|1,i.transformFlags&=-67108865,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function Ln(e,t,n,r){return e.modifiers!==t||e.name!==n||e.body!==r?Ni(Qn(t,n,r,e.flags),e):e}function Mn(e){const t=C(268);return t.statements=b(e),t.transformFlags|=GS(t.statements),t.jsDoc=void 0,t}function jn(e){const t=C(269);return t.clauses=b(e),t.transformFlags|=GS(t.clauses),t.locals=void 0,t.nextContainer=void 0,t}function Un(e){const t=E(270);return t.name=Ti(e),t.transformFlags|=1|VS(t.name),t.modifiers=void 0,t.jsDoc=void 0,t}function Jn(e,t,n,r){const i=E(271);return i.modifiers=Ii(e),i.name=Ti(n),i.isTypeOnly=t,i.moduleReference=r,i.transformFlags|=GS(i.modifiers)|VS(i.name)|HS(i.moduleReference),ET(i.moduleReference)||(i.transformFlags|=1),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function Vn(e,t,n,r,i){return e.modifiers!==t||e.isTypeOnly!==n||e.name!==r||e.moduleReference!==i?Ni(Jn(t,n,r,i),e):e}function Hn(e,t,n,r){const i=C(272);return i.modifiers=Ii(e),i.importClause=t,i.moduleSpecifier=n,i.attributes=i.assertClause=r,i.transformFlags|=HS(i.importClause)|HS(i.moduleSpecifier),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function Gn(e,t,n,r,i){return e.modifiers!==t||e.importClause!==n||e.moduleSpecifier!==r||e.attributes!==i?Ni(Hn(t,n,r,i),e):e}function Wn(e,t,n){const r=E(273);return r.isTypeOnly=e,r.name=t,r.namedBindings=n,r.transformFlags|=HS(r.name)|HS(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-67108865,r}function zn(e,t){const n=C(300);return n.elements=b(e),n.multiLine=t,n.token=132,n.transformFlags|=4,n}function Yn(e,t){const n=C(301);return n.name=e,n.value=t,n.transformFlags|=4,n}function Kn(e,t){const n=C(302);return n.assertClause=e,n.multiLine=t,n}function Xn(e,t,n){const r=C(300);return r.token=n??118,r.elements=b(e),r.multiLine=t,r.transformFlags|=4,r}function Zn(e,t){const n=C(301);return n.name=e,n.value=t,n.transformFlags|=4,n}function er(e){const t=E(274);return t.name=e,t.transformFlags|=HS(t.name),t.transformFlags&=-67108865,t}function tr(e){const t=E(280);return t.name=e,t.transformFlags|=32|HS(t.name),t.transformFlags&=-67108865,t}function nr(e){const t=C(275);return t.elements=b(e),t.transformFlags|=GS(t.elements),t.transformFlags&=-67108865,t}function rr(e,t,n){const r=E(276);return r.isTypeOnly=e,r.propertyName=t,r.name=n,r.transformFlags|=HS(r.propertyName)|HS(r.name),r.transformFlags&=-67108865,r}function ir(e,t,n){const i=E(277);return i.modifiers=Ii(e),i.isExportEquals=t,i.expression=t?r().parenthesizeRightSideOfBinary(64,void 0,n):r().parenthesizeExpressionOfExportDefault(n),i.transformFlags|=GS(i.modifiers)|HS(i.expression),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function or(e,t,n){return e.modifiers!==t||e.expression!==n?Ni(ir(t,e.isExportEquals,n),e):e}function sr(e,t,n,r,i){const o=E(278);return o.modifiers=Ii(e),o.isTypeOnly=t,o.exportClause=n,o.moduleSpecifier=r,o.attributes=o.assertClause=i,o.transformFlags|=GS(o.modifiers)|HS(o.exportClause)|HS(o.moduleSpecifier),o.transformFlags&=-67108865,o.jsDoc=void 0,o}function ar(e,t,n,r,i,o){return e.modifiers!==t||e.isTypeOnly!==n||e.exportClause!==r||e.moduleSpecifier!==i||e.attributes!==o?function(e,t){e!==t&&e.modifiers===t.modifiers&&(e.modifiers=t.modifiers);return Ni(e,t)}(sr(t,n,r,i,o),e):e}function cr(e){const t=C(279);return t.elements=b(e),t.transformFlags|=GS(t.elements),t.transformFlags&=-67108865,t}function ur(e,t,n){const r=C(281);return r.isTypeOnly=e,r.propertyName=Ti(t),r.name=Ti(n),r.transformFlags|=HS(r.propertyName)|HS(r.name),r.transformFlags&=-67108865,r.jsDoc=void 0,r}function lr(e){const t=C(283);return t.expression=e,t.transformFlags|=HS(t.expression),t.transformFlags&=-67108865,t}function dr(e,t,n=!1){const i=pr(e,n?t&&r().parenthesizeNonArrayTypeOfPostfixType(t):t);return i.postfix=n,i}function pr(e,t){const n=C(e);return n.type=t,n}function fr(e,t){const n=E(317);return n.parameters=Ii(e),n.type=t,n.transformFlags=GS(n.parameters)|(n.type?1:0),n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.typeArguments=void 0,n}function _r(e,t=!1){const n=E(322);return n.jsDocPropertyTags=Ii(e),n.isArrayType=t,n}function mr(e){const t=C(309);return t.type=e,t}function hr(e,t,n){const r=E(323);return r.typeParameters=Ii(e),r.parameters=b(t),r.type=n,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r}function gr(e){const t=jS(e.kind);return e.tagName.escapedText===_c(t)?e.tagName:R(t)}function Ar(e,t,n){const r=C(e);return r.tagName=t,r.comment=n,r}function yr(e,t,n){const r=E(e);return r.tagName=t,r.comment=n,r}function vr(e,t,n,r){const i=Ar(345,e??R("template"),r);return i.constraint=t,i.typeParameters=b(n),i}function br(e,t,n,r){const i=yr(346,e??R("typedef"),r);return i.typeExpression=t,i.fullName=n,i.name=kR(n),i.locals=void 0,i.nextContainer=void 0,i}function Cr(e,t,n,r,i,o){const s=yr(341,e??R("param"),o);return s.typeExpression=r,s.name=t,s.isNameFirst=!!i,s.isBracketed=n,s}function Er(e,t,n,r,i,o){const s=yr(348,e??R("prop"),o);return s.typeExpression=r,s.name=t,s.isNameFirst=!!i,s.isBracketed=n,s}function xr(e,t,n,r){const i=yr(338,e??R("callback"),r);return i.typeExpression=t,i.fullName=n,i.name=kR(n),i.locals=void 0,i.nextContainer=void 0,i}function Sr(e,t,n){const r=Ar(339,e??R("overload"),n);return r.typeExpression=t,r}function kr(e,t,n){const r=Ar(328,e??R("augments"),n);return r.class=t,r}function Dr(e,t,n){const r=Ar(329,e??R("implements"),n);return r.class=t,r}function wr(e,t,n){const r=Ar(347,e??R("see"),n);return r.name=t,r}function Ir(e){const t=C(310);return t.name=e,t}function Tr(e,t){const n=C(311);return n.left=e,n.right=t,n.transformFlags|=HS(n.left)|HS(n.right),n}function Fr(e,t){const n=C(324);return n.name=e,n.text=t,n}function Rr(e,t){const n=C(325);return n.name=e,n.text=t,n}function Pr(e,t){const n=C(326);return n.name=e,n.text=t,n}function Nr(e,t,n){return Ar(e,t??R(jS(e)),n)}function Br(e,t,n,r){const i=Ar(e,t??R(jS(e)),r);return i.typeExpression=n,i}function Or(e,t){return Ar(327,e,t)}function qr(e,t,n){const r=yr(340,e??R(jS(340)),n);return r.typeExpression=t,r.locals=void 0,r.nextContainer=void 0,r}function $r(e,t,n,r,i){const o=Ar(351,e??R("import"),i);return o.importClause=t,o.moduleSpecifier=n,o.attributes=r,o.comment=i,o}function Qr(e){const t=C(321);return t.text=e,t}function Lr(e,t){const n=C(320);return n.comment=e,n.tags=Ii(t),n}function Mr(e,t,n){const r=C(284);return r.openingElement=e,r.children=b(t),r.closingElement=n,r.transformFlags|=HS(r.openingElement)|GS(r.children)|HS(r.closingElement)|2,r}function jr(e,t,n){const r=C(285);return r.tagName=e,r.typeArguments=Ii(t),r.attributes=n,r.transformFlags|=HS(r.tagName)|GS(r.typeArguments)|HS(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function Ur(e,t,n){const r=C(286);return r.tagName=e,r.typeArguments=Ii(t),r.attributes=n,r.transformFlags|=HS(r.tagName)|GS(r.typeArguments)|HS(r.attributes)|2,t&&(r.transformFlags|=1),r}function Jr(e){const t=C(287);return t.tagName=e,t.transformFlags|=2|HS(t.tagName),t}function Vr(e,t,n){const r=C(288);return r.openingFragment=e,r.children=b(t),r.closingFragment=n,r.transformFlags|=HS(r.openingFragment)|GS(r.children)|HS(r.closingFragment)|2,r}function Hr(e,t){const n=C(12);return n.text=e,n.containsOnlyTriviaWhiteSpaces=!!t,n.transformFlags|=2,n}function Gr(e,t){const n=E(291);return n.name=e,n.initializer=t,n.transformFlags|=HS(n.name)|HS(n.initializer)|2,n}function Wr(e){const t=E(292);return t.properties=b(e),t.transformFlags|=2|GS(t.properties),t}function zr(e){const t=C(293);return t.expression=e,t.transformFlags|=2|HS(t.expression),t}function Yr(e,t){const n=C(294);return n.dotDotDotToken=e,n.expression=t,n.transformFlags|=HS(n.dotDotDotToken)|HS(n.expression)|2,n}function Kr(e,t){const n=C(295);return n.namespace=e,n.name=t,n.transformFlags|=HS(n.namespace)|HS(n.name)|2,n}function Xr(e,t){const n=C(296);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.statements=b(t),n.transformFlags|=HS(n.expression)|GS(n.statements),n.jsDoc=void 0,n}function Zr(e){const t=C(297);return t.statements=b(e),t.transformFlags=GS(t.statements),t}function ei(e,t){const n=C(298);switch(n.token=e,n.types=b(t),n.transformFlags|=GS(n.types),e){case 96:n.transformFlags|=1024;break;case 119:n.transformFlags|=1;break;default:return ln.assertNever(e)}return n}function ti(e,t){const n=C(299);return n.variableDeclaration=function(e){if("string"==typeof e||e&&!HI(e))return Dn(e,void 0,void 0,void 0);return e}(e),n.block=t,n.transformFlags|=HS(n.variableDeclaration)|HS(n.block)|(e?0:64),n.locals=void 0,n.nextContainer=void 0,n}function ni(e,t){const n=E(303);return n.name=Ti(e),n.initializer=r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=JS(n.name)|HS(n.initializer),n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function ri(e,t,n){return e.name!==t||e.initializer!==n?function(e,t){e!==t&&(e.modifiers=t.modifiers,e.questionToken=t.questionToken,e.exclamationToken=t.exclamationToken);return Ni(e,t)}(ni(t,n),e):e}function ii(e,t){const n=E(304);return n.name=Ti(e),n.objectAssignmentInitializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=VS(n.name)|HS(n.objectAssignmentInitializer)|1024,n.equalsToken=void 0,n.modifiers=void 0,n.questionToken=void 0,n.exclamationToken=void 0,n.jsDoc=void 0,n}function oi(e){const t=E(305);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=65664|HS(t.expression),t.jsDoc=void 0,t}function si(e,t){const n=E(306);return n.name=Ti(e),n.initializer=t&&r().parenthesizeExpressionForDisallowedComma(t),n.transformFlags|=HS(n.name)|HS(n.initializer)|1,n.jsDoc=void 0,n}function ai(e){const t=Object.create(e.redirectTarget);return Object.defineProperties(t,{id:{get(){return this.redirectInfo.redirectTarget.id},set(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(e){this.redirectInfo.redirectTarget.symbol=e}}}),t.redirectInfo=e,t}function ci(e){const r=e.redirectInfo?function(e){const t=ai(e.redirectInfo);return t.flags|=-17&e.flags,t.fileName=e.fileName,t.path=e.path,t.resolvedPath=e.resolvedPath,t.originalFileName=e.originalFileName,t.packageJsonLocations=e.packageJsonLocations,t.packageJsonScope=e.packageJsonScope,t.emitNode=void 0,t}(e):function(e){const n=t.createBaseSourceFileNode(307);n.flags|=-17&e.flags;for(const t in e)!De(n,t)&&De(e,t)&&("emitNode"!==t?n[t]=e[t]:n.emitNode=void 0);return n}(e);return n(r,e),r}function ui(e){const t=C(308);return t.sourceFiles=e,t.syntheticFileReferences=void 0,t.syntheticTypeReferences=void 0,t.syntheticLibReferences=void 0,t.hasNoDefaultLib=void 0,t}function li(e,t){const n=C(355);return n.expression=e,n.original=t,n.transformFlags|=1|HS(n.expression),aP(n,t),n}function di(e,t){return e.expression!==t?Ni(li(t,e.original),e):e}function pi(e){if(eA(e)&&!pc(e)&&!e.original&&!e.emitNode&&!e.id){if(xI(e))return e.elements;if(lI(e)&&ND(e.operatorToken))return[e.left,e.right]}return e}function fi(e){const t=C(356);return t.elements=b(B(e,pi)),t.transformFlags|=GS(t.elements),t}function _i(e,t){const n=C(357);return n.expression=e,n.thisArg=t,n.transformFlags|=HS(n.expression)|HS(n.thisArg),n}function mi(e){if(void 0===e)return e;if(JT(e))return ci(e);if(Vu(e))return function(e){const t=T(e.escapedText);return t.flags|=-17&e.flags,t.transformFlags=e.transformFlags,n(t,e),qk(t,{...e.emitNode.autoGenerate}),t}(e);if(UD(e))return function(e){const t=T(e.escapedText);t.flags|=-17&e.flags,t.jsDoc=e.jsDoc,t.flowNode=e.flowNode,t.symbol=e.symbol,t.transformFlags=e.transformFlags,n(t,e);const r=Ok(e);return r&&Bk(t,r),t}(e);if(Hu(e))return function(e){const t=O(e.escapedText);return t.flags|=-17&e.flags,t.transformFlags=e.transformFlags,n(t,e),qk(t,{...e.emitNode.autoGenerate}),t}(e);if(JD(e))return function(e){const t=O(e.escapedText);return t.flags|=-17&e.flags,t.transformFlags=e.transformFlags,n(t,e),t}(e);const r=wu(e.kind)?t.createBaseNode(e.kind):t.createBaseTokenNode(e.kind);r.flags|=-17&e.flags,r.transformFlags=e.transformFlags,n(r,e);for(const t in e)!De(r,t)&&De(e,t)&&(r[t]=e[t]);return r}function hi(){return Tt(S("0"))}function gi(e,t,n){return hu(e)?ht(ot(e,void 0,t),void 0,void 0,n):mt(rt(e,t),void 0,n)}function Ai(e,t,n){return gi(R(e),t,n)}function yi(e,t,n){return!!n&&(e.push(ni(t,n)),!0)}function vi(e,t){const n=sg(e);switch(n.kind){case 80:return t;case 110:case 9:case 10:case 11:return!1;case 209:return 0!==n.elements.length;case 210:return n.properties.length>0;default:return!0}}function bi(e,t,n,r=0,i){const o=i?e&&xc(e):Sc(e);if(o&&UD(o)&&!Vu(o)){const e=wx(aP(mi(o),o),o.parent);return r|=Xp(o),n||(r|=96),t||(r|=3072),r&&ik(e,r),e}return N(e)}function Ci(e,t,n){return bi(e,t,n,16384)}function Ei(e,t,n,r){const i=rt(e,eA(t)?t:mi(t));aP(i,t);let o=0;return r||(o|=96),n||(o|=3072),o&&ik(i,o),i}function xi(e){return kD(e.expression)&&"use strict"===e.expression.text}function Si(){return pR(dn(w("use strict")))}function ki(e,t,n=0,r){ln.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");let i=!1;const o=e.length;for(;n=182&&e<=205)return-2;switch(e){case 213:case 214:case 209:case 206:case 207:return-2147450880;case 267:return-1941676032;case 169:case 216:case 238:case 234:case 355:case 217:case 108:case 211:case 212:default:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112}}(e.kind);return Ec(e)&&tl(e.name)?function(e,t){return t|134234112&e.transformFlags}(e.name,t):t}function GS(e){return e?e.transformFlags:0}function WS(e){let t=0;for(const n of e)t|=HS(n);e.transformFlags=t}var zS=FS();function YS(e){return e.flags|=16,e}var KS,XS=MS(4,{createBaseSourceFileNode:e=>YS(zS.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>YS(zS.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>YS(zS.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>YS(zS.createBaseTokenNode(e)),createBaseNode:e=>YS(zS.createBaseNode(e))});function ZS(e,t,n){return new(KS||(KS=$b.getSourceMapSourceConstructor()))(e,t,n)}function ek(e,t){if(e.original!==t&&(e.original=t,t)){const n=t.emitNode;n&&(e.emitNode=function(e,t){const{flags:n,internalFlags:r,leadingComments:i,trailingComments:o,commentRange:s,sourceMapRange:a,tokenSourceMapRanges:c,constantValue:u,helpers:l,startsOnNewLine:d,snippetElement:p,classThis:f,assignedName:_}=e;t||(t={});n&&(t.flags=n);r&&(t.internalFlags=-9&r);i&&(t.leadingComments=se(i.slice(),t.leadingComments));o&&(t.trailingComments=se(o.slice(),t.trailingComments));s&&(t.commentRange=s);a&&(t.sourceMapRange=a);c&&(t.tokenSourceMapRanges=function(e,t){t||(t=[]);for(const n in e)t[n]=e[n];return t}(c,t.tokenSourceMapRanges));void 0!==u&&(t.constantValue=u);if(l)for(const e of l)t.helpers=ce(t.helpers,e);void 0!==d&&(t.startsOnNewLine=d);void 0!==p&&(t.snippetElement=p);f&&(t.classThis=f);_&&(t.assignedName=_);return t}(n,e.emitNode))}return e}function tk(e){if(e.emitNode)ln.assert(!(8&e.emitNode.internalFlags),"Invalid attempt to mutate an immutable node.");else{if(pc(e)){if(307===e.kind)return e.emitNode={annotatedNodes:[e]};tk(Ap(fc(Ap(e)))??ln.fail("Could not determine parsed source file.")).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function nk(e){var t,n;const r=null==(n=null==(t=Ap(fc(e)))?void 0:t.emitNode)?void 0:n.annotatedNodes;if(r)for(const e of r)e.emitNode=void 0}function rk(e){const t=tk(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function ik(e,t){return tk(e).flags=t,e}function ok(e,t){const n=tk(e);return n.flags=n.flags|t,e}function sk(e,t){return tk(e).internalFlags=t,e}function ak(e,t){const n=tk(e);return n.internalFlags=n.internalFlags|t,e}function ck(e){var t;return(null==(t=e.emitNode)?void 0:t.sourceMapRange)??e}function uk(e,t){return tk(e).sourceMapRange=t,e}function lk(e,t){var n,r;return null==(r=null==(n=e.emitNode)?void 0:n.tokenSourceMapRanges)?void 0:r[t]}function dk(e,t,n){const r=tk(e);return(r.tokenSourceMapRanges??(r.tokenSourceMapRanges=[]))[t]=n,e}function pk(e){var t;return null==(t=e.emitNode)?void 0:t.startsOnNewLine}function fk(e,t){return tk(e).startsOnNewLine=t,e}function _k(e){var t;return(null==(t=e.emitNode)?void 0:t.commentRange)??e}function mk(e,t){return tk(e).commentRange=t,e}function hk(e){var t;return null==(t=e.emitNode)?void 0:t.leadingComments}function gk(e,t){return tk(e).leadingComments=t,e}function Ak(e,t,n,r){return gk(e,re(hk(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:r,text:n}))}function yk(e){var t;return null==(t=e.emitNode)?void 0:t.trailingComments}function vk(e,t){return tk(e).trailingComments=t,e}function bk(e,t,n,r){return vk(e,re(yk(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:r,text:n}))}function Ck(e,t){gk(e,hk(t)),vk(e,yk(t));const n=tk(t);return n.leadingComments=void 0,n.trailingComments=void 0,e}function Ek(e){var t;return null==(t=e.emitNode)?void 0:t.constantValue}function xk(e,t){return tk(e).constantValue=t,e}function Sk(e,t){const n=tk(e);return n.helpers=re(n.helpers,t),e}function kk(e,t){if(J(t)){const n=tk(e);for(const e of t)n.helpers=ce(n.helpers,e)}return e}function Dk(e,t){var n;const r=null==(n=e.emitNode)?void 0:n.helpers;return!!r&&Lt(r,t)}function wk(e){var t;return null==(t=e.emitNode)?void 0:t.helpers}function Ik(e,t,n){const r=e.emitNode,i=r&&r.helpers;if(!J(i))return;const o=tk(t);let s=0;for(let e=0;e0&&(i[e-s]=t)}s>0&&(i.length-=s)}function Tk(e){var t;return null==(t=e.emitNode)?void 0:t.snippetElement}function Fk(e,t){return tk(e).snippetElement=t,e}function Rk(e){return tk(e).internalFlags|=4,e}function Pk(e,t){return tk(e).typeNode=t,e}function Nk(e){var t;return null==(t=e.emitNode)?void 0:t.typeNode}function Bk(e,t){return tk(e).identifierTypeArguments=t,e}function Ok(e){var t;return null==(t=e.emitNode)?void 0:t.identifierTypeArguments}function qk(e,t){return tk(e).autoGenerate=t,e}function $k(e){var t;return null==(t=e.emitNode)?void 0:t.autoGenerate}function Qk(e,t){return tk(e).generatedImportReference=t,e}function Lk(e){var t;return null==(t=e.emitNode)?void 0:t.generatedImportReference}var Mk=(e=>(e.Field="f",e.Method="m",e.Accessor="a",e))(Mk||{});function jk(e){const t=e.factory,n=dt((()=>sk(t.createTrue(),8))),r=dt((()=>sk(t.createFalse(),8)));return{getUnscopedHelperName:i,createDecorateHelper:function(n,r,o,s){e.requestEmitHelper(Vk);const a=[];a.push(t.createArrayLiteralExpression(n,!0)),a.push(r),o&&(a.push(o),s&&a.push(s));return t.createCallExpression(i("__decorate"),void 0,a)},createMetadataHelper:function(n,r){return e.requestEmitHelper(Hk),t.createCallExpression(i("__metadata"),void 0,[t.createStringLiteral(n),r])},createParamHelper:function(n,r,o){return e.requestEmitHelper(Gk),aP(t.createCallExpression(i("__param"),void 0,[t.createNumericLiteral(r+""),n]),o)},createESDecorateHelper:function(n,r,o,a,c,u){return e.requestEmitHelper(Wk),t.createCallExpression(i("__esDecorate"),void 0,[n??t.createNull(),r??t.createNull(),o,s(a),c,u])},createRunInitializersHelper:function(n,r,o){return e.requestEmitHelper(zk),t.createCallExpression(i("__runInitializers"),void 0,o?[n,r,o]:[n,r])},createAssignHelper:function(n){if(yC(e.getCompilerOptions())>=2)return t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,n);return e.requestEmitHelper(Yk),t.createCallExpression(i("__assign"),void 0,n)},createAwaitHelper:function(n){return e.requestEmitHelper(Kk),t.createCallExpression(i("__await"),void 0,[n])},createAsyncGeneratorHelper:function(n,r){return e.requestEmitHelper(Kk),e.requestEmitHelper(Xk),(n.emitNode||(n.emitNode={})).flags|=1572864,t.createCallExpression(i("__asyncGenerator"),void 0,[r?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),n])},createAsyncDelegatorHelper:function(n){return e.requestEmitHelper(Kk),e.requestEmitHelper(Zk),t.createCallExpression(i("__asyncDelegator"),void 0,[n])},createAsyncValuesHelper:function(n){return e.requestEmitHelper(eD),t.createCallExpression(i("__asyncValues"),void 0,[n])},createRestHelper:function(n,r,o,s){e.requestEmitHelper(tD);const a=[];let c=0;for(let e=0;e{let r="";for(let i=0;i= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},Hk={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},Gk={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"},Wk={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!1,priority:2,text:'\n var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }\n var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";\n var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === "accessor") {\n if (result === void 0) continue;\n if (result === null || typeof result !== "object") throw new TypeError("Object expected");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === "field") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n };'},zk={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!1,priority:2,text:"\n var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n };"},Yk={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"},Kk={name:"typescript:await",importName:"__await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"},Xk={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[Kk],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'},Zk={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[Kk],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n };'},eD={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'},tD={name:"typescript:rest",importName:"__rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'},nD={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},rD={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'},iD={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'},oD={name:"typescript:read",importName:"__read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'},sD={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"},aD={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:'\n var __propKey = (this && this.__propKey) || function (x) {\n return typeof x === "symbol" ? x : "".concat(x);\n };'},cD={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!1,text:'\n var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {\n if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";\n return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });\n };'},uD={name:"typescript:values",importName:"__values",scoped:!1,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},lD={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);\n return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'},dD={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:'\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));'},pD={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[dD,{name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'}],priority:2,text:'\n var __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n })();'},fD={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'},_D={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[dD],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'},mD={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'},hD={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'},gD={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'},AD={name:"typescript:addDisposableResource",importName:"__addDisposableResource",scoped:!1,text:'\n var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== "function") throw new TypeError("Object not disposable.");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n };'},yD={name:"typescript:disposeResources",importName:"__disposeResources",scoped:!1,text:'\n var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {\n return function (env) {\n function fail(e) {\n env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n };\n })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;\n });'},vD={name:"typescript:rewriteRelativeImportExtensions",importName:"__rewriteRelativeImportExtension",scoped:!1,text:'\n var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {\n if (typeof path === "string" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");\n });\n }\n return path;\n };'},bD={name:"typescript:async-super",scoped:!0,text:Jk` const ${"_superIndex"} = name => super[name];`},CD={name:"typescript:advanced-async-super",scoped:!0,text:Jk` const ${"_superIndex"} = (function (geti, seti) { const cache = Object.create(null); return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); - })(name => super[name], (name, value) => super[name] = value);`};function ED(e,t){return Kw(e)&&UD(e.expression)&&!!(8192&Xp(e.expression))&&e.expression.escapedText===t}function xD(e){return 9===e.kind}function SD(e){return 10===e.kind}function kD(e){return 11===e.kind}function DD(e){return 12===e.kind}function wD(e){return 14===e.kind}function ID(e){return 15===e.kind}function TD(e){return 16===e.kind}function FD(e){return 17===e.kind}function RD(e){return 18===e.kind}function PD(e){return 26===e.kind}function ND(e){return 28===e.kind}function BD(e){return 40===e.kind}function OD(e){return 41===e.kind}function qD(e){return 42===e.kind}function $D(e){return 54===e.kind}function QD(e){return 58===e.kind}function LD(e){return 59===e.kind}function MD(e){return 29===e.kind}function jD(e){return 39===e.kind}function UD(e){return 80===e.kind}function JD(e){return 81===e.kind}function VD(e){return 95===e.kind}function HD(e){return 90===e.kind}function GD(e){return 134===e.kind}function WD(e){return 131===e.kind}function zD(e){return 135===e.kind}function YD(e){return 148===e.kind}function KD(e){return 126===e.kind}function XD(e){return 128===e.kind}function ZD(e){return 164===e.kind}function ew(e){return 129===e.kind}function tw(e){return 108===e.kind}function nw(e){return 102===e.kind}function rw(e){return 84===e.kind}function iw(e){return 166===e.kind}function ow(e){return 167===e.kind}function sw(e){return 168===e.kind}function aw(e){return 169===e.kind}function cw(e){return 170===e.kind}function lw(e){return 171===e.kind}function uw(e){return 172===e.kind}function dw(e){return 173===e.kind}function pw(e){return 174===e.kind}function fw(e){return 175===e.kind}function _w(e){return 176===e.kind}function mw(e){return 177===e.kind}function hw(e){return 178===e.kind}function gw(e){return 179===e.kind}function Aw(e){return 180===e.kind}function yw(e){return 181===e.kind}function vw(e){return 182===e.kind}function bw(e){return 183===e.kind}function Cw(e){return 184===e.kind}function Ew(e){return 185===e.kind}function xw(e){return 186===e.kind}function Sw(e){return 187===e.kind}function kw(e){return 188===e.kind}function Dw(e){return 189===e.kind}function ww(e){return 202===e.kind}function Iw(e){return 190===e.kind}function Tw(e){return 191===e.kind}function Fw(e){return 192===e.kind}function Rw(e){return 193===e.kind}function Pw(e){return 194===e.kind}function Nw(e){return 195===e.kind}function Bw(e){return 196===e.kind}function Ow(e){return 197===e.kind}function qw(e){return 198===e.kind}function $w(e){return 199===e.kind}function Qw(e){return 200===e.kind}function Lw(e){return 201===e.kind}function Mw(e){return 205===e.kind}function jw(e){return 204===e.kind}function Uw(e){return 203===e.kind}function Jw(e){return 206===e.kind}function Vw(e){return 207===e.kind}function Hw(e){return 208===e.kind}function Gw(e){return 209===e.kind}function Ww(e){return 210===e.kind}function zw(e){return 211===e.kind}function Yw(e){return 212===e.kind}function Kw(e){return 213===e.kind}function Xw(e){return 214===e.kind}function Zw(e){return 215===e.kind}function eI(e){return 216===e.kind}function tI(e){return 217===e.kind}function nI(e){return 218===e.kind}function rI(e){return 219===e.kind}function iI(e){return 220===e.kind}function oI(e){return 221===e.kind}function sI(e){return 222===e.kind}function aI(e){return 223===e.kind}function cI(e){return 224===e.kind}function lI(e){return 225===e.kind}function uI(e){return 226===e.kind}function dI(e){return 227===e.kind}function pI(e){return 228===e.kind}function fI(e){return 229===e.kind}function _I(e){return 230===e.kind}function mI(e){return 231===e.kind}function hI(e){return 232===e.kind}function gI(e){return 233===e.kind}function AI(e){return 234===e.kind}function yI(e){return 238===e.kind}function vI(e){return 235===e.kind}function bI(e){return 236===e.kind}function CI(e){return 237===e.kind}function EI(e){return 355===e.kind}function xI(e){return 356===e.kind}function SI(e){return 239===e.kind}function kI(e){return 240===e.kind}function DI(e){return 241===e.kind}function wI(e){return 243===e.kind}function II(e){return 242===e.kind}function TI(e){return 244===e.kind}function FI(e){return 245===e.kind}function RI(e){return 246===e.kind}function PI(e){return 247===e.kind}function NI(e){return 248===e.kind}function BI(e){return 249===e.kind}function OI(e){return 250===e.kind}function qI(e){return 251===e.kind}function $I(e){return 252===e.kind}function QI(e){return 253===e.kind}function LI(e){return 254===e.kind}function MI(e){return 255===e.kind}function jI(e){return 256===e.kind}function UI(e){return 257===e.kind}function JI(e){return 258===e.kind}function VI(e){return 259===e.kind}function HI(e){return 260===e.kind}function GI(e){return 261===e.kind}function WI(e){return 262===e.kind}function zI(e){return 263===e.kind}function YI(e){return 264===e.kind}function KI(e){return 265===e.kind}function XI(e){return 266===e.kind}function ZI(e){return 267===e.kind}function eT(e){return 268===e.kind}function tT(e){return 269===e.kind}function nT(e){return 270===e.kind}function rT(e){return 271===e.kind}function iT(e){return 272===e.kind}function oT(e){return 273===e.kind}function sT(e){return 302===e.kind}function aT(e){return 300===e.kind}function cT(e){return 301===e.kind}function lT(e){return 300===e.kind}function uT(e){return 301===e.kind}function dT(e){return 274===e.kind}function pT(e){return 280===e.kind}function fT(e){return 275===e.kind}function _T(e){return 276===e.kind}function mT(e){return 277===e.kind}function hT(e){return 278===e.kind}function gT(e){return 279===e.kind}function AT(e){return 281===e.kind}function yT(e){return 80===e.kind||11===e.kind}function vT(e){return 282===e.kind}function bT(e){return 353===e.kind}function CT(e){return 357===e.kind}function ET(e){return 283===e.kind}function xT(e){return 284===e.kind}function ST(e){return 285===e.kind}function kT(e){return 286===e.kind}function DT(e){return 287===e.kind}function wT(e){return 288===e.kind}function IT(e){return 289===e.kind}function TT(e){return 290===e.kind}function FT(e){return 291===e.kind}function RT(e){return 292===e.kind}function PT(e){return 293===e.kind}function NT(e){return 294===e.kind}function BT(e){return 295===e.kind}function OT(e){return 296===e.kind}function qT(e){return 297===e.kind}function $T(e){return 298===e.kind}function QT(e){return 299===e.kind}function LT(e){return 303===e.kind}function MT(e){return 304===e.kind}function jT(e){return 305===e.kind}function UT(e){return 306===e.kind}function JT(e){return 307===e.kind}function VT(e){return 308===e.kind}function HT(e){return 309===e.kind}function GT(e){return 310===e.kind}function WT(e){return 311===e.kind}function zT(e){return 324===e.kind}function YT(e){return 325===e.kind}function KT(e){return 326===e.kind}function XT(e){return 312===e.kind}function ZT(e){return 313===e.kind}function eF(e){return 314===e.kind}function tF(e){return 315===e.kind}function nF(e){return 316===e.kind}function rF(e){return 317===e.kind}function iF(e){return 318===e.kind}function oF(e){return 319===e.kind}function sF(e){return 320===e.kind}function aF(e){return 322===e.kind}function cF(e){return 323===e.kind}function lF(e){return 328===e.kind}function uF(e){return 330===e.kind}function dF(e){return 332===e.kind}function pF(e){return 338===e.kind}function fF(e){return 333===e.kind}function _F(e){return 334===e.kind}function mF(e){return 335===e.kind}function hF(e){return 336===e.kind}function gF(e){return 337===e.kind}function AF(e){return 339===e.kind}function yF(e){return 331===e.kind}function vF(e){return 347===e.kind}function bF(e){return 340===e.kind}function CF(e){return 341===e.kind}function EF(e){return 342===e.kind}function xF(e){return 343===e.kind}function SF(e){return 344===e.kind}function kF(e){return 345===e.kind}function DF(e){return 346===e.kind}function wF(e){return 327===e.kind}function IF(e){return 348===e.kind}function TF(e){return 329===e.kind}function FF(e){return 350===e.kind}function RF(e){return 349===e.kind}function PF(e){return 351===e.kind}function NF(e){return 352===e.kind}var BF,OF=new WeakMap;function qF(e,t){var n;const r=e.kind;return wl(r)?352===r?e._children:null==(n=OF.get(t))?void 0:n.get(e):a}function $F(e,t,n){352===e.kind&&un.fail("Should not need to re-set the children of a SyntaxList.");let r=OF.get(t);return void 0===r&&(r=new WeakMap,OF.set(t,r)),r.set(e,n),n}function QF(e,t){var n;352===e.kind&&un.fail("Did not expect to unset the children of a SyntaxList."),null==(n=OF.get(t))||n.delete(e)}function LF(e,t){const n=OF.get(e);void 0!==n&&(OF.delete(e),OF.set(t,n))}function MF(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function jF(e,t,n,r){if(ow(n))return aP(e.createElementAccessExpression(t,n.expression),r);{const r=aP(pl(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return ok(r,128),r}}function UF(e,t){const n=dP.createIdentifier(e||"React");return wx(n,fc(t)),n}function JF(e,t,n){if(iw(t)){const r=JF(e,t.left,n),i=e.createIdentifier(hc(t.right));return i.escapedText=t.right.escapedText,e.createPropertyAccessExpression(r,i)}return UF(hc(t),n)}function VF(e,t,n,r){return t?JF(e,t,r):e.createPropertyAccessExpression(UF(n,r),"createElement")}function HF(e,t,n,r,i,o){const s=[n];if(r&&s.push(r),i&&i.length>0)if(r||s.push(e.createNull()),i.length>1)for(const e of i)pR(e),s.push(e);else s.push(i[0]);return aP(e.createCallExpression(t,void 0,s),o)}function GF(e,t,n,r,i,o,s){const a=function(e,t,n,r){return t?JF(e,t,r):e.createPropertyAccessExpression(UF(n,r),"Fragment")}(e,n,r,o),c=[a,e.createNull()];if(i&&i.length>0)if(i.length>1)for(const e of i)pR(e),c.push(e);else c.push(i[0]);return aP(e.createCallExpression(VF(e,t,r,o),void 0,c),s)}function WF(e,t,n){if(GI(t)){const r=me(t.declarations),i=e.updateVariableDeclaration(r,r.name,void 0,void 0,n);return aP(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[i])),t)}{const r=aP(e.createAssignment(t,n),t);return aP(e.createExpressionStatement(r),t)}}function zF(e,t){if(iw(t)){const n=zF(e,t.left),r=wx(aP(e.cloneNode(t.right),t.right),t.right.parent);return aP(e.createPropertyAccessExpression(n,r),t)}return wx(aP(e.cloneNode(t),t),t.parent)}function YF(e,t){return UD(t)?e.createStringLiteralFromNode(t):ow(t)?wx(aP(e.cloneNode(t.expression),t.expression),t.expression.parent):wx(aP(e.cloneNode(t),t),t.parent)}function KF(e,t,n,r){switch(n.name&&JD(n.name)&&un.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 177:case 178:return function(e,t,n,r,i){const{firstAccessor:o,getAccessor:s,setAccessor:a}=fy(t,n);if(n===o)return aP(e.createObjectDefinePropertyCall(r,YF(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:s&&aP(ek(e.createFunctionExpression(wc(s),void 0,void 0,void 0,s.parameters,void 0,s.body),s),s),set:a&&aP(ek(e.createFunctionExpression(wc(a),void 0,void 0,void 0,a.parameters,void 0,a.body),a),a)},!i)),o)}(e,t.properties,n,r,!!t.multiLine);case 303:return function(e,t,n){return ek(aP(e.createAssignment(jF(e,n,t.name,t.name),t.initializer),t),t)}(e,n,r);case 304:return function(e,t,n){return ek(aP(e.createAssignment(jF(e,n,t.name,t.name),e.cloneNode(t.name)),t),t)}(e,n,r);case 174:return function(e,t,n){return ek(aP(e.createAssignment(jF(e,n,t.name,t.name),ek(aP(e.createFunctionExpression(wc(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}(e,n,r)}}function XF(e,t,n,r,i){const o=t.operator;un.assert(46===o||47===o,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const s=e.createTempVariable(r);aP(n=e.createAssignment(s,n),t.operand);let a=cI(t)?e.createPrefixUnaryExpression(o,s):e.createPostfixUnaryExpression(s,o);return aP(a,t),i&&(a=e.createAssignment(i,a),aP(a,t)),aP(n=e.createComma(n,a),t),lI(t)&&aP(n=e.createComma(n,s),t),n}function ZF(e){return!!(65536&Xp(e))}function eR(e){return!!(32768&Xp(e))}function tR(e){return!!(16384&Xp(e))}function nR(e){return kD(e.expression)&&"use strict"===e.expression.text}function rR(e){for(const t of e){if(!p_(t))break;if(nR(t))return t}}function iR(e){const t=fe(e);return void 0!==t&&p_(t)&&nR(t)}function oR(e){return 226===e.kind&&28===e.operatorToken.kind}function sR(e){return oR(e)||xI(e)}function aR(e){return tI(e)&&Tm(e)&&!!tl(e)}function cR(e){const t=nl(e);return un.assertIsDefined(t),t}function lR(e,t=31){switch(e.kind){case 217:return!(-2147483648&t&&aR(e))&&!!(1&t);case 216:case 234:case 238:return!!(2&t);case 233:return!!(16&t);case 235:return!!(4&t);case 355:return!!(8&t)}return!1}function uR(e,t=31){for(;lR(e,t);)e=e.expression;return e}function dR(e,t=31){let n=e.parent;for(;lR(n,t);)n=n.parent,un.assert(n);return n}function pR(e){return fk(e,!0)}function fR(e){const t=uc(e,JT),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function _R(e){const t=uc(e,JT),n=t&&t.emitNode;return!(!n||!n.externalHelpersModuleName&&!n.externalHelpers)}function mR(e,t,n,r,i,o,s){if(r.importHelpers&&gf(n,r)){const a=vC(r),c=TJ(n,r),l=function(e){return S(wk(e),(e=>!e.scoped))}(n);if(a>=5&&a<=99||99===c||void 0===c&&200===a){if(l){const r=[];for(const e of l){const t=e.importName;t&&ae(r,t)}if(J(r)){r.sort(xt);const i=e.createNamedImports(w(r,(r=>Sp(n,r)?e.createImportSpecifier(!1,void 0,e.createIdentifier(r)):e.createImportSpecifier(!1,e.createIdentifier(r),t.getUnscopedHelperName(r)))));tk(uc(n,JT)).externalHelpers=!0;const o=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,i),e.createStringLiteral(Ud),void 0);return ak(o,2),o}}}else{const t=function(e,t,n,r,i,o){const s=fR(t);if(s)return s;const a=J(r)||(i||xC(n)&&o)&&IJ(t,n)<4;if(a){const n=tk(uc(t,JT));return n.externalHelpersModuleName||(n.externalHelpersModuleName=e.createUniqueName(Ud))}}(e,n,r,l,i,o||s);if(t){const n=e.createImportEqualsDeclaration(void 0,!1,t,e.createExternalModuleReference(e.createStringLiteral(Ud)));return ak(n,2),n}}}}function hR(e,t,n){const r=Eh(t);if(r&&!xh(t)&&!Jp(t)){const i=r.name;return 11===i.kind?e.getGeneratedNameForNode(t):Vl(i)?i:e.createIdentifier(Up(n,i)||hc(i))}return 272===t.kind&&t.importClause||278===t.kind&&t.moduleSpecifier?e.getGeneratedNameForNode(t):void 0}function gR(e,t,n,r,i,o){const s=Ch(t);if(s&&kD(s))return function(e,t,n,r,i){return AR(n,r.getExternalModuleFileFromDeclaration(e),t,i)}(t,r,e,i,o)||function(e,t,n){const r=n.renamedDependencies&&n.renamedDependencies.get(t.text);return r?e.createStringLiteral(r):void 0}(e,s,n)||e.cloneNode(s)}function AR(e,t,n,r){if(t)return t.moduleName?e.createStringLiteral(t.moduleName):!t.isDeclarationFile&&r.outFile?e.createStringLiteral(MA(n,t.fileName)):void 0}function yR(e){if(Su(e))return e.initializer;if(LT(e)){const t=e.initializer;return iv(t,!0)?t.right:void 0}return MT(e)?e.objectAssignmentInitializer:iv(e,!0)?e.right:_I(e)?yR(e.expression):void 0}function vR(e){if(Su(e))return e.name;if(!yu(e))return iv(e,!0)?vR(e.left):_I(e)?vR(e.expression):e;switch(e.kind){case 303:return vR(e.initializer);case 304:return e.name;case 305:return vR(e.expression)}}function bR(e){switch(e.kind){case 169:case 208:return e.dotDotDotToken;case 230:case 305:return e}}function CR(e){const t=ER(e);return un.assert(!!t||jT(e),"Invalid property name for binding element."),t}function ER(e){switch(e.kind){case 208:if(e.propertyName){const t=e.propertyName;return JD(t)?un.failBadSyntaxKind(t):ow(t)&&xR(t.expression)?t.expression:t}break;case 303:if(e.name){const t=e.name;return JD(t)?un.failBadSyntaxKind(t):ow(t)&&xR(t.expression)?t.expression:t}break;case 305:return e.name&&JD(e.name)?un.failBadSyntaxKind(e.name):e.name}const t=vR(e);if(t&&tu(t))return t}function xR(e){const t=e.kind;return 11===t||9===t}function SR(e){switch(e.kind){case 206:case 207:case 209:return e.elements;case 210:return e.properties}}function kR(e){if(e){let t=e;for(;;){if(UD(t)||!t.body)return UD(t)?t:t.name;t=t.body}}}function DR(e){const t=e.kind;return 176===t||178===t}function wR(e){const t=e.kind;return 176===t||177===t||178===t}function IR(e){const t=e.kind;return 303===t||304===t||262===t||176===t||181===t||175===t||282===t||243===t||264===t||265===t||266===t||267===t||271===t||272===t||270===t||278===t||277===t}function TR(e){const t=e.kind;return 175===t||303===t||304===t||282===t||270===t}function FR(e){return QD(e)||$D(e)}function RR(e){return UD(e)||Ow(e)}function PR(e){return YD(e)||BD(e)||OD(e)}function NR(e){return QD(e)||BD(e)||OD(e)}function BR(e){return UD(e)||kD(e)}function OR(e){return function(e){return 48===e||49===e||50===e}(e)||function(e){return function(e){return 40===e||41===e}(e)||function(e){return function(e){return 43===e}(e)||function(e){return 42===e||44===e||45===e}(e)}(e)}(e)}function qR(e){return function(e){return 35===e||37===e||36===e||38===e}(e)||function(e){return function(e){return 30===e||33===e||32===e||34===e||104===e||103===e}(e)||OR(e)}(e)}function $R(e){return function(e){return 56===e||57===e}(e)||function(e){return function(e){return 51===e||52===e||53===e}(e)||qR(e)}(e)}function QR(e){return function(e){return 61===e||$R(e)||tv(e)}(e)||28===e}function LR(e){return QR(e.kind)}(e=>{function t(e,n,r,i,o,s,c){const l=n>0?o[n-1]:void 0;return un.assertEqual(r[n],t),o[n]=e.onEnter(i[n],l,c),r[n]=a(e,t),n}function n(e,t,r,i,o,s,u){un.assertEqual(r[t],n),un.assertIsDefined(e.onLeft),r[t]=a(e,n);const d=e.onLeft(i[t].left,o[t],i[t]);return d?(l(t,i,d),c(t,r,i,o,d)):t}function r(e,t,n,i,o,s,c){return un.assertEqual(n[t],r),un.assertIsDefined(e.onOperator),n[t]=a(e,r),e.onOperator(i[t].operatorToken,o[t],i[t]),t}function i(e,t,n,r,o,s,u){un.assertEqual(n[t],i),un.assertIsDefined(e.onRight),n[t]=a(e,i);const d=e.onRight(r[t].right,o[t],r[t]);return d?(l(t,r,d),c(t,n,r,o,d)):t}function o(e,t,n,r,i,s,c){un.assertEqual(n[t],o),n[t]=a(e,o);const l=e.onExit(r[t],i[t]);if(t>0){if(t--,e.foldState){const r=n[t]===o?"right":"left";i[t]=e.foldState(i[t],l,r)}}else s.value=l;return t}function s(e,t,n,r,i,o,a){return un.assertEqual(n[t],s),t}function a(e,a){switch(a){case t:if(e.onLeft)return n;case n:if(e.onOperator)return r;case r:if(e.onRight)return i;case i:return o;case o:case s:return s;default:un.fail("Invalid state")}}function c(e,n,r,i,o){return n[++e]=t,r[e]=o,i[e]=void 0,e}function l(e,t,n){if(un.shouldAssert(2))for(;e>=0;)un.assert(t[e]!==n,"Circular traversal detected."),e--}e.enter=t,e.left=n,e.operator=r,e.right=i,e.exit=o,e.done=s,e.nextState=a})(BF||(BF={}));var MR,jR,UR,JR,VR,HR=class{constructor(e,t,n,r,i,o){this.onEnter=e,this.onLeft=t,this.onOperator=n,this.onRight=r,this.onExit=i,this.foldState=o}};function GR(e,t,n,r,i,o){const s=new HR(e,t,n,r,i,o);return function(e,t){const n={value:void 0},r=[BF.enter],i=[e],o=[void 0];let a=0;for(;r[a]!==BF.done;)a=r[a](s,a,r,i,o,n,t);return un.assertEqual(a,0),n.value}}function WR(e){return function(e){return 95===e||90===e}(e.kind)}function zR(e,t){if(void 0!==t)return 0===t.length?t:aP(e.createNodeArray([],t.hasTrailingComma),t)}function YR(e){var t;const n=e.emitNode.autoGenerate;if(4&n.flags){const r=n.id;let i=e,o=i.original;for(;o;){i=o;const e=null==(t=i.emitNode)?void 0:t.autoGenerate;if(pl(i)&&(void 0===e||4&e.flags&&e.id!==r))break;o=i.original}return i}return e}function KR(e,t){return"object"==typeof e?ZR(!1,e.prefix,e.node,e.suffix,t):"string"==typeof e?e.length>0&&35===e.charCodeAt(0)?e.slice(1):e:""}function XR(e,t){return"string"==typeof e?e:function(e,t){return Hl(e)?t(e).slice(1):Vl(e)?t(e):JD(e)?e.escapedText.slice(1):hc(e)}(e,un.checkDefined(t))}function ZR(e,t,n,r,i){return t=KR(t,i),r=KR(r,i),`${e?"#":""}${t}${n=XR(n,i)}${r}`}function eP(e,t,n,r){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,r)}function tP(e,t,n,r,i=e.createThis()){return e.createGetAccessorDeclaration(n,r,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(i,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function nP(e,t,n,r,i=e.createThis()){return e.createSetAccessorDeclaration(n,r,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(i,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function rP(e){let t=e.expression;for(;;)if(t=uR(t),xI(t))t=Ae(t.elements);else{if(!oR(t)){if(iv(t,!0)&&Vl(t.left))return t;break}t=t.right}}function iP(e,t){if(function(e){return tI(e)&&eA(e)&&!e.emitNode}(e))iP(e.expression,t);else if(oR(e))iP(e.left,t),iP(e.right,t);else if(xI(e))for(const n of e.elements)iP(n,t);else t.push(e)}function oP(e){const t=[];return iP(e,t),t}function sP(e){if(65536&e.transformFlags)return!0;if(128&e.transformFlags)for(const t of SR(e)){const e=vR(t);if(e&&Eu(e)){if(65536&e.transformFlags)return!0;if(128&e.transformFlags&&sP(e))return!0}}return!1}function aP(e,t){return t?Sx(e,t.pos,t.end):e}function cP(e){const t=e.kind;return 168===t||169===t||171===t||172===t||173===t||174===t||176===t||177===t||178===t||181===t||185===t||218===t||219===t||231===t||243===t||262===t||263===t||264===t||265===t||266===t||267===t||271===t||272===t||277===t||278===t}function lP(e){const t=e.kind;return 169===t||172===t||174===t||177===t||178===t||231===t||263===t}var uP={createBaseSourceFileNode:e=>new(VR||(VR=$b.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(UR||(UR=$b.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(JR||(JR=$b.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(jR||(jR=$b.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(MR||(MR=$b.getNodeConstructor()))(e,-1,-1)},dP=MS(1,uP);function pP(e,t){return t&&e(t)}function fP(e,t,n){if(n){if(t)return t(n);for(const t of n){const n=e(t);if(n)return n}}}function _P(e,t){return 42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&47!==e.charCodeAt(t+3)}function mP(e){return u(e.statements,hP)||function(e){return 8388608&e.flags?gP(e):void 0}(e)}function hP(e){return cP(e)&&function(e,t){return J(e.modifiers,(e=>e.kind===t))}(e,95)||rT(e)&&ET(e.moduleReference)||iT(e)||mT(e)||hT(e)?e:void 0}function gP(e){return function(e){return bI(e)&&102===e.keywordToken&&"meta"===e.name.escapedText}(e)?e:OP(e,gP)}var AP,yP={166:function(e,t,n){return pP(t,e.left)||pP(t,e.right)},168:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.constraint)||pP(t,e.default)||pP(t,e.expression)},304:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.exclamationToken)||pP(t,e.equalsToken)||pP(t,e.objectAssignmentInitializer)},305:function(e,t,n){return pP(t,e.expression)},169:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.dotDotDotToken)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.type)||pP(t,e.initializer)},172:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.exclamationToken)||pP(t,e.type)||pP(t,e.initializer)},171:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.type)||pP(t,e.initializer)},303:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.exclamationToken)||pP(t,e.initializer)},260:function(e,t,n){return pP(t,e.name)||pP(t,e.exclamationToken)||pP(t,e.type)||pP(t,e.initializer)},208:function(e,t,n){return pP(t,e.dotDotDotToken)||pP(t,e.propertyName)||pP(t,e.name)||pP(t,e.initializer)},181:function(e,t,n){return fP(t,n,e.modifiers)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)},185:function(e,t,n){return fP(t,n,e.modifiers)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)},184:function(e,t,n){return fP(t,n,e.modifiers)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)},179:vP,180:vP,174:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.asteriskToken)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.exclamationToken)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.body)},173:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.questionToken)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)},176:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.body)},177:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.body)},178:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.body)},262:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.asteriskToken)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.body)},218:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.asteriskToken)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.body)},219:function(e,t,n){return fP(t,n,e.modifiers)||fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)||pP(t,e.equalsGreaterThanToken)||pP(t,e.body)},175:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.body)},183:function(e,t,n){return pP(t,e.typeName)||fP(t,n,e.typeArguments)},182:function(e,t,n){return pP(t,e.assertsModifier)||pP(t,e.parameterName)||pP(t,e.type)},186:function(e,t,n){return pP(t,e.exprName)||fP(t,n,e.typeArguments)},187:function(e,t,n){return fP(t,n,e.members)},188:function(e,t,n){return pP(t,e.elementType)},189:function(e,t,n){return fP(t,n,e.elements)},192:bP,193:bP,194:function(e,t,n){return pP(t,e.checkType)||pP(t,e.extendsType)||pP(t,e.trueType)||pP(t,e.falseType)},195:function(e,t,n){return pP(t,e.typeParameter)},205:function(e,t,n){return pP(t,e.argument)||pP(t,e.attributes)||pP(t,e.qualifier)||fP(t,n,e.typeArguments)},302:function(e,t,n){return pP(t,e.assertClause)},196:CP,198:CP,199:function(e,t,n){return pP(t,e.objectType)||pP(t,e.indexType)},200:function(e,t,n){return pP(t,e.readonlyToken)||pP(t,e.typeParameter)||pP(t,e.nameType)||pP(t,e.questionToken)||pP(t,e.type)||fP(t,n,e.members)},201:function(e,t,n){return pP(t,e.literal)},202:function(e,t,n){return pP(t,e.dotDotDotToken)||pP(t,e.name)||pP(t,e.questionToken)||pP(t,e.type)},206:EP,207:EP,209:function(e,t,n){return fP(t,n,e.elements)},210:function(e,t,n){return fP(t,n,e.properties)},211:function(e,t,n){return pP(t,e.expression)||pP(t,e.questionDotToken)||pP(t,e.name)},212:function(e,t,n){return pP(t,e.expression)||pP(t,e.questionDotToken)||pP(t,e.argumentExpression)},213:xP,214:xP,215:function(e,t,n){return pP(t,e.tag)||pP(t,e.questionDotToken)||fP(t,n,e.typeArguments)||pP(t,e.template)},216:function(e,t,n){return pP(t,e.type)||pP(t,e.expression)},217:function(e,t,n){return pP(t,e.expression)},220:function(e,t,n){return pP(t,e.expression)},221:function(e,t,n){return pP(t,e.expression)},222:function(e,t,n){return pP(t,e.expression)},224:function(e,t,n){return pP(t,e.operand)},229:function(e,t,n){return pP(t,e.asteriskToken)||pP(t,e.expression)},223:function(e,t,n){return pP(t,e.expression)},225:function(e,t,n){return pP(t,e.operand)},226:function(e,t,n){return pP(t,e.left)||pP(t,e.operatorToken)||pP(t,e.right)},234:function(e,t,n){return pP(t,e.expression)||pP(t,e.type)},235:function(e,t,n){return pP(t,e.expression)},238:function(e,t,n){return pP(t,e.expression)||pP(t,e.type)},236:function(e,t,n){return pP(t,e.name)},227:function(e,t,n){return pP(t,e.condition)||pP(t,e.questionToken)||pP(t,e.whenTrue)||pP(t,e.colonToken)||pP(t,e.whenFalse)},230:function(e,t,n){return pP(t,e.expression)},241:SP,268:SP,307:function(e,t,n){return fP(t,n,e.statements)||pP(t,e.endOfFileToken)},243:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.declarationList)},261:function(e,t,n){return fP(t,n,e.declarations)},244:function(e,t,n){return pP(t,e.expression)},245:function(e,t,n){return pP(t,e.expression)||pP(t,e.thenStatement)||pP(t,e.elseStatement)},246:function(e,t,n){return pP(t,e.statement)||pP(t,e.expression)},247:function(e,t,n){return pP(t,e.expression)||pP(t,e.statement)},248:function(e,t,n){return pP(t,e.initializer)||pP(t,e.condition)||pP(t,e.incrementor)||pP(t,e.statement)},249:function(e,t,n){return pP(t,e.initializer)||pP(t,e.expression)||pP(t,e.statement)},250:function(e,t,n){return pP(t,e.awaitModifier)||pP(t,e.initializer)||pP(t,e.expression)||pP(t,e.statement)},251:kP,252:kP,253:function(e,t,n){return pP(t,e.expression)},254:function(e,t,n){return pP(t,e.expression)||pP(t,e.statement)},255:function(e,t,n){return pP(t,e.expression)||pP(t,e.caseBlock)},269:function(e,t,n){return fP(t,n,e.clauses)},296:function(e,t,n){return pP(t,e.expression)||fP(t,n,e.statements)},297:function(e,t,n){return fP(t,n,e.statements)},256:function(e,t,n){return pP(t,e.label)||pP(t,e.statement)},257:function(e,t,n){return pP(t,e.expression)},258:function(e,t,n){return pP(t,e.tryBlock)||pP(t,e.catchClause)||pP(t,e.finallyBlock)},299:function(e,t,n){return pP(t,e.variableDeclaration)||pP(t,e.block)},170:function(e,t,n){return pP(t,e.expression)},263:DP,231:DP,264:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.heritageClauses)||fP(t,n,e.members)},265:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.typeParameters)||pP(t,e.type)},266:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.members)},306:function(e,t,n){return pP(t,e.name)||pP(t,e.initializer)},267:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.body)},271:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||pP(t,e.moduleReference)},272:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.importClause)||pP(t,e.moduleSpecifier)||pP(t,e.attributes)},273:function(e,t,n){return pP(t,e.name)||pP(t,e.namedBindings)},300:function(e,t,n){return fP(t,n,e.elements)},301:function(e,t,n){return pP(t,e.name)||pP(t,e.value)},270:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)},274:function(e,t,n){return pP(t,e.name)},280:function(e,t,n){return pP(t,e.name)},275:wP,279:wP,278:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.exportClause)||pP(t,e.moduleSpecifier)||pP(t,e.attributes)},276:IP,281:IP,277:function(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.expression)},228:function(e,t,n){return pP(t,e.head)||fP(t,n,e.templateSpans)},239:function(e,t,n){return pP(t,e.expression)||pP(t,e.literal)},203:function(e,t,n){return pP(t,e.head)||fP(t,n,e.templateSpans)},204:function(e,t,n){return pP(t,e.type)||pP(t,e.literal)},167:function(e,t,n){return pP(t,e.expression)},298:function(e,t,n){return fP(t,n,e.types)},233:function(e,t,n){return pP(t,e.expression)||fP(t,n,e.typeArguments)},283:function(e,t,n){return pP(t,e.expression)},282:function(e,t,n){return fP(t,n,e.modifiers)},356:function(e,t,n){return fP(t,n,e.elements)},284:function(e,t,n){return pP(t,e.openingElement)||fP(t,n,e.children)||pP(t,e.closingElement)},288:function(e,t,n){return pP(t,e.openingFragment)||fP(t,n,e.children)||pP(t,e.closingFragment)},285:TP,286:TP,292:function(e,t,n){return fP(t,n,e.properties)},291:function(e,t,n){return pP(t,e.name)||pP(t,e.initializer)},293:function(e,t,n){return pP(t,e.expression)},294:function(e,t,n){return pP(t,e.dotDotDotToken)||pP(t,e.expression)},287:function(e,t,n){return pP(t,e.tagName)},295:function(e,t,n){return pP(t,e.namespace)||pP(t,e.name)},190:FP,191:FP,309:FP,315:FP,314:FP,316:FP,318:FP,317:function(e,t,n){return fP(t,n,e.parameters)||pP(t,e.type)},320:function(e,t,n){return("string"==typeof e.comment?void 0:fP(t,n,e.comment))||fP(t,n,e.tags)},347:function(e,t,n){return pP(t,e.tagName)||pP(t,e.name)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},310:function(e,t,n){return pP(t,e.name)},311:function(e,t,n){return pP(t,e.left)||pP(t,e.right)},341:RP,348:RP,330:function(e,t,n){return pP(t,e.tagName)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},329:function(e,t,n){return pP(t,e.tagName)||pP(t,e.class)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},328:function(e,t,n){return pP(t,e.tagName)||pP(t,e.class)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},345:function(e,t,n){return pP(t,e.tagName)||pP(t,e.constraint)||fP(t,n,e.typeParameters)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},346:function(e,t,n){return pP(t,e.tagName)||(e.typeExpression&&309===e.typeExpression.kind?pP(t,e.typeExpression)||pP(t,e.fullName)||("string"==typeof e.comment?void 0:fP(t,n,e.comment)):pP(t,e.fullName)||pP(t,e.typeExpression)||("string"==typeof e.comment?void 0:fP(t,n,e.comment)))},338:function(e,t,n){return pP(t,e.tagName)||pP(t,e.fullName)||pP(t,e.typeExpression)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},342:PP,344:PP,343:PP,340:PP,350:PP,349:PP,339:PP,323:function(e,t,n){return u(e.typeParameters,t)||u(e.parameters,t)||pP(t,e.type)},324:NP,325:NP,326:NP,322:function(e,t,n){return u(e.jsDocPropertyTags,t)},327:BP,332:BP,333:BP,334:BP,335:BP,336:BP,331:BP,337:BP,351:function(e,t,n){return pP(t,e.tagName)||pP(t,e.importClause)||pP(t,e.moduleSpecifier)||pP(t,e.attributes)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))},355:function(e,t,n){return pP(t,e.expression)}};function vP(e,t,n){return fP(t,n,e.typeParameters)||fP(t,n,e.parameters)||pP(t,e.type)}function bP(e,t,n){return fP(t,n,e.types)}function CP(e,t,n){return pP(t,e.type)}function EP(e,t,n){return fP(t,n,e.elements)}function xP(e,t,n){return pP(t,e.expression)||pP(t,e.questionDotToken)||fP(t,n,e.typeArguments)||fP(t,n,e.arguments)}function SP(e,t,n){return fP(t,n,e.statements)}function kP(e,t,n){return pP(t,e.label)}function DP(e,t,n){return fP(t,n,e.modifiers)||pP(t,e.name)||fP(t,n,e.typeParameters)||fP(t,n,e.heritageClauses)||fP(t,n,e.members)}function wP(e,t,n){return fP(t,n,e.elements)}function IP(e,t,n){return pP(t,e.propertyName)||pP(t,e.name)}function TP(e,t,n){return pP(t,e.tagName)||fP(t,n,e.typeArguments)||pP(t,e.attributes)}function FP(e,t,n){return pP(t,e.type)}function RP(e,t,n){return pP(t,e.tagName)||(e.isNameFirst?pP(t,e.name)||pP(t,e.typeExpression):pP(t,e.typeExpression)||pP(t,e.name))||("string"==typeof e.comment?void 0:fP(t,n,e.comment))}function PP(e,t,n){return pP(t,e.tagName)||pP(t,e.typeExpression)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))}function NP(e,t,n){return pP(t,e.name)}function BP(e,t,n){return pP(t,e.tagName)||("string"==typeof e.comment?void 0:fP(t,n,e.comment))}function OP(e,t,n){if(void 0===e||e.kind<=165)return;const r=yP[e.kind];return void 0===r?void 0:r(e,t,n)}function qP(e,t,n){const r=$P(e),i=[];for(;i.length=0;--t)r.push(e[t]),i.push(o)}else{const n=t(e,o);if(n){if("skip"===n)continue;return n}if(e.kind>=166)for(const t of $P(e))r.push(t),i.push(e)}}}function $P(e){const t=[];return OP(e,n,n),t;function n(e){t.unshift(e)}}function QP(e){e.externalModuleIndicator=mP(e)}function LP(e,t,n,r=!1,i){var o,s;let a;null==(o=Hn)||o.push(Hn.Phase.Parse,"createSourceFile",{path:e},!0),er("beforeParse");const{languageVersion:c,setExternalModuleIndicator:l,impliedNodeFormat:u,jsDocParsingMode:d}="object"==typeof n?n:{languageVersion:n};if(100===c)a=AP.parseSourceFile(e,t,c,void 0,r,6,nt,d);else{const n=void 0===u?l:e=>(e.impliedNodeFormat=u,(l||QP)(e));a=AP.parseSourceFile(e,t,c,void 0,r,i,n,d)}return er("afterParse"),tr("Parse","beforeParse","afterParse"),null==(s=Hn)||s.pop(),a}function MP(e,t){return AP.parseIsolatedEntityName(e,t)}function jP(e,t){return AP.parseJsonText(e,t)}function UP(e){return void 0!==e.externalModuleIndicator}function JP(e,t,n,r=!1){const i=WP.updateSourceFile(e,t,n,r);return i.flags|=12582912&e.flags,i}function VP(e,t,n){const r=AP.JSDocParser.parseIsolatedJSDocComment(e,t,n);return r&&r.jsDoc&&AP.fixupParentReferences(r.jsDoc),r}function HP(e,t,n){return AP.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}(e=>{var t,n,r,i,o,s=ha(99,!0),l=40960;function u(e){return C++,e}var d,p,f,_,m,h,g,A,y,b,C,E,x,S,k,D,w=MS(11,{createBaseSourceFileNode:e=>u(new o(e,0,0)),createBaseIdentifierNode:e=>u(new r(e,0,0)),createBasePrivateIdentifierNode:e=>u(new i(e,0,0)),createBaseTokenNode:e=>u(new n(e,0,0)),createBaseNode:e=>u(new t(e,0,0))}),{createNodeArray:I,createNumericLiteral:T,createStringLiteral:F,createLiteralLikeNode:R,createIdentifier:P,createPrivateIdentifier:N,createToken:B,createArrayLiteralExpression:O,createObjectLiteralExpression:$,createPropertyAccessExpression:Q,createPropertyAccessChain:L,createElementAccessExpression:M,createElementAccessChain:j,createCallExpression:U,createCallChain:V,createNewExpression:G,createParenthesizedExpression:W,createBlock:z,createVariableStatement:Y,createExpressionStatement:K,createIfStatement:X,createWhileStatement:Z,createForStatement:ee,createForOfStatement:te,createVariableDeclaration:ne,createVariableDeclarationList:ie}=w,oe=!0,ae=!1;function ce(e,t,n=2,r,i=!1){le(e,t,n,r,6,0),p=D,Ve();const o=Le();let s,a;if(1===je())s=Ct([],o,o),a=At();else{let e;for(;1!==je();){let t;switch(je()){case 23:t=li();break;case 112:case 97:case 106:t=At();break;case 41:t=rt((()=>9===Ve()&&59!==Ve()))?$r():di();break;case 9:case 11:if(rt((()=>59!==Ve()))){t=An();break}default:t=di()}e&&Ye(e)?e.push(t):e?e=[e,t]:(e=t,1!==je()&&Be(us.Unexpected_token))}const t=Ye(e)?Et(O(e),o):un.checkDefined(e),n=K(t);Et(n,o),s=Ct([n],o),a=gt(1,us.Unexpected_token)}const c=me(e,2,6,!1,s,a,p,nt);i&&_e(c),c.nodeCount=C,c.identifierCount=x,c.identifiers=E,c.parseDiagnostics=zb(g,c),A&&(c.jsDocDiagnostics=zb(A,c));const l=c;return ue(),l}function le(e,a,c,l,u,A){switch(t=$b.getNodeConstructor(),n=$b.getTokenConstructor(),r=$b.getIdentifierConstructor(),i=$b.getPrivateIdentifierConstructor(),o=$b.getSourceFileConstructor(),d=Mo(e),f=a,_=c,y=l,m=u,h=uC(u),g=[],S=0,E=new Map,x=0,C=0,p=0,oe=!0,m){case 1:case 2:D=524288;break;case 6:D=134742016;break;default:D=0}ae=!1,s.setText(f),s.setOnError(Qe),s.setScriptTarget(_),s.setLanguageVariant(h),s.setScriptKind(m),s.setJSDocParsingMode(A)}function ue(){s.clearCommentDirectives(),s.setText(""),s.setOnError(void 0),s.setScriptKind(0),s.setJSDocParsingMode(0),f=void 0,_=void 0,y=void 0,m=void 0,h=void 0,p=0,g=void 0,A=void 0,S=0,E=void 0,k=void 0,oe=!0}e.parseSourceFile=function(e,t,n,r,i=!1,o,l,u=0){var _;if(6===(o=vE(e,o))){const o=ce(e,t,n,r,i);return SB(o,null==(_=o.statements[0])?void 0:_.expression,o.parseDiagnostics,!1,void 0),o.referencedFiles=a,o.typeReferenceDirectives=a,o.libReferenceDirectives=a,o.amdDependencies=a,o.hasNoDefaultLib=!1,o.pragmas=c,o}le(e,t,n,r,o,u);const m=function(e,t,n,r,i){const o=KP(d);o&&(D|=33554432);p=D,Ve();const a=Zt(0,Ni);un.assert(1===je());const c=Me(),l=pe(At(),c),u=me(d,e,n,o,a,l,p,r);ZP(u,f),eN(u,_),u.commentDirectives=s.getCommentDirectives(),u.nodeCount=C,u.identifierCount=x,u.identifiers=E,u.parseDiagnostics=zb(g,u),u.jsDocParsingMode=i,A&&(u.jsDocDiagnostics=zb(A,u));t&&_e(u);return u;function _(e,t,n){g.push(Hb(d,f,e,t,n))}}(n,i,o,l||QP,u);return ue(),m},e.parseIsolatedEntityName=function(e,t){le("",e,t,void 0,1,0),Ve();const n=ln(!0),r=1===je()&&!g.length;return ue(),r?n:void 0},e.parseJsonText=ce;let de=!1;function pe(e,t){if(!t)return e;un.assert(!e.jsDoc);const n=q(A_(e,f),(t=>jo.parseJSDocComment(e,t.pos,t.end-t.pos)));return n.length&&(e.jsDoc=n),de&&(de=!1,e.flags|=536870912),e}function _e(e){Ix(e,!0)}function me(e,t,n,r,i,o,a,c){let l=w.createSourceFile(i,o,a);if(kx(l,0,f.length),u(l),!r&&UP(l)&&67108864&l.transformFlags){const e=l;l=function(e){const t=y,n=WP.createSyntaxCursor(e);y={currentNode:function(e){const t=n.currentNode(e);return oe&&t&&c(t)&&YP(t),t}};const r=[],i=g;g=[];let o=0,a=l(e.statements,0);for(;-1!==a;){const t=e.statements[o],n=e.statements[a];se(r,e.statements,o,a),o=u(e.statements,a);const c=v(i,(e=>e.start>=t.pos)),d=c>=0?v(i,(e=>e.start>=n.pos),c):-1;c>=0&&se(g,i,c,d>=0?d:void 0),tt((()=>{const t=D;for(D|=65536,s.resetTokenState(n.pos),Ve();1!==je();){const t=s.getTokenFullStart(),n=en(0,Ni);if(r.push(n),t===s.getTokenFullStart()&&Ve(),o>=0){const t=e.statements[o];if(n.end===t.pos)break;n.end>t.pos&&(o=u(e.statements,o+1))}}D=t}),2),a=o>=0?l(e.statements,o):-1}if(o>=0){const t=e.statements[o];se(r,e.statements,o);const n=v(i,(e=>e.start>=t.pos));n>=0&&se(g,i,n)}return y=t,w.updateSourceFile(e,aP(I(r),e.statements));function c(e){return!(65536&e.flags||!(67108864&e.transformFlags))}function l(e,t){for(let n=t;n118}function at(){return 80===je()||(127!==je()||!Te())&&((135!==je()||!Ne())&&je()>118)}function ct(e,t,n=!0){return je()===e?(n&&Ve(),!0):(t?Be(t):Be(us._0_expected,Is(e)),!1)}e.fixupParentReferences=_e;const lt=Object.keys(fs).filter((e=>e.length>2));function ut(e){if(Zw(e))return void qe(Ks(f,e.template.pos),e.template.end,us.Module_declaration_names_may_only_use_or_quoted_strings);const t=UD(e)?hc(e):void 0;if(!t||!ma(t,_))return void Be(us._0_expected,Is(27));const n=Ks(f,e.pos);switch(t){case"const":case"let":case"var":return void qe(n,e.end,us.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void dt(us.Interface_name_cannot_be_0,us.Interface_must_be_given_a_name,19);case"is":return void qe(n,s.getTokenStart(),us.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);case"module":case"namespace":return void dt(us.Namespace_name_cannot_be_0,us.Namespace_must_be_given_a_name,19);case"type":return void dt(us.Type_alias_name_cannot_be_0,us.Type_alias_must_be_given_a_name,64)}const r=Nt(t,lt,st)??function(e){for(const t of lt)if(e.length>t.length+2&&Wt(e,t))return`${t} ${e.slice(t.length)}`;return}(t);r?qe(n,e.end,us.Unknown_keyword_or_identifier_Did_you_mean_0,r):0!==je()&&qe(n,e.end,us.Unexpected_keyword_or_identifier)}function dt(e,t,n){je()===n?Be(t):Be(e,s.getTokenValue())}function pt(e){return je()===e?(He(),!0):(un.assert(Dg(e)),Be(us._0_expected,Is(e)),!1)}function ft(e,t,n,r){if(je()===t)return void Ve();const i=Be(us._0_expected,Is(t));n&&i&&sx(i,Hb(d,f,r,1,us.The_parser_expected_to_find_a_1_to_match_the_0_token_here,Is(e),Is(t)))}function _t(e){return je()===e&&(Ve(),!0)}function mt(e){if(je()===e)return At()}function ht(e){if(je()===e)return function(){const e=Le(),t=je();return He(),Et(B(t),e)}()}function gt(e,t,n){return mt(e)||xt(e,!1,t||us._0_expected,n||Is(e))}function At(){const e=Le(),t=je();return Ve(),Et(B(t),e)}function yt(){return 27===je()||(20===je()||1===je()||s.hasPrecedingLineBreak())}function vt(){return!!yt()&&(27===je()&&Ve(),!0)}function bt(){return vt()||ct(27)}function Ct(e,t,n,r){const i=I(e,r);return Sx(i,t,n??s.getTokenFullStart()),i}function Et(e,t,n){return Sx(e,t,n??s.getTokenFullStart()),D&&(e.flags|=D),ae&&(ae=!1,e.flags|=262144),e}function xt(e,t,n,...r){t?Oe(s.getTokenFullStart(),0,n,...r):n&&Be(n,...r);const i=Le();return Et(80===e?P("",void 0):Bl(e)?w.createTemplateLiteralLikeNode(e,"","",void 0):9===e?T("",void 0):11===e?F("",void 0):282===e?w.createMissingDeclaration():B(e),i)}function St(e){let t=E.get(e);return void 0===t&&E.set(e,t=e),t}function kt(e,t,n){if(e){x++;const e=s.hasPrecedingJSDocLeadingAsterisks()?s.getTokenStart():Le(),t=je(),n=St(s.getTokenValue()),r=s.hasExtendedUnicodeEscape();return Ue(),Et(P(n,t,r),e)}if(81===je())return Be(n||us.Private_identifiers_are_not_allowed_outside_class_bodies),kt(!0);if(0===je()&&s.tryScan((()=>80===s.reScanInvalidIdentifier())))return kt(!0);x++;const r=1===je(),i=s.isReservedWord(),o=s.getTokenText(),a=i?us.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:us.Identifier_expected;return xt(80,r,t||a,o)}function Dt(e){return kt(ot(),void 0,e)}function wt(e,t){return kt(at(),e,t)}function It(e){return kt(ds(je()),e)}function Tt(){return(s.hasUnicodeEscape()||s.hasExtendedUnicodeEscape())&&Be(us.Unicode_escape_sequence_cannot_appear_here),kt(ds(je()))}function Ft(){return ds(je())||11===je()||9===je()||10===je()}function Rt(e){if(11===je()||9===je()||10===je()){const e=An();return e.text=St(e.text),e}return 23===je()?function(){const e=Le();ct(23);const t=xe(xr);return ct(24),Et(w.createComputedPropertyName(t),e)}():81===je()?Bt():It()}function Pt(){return Rt()}function Bt(){const e=Le(),t=N(St(s.getTokenValue()));return Ve(),Et(t,e)}function Ot(e){return je()===e&&it($t)}function qt(){return Ve(),!s.hasPrecedingLineBreak()&&Mt()}function $t(){switch(je()){case 87:return 94===Ve();case 95:return Ve(),90===je()?rt(jt):156===je()?rt(Lt):Qt();case 90:return jt();case 126:return Ve(),Mt();case 139:case 153:return Ve(),23===je()||Ft();default:return qt()}}function Qt(){return 60===je()||42!==je()&&130!==je()&&19!==je()&&Mt()}function Lt(){return Ve(),Qt()}function Mt(){return 23===je()||19===je()||42===je()||26===je()||Ft()}function jt(){return Ve(),86===je()||100===je()||120===je()||60===je()||128===je()&&rt(Ci)||134===je()&&rt(Ei)}function Ut(e,t){if(tn(e))return!0;switch(e){case 0:case 1:case 3:return!(27===je()&&t)&&Di();case 2:return 84===je()||90===je();case 4:return rt(Mn);case 5:return rt(ro)||27===je()&&!t;case 6:return 23===je()||Ft();case 12:switch(je()){case 23:case 42:case 26:case 25:return!0;default:return Ft()}case 18:return Ft();case 9:return 23===je()||26===je()||Ft();case 24:return ds(je())||11===je();case 7:return 19===je()?rt(Jt):t?at()&&!zt():Cr()&&!zt();case 8:return Ji();case 10:return 28===je()||26===je()||Ji();case 19:return 103===je()||87===je()||at();case 15:switch(je()){case 28:case 25:return!0}case 11:return 26===je()||Er();case 16:return Tn(!1);case 17:return Tn(!0);case 20:case 21:return 28===je()||sr();case 22:return Ao();case 23:return(161!==je()||!rt($i))&&(11===je()||ds(je()));case 13:return ds(je())||19===je();case 14:case 25:return!0;case 26:return un.fail("ParsingContext.Count used as a context");default:un.assertNever(e,"Non-exhaustive case in 'isListElement'.")}}function Jt(){if(un.assert(19===je()),20===Ve()){const e=Ve();return 28===e||19===e||96===e||119===e}return!0}function Vt(){return Ve(),at()}function Ht(){return Ve(),ds(je())}function Gt(){return Ve(),ps(je())}function zt(){return(119===je()||96===je())&&rt(Yt)}function Yt(){return Ve(),Er()}function Kt(){return Ve(),sr()}function Xt(e){if(1===je())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 20===je();case 3:return 20===je()||84===je()||90===je();case 7:return 19===je()||96===je()||119===je();case 8:return function(){if(yt())return!0;if(Pr(je()))return!0;if(39===je())return!0;return!1}();case 19:return 32===je()||21===je()||19===je()||96===je()||119===je();case 11:return 22===je()||27===je();case 15:case 21:case 10:return 24===je();case 17:case 16:case 18:return 22===je()||24===je();case 20:return 28!==je();case 22:return 19===je()||20===je();case 13:return 32===je()||44===je();case 14:return 30===je()&&rt(So);default:return!1}}function Zt(e,t){const n=S;S|=1<=0)}function sn(e){return 6===e?us.An_enum_member_name_must_be_followed_by_a_or:void 0}function an(){const e=Ct([],Le());return e.isMissingList=!0,e}function cn(e,t,n,r){if(ct(n)){const n=on(e,t);return ct(r),n}return an()}function ln(e,t){const n=Le();let r=e?It(t):wt(t);for(;_t(25)&&30!==je();)r=Et(w.createQualifiedName(r,pn(e,!1,!0)),n);return r}function dn(e,t){return Et(w.createQualifiedName(e,t),e.pos)}function pn(e,t,n){if(s.hasPrecedingLineBreak()&&ds(je())){if(rt(bi))return xt(80,!0,us.Identifier_expected)}if(81===je()){const e=Bt();return t?e:xt(80,!0,us.Identifier_expected)}return e?n?It():Tt():wt()}function fn(e){const t=Le();return Et(w.createTemplateExpression(yn(e),function(e){const t=Le(),n=[];let r;do{r=gn(e),n.push(r)}while(17===r.literal.kind);return Ct(n,t)}(e)),t)}function _n(){const e=Le();return Et(w.createTemplateLiteralType(yn(!1),function(){const e=Le(),t=[];let n;do{n=mn(),t.push(n)}while(17===n.literal.kind);return Ct(t,e)}()),e)}function mn(){const e=Le();return Et(w.createTemplateLiteralTypeSpan(vr(),hn(!1)),e)}function hn(e){return 20===je()?(ze(e),function(){const e=vn(je());return un.assert(17===e.kind||18===e.kind,"Template fragment has wrong token kind"),e}()):gt(18,us._0_expected,Is(20))}function gn(e){const t=Le();return Et(w.createTemplateSpan(xe(xr),hn(e)),t)}function An(){return vn(je())}function yn(e){!e&&26656&s.getTokenFlags()&&ze(!1);const t=vn(je());return un.assert(16===t.kind,"Template head has wrong token kind"),t}function vn(e){const t=Le(),n=Bl(e)?w.createTemplateLiteralLikeNode(e,s.getTokenValue(),function(e){const t=15===e||18===e,n=s.getTokenText();return n.substring(1,n.length-(s.isUnterminated()?0:t?1:2))}(e),7176&s.getTokenFlags()):9===e?T(s.getTokenValue(),s.getNumericLiteralFlags()):11===e?F(s.getTokenValue(),void 0,s.hasExtendedUnicodeEscape()):Rl(e)?R(e,s.getTokenValue()):un.fail();return s.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),s.isUnterminated()&&(n.isUnterminated=!0),Ve(),Et(n,t)}function bn(){return ln(!0,us.Type_expected)}function Cn(){if(!s.hasPrecedingLineBreak()&&30===Ke())return cn(20,vr,30,32)}function En(){const e=Le();return Et(w.createTypeReferenceNode(bn(),Cn()),e)}function xn(e){switch(e.kind){case 183:return kp(e.typeName);case 184:case 185:{const{parameters:t,type:n}=e;return!!t.isMissingList||xn(n)}case 196:return xn(e.type);default:return!1}}function Sn(){const e=Le();return Ve(),Et(w.createThisTypeNode(),e)}function kn(){const e=Le();let t;return 110!==je()&&105!==je()||(t=It(),ct(59)),Et(w.createParameterDeclaration(void 0,void 0,t,void 0,Dn(),void 0),e)}function Dn(){s.setSkipJsDocLeadingAsterisks(!0);const e=Le();if(_t(144)){const t=w.createJSDocNamepathType(void 0);e:for(;;)switch(je()){case 20:case 1:case 28:case 5:break e;default:He()}return s.setSkipJsDocLeadingAsterisks(!1),Et(t,e)}const t=_t(26);let n=Ar();return s.setSkipJsDocLeadingAsterisks(!1),t&&(n=Et(w.createJSDocVariadicType(n),e)),64===je()?(Ve(),Et(w.createJSDocOptionalType(n),e)):n}function wn(){const e=Le(),t=co(!1,!0),n=wt();let r,i;_t(96)&&(sr()||!Er()?r=vr():i=Qr());const o=_t(64)?vr():void 0,s=w.createTypeParameterDeclaration(t,n,r,o);return s.expression=i,Et(s,e)}function In(){if(30===je())return cn(19,wn,30,32)}function Tn(e){return 26===je()||Ji()||Yl(je())||60===je()||sr(!e)}function Fn(e){return Rn(e)}function Rn(e,t=!0){const n=Le(),r=Me(),i=e?De((()=>co(!0))):we((()=>co(!0)));if(110===je()){const e=w.createParameterDeclaration(i,void 0,kt(!0),void 0,br(),void 0),t=fe(i);return t&&$e(t,us.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),pe(Et(e,n),r)}const o=oe;oe=!1;const s=mt(26);if(!t&&!ot()&&23!==je()&&19!==je())return;const a=pe(Et(w.createParameterDeclaration(i,s,function(e){const t=Vi(us.Private_identifiers_cannot_be_used_as_parameters);return 0===sp(t)&&!J(e)&&Yl(je())&&Ve(),t}(i),mt(58),br(),Sr()),n),r);return oe=o,a}function Pn(e,t){if(function(e,t){if(39===e)return ct(e),!0;if(_t(59))return!0;if(t&&39===je())return Be(us._0_expected,Is(59)),Ve(),!0;return!1}(e,t))return Se(Ar)}function Nn(e,t){const n=Te(),r=Ne();ye(!!(1&e)),be(!!(2&e));const i=32&e?on(17,kn):on(16,(()=>t?Fn(r):Rn(r,!1)));return ye(n),be(r),i}function Bn(e){if(!ct(21))return an();const t=Nn(e,!0);return ct(22),t}function On(){_t(28)||bt()}function qn(e){const t=Le(),n=Me();180===e&&ct(105);const r=In(),i=Bn(4),o=Pn(59,!0);On();return pe(Et(179===e?w.createCallSignature(r,i,o):w.createConstructSignature(r,i,o),t),n)}function $n(){return 23===je()&&rt(Qn)}function Qn(){if(Ve(),26===je()||24===je())return!0;if(Yl(je())){if(Ve(),at())return!0}else{if(!at())return!1;Ve()}return 59===je()||28===je()||58===je()&&(Ve(),59===je()||28===je()||24===je())}function Ln(e,t,n){const r=cn(16,(()=>Fn(!1)),23,24),i=br();On();return pe(Et(w.createIndexSignature(n,r,i),e),t)}function Mn(){if(21===je()||30===je()||139===je()||153===je())return!0;let e=!1;for(;Yl(je());)e=!0,Ve();return 23===je()||(Ft()&&(e=!0,Ve()),!!e&&(21===je()||30===je()||58===je()||59===je()||28===je()||yt()))}function jn(){if(21===je()||30===je())return qn(179);if(105===je()&&rt(Un))return qn(180);const e=Le(),t=Me(),n=co(!1);return Ot(139)?no(e,t,n,177,4):Ot(153)?no(e,t,n,178,4):$n()?Ln(e,t,n):function(e,t,n){const r=Pt(),i=mt(58);let o;if(21===je()||30===je()){const e=In(),t=Bn(4),s=Pn(59,!0);o=w.createMethodSignature(n,r,i,e,t,s)}else{const e=br();o=w.createPropertySignature(n,r,i,e),64===je()&&(o.initializer=Sr())}return On(),pe(Et(o,e),t)}(e,t,n)}function Un(){return Ve(),21===je()||30===je()}function Jn(){return 25===Ve()}function Vn(){switch(Ve()){case 21:case 30:case 25:return!0}return!1}function Hn(){let e;return ct(19)?(e=Zt(4,jn),ct(20)):e=an(),e}function Gn(){return Ve(),40===je()||41===je()?148===Ve():(148===je()&&Ve(),23===je()&&Vt()&&103===Ve())}function Wn(){const e=Le();let t;ct(19),148!==je()&&40!==je()&&41!==je()||(t=At(),148!==t.kind&&ct(148)),ct(23);const n=function(){const e=Le(),t=It();ct(103);const n=vr();return Et(w.createTypeParameterDeclaration(void 0,t,n,void 0),e)}(),r=_t(130)?vr():void 0;let i;ct(24),58!==je()&&40!==je()&&41!==je()||(i=At(),58!==i.kind&&ct(58));const o=br();bt();const s=Zt(4,jn);return ct(20),Et(w.createMappedTypeNode(t,n,r,i,o,s),e)}function zn(){const e=Le();if(_t(26))return Et(w.createRestTypeNode(vr()),e);const t=vr();if(eF(t)&&t.pos===t.type.pos){const e=w.createOptionalTypeNode(t.type);return aP(e,t),e.flags=t.flags,e}return t}function Yn(){return 59===Ve()||58===je()&&59===Ve()}function Kn(){return 26===je()?ds(Ve())&&Yn():ds(je())&&Yn()}function Xn(){if(rt(Kn)){const e=Le(),t=Me(),n=mt(26),r=It(),i=mt(58);ct(59);const o=zn();return pe(Et(w.createNamedTupleMember(n,r,i,o),e),t)}return zn()}function Zn(){const e=Le(),t=Me(),n=function(){let e;if(128===je()){const t=Le();Ve(),e=Ct([Et(B(128),t)],t)}return e}(),r=_t(105);un.assert(!n||r,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const i=In(),o=Bn(4),s=Pn(39,!1);return pe(Et(r?w.createConstructorTypeNode(n,i,o,s):w.createFunctionTypeNode(i,o,s),e),t)}function er(){const e=At();return 25===je()?void 0:e}function tr(e){const t=Le();e&&Ve();let n=112===je()||97===je()||106===je()?At():vn(je());return e&&(n=Et(w.createPrefixUnaryExpression(41,n),t)),Et(w.createLiteralTypeNode(n),t)}function nr(){return Ve(),102===je()}function rr(){p|=4194304;const e=Le(),t=_t(114);ct(102),ct(21);const n=vr();let r;if(_t(28)){const e=s.getTokenStart();ct(19);const t=je();if(118===t||132===t?Ve():Be(us._0_expected,Is(118)),ct(59),r=Io(t,!0),!ct(20)){const t=ge(g);t&&t.code===us._0_expected.code&&sx(t,Hb(d,f,e,1,us.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}ct(22);const i=_t(25)?bn():void 0,o=Cn();return Et(w.createImportTypeNode(n,r,i,o,t),e)}function ir(){return Ve(),9===je()||10===je()}function or(){switch(je()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return it(er)||En();case 67:s.reScanAsteriskEqualsToken();case 42:return function(){const e=Le();return Ve(),Et(w.createJSDocAllType(),e)}();case 61:s.reScanQuestionToken();case 58:return function(){const e=Le();return Ve(),28===je()||20===je()||22===je()||32===je()||64===je()||52===je()?Et(w.createJSDocUnknownType(),e):Et(w.createJSDocNullableType(vr(),!1),e)}();case 100:return function(){const e=Le(),t=Me();if(it(Eo)){const n=Bn(36),r=Pn(59,!1);return pe(Et(w.createJSDocFunctionType(n,r),e),t)}return Et(w.createTypeReferenceNode(It(),void 0),e)}();case 54:return function(){const e=Le();return Ve(),Et(w.createJSDocNonNullableType(or(),!1),e)}();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return tr();case 41:return rt(ir)?tr(!0):En();case 116:return At();case 110:{const t=Sn();return 142!==je()||s.hasPrecedingLineBreak()?t:(e=t,Ve(),Et(w.createTypePredicateNode(void 0,e,vr()),e.pos))}case 114:return rt(nr)?rr():function(){const e=Le();ct(114);const t=ln(!0),n=s.hasPrecedingLineBreak()?void 0:go();return Et(w.createTypeQueryNode(t,n),e)}();case 19:return rt(Gn)?Wn():function(){const e=Le();return Et(w.createTypeLiteralNode(Hn()),e)}();case 23:return function(){const e=Le();return Et(w.createTupleTypeNode(cn(21,Xn,23,24)),e)}();case 21:return function(){const e=Le();ct(21);const t=vr();return ct(22),Et(w.createParenthesizedType(t),e)}();case 102:return rr();case 131:return rt(bi)?function(){const e=Le(),t=gt(131),n=110===je()?Sn():wt(),r=_t(142)?vr():void 0;return Et(w.createTypePredicateNode(t,n,r),e)}():En();case 16:return _n();default:return En()}var e}function sr(e){switch(je()){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!e;case 41:return!e&&rt(ir);case 21:return!e&&rt(ar);default:return at()}}function ar(){return Ve(),22===je()||Tn(!1)||sr()}function cr(){const e=Le();let t=or();for(;!s.hasPrecedingLineBreak();)switch(je()){case 54:Ve(),t=Et(w.createJSDocNonNullableType(t,!0),e);break;case 58:if(rt(Kt))return t;Ve(),t=Et(w.createJSDocNullableType(t,!0),e);break;case 23:if(ct(23),sr()){const n=vr();ct(24),t=Et(w.createIndexedAccessTypeNode(t,n),e)}else ct(24),t=Et(w.createArrayTypeNode(t),e);break;default:return t}return t}function lr(){if(_t(96)){const e=ke(vr);if(Re()||58!==je())return e}}function ur(){const e=Le();return ct(140),Et(w.createInferTypeNode(function(){const e=Le(),t=wt(),n=it(lr);return Et(w.createTypeParameterDeclaration(void 0,t,n),e)}()),e)}function dr(){const e=je();switch(e){case 143:case 158:case 148:return function(e){const t=Le();return ct(e),Et(w.createTypeOperatorNode(e,dr()),t)}(e);case 140:return ur()}return Se(cr)}function pr(e){if(hr()){const t=Zn();let n;return n=Cw(t)?e?us.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:us.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:e?us.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:us.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,$e(t,n),t}}function fr(e,t,n){const r=Le(),i=52===e,o=_t(e);let s=o&&pr(i)||t();if(je()===e||o){const o=[s];for(;_t(e);)o.push(pr(i)||t());s=Et(n(Ct(o,r)),r)}return s}function _r(){return fr(51,dr,w.createIntersectionTypeNode)}function mr(){return Ve(),105===je()}function hr(){return 30===je()||(!(21!==je()||!rt(gr))||(105===je()||128===je()&&rt(mr)))}function gr(){if(Ve(),22===je()||26===je())return!0;if(function(){if(Yl(je())&&co(!1),at()||110===je())return Ve(),!0;if(23===je()||19===je()){const e=g.length;return Vi(),e===g.length}return!1}()){if(59===je()||28===je()||58===je()||64===je())return!0;if(22===je()&&(Ve(),39===je()))return!0}return!1}function Ar(){const e=Le(),t=at()&&it(yr),n=vr();return t?Et(w.createTypePredicateNode(void 0,t,n),e):n}function yr(){const e=wt();if(142===je()&&!s.hasPrecedingLineBreak())return Ve(),e}function vr(){if(81920&D)return Ce(81920,vr);if(hr())return Zn();const e=Le(),t=fr(52,_r,w.createUnionTypeNode);if(!Re()&&!s.hasPrecedingLineBreak()&&_t(96)){const n=ke(vr);ct(58);const r=Se(vr);ct(59);const i=Se(vr);return Et(w.createConditionalTypeNode(t,n,r,i),e)}return t}function br(){return _t(59)?vr():void 0}function Cr(){switch(je()){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 rt(Vn);default:return at()}}function Er(){if(Cr())return!0;switch(je()){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!!Br()||at()}}function xr(){const e=Pe();e&&ve(!1);const t=Le();let n,r=kr(!0);for(;n=mt(28);)r=Or(r,n,kr(!0),t);return e&&ve(!0),r}function Sr(){return _t(64)?kr(!0):void 0}function kr(e){if(function(){if(127===je())return!!Te()||rt(xi);return!1}())return function(){const e=Le();return Ve(),s.hasPrecedingLineBreak()||42!==je()&&!Er()?Et(w.createYieldExpression(void 0,void 0),e):Et(w.createYieldExpression(mt(42),kr(!0)),e)}();const t=function(e){const t=function(){if(21===je()||30===je()||134===je())return rt(wr);if(39===je())return 1;return 0}();if(0===t)return;return 1===t?Tr(!0,!0):it((()=>function(e){const t=s.getTokenStart();if(null==k?void 0:k.has(t))return;const n=Tr(!1,e);n||(k||(k=new Set)).add(t);return n}(e)))}(e)||function(e){if(134===je()&&1===rt(Ir)){const t=Le(),n=Me(),r=lo();return Dr(t,Rr(0),e,n,r)}return}(e);if(t)return t;const n=Le(),r=Me(),i=Rr(0);return 80===i.kind&&39===je()?Dr(n,i,e,r,void 0):$u(i)&&tv(We())?Or(i,At(),kr(e),n):function(e,t,n){const r=mt(58);if(!r)return e;let i;return Et(w.createConditionalExpression(e,r,Ce(l,(()=>kr(!1))),i=gt(59),Dp(i)?kr(n):xt(80,!1,us._0_expected,Is(59))),t)}(i,n,e)}function Dr(e,t,n,r,i){un.assert(39===je(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const o=w.createParameterDeclaration(void 0,void 0,t,void 0,void 0,void 0);Et(o,t.pos);const s=Ct([o],o.pos,o.end),a=gt(39),c=Fr(!!i,n);return pe(Et(w.createArrowFunction(i,void 0,s,void 0,a,c),e),r)}function wr(){if(134===je()){if(Ve(),s.hasPrecedingLineBreak())return 0;if(21!==je()&&30!==je())return 0}const e=je(),t=Ve();if(21===e){if(22===t){switch(Ve()){case 39:case 59:case 19:return 1;default:return 0}}if(23===t||19===t)return 2;if(26===t)return 1;if(Yl(t)&&134!==t&&rt(Vt))return 130===Ve()?0:1;if(!at()&&110!==t)return 0;switch(Ve()){case 59:return 1;case 58:return Ve(),59===je()||28===je()||64===je()||22===je()?1:0;case 28:case 64:case 22:return 2}return 0}if(un.assert(30===e),!at()&&87!==je())return 0;if(1===h){return rt((()=>{_t(87);const e=Ve();if(96===e){switch(Ve()){case 64:case 32:case 44:return!1;default:return!0}}else if(28===e||64===e)return!0;return!1}))?1:0}return 2}function Ir(){if(134===je()){if(Ve(),s.hasPrecedingLineBreak()||39===je())return 0;const e=Rr(0);if(!s.hasPrecedingLineBreak()&&80===e.kind&&39===je())return 1}return 0}function Tr(e,t){const n=Le(),r=Me(),i=lo(),o=J(i,GD)?2:0,s=In();let a;if(ct(21)){if(e)a=Nn(o,e);else{const t=Nn(o,e);if(!t)return;a=t}if(!ct(22)&&!e)return}else{if(!e)return;a=an()}const c=59===je(),l=Pn(59,!1);if(l&&!e&&xn(l))return;let u=l;for(;196===(null==u?void 0:u.kind);)u=u.type;const d=u&&rF(u);if(!e&&39!==je()&&(d||19!==je()))return;const p=je(),f=gt(39),_=39===p||19===p?Fr(J(i,GD),t):wt();if(!t&&c&&59!==je())return;return pe(Et(w.createArrowFunction(i,s,a,l,f,_),n),r)}function Fr(e,t){if(19===je())return mi(e?2:0);if(27!==je()&&100!==je()&&86!==je()&&Di()&&(19===je()||100===je()||86===je()||60===je()||!Er()))return mi(16|(e?2:0));const n=oe;oe=!1;const r=e?De((()=>kr(t))):we((()=>kr(t)));return oe=n,r}function Rr(e){const t=Le();return Nr(e,Qr(),t)}function Pr(e){return 103===e||165===e}function Nr(e,t,n){for(;;){We();const o=cA(je());if(!(43===je()?o>=e:o>e))break;if(103===je()&&Fe())break;if(130===je()||152===je()){if(s.hasPrecedingLineBreak())break;{const e=je();Ve(),t=152===e?(r=t,i=vr(),Et(w.createSatisfiesExpression(r,i),r.pos)):qr(t,vr())}}else t=Or(t,At(),Rr(o),n)}var r,i;return t}function Br(){return(!Fe()||103!==je())&&cA(je())>0}function Or(e,t,n,r){return Et(w.createBinaryExpression(e,t,n),r)}function qr(e,t){return Et(w.createAsExpression(e,t),e.pos)}function $r(){const e=Le();return Et(w.createPrefixUnaryExpression(je(),Je(Lr)),e)}function Qr(){if(function(){switch(je()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(1!==h)return!1;default:return!0}}()){const e=Le(),t=Mr();return 43===je()?Nr(cA(je()),t,e):t}const e=je(),t=Lr();if(43===je()){const n=Ks(f,t.pos),{end:r}=t;216===t.kind?qe(n,r,us.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(un.assert(Dg(e)),qe(n,r,us.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,Is(e)))}return t}function Lr(){switch(je()){case 40:case 41:case 55:case 54:return $r();case 91:return function(){const e=Le();return Et(w.createDeleteExpression(Je(Lr)),e)}();case 114:return function(){const e=Le();return Et(w.createTypeOfExpression(Je(Lr)),e)}();case 116:return function(){const e=Le();return Et(w.createVoidExpression(Je(Lr)),e)}();case 30:return 1===h?Jr(!0,void 0,void 0,!0):function(){un.assert(1!==h,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const e=Le();ct(30);const t=vr();ct(32);const n=Lr();return Et(w.createTypeAssertion(t,n),e)}();case 135:if(135===je()&&(Ne()||rt(xi)))return function(){const e=Le();return Et(w.createAwaitExpression(Je(Lr)),e)}();default:return Mr()}}function Mr(){if(46===je()||47===je()){const e=Le();return Et(w.createPrefixUnaryExpression(je(),Je(jr)),e)}if(1===h&&30===je()&&rt(Gt))return Jr(!0);const e=jr();if(un.assert($u(e)),(46===je()||47===je())&&!s.hasPrecedingLineBreak()){const t=je();return Ve(),Et(w.createPostfixUnaryExpression(e,t),e.pos)}return e}function jr(){const e=Le();let t;return 102===je()?rt(Un)?(p|=4194304,t=At()):rt(Jn)?(Ve(),Ve(),t=Et(w.createMetaProperty(102,It()),e),p|=8388608):t=Ur():t=108===je()?function(){const e=Le();let t=At();if(30===je()){const e=Le(),n=it(oi);void 0!==n&&(qe(e,Le(),us.super_may_not_use_type_arguments),ti()||(t=w.createExpressionWithTypeArguments(t,n)))}if(21===je()||25===je()||23===je())return t;return gt(25,us.super_must_be_followed_by_an_argument_list_or_member_access),Et(Q(t,pn(!0,!0,!0)),e)}():Ur(),ri(e,t)}function Ur(){return ei(Le(),si(),!0)}function Jr(e,t,n,r=!1){const i=Le(),o=function(e){const t=Le();if(ct(30),32===je())return et(),Et(w.createJsxOpeningFragment(),t);const n=Gr(),r=524288&D?void 0:go(),i=function(){const e=Le();return Et(w.createJsxAttributes(Zt(13,zr)),e)}();let o;32===je()?(et(),o=w.createJsxOpeningElement(n,r,i)):(ct(44),ct(32,void 0,!1)&&(e?Ve():et()),o=w.createJsxSelfClosingElement(n,r,i));return Et(o,t)}(e);let s;if(286===o.kind){let t,r=Hr(o);const a=r[r.length-1];if(284===(null==a?void 0:a.kind)&&!aN(a.openingElement.tagName,a.closingElement.tagName)&&aN(o.tagName,a.closingElement.tagName)){const e=a.children.end,n=Et(w.createJsxElement(a.openingElement,a.children,Et(w.createJsxClosingElement(Et(P(""),e,e)),e,e)),a.openingElement.pos,e);r=Ct([...r.slice(0,r.length-1),n],r.pos,e),t=a.closingElement}else t=function(e,t){const n=Le();ct(31);const r=Gr();ct(32,void 0,!1)&&(t||!aN(e.tagName,r)?Ve():et());return Et(w.createJsxClosingElement(r),n)}(o,e),aN(o.tagName,t.tagName)||(n&&kT(n)&&aN(t.tagName,n.tagName)?$e(o.tagName,us.JSX_element_0_has_no_corresponding_closing_tag,Wp(f,o.tagName)):$e(t.tagName,us.Expected_corresponding_JSX_closing_tag_for_0,Wp(f,o.tagName)));s=Et(w.createJsxElement(o,r,t),i)}else 289===o.kind?s=Et(w.createJsxFragment(o,Hr(o),function(e){const t=Le();ct(31),ct(32,us.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(e?Ve():et());return Et(w.createJsxJsxClosingFragment(),t)}(e)),i):(un.assert(285===o.kind),s=o);if(!r&&e&&30===je()){const e=void 0===t?s.pos:t,n=it((()=>Jr(!0,e)));if(n){const t=xt(28,!1);return kx(t,n.pos,0),qe(Ks(f,e),n.end,us.JSX_expressions_must_have_one_parent_element),Et(w.createBinaryExpression(s,t,n),i)}}return s}function Vr(e,t){switch(t){case 1:if(IT(e))$e(e,us.JSX_fragment_has_no_corresponding_closing_tag);else{const t=e.tagName;qe(Math.min(Ks(f,t.pos),t.end),t.end,us.JSX_element_0_has_no_corresponding_closing_tag,Wp(f,e.tagName))}return;case 31:case 7:return;case 12:case 13:return function(){const e=Le(),t=w.createJsxText(s.getTokenValue(),13===b);return b=s.scanJsxToken(),Et(t,e)}();case 19:return Wr(!1);case 30:return Jr(!1,void 0,e);default:return un.assertNever(t)}}function Hr(e){const t=[],n=Le(),r=S;for(S|=16384;;){const n=Vr(e,b=s.reScanJsxToken());if(!n)break;if(t.push(n),kT(e)&&284===(null==n?void 0:n.kind)&&!aN(n.openingElement.tagName,n.closingElement.tagName)&&aN(e.tagName,n.closingElement.tagName))break}return S=r,Ct(t,n)}function Gr(){const e=Le(),t=function(){const e=Le();Ze();const t=110===je(),n=Tt();if(_t(59))return Ze(),Et(w.createJsxNamespacedName(n,Tt()),e);return t?Et(w.createToken(110),e):n}();if(BT(t))return t;let n=t;for(;_t(25);)n=Et(Q(n,pn(!0,!1,!1)),e);return n}function Wr(e){const t=Le();if(!ct(19))return;let n,r;return 20!==je()&&(e||(n=mt(26)),r=xr()),e?ct(20):ct(20,void 0,!1)&&et(),Et(w.createJsxExpression(n,r),t)}function zr(){if(19===je())return function(){const e=Le();ct(19),ct(26);const t=xr();return ct(20),Et(w.createJsxSpreadAttribute(t),e)}();const e=Le();return Et(w.createJsxAttribute(function(){const e=Le();Ze();const t=Tt();if(_t(59))return Ze(),Et(w.createJsxNamespacedName(t,Tt()),e);return t}(),function(){if(64===je()){if(11===(b=s.scanJsxAttributeValue()))return An();if(19===je())return Wr(!0);if(30===je())return Jr(!0);Be(us.or_JSX_element_expected)}return}()),e)}function Yr(){return Ve(),ds(je())||23===je()||ti()}function Kr(e){if(64&e.flags)return!0;if(vI(e)){let t=e.expression;for(;vI(t)&&!(64&t.flags);)t=t.expression;if(64&t.flags){for(;vI(e);)e.flags|=64,e=e.expression;return!0}}return!1}function Xr(e,t,n){const r=pn(!0,!0,!0),i=n||Kr(t),o=i?L(t,n,r):Q(t,r);if(i&&JD(o.name)&&$e(o.name,us.An_optional_chain_cannot_contain_private_identifiers),gI(t)&&t.typeArguments){qe(t.typeArguments.pos-1,Ks(f,t.typeArguments.end)+1,us.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return Et(o,e)}function Zr(e,t,n){let r;if(24===je())r=xt(80,!0,us.An_element_access_expression_should_take_an_argument);else{const e=xe(xr);Og(e)&&(e.text=St(e.text)),r=e}ct(24);return Et(n||Kr(t)?j(t,n,r):M(t,r),e)}function ei(e,t,n){for(;;){let r,i=!1;if(n&&29===je()&&rt(Yr)?(r=gt(29),i=ds(je())):i=_t(25),i)t=Xr(e,t,r);else if(!r&&Pe()||!_t(23)){if(!ti()){if(!r){if(54===je()&&!s.hasPrecedingLineBreak()){Ve(),t=Et(w.createNonNullExpression(t),e);continue}const n=it(oi);if(n){t=Et(w.createExpressionWithTypeArguments(t,n),e);continue}}return t}t=r||233!==t.kind?ni(e,t,r,void 0):ni(e,t.expression,r,t.typeArguments)}else t=Zr(e,t,r)}}function ti(){return 15===je()||16===je()}function ni(e,t,n,r){const i=w.createTaggedTemplateExpression(t,r,15===je()?(ze(!0),An()):fn(!0));return(n||64&t.flags)&&(i.flags|=64),i.questionDotToken=n,Et(i,e)}function ri(e,t){for(;;){let n;t=ei(e,t,!0);const r=mt(29);if(r&&(n=it(oi),ti()))t=ni(e,t,r,n);else{if(!n&&21!==je()){if(r){const n=xt(80,!1,us.Identifier_expected);t=Et(L(t,r,n),e)}break}{r||233!==t.kind||(n=t.typeArguments,t=t.expression);const i=ii();t=Et(r||Kr(t)?V(t,r,n,i):U(t,n,i),e)}}}return t}function ii(){ct(21);const e=on(11,ci);return ct(22),e}function oi(){if(524288&D)return;if(30!==Ke())return;Ve();const e=on(20,vr);return 32===We()?(Ve(),e&&function(){switch(je()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return s.hasPrecedingLineBreak()||Br()||!Er()}()?e:void 0):void 0}function si(){switch(je()){case 15:26656&s.getTokenFlags()&&ze(!1);case 9:case 10:case 11:return An();case 110:case 108:case 106:case 112:case 97:return At();case 21:return function(){const e=Le(),t=Me();ct(21);const n=xe(xr);return ct(22),pe(Et(W(n),e),t)}();case 23:return li();case 19:return di();case 134:if(!rt(Ei))break;return pi();case 60:return function(){const e=Le(),t=Me(),n=co(!0);if(86===je())return fo(e,t,n,231);const r=xt(282,!0,us.Expression_expected);return Ex(r,e),r.modifiers=n,r}();case 86:return fo(Le(),Me(),void 0,231);case 100:return pi();case 105:return function(){const e=Le();if(ct(105),_t(25)){const t=It();return Et(w.createMetaProperty(105,t),e)}let t,n=ei(Le(),si(),!1);233===n.kind&&(t=n.typeArguments,n=n.expression);29===je()&&Be(us.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,Wp(f,n));const r=21===je()?ii():void 0;return Et(G(n,t,r),e)}();case 44:case 69:if(14===(b=s.reScanSlashToken()))return An();break;case 16:return fn(!1);case 81:return Bt()}return wt(us.Expression_expected)}function ai(){return 26===je()?function(){const e=Le();ct(26);const t=kr(!0);return Et(w.createSpreadElement(t),e)}():28===je()?Et(w.createOmittedExpression(),Le()):kr(!0)}function ci(){return Ce(l,ai)}function li(){const e=Le(),t=s.getTokenStart(),n=ct(23),r=s.hasPrecedingLineBreak(),i=on(15,ai);return ft(23,24,n,t),Et(O(i,r),e)}function ui(){const e=Le(),t=Me();if(mt(26)){const n=kr(!0);return pe(Et(w.createSpreadAssignment(n),e),t)}const n=co(!0);if(Ot(139))return no(e,t,n,177,0);if(Ot(153))return no(e,t,n,178,0);const r=mt(42),i=at(),o=Pt(),s=mt(58),a=mt(54);if(r||21===je()||30===je())return Zi(e,t,n,r,o,s,a);let c;if(i&&59!==je()){const e=mt(64),t=e?xe((()=>kr(!0))):void 0;c=w.createShorthandPropertyAssignment(o,t),c.equalsToken=e}else{ct(59);const e=xe((()=>kr(!0)));c=w.createPropertyAssignment(o,e)}return c.modifiers=n,c.questionToken=s,c.exclamationToken=a,pe(Et(c,e),t)}function di(){const e=Le(),t=s.getTokenStart(),n=ct(19),r=s.hasPrecedingLineBreak(),i=on(12,ui,!0);return ft(19,20,n,t),Et($(i,r),e)}function pi(){const e=Pe();ve(!1);const t=Le(),n=Me(),r=co(!1);ct(100);const i=mt(42),o=i?1:0,s=J(r,GD)?2:0,a=o&&s?Ee(81920,fi):o?function(e){return Ee(16384,e)}(fi):s?De(fi):fi();const c=In(),l=Bn(o|s),u=Pn(59,!1),d=mi(o|s);ve(e);return pe(Et(w.createFunctionExpression(r,i,a,c,l,u,d),t),n)}function fi(){return ot()?Dt():void 0}function _i(e,t){const n=Le(),r=Me(),i=s.getTokenStart(),o=ct(19,t);if(o||e){const e=s.hasPrecedingLineBreak(),t=Zt(1,Ni);ft(19,20,o,i);const a=pe(Et(z(t,e),n),r);return 64===je()&&(Be(us.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),Ve()),a}{const e=an();return pe(Et(z(e,void 0),n),r)}}function mi(e,t){const n=Te();ye(!!(1&e));const r=Ne();be(!!(2&e));const i=oe;oe=!1;const o=Pe();o&&ve(!1);const s=_i(!!(16&e),t);return o&&ve(!0),oe=i,ye(n),be(r),s}function hi(){const e=Le(),t=Me();ct(99);const n=mt(135);let r;let i;if(ct(21),27!==je()&&(r=115===je()||121===je()||87===je()||160===je()&&rt(Ii)||135===je()&&rt(Ri)?Wi(!0):Ee(8192,xr)),n?ct(165):_t(165)){const e=xe((()=>kr(!0)));ct(22),i=te(n,r,e,Ni())}else if(_t(103)){const e=xe(xr);ct(22),i=w.createForInStatement(r,e,Ni())}else{ct(27);const e=27!==je()&&22!==je()?xe(xr):void 0;ct(27);const t=22!==je()?xe(xr):void 0;ct(22),i=ee(r,e,t,Ni())}return pe(Et(i,e),t)}function gi(e){const t=Le(),n=Me();ct(252===e?83:88);const r=yt()?void 0:wt();bt();return pe(Et(252===e?w.createBreakStatement(r):w.createContinueStatement(r),t),n)}function Ai(){return 84===je()?function(){const e=Le(),t=Me();ct(84);const n=xe(xr);ct(59);const r=Zt(3,Ni);return pe(Et(w.createCaseClause(n,r),e),t)}():function(){const e=Le();ct(90),ct(59);const t=Zt(3,Ni);return Et(w.createDefaultClause(t),e)}()}function yi(){const e=Le(),t=Me();ct(109),ct(21);const n=xe(xr);ct(22);const r=function(){const e=Le();ct(19);const t=Zt(2,Ai);return ct(20),Et(w.createCaseBlock(t),e)}();return pe(Et(w.createSwitchStatement(n,r),e),t)}function vi(){const e=Le(),t=Me();ct(113);const n=_i(!1),r=85===je()?function(){const e=Le();let t;ct(85),_t(21)?(t=Gi(),ct(22)):t=void 0;const n=_i(!1);return Et(w.createCatchClause(t,n),e)}():void 0;let i;return r&&98!==je()||(ct(98,us.catch_or_finally_expected),i=_i(!1)),pe(Et(w.createTryStatement(n,r,i),e),t)}function bi(){return Ve(),ds(je())&&!s.hasPrecedingLineBreak()}function Ci(){return Ve(),86===je()&&!s.hasPrecedingLineBreak()}function Ei(){return Ve(),100===je()&&!s.hasPrecedingLineBreak()}function xi(){return Ve(),(ds(je())||9===je()||10===je()||11===je())&&!s.hasPrecedingLineBreak()}function Si(){for(;;)switch(je()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return Fi();case 135:return Pi();case 120:case 156:return Ve(),!s.hasPrecedingLineBreak()&&at();case 144:case 145:return Li();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:const e=je();if(Ve(),s.hasPrecedingLineBreak())return!1;if(138===e&&156===je())return!0;continue;case 162:return Ve(),19===je()||80===je()||95===je();case 102:return Ve(),11===je()||42===je()||19===je()||ds(je());case 95:let t=Ve();if(156===t&&(t=rt(Ve)),64===t||42===t||19===t||90===t||130===t||60===t)return!0;continue;case 126:Ve();continue;default:return!1}}function ki(){return rt(Si)}function Di(){switch(je()){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:case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 102:return ki()||rt(Vn);case 87:case 95:return ki();case 129:case 125:case 123:case 124:case 126:case 148:return ki()||!rt(bi);default:return Er()}}function wi(){return Ve(),ot()||19===je()||23===je()}function Ii(){return Ti(!0)}function Ti(e){return Ve(),(!e||165!==je())&&((ot()||19===je())&&!s.hasPrecedingLineBreak())}function Fi(){return rt(Ti)}function Ri(e){return 160===Ve()&&Ti(e)}function Pi(){return rt(Ri)}function Ni(){switch(je()){case 27:return function(){const e=Le(),t=Me();return ct(27),pe(Et(w.createEmptyStatement(),e),t)}();case 19:return _i(!1);case 115:return Yi(Le(),Me(),void 0);case 121:if(rt(wi))return Yi(Le(),Me(),void 0);break;case 135:if(Pi())return Yi(Le(),Me(),void 0);break;case 160:if(Fi())return Yi(Le(),Me(),void 0);break;case 100:return Ki(Le(),Me(),void 0);case 86:return po(Le(),Me(),void 0);case 101:return function(){const e=Le(),t=Me();ct(101);const n=s.getTokenStart(),r=ct(21),i=xe(xr);ft(21,22,r,n);const o=Ni(),a=_t(93)?Ni():void 0;return pe(Et(X(i,o,a),e),t)}();case 92:return function(){const e=Le(),t=Me();ct(92);const n=Ni();ct(117);const r=s.getTokenStart(),i=ct(21),o=xe(xr);return ft(21,22,i,r),_t(27),pe(Et(w.createDoStatement(n,o),e),t)}();case 117:return function(){const e=Le(),t=Me();ct(117);const n=s.getTokenStart(),r=ct(21),i=xe(xr);ft(21,22,r,n);const o=Ni();return pe(Et(Z(i,o),e),t)}();case 99:return hi();case 88:return gi(251);case 83:return gi(252);case 107:return function(){const e=Le(),t=Me();ct(107);const n=yt()?void 0:xe(xr);return bt(),pe(Et(w.createReturnStatement(n),e),t)}();case 118:return function(){const e=Le(),t=Me();ct(118);const n=s.getTokenStart(),r=ct(21),i=xe(xr);ft(21,22,r,n);const o=Ee(67108864,Ni);return pe(Et(w.createWithStatement(i,o),e),t)}();case 109:return yi();case 111:return function(){const e=Le(),t=Me();ct(111);let n=s.hasPrecedingLineBreak()?void 0:xe(xr);return void 0===n&&(x++,n=Et(P(""),Le())),vt()||ut(n),pe(Et(w.createThrowStatement(n),e),t)}();case 113:case 85:case 98:return vi();case 89:return function(){const e=Le(),t=Me();return ct(89),bt(),pe(Et(w.createDebuggerStatement(),e),t)}();case 60:return Oi();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(ki())return Oi()}return function(){const e=Le();let t,n=Me();const r=21===je(),i=xe(xr);return UD(i)&&_t(59)?t=w.createLabeledStatement(i,Ni()):(vt()||ut(i),t=K(i),r&&(n=!1)),pe(Et(t,e),n)}()}function Bi(e){return 138===e.kind}function Oi(){const e=Le(),t=Me(),n=co(!0);if(J(n,Bi)){const r=function(e){return Ee(33554432,(()=>{const t=tn(S,e);if(t)return nn(t)}))}(e);if(r)return r;for(const e of n)e.flags|=33554432;return Ee(33554432,(()=>qi(e,t,n)))}return qi(e,t,n)}function qi(e,t,n){switch(je()){case 115:case 121:case 87:case 160:case 135:return Yi(e,t,n);case 100:return Ki(e,t,n);case 86:return po(e,t,n);case 120:return function(e,t,n){ct(120);const r=wt(),i=In(),o=_o(),s=Hn(),a=w.createInterfaceDeclaration(n,r,i,o,s);return pe(Et(a,e),t)}(e,t,n);case 156:return function(e,t,n){ct(156),s.hasPrecedingLineBreak()&&Be(us.Line_break_not_permitted_here);const r=wt(),i=In();ct(64);const o=141===je()&&it(er)||vr();bt();const a=w.createTypeAliasDeclaration(n,r,i,o);return pe(Et(a,e),t)}(e,t,n);case 94:return function(e,t,n){ct(94);const r=wt();let i;ct(19)?(i=Ce(81920,(()=>on(6,yo))),ct(20)):i=an();const o=w.createEnumDeclaration(n,r,i);return pe(Et(o,e),t)}(e,t,n);case 162:case 144:case 145:return function(e,t,n){let r=0;if(162===je())return Co(e,t,n);if(_t(145))r|=32;else if(ct(144),11===je())return Co(e,t,n);return bo(e,t,n,r)}(e,t,n);case 102:return function(e,t,n){ct(102);const r=s.getTokenFullStart();let i;at()&&(i=wt());let o=!1;"type"===(null==i?void 0:i.escapedText)&&(161!==je()||at()&&rt(Qi))&&(at()||42===je()||19===je())&&(o=!0,i=at()?wt():void 0);if(i&&28!==je()&&161!==je())return function(e,t,n,r,i){ct(64);const o=149===je()&&rt(Eo)?function(){const e=Le();ct(149),ct(21);const t=To();return ct(22),Et(w.createExternalModuleReference(t),e)}():ln(!1);bt();const s=w.createImportEqualsDeclaration(n,i,r,o),a=pe(Et(s,e),t);return a}(e,t,n,i,o);const a=ko(i,r,o),c=To(),l=Do();bt();const u=w.createImportDeclaration(n,a,c,l);return pe(Et(u,e),t)}(e,t,n);case 95:switch(Ve(),je()){case 90:case 64:return function(e,t,n){const r=Ne();let i;be(!0),_t(64)?i=!0:ct(90);const o=kr(!0);bt(),be(r);const s=w.createExportAssignment(n,i,o);return pe(Et(s,e),t)}(e,t,n);case 130:return function(e,t,n){ct(130),ct(145);const r=wt();bt();const i=w.createNamespaceExportDeclaration(r);return i.modifiers=n,pe(Et(i,e),t)}(e,t,n);default:return function(e,t,n){const r=Ne();let i,o,a;be(!0);const c=_t(156),l=Le();_t(42)?(_t(130)&&(i=function(e){return Et(w.createNamespaceExport(Ro(It)),e)}(l)),ct(161),o=To()):(i=Po(279),(161===je()||11===je()&&!s.hasPrecedingLineBreak())&&(ct(161),o=To()));const u=je();!o||118!==u&&132!==u||s.hasPrecedingLineBreak()||(a=Io(u));bt(),be(r);const d=w.createExportDeclaration(n,c,i,o,a);return pe(Et(d,e),t)}(e,t,n)}default:if(n){const t=xt(282,!0,us.Declaration_expected);return Ex(t,e),t.modifiers=n,t}return}}function $i(){return 11===Ve()}function Qi(){return Ve(),161===je()||64===je()}function Li(){return Ve(),!s.hasPrecedingLineBreak()&&(at()||11===je())}function Mi(e,t){if(19!==je()){if(4&e)return void On();if(yt())return void bt()}return mi(e,t)}function ji(){const e=Le();if(28===je())return Et(w.createOmittedExpression(),e);const t=mt(26),n=Vi(),r=Sr();return Et(w.createBindingElement(t,void 0,n,r),e)}function Ui(){const e=Le(),t=mt(26),n=ot();let r,i=Pt();n&&59!==je()?(r=i,i=void 0):(ct(59),r=Vi());const o=Sr();return Et(w.createBindingElement(t,i,r,o),e)}function Ji(){return 19===je()||23===je()||81===je()||ot()}function Vi(e){return 23===je()?function(){const e=Le();ct(23);const t=xe((()=>on(10,ji)));return ct(24),Et(w.createArrayBindingPattern(t),e)}():19===je()?function(){const e=Le();ct(19);const t=xe((()=>on(9,Ui)));return ct(20),Et(w.createObjectBindingPattern(t),e)}():Dt(e)}function Hi(){return Gi(!0)}function Gi(e){const t=Le(),n=Me(),r=Vi(us.Private_identifiers_are_not_allowed_in_variable_declarations);let i;e&&80===r.kind&&54===je()&&!s.hasPrecedingLineBreak()&&(i=At());const o=br(),a=Pr(je())?void 0:Sr();return pe(Et(ne(r,i,o,a),t),n)}function Wi(e){const t=Le();let n,r=0;switch(je()){case 115:break;case 121:r|=1;break;case 87:r|=2;break;case 160:r|=4;break;case 135:un.assert(Pi()),r|=6,Ve();break;default:un.fail()}if(Ve(),165===je()&&rt(zi))n=an();else{const t=Fe();Ae(e),n=on(8,e?Gi:Hi),Ae(t)}return Et(ie(n,r),t)}function zi(){return Vt()&&22===Ve()}function Yi(e,t,n){const r=Wi(!1);bt();return pe(Et(Y(n,r),e),t)}function Ki(e,t,n){const r=Ne(),i=Gy(n);ct(100);const o=mt(42),s=2048&i?fi():Dt(),a=o?1:0,c=1024&i?2:0,l=In();32&i&&be(!0);const u=Bn(a|c),d=Pn(59,!1),p=Mi(a|c,us.or_expected);be(r);return pe(Et(w.createFunctionDeclaration(n,o,s,l,u,d,p),e),t)}function Xi(e,t,n){return it((()=>{if(137===je()?ct(137):11===je()&&21===rt(Ve)?it((()=>{const e=An();return"constructor"===e.text?e:void 0})):void 0){const r=In(),i=Bn(0),o=Pn(59,!1),s=Mi(0,us.or_expected),a=w.createConstructorDeclaration(n,i,s);return a.typeParameters=r,a.type=o,pe(Et(a,e),t)}}))}function Zi(e,t,n,r,i,o,s,a){const c=r?1:0,l=J(n,GD)?2:0,u=In(),d=Bn(c|l),p=Pn(59,!1),f=Mi(c|l,a),_=w.createMethodDeclaration(n,r,i,o,u,d,p,f);return _.exclamationToken=s,pe(Et(_,e),t)}function eo(e,t,n,r,i){const o=i||s.hasPrecedingLineBreak()?void 0:mt(54),a=br(),c=Ce(90112,Sr);!function(e,t,n){if(60!==je()||s.hasPrecedingLineBreak())return 21===je()?(Be(us.Cannot_start_a_function_call_in_a_type_annotation),void Ve()):void(!t||yt()?vt()||(n?Be(us._0_expected,Is(27)):ut(e)):n?Be(us._0_expected,Is(27)):Be(us.Expected_for_property_initializer));Be(us.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations)}(r,a,c);return pe(Et(w.createPropertyDeclaration(n,r,i||o,a,c),e),t)}function to(e,t,n){const r=mt(42),i=Pt(),o=mt(58);return r||21===je()||30===je()?Zi(e,t,n,r,i,o,void 0,us.or_expected):eo(e,t,n,i,o)}function no(e,t,n,r,i){const o=Pt(),s=In(),a=Bn(0),c=Pn(59,!1),l=Mi(i),u=177===r?w.createGetAccessorDeclaration(n,o,a,c,l):w.createSetAccessorDeclaration(n,o,a,l);return u.typeParameters=s,hw(u)&&(u.type=c),pe(Et(u,e),t)}function ro(){let e;if(60===je())return!0;for(;Yl(je());){if(e=je(),Xl(e))return!0;Ve()}if(42===je())return!0;if(Ft()&&(e=je(),Ve()),23===je())return!0;if(void 0!==e){if(!Sg(e)||153===e||139===e)return!0;switch(je()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return yt()}}return!1}function io(e,t,n){gt(126);const r=function(){const e=Te(),t=Ne();ye(!1),be(!0);const n=_i(!1);return ye(e),be(t),n}(),i=pe(Et(w.createClassStaticBlockDeclaration(r),e),t);return i.modifiers=n,i}function oo(){if(Ne()&&135===je()){const e=Le(),t=wt(us.Expression_expected);Ve();return ri(e,ei(e,t,!0))}return jr()}function so(){const e=Le();if(!_t(60))return;const t=Ee(32768,oo);return Et(w.createDecorator(t),e)}function ao(e,t,n){const r=Le(),i=je();if(87===je()&&t){if(!it(qt))return}else{if(n&&126===je()&&rt(xo))return;if(e&&126===je())return;if(!Yl(je())||!it($t))return}return Et(B(i),r)}function co(e,t,n){const r=Le();let i,o,s,a=!1,c=!1,l=!1;if(e&&60===je())for(;o=so();)i=re(i,o);for(;s=ao(a,t,n);)126===s.kind&&(a=!0),i=re(i,s),c=!0;if(c&&e&&60===je())for(;o=so();)i=re(i,o),l=!0;if(l)for(;s=ao(a,t,n);)126===s.kind&&(a=!0),i=re(i,s);return i&&Ct(i,r)}function lo(){let e;if(134===je()){const t=Le();Ve();e=Ct([Et(B(134),t)],t)}return e}function uo(){const e=Le(),t=Me();if(27===je())return Ve(),pe(Et(w.createSemicolonClassElement(),e),t);const n=co(!0,!0,!0);if(126===je()&&rt(xo))return io(e,t,n);if(Ot(139))return no(e,t,n,177,0);if(Ot(153))return no(e,t,n,178,0);if(137===je()||11===je()){const r=Xi(e,t,n);if(r)return r}if($n())return Ln(e,t,n);if(ds(je())||11===je()||9===je()||10===je()||42===je()||23===je()){if(J(n,Bi)){for(const e of n)e.flags|=33554432;return Ee(33554432,(()=>to(e,t,n)))}return to(e,t,n)}if(n){const r=xt(80,!0,us.Declaration_expected);return eo(e,t,n,r,void 0)}return un.fail("Should not have attempted to parse class member declaration.")}function po(e,t,n){return fo(e,t,n,263)}function fo(e,t,n,r){const i=Ne();ct(86);const o=!ot()||119===je()&&rt(Ht)?void 0:kt(ot()),s=In();J(n,VD)&&be(!0);const a=_o();let c;ct(19)?(c=Zt(5,uo),ct(20)):c=an(),be(i);return pe(Et(263===r?w.createClassDeclaration(n,o,s,a,c):w.createClassExpression(n,o,s,a,c),e),t)}function _o(){if(Ao())return Zt(22,mo)}function mo(){const e=Le(),t=je();un.assert(96===t||119===t),Ve();const n=on(7,ho);return Et(w.createHeritageClause(t,n),e)}function ho(){const e=Le(),t=jr();if(233===t.kind)return t;const n=go();return Et(w.createExpressionWithTypeArguments(t,n),e)}function go(){return 30===je()?cn(20,vr,30,32):void 0}function Ao(){return 96===je()||119===je()}function yo(){const e=Le(),t=Me(),n=Pt(),r=xe(Sr);return pe(Et(w.createEnumMember(n,r),e),t)}function vo(){const e=Le();let t;return ct(19)?(t=Zt(1,Ni),ct(20)):t=an(),Et(w.createModuleBlock(t),e)}function bo(e,t,n,r){const i=32&r,o=8&r?It():wt(),s=_t(25)?bo(Le(),!1,void 0,8|i):vo();return pe(Et(w.createModuleDeclaration(n,o,s,r),e),t)}function Co(e,t,n){let r,i,o=0;162===je()?(r=wt(),o|=2048):(r=An(),r.text=St(r.text)),19===je()?i=vo():bt();return pe(Et(w.createModuleDeclaration(n,r,i,o),e),t)}function Eo(){return 21===Ve()}function xo(){return 19===Ve()}function So(){return 44===Ve()}function ko(e,t,n,r=!1){let i;return(e||42===je()||19===je())&&(i=function(e,t,n,r){let i;e&&!_t(28)||(r&&s.setSkipJsDocLeadingAsterisks(!0),i=42===je()?function(){const e=Le();ct(42),ct(130);const t=wt();return Et(w.createNamespaceImport(t),e)}():Po(275),r&&s.setSkipJsDocLeadingAsterisks(!1));return Et(w.createImportClause(n,e,i),t)}(e,t,n,r),ct(161)),i}function Do(){const e=je();if((118===e||132===e)&&!s.hasPrecedingLineBreak())return Io(e)}function wo(){const e=Le(),t=ds(je())?It():vn(11);ct(59);const n=kr(!0);return Et(w.createImportAttribute(t,n),e)}function Io(e,t){const n=Le();t||ct(e);const r=s.getTokenStart();if(ct(19)){const t=s.hasPrecedingLineBreak(),i=on(24,wo,!0);if(!ct(20)){const e=ge(g);e&&e.code===us._0_expected.code&&sx(e,Hb(d,f,r,1,us.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return Et(w.createImportAttributes(i,t,e),n)}{const t=Ct([],Le(),void 0,!1);return Et(w.createImportAttributes(t,!1,e),n)}}function To(){if(11===je()){const e=An();return e.text=St(e.text),e}return xr()}function Fo(){return ds(je())||11===je()}function Ro(e){return 11===je()?An():e()}function Po(e){const t=Le();return Et(275===e?w.createNamedImports(cn(23,Bo,19,20)):w.createNamedExports(cn(23,No,19,20)),t)}function No(){const e=Me();return pe(Oo(281),e)}function Bo(){return Oo(276)}function Oo(e){const t=Le();let n,r=Sg(je())&&!at(),i=s.getTokenStart(),o=s.getTokenEnd(),a=!1,c=!0,l=Ro(It);if(80===l.kind&&"type"===l.escapedText)if(130===je()){const e=It();if(130===je()){const t=It();Fo()?(a=!0,n=e,l=Ro(u),c=!1):(n=l,l=t,c=!1)}else Fo()?(n=l,c=!1,l=Ro(u)):(a=!0,l=e)}else Fo()&&(a=!0,l=Ro(u));c&&130===je()&&(n=l,ct(130),l=Ro(u)),276===e&&(80!==l.kind?(qe(Ks(f,l.pos),l.end,us.Identifier_expected),l=Sx(xt(80,!1),l.pos,l.pos)):r&&qe(i,o,us.Identifier_expected));return Et(276===e?w.createImportSpecifier(a,n,l):w.createExportSpecifier(a,n,l),t);function u(){return r=Sg(je())&&!at(),i=s.getTokenStart(),o=s.getTokenEnd(),It()}}let qo;var $o;let Qo;var Lo;let jo;($o=qo||(qo={}))[$o.SourceElements=0]="SourceElements",$o[$o.BlockStatements=1]="BlockStatements",$o[$o.SwitchClauses=2]="SwitchClauses",$o[$o.SwitchClauseStatements=3]="SwitchClauseStatements",$o[$o.TypeMembers=4]="TypeMembers",$o[$o.ClassMembers=5]="ClassMembers",$o[$o.EnumMembers=6]="EnumMembers",$o[$o.HeritageClauseElement=7]="HeritageClauseElement",$o[$o.VariableDeclarations=8]="VariableDeclarations",$o[$o.ObjectBindingElements=9]="ObjectBindingElements",$o[$o.ArrayBindingElements=10]="ArrayBindingElements",$o[$o.ArgumentExpressions=11]="ArgumentExpressions",$o[$o.ObjectLiteralMembers=12]="ObjectLiteralMembers",$o[$o.JsxAttributes=13]="JsxAttributes",$o[$o.JsxChildren=14]="JsxChildren",$o[$o.ArrayLiteralMembers=15]="ArrayLiteralMembers",$o[$o.Parameters=16]="Parameters",$o[$o.JSDocParameters=17]="JSDocParameters",$o[$o.RestProperties=18]="RestProperties",$o[$o.TypeParameters=19]="TypeParameters",$o[$o.TypeArguments=20]="TypeArguments",$o[$o.TupleElementTypes=21]="TupleElementTypes",$o[$o.HeritageClauses=22]="HeritageClauses",$o[$o.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",$o[$o.ImportAttributes=24]="ImportAttributes",$o[$o.JSDocComment=25]="JSDocComment",$o[$o.Count=26]="Count",(Lo=Qo||(Qo={}))[Lo.False=0]="False",Lo[Lo.True=1]="True",Lo[Lo.Unknown=2]="Unknown",(e=>{function t(e){const t=Le(),n=(e?_t:ct)(19),r=Ee(16777216,Dn);e&&!n||pt(20);const i=w.createJSDocTypeExpression(r);return _e(i),Et(i,t)}function n(){const e=Le(),t=_t(19),n=Le();let r=ln(!1);for(;81===je();)Xe(),He(),r=Et(w.createJSDocMemberName(r,wt()),n);t&&pt(20);const i=w.createJSDocNameReference(r);return _e(i),Et(i,e)}let r;var i;let o;var a;function c(e=0,r){const i=f,o=void 0===r?i.length:e+r;if(r=o-e,un.assert(e>=0),un.assert(e<=o),un.assert(o<=i.length),!_P(i,e))return;let a,c,l,u,p,_=[];const m=[],h=S;S|=1<<25;const g=s.scanRange(e+3,r-5,(function(){let t,n=1,r=e-(i.lastIndexOf("\n",e)+1)+4;function d(e){t||(t=r),_.push(e),r+=e.length}He();for(;Z(5););Z(4)&&(n=0,r=0);e:for(;;){switch(je()){case 60:y(_),p||(p=Le()),R(E(r)),n=0,t=void 0;break;case 4:_.push(s.getTokenText()),n=0,r=0;break;case 42:const i=s.getTokenText();1===n?(n=2,d(i)):(un.assert(0===n),n=1,r+=i.length);break;case 5:un.assert(2!==n,"whitespace shouldn't come from the scanner while saving top-level comment text");const o=s.getTokenText();void 0!==t&&r+o.length>t&&_.push(o.slice(t-r)),r+=o.length;break;case 1:break e;case 82:n=2,d(s.getTokenValue());break;case 19:n=2;const a=s.getTokenFullStart(),c=I(s.getTokenEnd()-1);if(c){u||A(_),m.push(Et(w.createJSDocText(_.join("")),u??e,a)),m.push(c),_=[],u=s.getTokenEnd();break}default:n=2,d(s.getTokenText())}2===n?Ge(!1):He()}const f=_.join("").trimEnd();m.length&&f.length&&m.push(Et(w.createJSDocText(f),u??e,p));m.length&&a&&un.assertIsDefined(p,"having parsed tags implies that the end of the comment span should be set");const h=a&&Ct(a,c,l);return Et(w.createJSDocComment(m.length?Ct(m,e,p):f.length?f:void 0,h),e,o)}));return S=h,g;function A(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function y(e){for(;e.length;){const t=e[e.length-1].trimEnd();if(""!==t){if(t.lengthW(n))))&&345!==t.kind;)if(a=!0,344===t.kind){if(r){const e=Be(us.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);e&&sx(e,Hb(d,f,0,0,us.The_tag_was_first_specified_here));break}r=t}else o=re(o,t);if(a){const t=i&&188===i.type.kind,n=w.createJSDocTypeLiteral(o,t);i=r&&r.typeExpression&&!O(r.typeExpression.type)?r.typeExpression:Et(n,e),s=i.end}}s=s||void 0!==a?Le():(o??i??t).end,a||(a=k(e,s,n,r));const c=w.createJSDocTypedefTag(t,i,o,a);return Et(c,e,s)}(r,i,e,o);break;case"callback":c=function(e,t,n,r){const i=U();b();let o=D(n);const s=V(e,n);o||(o=k(e,Le(),n,r));const a=void 0!==o?Le():s.end;return Et(w.createJSDocCallbackTag(t,s,i,o),e,a)}(r,i,e,o);break;case"overload":c=function(e,t,n,r){b();let i=D(n);const o=V(e,n);i||(i=k(e,Le(),n,r));const s=void 0!==i?Le():o.end;return Et(w.createJSDocOverloadTag(t,o,i),e,s)}(r,i,e,o);break;case"satisfies":c=function(e,n,r,i){const o=t(!1),s=void 0!==r&&void 0!==i?k(e,Le(),r,i):void 0;return Et(w.createJSDocSatisfiesTag(n,o,s),e)}(r,i,e,o);break;case"see":c=function(e,t,r,i){const o=23===je()||rt((()=>60===He()&&ds(He())&&F(s.getTokenValue())))?void 0:n(),a=void 0!==r&&void 0!==i?k(e,Le(),r,i):void 0;return Et(w.createJSDocSeeTag(t,o,a),e)}(r,i,e,o);break;case"exception":case"throws":c=function(e,t,n,r){const i=N(),o=k(e,Le(),n,r);return Et(w.createJSDocThrowsTag(t,i,o),e)}(r,i,e,o);break;case"import":c=function(e,t,n,r){const i=s.getTokenFullStart();let o;at()&&(o=wt());const a=ko(o,i,!0,!0),c=To(),l=Do(),u=void 0!==n&&void 0!==r?k(e,Le(),n,r):void 0;return Et(w.createJSDocImportTag(t,a,c,l,u),e)}(r,i,e,o);break;default:c=function(e,t,n,r){return Et(w.createJSDocUnknownTag(t,k(e,Le(),n,r)),e)}(r,i,e,o)}return c}function k(e,t,n,r){return r||(n+=t-e),D(n,r.slice(n))}function D(e,t){const n=Le();let r=[];const i=[];let o,a,c=0;function l(t){a||(a=e),r.push(t),e+=t.length}void 0!==t&&(""!==t&&l(t),c=1);let u=je();e:for(;;){switch(u){case 4:c=0,r.push(s.getTokenText()),e=0;break;case 60:s.resetTokenState(s.getTokenEnd()-1);break e;case 1:break e;case 5:un.assert(2!==c&&3!==c,"whitespace shouldn't come from the scanner while saving comment text");const t=s.getTokenText();void 0!==a&&e+t.length>a&&(r.push(t.slice(a-e)),c=2),e+=t.length;break;case 19:c=2;const u=s.getTokenFullStart(),d=I(s.getTokenEnd()-1);d?(i.push(Et(w.createJSDocText(r.join("")),o??n,u)),i.push(d),r=[],o=s.getTokenEnd()):l(s.getTokenText());break;case 62:c=3===c?2:3,l(s.getTokenText());break;case 82:3!==c&&(c=2),l(s.getTokenValue());break;case 42:if(0===c){c=1,e+=1;break}default:3!==c&&(c=2),l(s.getTokenText())}u=2===c||3===c?Ge(3===c):He()}A(r);const d=r.join("").trimEnd();return i.length?(d.length&&i.push(Et(w.createJSDocText(d),o??n)),Ct(i,n,s.getTokenEnd())):d.length?d:void 0}function I(e){const t=it(T);if(!t)return;He(),b();const n=function(){if(ds(je())){const e=Le();let t=It();for(;_t(25);)t=Et(w.createQualifiedName(t,81===je()?xt(80,!1):It()),e);for(;81===je();)Xe(),He(),t=Et(w.createJSDocMemberName(t,wt()),e);return t}return}(),r=[];for(;20!==je()&&4!==je()&&1!==je();)r.push(s.getTokenText()),He();return Et(("link"===t?w.createJSDocLink:"linkcode"===t?w.createJSDocLinkCode:w.createJSDocLinkPlain)(n,r.join("")),e,s.getTokenEnd())}function T(){if(C(),19===je()&&60===He()&&ds(He())){const e=s.getTokenValue();if(F(e))return e}}function F(e){return"link"===e||"linkcode"===e||"linkplain"===e}function R(e){e&&(a?a.push(e):(a=[e],c=e.pos),l=e.end)}function N(){return C(),19===je()?t():void 0}function B(){const e=Z(23);e&&b();const t=Z(62),n=function(){let e=ee();_t(23)&&ct(24);for(;_t(25);){const t=ee();_t(23)&&ct(24),e=dn(e,t)}return e}();var r;return t&&(ht(r=62)||(un.assert(Dg(r)),xt(r,!1,us._0_expected,Is(r)))),e&&(b(),mt(64)&&xr(),ct(24)),{name:n,isBracketed:e}}function O(e){switch(e.kind){case 151:return!0;case 188:return O(e.elementType);default:return bw(e)&&UD(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function q(e,t,n,r){let i=N(),o=!i;C();const{name:s,isBracketed:a}=B(),c=C();o&&!rt(T)&&(i=N());const l=k(e,Le(),r,c),u=function(e,t,n,r){if(e&&O(e.type)){const i=Le();let o,s;for(;o=it((()=>z(n,r,t)));)341===o.kind||348===o.kind?s=re(s,o):345===o.kind&&$e(o.tagName,us.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(s){const t=Et(w.createJSDocTypeLiteral(s,188===e.type.kind),i);return Et(w.createJSDocTypeExpression(t),i)}}}(i,s,n,r);u&&(i=u,o=!0);return Et(1===n?w.createJSDocPropertyTag(t,s,a,i,o,l):w.createJSDocParameterTag(t,s,a,i,o,l),e)}function $(e,n,r,i){J(a,SF)&&qe(n.pos,s.getTokenStart(),us._0_tag_already_specified,mc(n.escapedText));const o=t(!0),c=void 0!==r&&void 0!==i?k(e,Le(),r,i):void 0;return Et(w.createJSDocTypeTag(n,o,c),e)}function L(){const e=_t(19),t=Le(),n=function(){const e=Le();let t=ee();for(;_t(25);){const n=ee();t=Et(Q(t,n),e)}return t}();s.setSkipJsDocLeadingAsterisks(!0);const r=go();s.setSkipJsDocLeadingAsterisks(!1);const i=Et(w.createExpressionWithTypeArguments(n,r),t);return e&&ct(20),i}function M(e,t,n,r,i){return Et(t(n,k(e,Le(),r,i)),e)}function j(e,n,r,i){const o=t(!0);return b(),Et(w.createJSDocThisTag(n,o,k(e,Le(),r,i)),e)}function U(e){const t=s.getTokenStart();if(!ds(je()))return;const n=ee();if(_t(25)){const r=U(!0);return Et(w.createModuleDeclaration(void 0,n,r,e?8:void 0),t)}return e&&(n.flags|=4096),n}function V(e,t){const n=function(e){const t=Le();let n,r;for(;n=it((()=>z(4,e)));){if(345===n.kind){$e(n.tagName,us.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}r=re(r,n)}return Ct(r||[],t)}(t),r=it((()=>{if(Z(60)){const e=E(t);if(e&&342===e.kind)return e}}));return Et(w.createJSDocSignature(void 0,n,r),e)}function G(e,t){for(;!UD(e)||!UD(t);){if(UD(e)||UD(t)||e.right.escapedText!==t.right.escapedText)return!1;e=e.left,t=t.left}return e.escapedText===t.escapedText}function W(e){return z(1,e)}function z(e,t,n){let r=!0,i=!1;for(;;)switch(He()){case 60:if(r){const r=Y(e,t);return!(r&&(341===r.kind||348===r.kind)&&n&&(UD(r.name)||!G(n,r.name.left)))&&r}i=!1;break;case 4:r=!0,i=!1;break;case 42:i&&(r=!1),i=!0;break;case 80:r=!1;break;case 1:return!1}}function Y(e,t){un.assert(60===je());const n=s.getTokenFullStart();He();const r=ee(),i=C();let o;switch(r.escapedText){case"type":return 1===e&&$(n,r);case"prop":case"property":o=1;break;case"arg":case"argument":case"param":o=6;break;case"template":return X(n,r,t,i);case"this":return j(n,r,t,i);default:return!1}return!!(e&o)&&q(n,r,e,t)}function K(){const e=Le(),t=Z(23);t&&b();const n=co(!1,!0),r=ee(us.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let i;if(t&&(b(),ct(64),i=Ee(16777216,Dn),ct(24)),!kp(r))return Et(w.createTypeParameterDeclaration(n,r,void 0,i),e)}function X(e,n,r,i){const o=19===je()?t():void 0,s=function(){const e=Le(),t=[];do{b();const e=K();void 0!==e&&t.push(e),C()}while(Z(28));return Ct(t,e)}();return Et(w.createJSDocTemplateTag(n,o,s,k(e,Le(),r,i)),e)}function Z(e){return je()===e&&(He(),!0)}function ee(e){if(!ds(je()))return xt(80,!e,e||us.Identifier_expected);x++;const t=s.getTokenStart(),n=s.getTokenEnd(),r=je(),i=St(s.getTokenValue()),o=Et(P(i,r),t,n);return He(),o}}e.parseJSDocTypeExpressionForTests=function(e,n,r){le("file.js",e,99,void 0,1,0),s.setText(e,n,r),b=s.scan();const i=t(),o=me("file.js",99,1,!1,[],B(1),0,nt),a=zb(g,o);return A&&(o.jsDocDiagnostics=zb(A,o)),ue(),i?{jsDocTypeExpression:i,diagnostics:a}:void 0},e.parseJSDocTypeExpression=t,e.parseJSDocNameReference=n,e.parseIsolatedJSDocComment=function(e,t,n){le("",e,99,void 0,1,0);const r=Ee(16777216,(()=>c(t,n))),i=zb(g,{languageVariant:0,text:e});return ue(),r?{jsDoc:r,diagnostics:i}:void 0},e.parseJSDocComment=function(e,t,n){const r=b,i=g.length,o=ae,s=Ee(16777216,(()=>c(t,n)));return wx(s,e),524288&D&&(A||(A=[]),se(A,g,i)),b=r,g.length=i,ae=o,s},(i=r||(r={}))[i.BeginningOfLine=0]="BeginningOfLine",i[i.SawAsterisk=1]="SawAsterisk",i[i.SavingComments=2]="SavingComments",i[i.SavingBackticks=3]="SavingBackticks",(a=o||(o={}))[a.Property=1]="Property",a[a.Parameter=2]="Parameter",a[a.CallbackParameter=4]="CallbackParameter"})(jo=e.JSDocParser||(e.JSDocParser={}))})(AP||(AP={}));var GP=new WeakSet;var WP,zP=new WeakSet;function YP(e){zP.add(e)}function KP(e){return void 0!==XP(e)}function XP(e){const t=Ro(e,IE,!1);if(t)return t;if(Eo(e,".ts")){const t=To(e),n=t.lastIndexOf(".d.");if(n>=0)return t.substring(n)}}function ZP(e,t){const n=[];for(const e of ua(t,0)||a){oN(n,e,t.substring(e.pos,e.end))}e.pragmas=new Map;for(const t of n)if(e.pragmas.has(t.name)){const n=e.pragmas.get(t.name);n instanceof Array?n.push(t.args):e.pragmas.set(t.name,[n,t.args])}else e.pragmas.set(t.name,t.args)}function eN(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach(((n,r)=>{switch(r){case"reference":{const r=e.referencedFiles,i=e.typeReferenceDirectives,o=e.libReferenceDirectives;u(Ke(n),(n=>{const{types:s,lib:a,path:c,"resolution-mode":l,preserve:u}=n.arguments,d="true"===u||void 0;if("true"===n.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(s){const e=function(e,t,n,r){if(e)return"import"===e?99:"require"===e?1:void r(t,n-t,us.resolution_mode_should_be_either_require_or_import)}(l,s.pos,s.end,t);i.push({pos:s.pos,end:s.end,fileName:s.value,...e?{resolutionMode:e}:{},...d?{preserve:d}:{}})}else a?o.push({pos:a.pos,end:a.end,fileName:a.value,...d?{preserve:d}:{}}):c?r.push({pos:c.pos,end:c.end,fileName:c.value,...d?{preserve:d}:{}}):t(n.range.pos,n.range.end-n.range.pos,us.Invalid_reference_directive_syntax)}));break}case"amd-dependency":e.amdDependencies=w(Ke(n),(e=>({name:e.arguments.name,path:e.arguments.path})));break;case"amd-module":if(n instanceof Array)for(const r of n)e.moduleName&&t(r.range.pos,r.range.end-r.range.pos,us.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=r.arguments.name;else e.moduleName=n.arguments.name;break;case"ts-nocheck":case"ts-check":u(Ke(n),(t=>{(!e.checkJsDirective||t.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:"ts-check"===r,end:t.range.end,pos:t.range.pos})}));break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:un.fail("Unhandled pragma kind")}}))}(e=>{function t(e,t,r,o,s,a,c){return void(r?u(e):l(e));function l(e){let r="";if(c&&n(e)&&(r=s.substring(e.pos,e.end)),QF(e,t),Sx(e,e.pos+o,e.end+o),c&&n(e)&&un.assert(r===a.substring(e.pos,e.end)),OP(e,l,u),wd(e))for(const t of e.jsDoc)l(t);i(e,c)}function u(e){Sx(e,e.pos+o,e.end+o);for(const t of e)l(t)}}function n(e){switch(e.kind){case 11:case 9:case 80:return!0}return!1}function r(e,t,n,r,i){un.assert(e.end>=t,"Adjusting an element that was entirely before the change range"),un.assert(e.pos<=n,"Adjusting an element that was entirely after the change range"),un.assert(e.pos<=e.end);const o=Math.min(e.pos,r),s=e.end>=n?e.end+i:Math.min(e.end,r);if(un.assert(o<=s),e.parent){const t=e.parent;un.assertGreaterThanOrEqual(o,t.pos),un.assertLessThanOrEqual(s,t.end)}Sx(e,o,s)}function i(e,t){if(t){let t=e.pos;const n=e=>{un.assert(e.pos>=t),t=e.end};if(wd(e))for(const t of e.jsDoc)n(t);OP(e,n),un.assert(t<=e.end)}}function o(e,t){let n,r=e;if(OP(e,(function e(i){if(kp(i))return;if(!(i.pos<=t))return un.assert(i.pos>t),!0;if(i.pos>=r.pos&&(r=i),tr.pos&&(r=e)}return r}function s(e,t,n,r){const i=e.text;if(n&&(un.assert(i.length-n.span.length+n.newLength===t.length),r||un.shouldAssert(3))){const e=i.substr(0,n.span.start),r=t.substr(0,n.span.start);un.assert(e===r);const o=i.substring(Ia(n.span),i.length),s=t.substring(Ia(Ga(n)),t.length);un.assert(o===s)}}function a(e){let t=e.statements,n=0;un.assert(n(o!==i&&(r&&r.end===o&&n=e.pos&&i=e.pos&&i0&&t<=n;t++){const t=o(e,r);un.assert(t.pos<=r);const n=t.pos;r=Math.max(0,n-1)}const i=Ha(r,Ia(t.span)),s=t.newLength+(t.span.start-r);return za(i,s)}(e,c);s(e,n,p,l),un.assert(p.span.start<=c.span.start),un.assert(Ia(p.span)===Ia(c.span)),un.assert(Ia(Ga(p))===Ia(Ga(c)));const f=Ga(p).length-p.span.length;!function(e,n,o,s,a,c,l,u){return void d(e);function d(f){if(un.assert(f.pos<=f.end),f.pos>o)return void t(f,e,!1,a,c,l,u);const _=f.end;if(_>=n){if(YP(f),QF(f,e),r(f,n,o,s,a),OP(f,d,p),wd(f))for(const e of f.jsDoc)d(e);i(f,u)}else un.assert(_o)return void t(i,e,!0,a,c,l,u);const p=i.end;if(p>=n){YP(i),r(i,n,o,s,a);for(const e of i)d(e)}else un.assert(pr){u();const t={range:{pos:e.pos+i,end:e.end+i},type:l};c=re(c,t),a&&un.assert(o.substring(e.pos,e.end)===s.substring(t.range.pos,t.range.end))}}return u(),c;function u(){l||(l=!0,c?t&&c.push(...t):c=t)}}(e.commentDirectives,_.commentDirectives,p.span.start,Ia(p.span),f,u,n,l),_.impliedNodeFormat=e.impliedNodeFormat,LF(e,_),_},e.createSyntaxCursor=a,(l=c||(c={}))[l.Value=-1]="Value"})(WP||(WP={}));var tN=new Map;function nN(e){if(tN.has(e))return tN.get(e);const t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return tN.set(e,t),t}var rN=/^\/\/\/\s*<(\S+)\s.*?\/>/m,iN=/^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m;function oN(e,t,n){const r=2===t.kind&&rN.exec(n);if(r){const i=r[1].toLowerCase(),o=Ni[i];if(!(o&&1&o.kind))return;if(o.args){const r={};for(const e of o.args){const i=nN(e.name).exec(n);if(!i&&!e.optional)return;if(i){const n=i[2]||i[3];if(e.captureSpan){const o=t.pos+i.index+i[1].length+1;r[e.name]={value:n,pos:o,end:o+n.length}}else r[e.name]=n}}e.push({name:i,args:{arguments:r,range:t}})}else e.push({name:i,args:{arguments:{},range:t}});return}const i=2===t.kind&&iN.exec(n);if(i)return sN(e,t,2,i);if(3===t.kind){const r=/@(\S+)(\s+(?:\S.*)?)?$/gm;let i;for(;i=r.exec(n);)sN(e,t,4,i)}}function sN(e,t,n,r){if(!r)return;const i=r[1].toLowerCase(),o=Ni[i];if(!(o&&o.kind&n))return;const s=function(e,t){if(!t)return{};if(!e.args)return{};const n=t.trim().split(/\s+/),r={};for(let t=0;t[""+t,e]))),dN=[["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"],["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"],["esnext.array","lib.es2023.array.d.ts"],["esnext.collection","lib.esnext.collection.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.disposable","lib.esnext.disposable.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2024.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["esnext.decorators","lib.esnext.decorators.d.ts"],["esnext.object","lib.es2024.object.d.ts"],["esnext.array","lib.esnext.array.d.ts"],["esnext.regexp","lib.es2024.regexp.d.ts"],["esnext.string","lib.es2024.string.d.ts"],["esnext.iterator","lib.esnext.iterator.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],pN=dN.map((e=>e[0])),fN=new Map(dN),_N=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:us.Watch_and_Build_Modes,description:us.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:us.Watch_and_Build_Modes,description:us.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:us.Watch_and_Build_Modes,description:us.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:us.Watch_and_Build_Modes,description:us.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:TO},allowConfigDirTemplateSubstitution:!0,category:us.Watch_and_Build_Modes,description:us.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:TO},allowConfigDirTemplateSubstitution:!0,category:us.Watch_and_Build_Modes,description:us.Remove_a_list_of_files_from_the_watch_mode_s_processing}],mN=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:us.Command_line_Options,description:us.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:us.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:us.Command_line_Options,description:us.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:us.Output_Formatting,description:us.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:us.Compiler_Diagnostics,description:us.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:us.Compiler_Diagnostics,description:us.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:us.Compiler_Diagnostics,description:us.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:us.Output_Formatting,description:us.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:us.Compiler_Diagnostics,description:us.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:us.Compiler_Diagnostics,description:us.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:us.Compiler_Diagnostics,description:us.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:us.FILE_OR_DIRECTORY,category:us.Compiler_Diagnostics,description:us.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,paramType:us.DIRECTORY,category:us.Compiler_Diagnostics,description:us.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:us.Projects,description:us.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:us.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Emit,transpileOptionValue:void 0,description:us.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:us.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Emit,defaultValueDescription:!1,description:us.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Emit,description:us.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Emit,defaultValueDescription:!1,description:us.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:us.Emit,description:us.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"noCheck",type:"boolean",showInSimplifiedHelpView:!1,category:us.Compiler_Diagnostics,description:us.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:us.Emit,description:us.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:us.Watch_and_Build_Modes,description:us.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:us.Command_line_Options,isCommandLineOnly:!0,description:us.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:us.Platform_specific}],hN={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,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,deprecatedKeys:new Set(["es3"]),paramType:us.VERSION,showInSimplifiedHelpView:!0,category:us.Language_and_Environment,description:us.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},gN={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,nodenext:199,preserve:200})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:us.KIND,showInSimplifiedHelpView:!0,category:us.Modules,description:us.Specify_what_module_code_is_generated,defaultValueDescription:void 0},AN=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:us.Command_line_Options,description:us.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:us.Command_line_Options,description:us.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:us.Command_line_Options,description:us.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:us.Command_line_Options,paramType:us.FILE_OR_DIRECTORY,description:us.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:us.Command_line_Options,isCommandLineOnly:!0,description:us.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:us.Command_line_Options,isCommandLineOnly:!0,description:us.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},hN,gN,{name:"lib",type:"list",element:{name:"lib",type:fN,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:us.Language_and_Environment,description:us.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:us.JavaScript_Support,description:us.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.JavaScript_Support,description:us.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:lN,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,paramType:us.KIND,showInSimplifiedHelpView:!0,category:us.Language_and_Environment,description:us.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:us.FILE,showInSimplifiedHelpView:!0,category:us.Emit,description:us.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:us.DIRECTORY,showInSimplifiedHelpView:!0,category:us.Emit,description:us.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:us.LOCATION,category:us.Modules,description:us.Specify_the_root_folder_within_your_source_files,defaultValueDescription:us.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:us.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:us.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:us.FILE,category:us.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:us.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Emit,defaultValueDescription:!1,description:us.Disable_emitting_comments},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,affectsSourceFile:!0,category:us.Emit,description:us.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:us.Backwards_Compatibility,description:us.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:us.Emit,description:us.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:us.Interop_Constraints,description:us.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:us.Interop_Constraints,description:us.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:us.Interop_Constraints,description:us.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files,defaultValueDescription:!1,affectsBuildInfo:!0,affectsSemanticDiagnostics:!0},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Type_Checking,description:us.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:us.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:us.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:us.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:us.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:us.false_unless_strict_is_set},{name:"strictBuiltinIteratorReturn",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any,defaultValueDescription:us.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:us.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:us.false_unless_strict_is_set},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:us.Type_Checking,description:us.Ensure_use_strict_is_always_emitted,defaultValueDescription:us.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.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:us.Type_Checking,description:us.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.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:us.Type_Checking,description:us.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"]),affectsSourceFile:!0,affectsModuleResolution:!0,paramType:us.STRATEGY,category:us.Modules,description:us.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:us.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:us.Modules,description:us.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,isTSConfigOnly:!0,category:us.Modules,description:us.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:us.Modules,description:us.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:us.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,category:us.Modules,description:us.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:us.Modules,description:us.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:us.Interop_Constraints,description:us.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:us.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:us.Interop_Constraints,description:us.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:us.Interop_Constraints,description:us.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:us.Modules,description:us.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:us.Modules,description:us.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Modules,description:us.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:us.Modules,description:us.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:us.Modules,description:us.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:us.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:us.Modules,description:us.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:us.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:us.Modules,description:us.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"noUncheckedSideEffectImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Modules,description:us.Check_side_effect_imports,defaultValueDescription:!1},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:us.LOCATION,category:us.Emit,description:us.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:us.LOCATION,category:us.Emit,description:us.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:us.Emit,description:us.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Language_and_Environment,description:us.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:us.Language_and_Environment,description:us.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:us.Language_and_Environment,description:us.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:us.Language_and_Environment,description:us.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:us.Language_and_Environment,description:us.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:us.Modules,description:us.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:us.Modules,description:us.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:us.Backwards_Compatibility,paramType:us.FILE,transpileOptionValue:void 0,description:us.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:us.Language_and_Environment,description:us.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:us.Completeness,description:us.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:us.Backwards_Compatibility,description:us.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:us.Emit,description:us.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:us.NEWLINE,category:us.Emit,description:us.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Output_Formatting,description:us.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:us.Language_and_Environment,affectsProgramStructure:!0,description:us.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:us.Modules,description:us.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:us.Emit,description:us.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:us.Editor_Support,description:us.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:us.Projects,description:us.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:us.Projects,description:us.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:us.Projects,description:us.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Backwards_Compatibility,description:us.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:us.Emit,description:us.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:us.Emit,transpileOptionValue:void 0,description:us.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:us.Emit,description:us.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:us.DIRECTORY,category:us.Emit,transpileOptionValue:void 0,description:us.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:us.Completeness,description:us.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Type_Checking,description:us.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Backwards_Compatibility,description:us.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:us.Backwards_Compatibility,description:us.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:us.Interop_Constraints,description:us.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:us.JavaScript_Support,description:us.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:us.Backwards_Compatibility,description:us.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:us.Language_and_Environment,description:us.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:us.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:us.Backwards_Compatibility,description:us.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:us.Backwards_Compatibility,description:us.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:us.Specify_a_list_of_language_service_plugins_to_include,category:us.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsSourceFile:!0,affectsModuleResolution:!0,description:us.Control_what_method_is_used_to_detect_module_format_JS_files,category:us.Language_and_Environment,defaultValueDescription:us.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}],yN=[...mN,...AN],vN=yN.filter((e=>!!e.affectsSemanticDiagnostics)),bN=yN.filter((e=>!!e.affectsEmit)),CN=yN.filter((e=>!!e.affectsDeclarationPath)),EN=yN.filter((e=>!!e.affectsModuleResolution)),xN=yN.filter((e=>!!e.affectsSourceFile||!!e.affectsBindDiagnostics)),SN=yN.filter((e=>!!e.affectsProgramStructure)),kN=yN.filter((e=>De(e,"transpileOptionValue"))),DN=yN.filter((e=>e.allowConfigDirTemplateSubstitution||!e.isCommandLineOnly&&e.isFilePath)),wN=_N.filter((e=>e.allowConfigDirTemplateSubstitution||!e.isCommandLineOnly&&e.isFilePath)),IN=yN.filter((function(e){return!Xe(e.type)}));var TN,FN={name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:us.Command_line_Options,description:us.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},RN=[FN,{name:"verbose",shortName:"v",category:us.Command_line_Options,description:us.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:us.Command_line_Options,description:us.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:us.Command_line_Options,description:us.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:us.Command_line_Options,description:us.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1},{name:"stopBuildOnErrors",category:us.Command_line_Options,description:us.Skip_building_downstream_projects_on_error_in_upstream_project,type:"boolean",defaultValueDescription:!1}],PN=[...mN,...RN],NN=[{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 BN(e){const t=new Map,n=new Map;return u(e,(e=>{t.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name)})),{optionsNameMap:t,shortOptionNames:n}}function ON(){return TN||(TN=BN(yN))}var qN={diagnostic:us.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:XN},$N={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0};function QN(e){return LN(e,Xb)}function LN(e,t){const n=Pe(e.type.keys()),r=(e.deprecatedKeys?n.filter((t=>!e.deprecatedKeys.has(t))):n).map((e=>`'${e}'`)).join(", ");return t(us.Argument_for_0_option_must_be_Colon_1,`--${e.name}`,r)}function MN(e,t,n){return yO(e,(t??"").trim(),n)}function jN(e,t="",n){if(Wt(t=t.trim(),"-"))return;if("listOrElement"===e.type&&!t.includes(","))return AO(e,t,n);if(""===t)return[];const r=t.split(",");switch(e.element.type){case"number":return q(r,(t=>AO(e.element,parseInt(t),n)));case"string":return q(r,(t=>AO(e.element,t||"",n)));case"boolean":case"object":return un.fail(`List of ${e.element.type} is not yet supported.`);default:return q(r,(t=>MN(e.element,t,n)))}}function UN(e){return e.name}function JN(e,t,n,r,i){var o;const s=null==(o=t.alternateMode)?void 0:o.getOptionsNameMap().optionsNameMap.get(e.toLowerCase());if(s)return hO(i,r,s!==FN?t.alternateMode.diagnostic:us.Option_build_must_be_the_first_command_line_argument,e);const a=Nt(e,t.optionDeclarations,UN);return a?hO(i,r,t.unknownDidYouMeanDiagnostic,n||e,a.name):hO(i,r,t.unknownOptionDiagnostic,n||e)}function VN(e,t,n){const r={};let i;const o=[],s=[];return a(t),{options:r,watchOptions:i,fileNames:o,errors:s};function a(t){let n=0;for(;nco.readFile(e)));if(!Xe(t))return void s.push(t);const r=[];let i=0;for(;;){for(;i=t.length)break;const n=i;if(34===t.charCodeAt(n)){for(i++;i32;)i++;r.push(t.substring(n,i))}}a(r)}}function HN(e,t,n,r,i,o){if(r.isTSConfigOnly){const n=e[t];"null"===n?(i[r.name]=void 0,t++):"boolean"===r.type?"false"===n?(i[r.name]=AO(r,!1,o),t++):("true"===n&&t++,o.push(Xb(us.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,r.name))):(o.push(Xb(us.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,r.name)),n&&!Wt(n,"-")&&t++)}else if(e[t]||"boolean"===r.type||o.push(Xb(n.optionTypeMismatchDiagnostic,r.name,kB(r))),"null"!==e[t])switch(r.type){case"number":i[r.name]=AO(r,parseInt(e[t]),o),t++;break;case"boolean":const n=e[t];i[r.name]=AO(r,"false"!==n,o),"false"!==n&&"true"!==n||t++;break;case"string":i[r.name]=AO(r,e[t]||"",o),t++;break;case"list":const s=jN(r,e[t],o);i[r.name]=s||[],s&&t++;break;case"listOrElement":un.fail("listOrElement not supported here");break;default:i[r.name]=MN(r,e[t],o),t++}else i[r.name]=void 0,t++;return t}var GN,WN={alternateMode:qN,getOptionsNameMap:ON,optionDeclarations:yN,unknownOptionDiagnostic:us.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:us.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:us.Compiler_option_0_expects_an_argument};function zN(e,t){return VN(WN,e,t)}function YN(e,t){return KN(ON,e,t)}function KN(e,t,n=!1){t=t.toLowerCase();const{optionsNameMap:r,shortOptionNames:i}=e();if(n){const e=i.get(t);void 0!==e&&(t=e)}return r.get(t)}function XN(){return GN||(GN=BN(PN))}var ZN={alternateMode:{diagnostic:us.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:ON},getOptionsNameMap:XN,optionDeclarations:PN,unknownOptionDiagnostic:us.Unknown_build_option_0,unknownDidYouMeanDiagnostic:us.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:us.Build_option_0_requires_a_value_of_type_1};function eB(e){const{options:t,watchOptions:n,fileNames:r,errors:i}=VN(ZN,e),o=t;return 0===r.length&&r.push("."),o.clean&&o.force&&i.push(Xb(us.Options_0_and_1_cannot_be_combined,"clean","force")),o.clean&&o.verbose&&i.push(Xb(us.Options_0_and_1_cannot_be_combined,"clean","verbose")),o.clean&&o.watch&&i.push(Xb(us.Options_0_and_1_cannot_be_combined,"clean","watch")),o.watch&&o.dry&&i.push(Xb(us.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:o,watchOptions:n,projects:r,errors:i}}function tB(e,...t){return tt(Xb(e,...t).messageText,Xe)}function nB(e,t,n,r,i,o){const s=sB(e,(e=>n.readFile(e)));if(!Xe(s))return void n.onUnRecoverableConfigFileDiagnostic(s);const a=jP(e,s),c=n.getCurrentDirectory();return a.path=Uo(e,c,Jt(n.useCaseSensitiveFileNames)),a.resolvedPath=a.path,a.originalFileName=a.fileName,jB(a,n,Lo(Io(e),c),t,Lo(e,c),void 0,o,r,i)}function rB(e,t){const n=sB(e,t);return Xe(n)?iB(e,n):{config:{},error:n}}function iB(e,t){const n=jP(e,t);return{config:EB(n,n.parseDiagnostics,void 0),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function oB(e,t){const n=sB(e,t);return Xe(n)?jP(e,n):{fileName:e,parseDiagnostics:[n]}}function sB(e,t){let n;try{n=t(e)}catch(t){return Xb(us.Cannot_read_file_0_Colon_1,e,t.message)}return void 0===n?Xb(us.Cannot_read_file_0,e):n}function aB(e){return Oe(e,UN)}var cB,lB={optionDeclarations:NN,unknownOptionDiagnostic:us.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:us.Unknown_type_acquisition_option_0_Did_you_mean_1};function uB(){return cB||(cB=BN(_N))}var dB,pB,fB,_B={getOptionsNameMap:uB,optionDeclarations:_N,unknownOptionDiagnostic:us.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:us.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:us.Watch_option_0_requires_a_value_of_type_1};function mB(){return dB||(dB=aB(yN))}function hB(){return pB||(pB=aB(_N))}function gB(){return fB||(fB=aB(NN))}var AB,yB={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:us.File_Management,disallowNullOrUndefined:!0},vB={name:"compilerOptions",type:"object",elementOptions:mB(),extraKeyDiagnostics:WN},bB={name:"watchOptions",type:"object",elementOptions:hB(),extraKeyDiagnostics:_B},CB={name:"typeAcquisition",type:"object",elementOptions:gB(),extraKeyDiagnostics:lB};function EB(e,t,n){var r;const i=null==(r=e.statements[0])?void 0:r.expression;if(i&&210!==i.kind){if(t.push(Lf(e,i,us.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===To(e.fileName)?"jsconfig.json":"tsconfig.json")),Gw(i)){const r=A(i.elements,Ww);if(r)return SB(e,r,t,!0,n)}return{}}return SB(e,i,t,!0,n)}function xB(e,t){var n;return SB(e,null==(n=e.statements[0])?void 0:n.expression,t,!0,void 0)}function SB(e,t,n,r,i){return t?o(t,null==i?void 0:i.rootOptions):r?{}:void 0;function o(t,a){switch(t.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return s(t)||n.push(Lf(e,t,us.String_literal_with_double_quotes_expected)),t.text;case 9:return Number(t.text);case 224:if(41!==t.operator||9!==t.operand.kind)break;return-Number(t.operand.text);case 210:return function(t,a){var c;const l=r?{}:void 0;for(const u of t.properties){if(303!==u.kind){n.push(Lf(e,u,us.Property_assignment_expected));continue}u.questionToken&&n.push(Lf(e,u.questionToken,us.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),s(u.name)||n.push(Lf(e,u.name,us.String_literal_with_double_quotes_expected));const t=Nf(u.name)?void 0:Of(u.name),d=t&&mc(t),p=d?null==(c=null==a?void 0:a.elementOptions)?void 0:c.get(d):void 0,f=o(u.initializer,p);void 0!==d&&(r&&(l[d]=f),null==i||i.onPropertySet(d,f,u,a,p))}return l}(t,a);case 209:return function(e,t){if(r)return S(e.map((e=>o(e,t))),(e=>void 0!==e));e.forEach((e=>o(e,t)))}(t.elements,a&&a.element)}a?n.push(Lf(e,t,us.Compiler_option_0_requires_a_value_of_type_1,a.name,kB(a))):n.push(Lf(e,t,us.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function s(t){return kD(t)&&jm(t,e)}}function kB(e){return"listOrElement"===e.type?`${kB(e.element)} or Array`:"list"===e.type?"Array":Xe(e.type)?e.type:"string"}function DB(e,t){if(e){if(JB(t))return!e.disallowNullOrUndefined;if("list"===e.type)return Ye(t);if("listOrElement"===e.type)return Ye(t)||DB(e.element,t);return typeof t===(Xe(e.type)?e.type:"string")}return!1}function wB(e,t,n){var r,i,o;const s=Jt(n.useCaseSensitiveFileNames),a=w(S(e.fileNames,(null==(i=null==(r=e.options.configFile)?void 0:r.configFileSpecs)?void 0:i.validatedIncludeSpecs)?function(e,t,n,r){if(!t)return it;const i=mE(e,n,t,r.useCaseSensitiveFileNames,r.getCurrentDirectory()),o=i.excludePattern&&hE(i.excludePattern,r.useCaseSensitiveFileNames),s=i.includeFilePattern&&hE(i.includeFilePattern,r.useCaseSensitiveFileNames);if(s)return o?e=>!(s.test(e)&&!o.test(e)):e=>!s.test(e);if(o)return e=>o.test(e);return it}(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,n):it),(e=>os(Lo(t,n.getCurrentDirectory()),Lo(e,n.getCurrentDirectory()),s))),c={configFilePath:Lo(t,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames},u=NB(e.options,c),d=e.watchOptions&&function(e){return BB(e,uB())}(e.watchOptions),p={compilerOptions:{...TB(u),showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0},watchOptions:d&&TB(d),references:w(e.projectReferences,(e=>({...e,path:e.originalPath?e.originalPath:"",originalPath:void 0}))),files:l(a)?a:void 0,...(null==(o=e.options.configFile)?void 0:o.configFileSpecs)?{include:FB(e.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:!!e.compileOnSave||void 0},f=new Set(u.keys()),_={};for(const t in gC)if(!f.has(t)&&IB(t,f)){gC[t].computeValue(e.options)!==gC[t].computeValue({})&&(_[t]=gC[t].computeValue(e.options))}return Ne(p.compilerOptions,TB(NB(_,c))),p}function IB(e,t){const n=new Set;return function e(r){var i;if(bb(n,r))return J(null==(i=gC[r])?void 0:i.dependencies,(n=>t.has(n)||e(n)));return!1}(e)}function TB(e){return Object.fromEntries(e)}function FB(e){if(l(e)){if(1!==l(e))return e;if(e[0]!==HB)return e}}function RB(e){switch(e.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return RB(e.element);default:return e.type}}function PB(e,t){return np(t,((t,n)=>{if(t===e)return n}))}function NB(e,t){return BB(e,ON(),t)}function BB(e,{optionsNameMap:t},n){const r=new Map,i=n&&Jt(n.useCaseSensitiveFileNames);for(const o in e)if(De(e,o)){if(t.has(o)&&(t.get(o).category===us.Command_line_Options||t.get(o).category===us.Output_Formatting))continue;const s=e[o],a=t.get(o.toLowerCase());if(a){un.assert("listOrElement"!==a.type);const e=RB(a);e?"list"===a.type?r.set(o,s.map((t=>PB(t,e)))):r.set(o,PB(s,e)):n&&a.isFilePath?r.set(o,os(n.configFilePath,Lo(s,Io(n.configFilePath)),i)):n&&"list"===a.type&&a.element.isFilePath?r.set(o,s.map((e=>os(n.configFilePath,Lo(e,Io(n.configFilePath)),i)))):r.set(o,s)}}return r}function OB(e,t){const n=qB(e);return function(){const e=[],r=(i=2,Array(i+1).join(" "));var i;return AN.forEach((t=>{if(!n.has(t.name))return;const i=n.get(t.name),o=$O(t);i!==o?e.push(`${r}${t.name}: ${i}`):De($N,t.name)&&e.push(`${r}${t.name}: ${o}`)})),e.join(t)+t}()}function qB(e){return NB(je(e,$N))}function $B(e,t,n){const r=qB(e);return function(){const e=new Map;e.set(us.Projects,[]),e.set(us.Language_and_Environment,[]),e.set(us.Modules,[]),e.set(us.JavaScript_Support,[]),e.set(us.Emit,[]),e.set(us.Interop_Constraints,[]),e.set(us.Type_Checking,[]),e.set(us.Completeness,[]);for(const t of yN)if(o(t)){let n=e.get(t.category);n||e.set(t.category,n=[]),n.push(t)}let s=0,a=0;const c=[];e.forEach(((e,t)=>{0!==c.length&&c.push({value:""}),c.push({value:`/* ${Vb(t)} */`});for(const t of e){let e;e=r.has(t.name)?`"${t.name}": ${JSON.stringify(r.get(t.name))}${(a+=1)===r.size?"":","}`:`// "${t.name}": ${JSON.stringify($O(t))},`,c.push({value:e,description:`/* ${t.description&&Vb(t.description)||t.name} */`}),s=Math.max(e.length,s)}}));const l=i(2),u=[];u.push("{"),u.push(`${l}"compilerOptions": {`),u.push(`${l}${l}/* ${Vb(us.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),u.push("");for(const e of c){const{value:t,description:n=""}=e;u.push(t&&`${l}${l}${t}${n&&i(s-t.length+2)+n}`)}if(t.length){u.push(`${l}},`),u.push(`${l}"files": [`);for(let e=0;e"object"==typeof e),"object"),n=A(y("files"));if(n){const r="no-prop"===e||Ye(e)&&0===e.length,i=De(p,"extends");if(0===n.length&&r&&!i)if(t){const e=s||"tsconfig.json",n=us.The_files_list_in_config_file_0_is_empty,r=G_(t,"files",(e=>e.initializer)),i=hO(t,r,n,e);u.push(i)}else b(us.The_files_list_in_config_file_0_is_empty,s||"tsconfig.json")}let r=A(y("include"));const i=y("exclude");let o,a,c,l,d=!1,_=A(i);if("no-prop"===i){const e=f.outDir,t=f.declarationDir;(e||t)&&(_=S([e,t],(e=>!!e)))}void 0===n&&void 0===r&&(r=[HB],d=!0);r&&(o=IO(r,u,!0,t,"include"),c=ZB(o,m)||o);_&&(a=IO(_,u,!1,t,"exclude"),l=ZB(a,m)||a);const h=S(n,Xe),g=ZB(h,m)||h;return{filesSpecs:n,includeSpecs:r,excludeSpecs:_,validatedFilesSpec:g,validatedIncludeSpecs:c,validatedExcludeSpecs:l,validatedFilesSpecBeforeSubstitution:h,validatedIncludeSpecsBeforeSubstitution:o,validatedExcludeSpecsBeforeSubstitution:a,isDefaultIncludeSpec:d}}();return t&&(t.configFileSpecs=h),UB(f,t),{options:f,watchOptions:_,fileNames:function(e){const t=xO(h,e,f,n,c);nO(t,iO(p),a)&&u.push(tO(h,s));return t}(m),projectReferences:function(e){let t;const n=v("references",(e=>"object"==typeof e),"object");if(Ye(n))for(const r of n)"string"!=typeof r.path?b(us.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(t||(t=[])).push({path:Lo(r.path,e),originalPath:r.path,prepend:r.prepend,circular:r.circular});return t}(m),typeAcquisition:d.typeAcquisition||fO(),raw:p,errors:u,wildcardDirectories:FO(h,m,n.useCaseSensitiveFileNames),compileOnSave:!!p.compileOnSave};function A(e){return Ye(e)?e:void 0}function y(e){return v(e,Xe,"string")}function v(e,n,r){if(De(p,e)&&!JB(p[e])){if(Ye(p[e])){const i=p[e];return t||g(i,n)||u.push(Xb(us.Compiler_option_0_requires_a_value_of_type_1,e,r)),i}return b(us.Compiler_option_0_requires_a_value_of_type_1,e,"Array"),"not-array"}return"no-prop"}function b(e,...n){t||u.push(Xb(e,...n))}}function WB(e,t){return zB(e,wN,t)}function zB(e,t,n){if(!e)return e;let r;for(const r of t)if(void 0!==e[r.name]){const t=e[r.name];switch(r.type){case"string":un.assert(r.isFilePath),KB(t)&&i(r,XB(t,n));break;case"list":un.assert(r.element.isFilePath);const e=ZB(t,n);e&&i(r,e);break;case"object":un.assert("paths"===r.name);const o=eO(t,n);o&&i(r,o);break;default:un.fail("option type not supported")}}return r||e;function i(t,n){(r??(r=Ne({},e)))[t.name]=n}}var YB="${configDir}";function KB(e){return Xe(e)&&Wt(e,YB,!0)}function XB(e,t){return Lo(e.replace(YB,"./"),t)}function ZB(e,t){if(!e)return e;let n;return e.forEach(((r,i)=>{KB(r)&&((n??(n=e.slice()))[i]=XB(r,t))})),n}function eO(e,t){let n;return Ie(e).forEach((r=>{if(!Ye(e[r]))return;const i=ZB(e[r],t);i&&((n??(n=Ne({},e)))[r]=i)})),n}function tO({includeSpecs:e,excludeSpecs:t},n){return Xb(us.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,n||"tsconfig.json",JSON.stringify(e||[]),JSON.stringify(t||[]))}function nO(e,t,n){return 0===e.length&&t&&(!n||0===n.length)}function rO(e){return!e.fileNames.length&&De(e.raw,"references")}function iO(e){return!De(e,"files")&&!De(e,"references")}function oO(e,t,n,r,i){const o=r.length;return nO(e,i)?r.push(tO(n,t)):k(r,(e=>!function(e){return e.code===us.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}(e))),o!==r.length}function sO(e,t,n,r,i,o,s,a){var c;const l=Lo(i||"",r=Bo(r));if(o.includes(l))return s.push(Xb(us.Circularity_detected_while_resolving_configuration_Colon_0,[...o,l].join(" -> "))),{raw:e||xB(t,s)};const u=e?function(e,t,n,r,i){De(e,"excludes")&&i.push(Xb(us.Unknown_option_excludes_Did_you_mean_exclude));const o=pO(e.compilerOptions,n,i,r),s=_O(e.typeAcquisition,n,i,r),a=function(e,t,n){return mO(hB(),e,t,void 0,_B,n)}(e.watchOptions,n,i);e.compileOnSave=function(e,t,n){if(!De(e,cN.name))return!1;const r=gO(cN,e.compileOnSave,t,n);return"boolean"==typeof r&&r}(e,n,i);const c=e.extends||""===e.extends?aO(e.extends,t,n,r,i):void 0;return{raw:e,options:o,watchOptions:a,typeAcquisition:s,extendedConfigPath:c}}(e,n,r,i,s):function(e,t,n,r,i){const o=dO(r);let s,a,c,l;const u=(void 0===AB&&(AB={name:void 0,type:"object",elementOptions:aB([vB,bB,CB,yB,{name:"references",type:"list",element:{name:"references",type:"object"},category:us.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:us.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:us.File_Management,defaultValueDescription:us.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:us.File_Management,defaultValueDescription:us.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},cN])}),AB),d=EB(e,i,{rootOptions:u,onPropertySet:p});s||(s=fO(r));l&&d&&void 0===d.compilerOptions&&i.push(Lf(e,l[0],us._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,Of(l[0])));return{raw:d,options:o,watchOptions:a,typeAcquisition:s,extendedConfigPath:c};function p(d,p,f,_,m){if(m&&m!==yB&&(p=gO(m,p,n,i,f,f.initializer,e)),null==_?void 0:_.name)if(m){let e;_===vB?e=o:_===bB?e=a??(a={}):_===CB?e=s??(s=fO(r)):un.fail("Unknown option"),e[m.name]=p}else d&&(null==_?void 0:_.extraKeyDiagnostics)&&(_.elementOptions?i.push(JN(d,_.extraKeyDiagnostics,void 0,f.name,e)):i.push(Lf(e,f.name,_.extraKeyDiagnostics.unknownOptionDiagnostic,d)));else _===u&&(m===yB?c=aO(p,t,n,r,i,f,f.initializer,e):m||("excludes"===d&&i.push(Lf(e,f.name,us.Unknown_option_excludes_Did_you_mean_exclude)),A(AN,(e=>e.name===d))&&(l=re(l,f.name))))}}(t,n,r,i,s);if((null==(c=u.options)?void 0:c.paths)&&(u.options.pathsBasePath=r),u.extendedConfigPath){o=o.concat([l]);const e={options:{}};Xe(u.extendedConfigPath)?d(e,u.extendedConfigPath):u.extendedConfigPath.forEach((t=>d(e,t))),e.include&&(u.raw.include=e.include),e.exclude&&(u.raw.exclude=e.exclude),e.files&&(u.raw.files=e.files),void 0===u.raw.compileOnSave&&e.compileOnSave&&(u.raw.compileOnSave=e.compileOnSave),t&&e.extendedSourceFiles&&(t.extendedSourceFiles=Pe(e.extendedSourceFiles.keys())),u.options=Ne(e.options,u.options),u.watchOptions=u.watchOptions&&e.watchOptions?p(e,u.watchOptions):u.watchOptions||e.watchOptions}return u;function d(e,i){const c=function(e,t,n,r,i,o,s){const a=n.useCaseSensitiveFileNames?t:lt(t);let c,l,u;o&&(c=o.get(a))?({extendedResult:l,extendedConfig:u}=c):(l=oB(t,(e=>n.readFile(e))),l.parseDiagnostics.length||(u=sO(void 0,l,n,Io(t),To(t),r,i,o)),o&&o.set(a,{extendedResult:l,extendedConfig:u}));if(e&&((s.extendedSourceFiles??(s.extendedSourceFiles=new Set)).add(l.fileName),l.extendedSourceFiles))for(const e of l.extendedSourceFiles)s.extendedSourceFiles.add(e);if(l.parseDiagnostics.length)return void i.push(...l.parseDiagnostics);return u}(t,i,n,o,s,a,e);if(c&&c.options){const t=c.raw;let o;const s=s=>{u.raw[s]||t[s]&&(e[s]=w(t[s],(e=>KB(e)||go(e)?e:qo(o||(o=is(Io(i),r,Jt(n.useCaseSensitiveFileNames))),e))))};s("include"),s("exclude"),s("files"),void 0!==t.compileOnSave&&(e.compileOnSave=t.compileOnSave),Ne(e.options,c.options),e.watchOptions=e.watchOptions&&c.watchOptions?p(e,c.watchOptions):e.watchOptions||c.watchOptions}}function p(e,t){return e.watchOptionsCopied?Ne(e.watchOptions,t):(e.watchOptionsCopied=!0,Ne({},e.watchOptions,t))}}function aO(e,t,n,r,i,o,s,a){let c;const l=r?VB(r,n):n;if(Xe(e))c=cO(e,t,l,i,s,a);else if(Ye(e)){c=[];for(let r=0;rhO(i,r,e,...t))))}function vO(e,t,n,r,i,o,s){return S(w(t,((t,a)=>gO(e.element,t,n,r,i,null==o?void 0:o.elements[a],s))),(t=>!!e.listPreserveFalsyValues||!!t))}var bO,CO=/(?:^|\/)\*\*\/?$/,EO=/^[^*?]*(?=\/[^/]*[*?])/;function xO(e,t,n,r,i=a){t=Mo(t);const o=Jt(r.useCaseSensitiveFileNames),s=new Map,c=new Map,l=new Map,{validatedFilesSpec:u,validatedIncludeSpecs:d,validatedExcludeSpecs:p}=e,f=RE(n,i),_=PE(n,f);if(u)for(const e of u){const n=Lo(e,t);s.set(o(n),n)}let m;if(d&&d.length>0)for(const e of r.readDirectory(t,F(_),p,d,void 0)){if(Eo(e,".json")){if(!m){const e=w(uE(d.filter((e=>Ot(e,".json"))),t,"files"),(e=>`^${e}$`));m=e?e.map((e=>hE(e,r.useCaseSensitiveFileNames))):a}const n=v(m,(t=>t.test(e)));if(-1!==n){const t=o(e);s.has(t)||l.has(t)||l.set(t,e)}continue}if(NO(e,s,c,f,o))continue;BO(e,c,f,o);const n=o(e);s.has(n)||c.has(n)||c.set(n,e)}const h=Pe(s.values()),g=Pe(c.values());return h.concat(g,Pe(l.values()))}function SO(e,t,n,r,i){const{validatedFilesSpec:o,validatedIncludeSpecs:s,validatedExcludeSpecs:a}=t;if(!l(s)||!l(a))return!1;n=Mo(n);const c=Jt(r);if(o)for(const t of o)if(c(Lo(t,n))===e)return!1;return wO(e,a,r,i,n)}function kO(e){const t=Wt(e,"**/")?0:e.indexOf("/**/");if(-1===t)return!1;return(Ot(e,"/..")?e.length:e.lastIndexOf("/../"))>t}function DO(e,t,n,r){return wO(e,S(t,(e=>!kO(e))),n,r)}function wO(e,t,n,r,i){const o=lE(t,qo(Mo(r),i),"exclude"),s=o&&hE(o,n);return!!s&&(!!s.test(e)||!Co(e)&&s.test(Vo(e)))}function IO(e,t,n,r,i){return e.filter((e=>{if(!Xe(e))return!1;const o=TO(e,n);return void 0!==o&&t.push(function(e,t){const n=H_(r,i,t);return hO(r,n,e,t)}(...o)),void 0===o}))}function TO(e,t){return un.assert("string"==typeof e),t&&CO.test(e)?[us.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:kO(e)?[us.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:void 0}function FO({validatedIncludeSpecs:e,validatedExcludeSpecs:t},n,r){const i=lE(t,n,"exclude"),o=i&&new RegExp(i,r?"":"i"),s={},a=new Map;if(void 0!==e){const t=[];for(const i of e){const e=Mo(qo(n,i));if(o&&o.test(e))continue;const c=PO(e,r);if(c){const{key:e,path:n,flags:r}=c,i=a.get(e),o=void 0!==i?s[i]:void 0;(void 0===o||oxo(e,t)?t:void 0));if(!o)return!1;for(const r of o){if(Eo(e,r)&&(".ts"!==r||!Eo(e,".d.ts")))return!1;const o=i(HE(e,r));if(t.has(o)||n.has(o)){if(".d.ts"===r&&(Eo(e,".js")||Eo(e,".jsx")))continue;return!0}}return!1}function BO(e,t,n,r){const i=u(n,(t=>xo(e,t)?t:void 0));if(i)for(let n=i.length-1;n>=0;n--){const o=i[n];if(Eo(e,o))return;const s=r(HE(e,o));t.delete(s)}}function OO(e){const t={};for(const n in e)if(De(e,n)){const r=YN(n);void 0!==r&&(t[n]=qO(e[n],r))}return t}function qO(e,t){if(void 0===e)return e;switch(t.type){case"object":case"string":return"";case"number":return"number"==typeof e?e:"";case"boolean":return"boolean"==typeof e?e:"";case"listOrElement":if(!Ye(e))return qO(e,t.element);case"list":const n=t.element;return Ye(e)?q(e,(e=>qO(e,n))):"";default:return np(t.type,((t,n)=>{if(t===e)return n}))}}function $O(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":const t=e.defaultValueDescription;return e.isFilePath?`./${t&&"string"==typeof t?t:""}`:"";case"list":return[];case"listOrElement":return $O(e.element);case"object":return{};default:const n=_e(e.type.keys());return void 0!==n?n:un.fail("Expected 'option.type' to have entries.")}}function QO(e,t,...n){e.trace(Kb(t,...n))}function LO(e,t){return!!e.traceResolution&&void 0!==t.trace}function MO(e,t,n){let r;if(t&&e){const i=e.contents.packageJsonContent;"string"==typeof i.name&&"string"==typeof i.version&&(r={name:i.name,subModuleName:t.path.slice(e.packageDirectory.length+uo.length),version:i.version,peerDependencies:n$(e,n)})}return t&&{path:t.path,extension:t.ext,packageId:r,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function jO(e){return MO(void 0,e,void 0)}function UO(e){if(e)return un.assert(void 0===e.packageId),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function JO(e){const t=[];return 1&e&&t.push("TypeScript"),2&e&&t.push("JavaScript"),4&e&&t.push("Declaration"),8&e&&t.push("JSON"),t.join(", ")}function VO(e){if(e)return un.assert(KE(e.extension)),{fileName:e.path,packageId:e.packageId}}function HO(e,t,n,r,i,o,s,a,c){if(!s.resultFromCache&&!s.compilerOptions.preserveSymlinks&&t&&n&&!t.originalPath&&!Sa(e)){const{resolvedFileName:e,originalPath:n}=rq(t.path,s.host,s.traceEnabled);n&&(t={...t,path:e,originalPath:n})}return GO(t,n,r,i,o,s.resultFromCache,a,c)}function GO(e,t,n,r,i,o,s,a){return o?(null==s?void 0:s.isReadonly)?{...o,failedLookupLocations:YO(o.failedLookupLocations,n),affectingLocations:YO(o.affectingLocations,r),resolutionDiagnostics:YO(o.resolutionDiagnostics,i)}:(o.failedLookupLocations=zO(o.failedLookupLocations,n),o.affectingLocations=zO(o.affectingLocations,r),o.resolutionDiagnostics=zO(o.resolutionDiagnostics,i),o):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:t,packageId:e.packageId,resolvedUsingTsExtension:!!e.resolvedUsingTsExtension},failedLookupLocations:WO(n),affectingLocations:WO(r),resolutionDiagnostics:WO(i),alternateResult:a}}function WO(e){return e.length?e:void 0}function zO(e,t){return(null==t?void 0:t.length)?(null==e?void 0:e.length)?(e.push(...t),e):t:e}function YO(e,t){return(null==e?void 0:e.length)?t.length?[...e,...t]:e.slice():WO(t)}function KO(e,t,n,r){if(!De(e,t))return void(r.traceEnabled&&QO(r.host,us.package_json_does_not_have_a_0_field,t));const i=e[t];if(typeof i===n&&null!==i)return i;r.traceEnabled&&QO(r.host,us.Expected_type_of_0_field_in_package_json_to_be_1_got_2,t,n,null===i?"null":typeof i)}function XO(e,t,n,r){const i=KO(e,t,"string",r);if(void 0===i)return;if(!i)return void(r.traceEnabled&&QO(r.host,us.package_json_had_a_falsy_0_field,t));const o=Mo(qo(n,i));return r.traceEnabled&&QO(r.host,us.package_json_has_0_field_1_that_references_2,t,i,o),o}function ZO(e,t){const n=function(e,t){const n=KO(e,"typesVersions","object",t);if(void 0!==n)return t.traceEnabled&&QO(t.host,us.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),n}(e,t);if(void 0===n)return;if(t.traceEnabled)for(const e in n)De(n,e)&&!bn.tryParse(e)&&QO(t.host,us.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,e);const r=eq(n);if(!r)return void(t.traceEnabled&&QO(t.host,us.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,i));const{version:o,paths:s}=r;if("object"==typeof s)return r;t.traceEnabled&&QO(t.host,us.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${o}']`,"object",typeof s)}function eq(e){bO||(bO=new yn(o));for(const t in e){if(!De(e,t))continue;const n=bn.tryParse(t);if(void 0!==n&&n.test(bO))return{version:t,paths:e[t]}}}function tq(e,t){if(e.typeRoots)return e.typeRoots;let n;return e.configFilePath?n=Io(e.configFilePath):t.getCurrentDirectory&&(n=t.getCurrentDirectory()),void 0!==n?function(e){let t;return as(Mo(e),(e=>{const n=qo(e,nq);(t??(t=[])).push(n)})),t}(n):void 0}var nq=qo("node_modules","@types");function rq(e,t,n){const r=qq(e,t,n),i=function(e,t,n){return 0===Zo(e,t,!("function"==typeof n.useCaseSensitiveFileNames?n.useCaseSensitiveFileNames():n.useCaseSensitiveFileNames))}(e,r,t);return{resolvedFileName:i?e:r,originalPath:i?void 0:e}}function iq(e,t,n){return qo(e,Ot(e,"/node_modules/@types")||Ot(e,"/node_modules/@types/")?v$(t,n):t)}function oq(e,t,n,r,i,o,s){un.assert("string"==typeof e,"Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");const a=LO(n,r);i&&(n=i.commandLine.options);const c=t?Io(t):void 0;let l=c?null==o?void 0:o.getFromDirectoryCache(e,s,c,i):void 0;if(l||!c||Sa(e)||(l=null==o?void 0:o.getFromNonRelativeNameCache(e,s,c,i)),l)return a&&(QO(r,us.Resolving_type_reference_directive_0_containing_file_1,e,t),i&&QO(r,us.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName),QO(r,us.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,c),C(l)),l;const u=tq(n,r);a&&(void 0===t?void 0===u?QO(r,us.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):QO(r,us.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,u):void 0===u?QO(r,us.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,t):QO(r,us.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,t,u),i&&QO(r,us.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName));const d=[],f=[];let _=sq(n);void 0!==s&&(_|=30);const m=bC(n);99===s&&3<=m&&m<=99&&(_|=32);const h=8&_?aq(n,s):[],g=[],A={compilerOptions:n,host:r,traceEnabled:a,failedLookupLocations:d,affectingLocations:f,packageJsonInfoCache:o,features:_,conditions:h,requestContainingDirectory:c,reportDiagnostic:e=>{g.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1};let y,v=function(){if(u&&u.length)return a&&QO(r,us.Resolving_with_primary_search_path_0,u.join(", ")),p(u,(t=>{const i=iq(t,e,A),o=Iv(t,r);if(!o&&a&&QO(r,us.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),n.typeRoots){const e=Jq(4,i,!o,A);if(e){const t=Mq(e.path);return VO(MO(t?r$(t,!1,A):void 0,e,A))}}return VO(Yq(4,i,!o,A))}));a&&QO(r,us.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),b=!0;if(v||(v=function(){const i=t&&Io(t);if(void 0!==i){let o;if(n.typeRoots&&Ot(t,_J))a&&QO(r,us.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);else if(a&&QO(r,us.Looking_up_in_node_modules_folder_initial_location_0,i),Sa(e)){const{path:t}=Oq(i,e);o=$q(4,t,!1,A,!0)}else{const t=f$(4,e,i,A,void 0,void 0);o=t&&t.value}return VO(o)}a&&QO(r,us.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),b=!1),v){const{fileName:e,packageId:t}=v;let i,o=e;n.preserveSymlinks||({resolvedFileName:o,originalPath:i}=rq(e,r,a)),y={primary:b,resolvedFileName:o,originalPath:i,packageId:t,isExternalLibraryImport:Lq(e)}}return l={resolvedTypeReferenceDirective:y,failedLookupLocations:WO(d),affectingLocations:WO(f),resolutionDiagnostics:WO(g)},c&&o&&!o.isReadonly&&(o.getOrCreateCacheForDirectory(c,i).set(e,s,l),Sa(e)||o.getOrCreateCacheForNonRelativeName(e,s,i).set(c,l)),a&&C(l),l;function C(t){var n;(null==(n=t.resolvedTypeReferenceDirective)?void 0:n.resolvedFileName)?t.resolvedTypeReferenceDirective.packageId?QO(r,us.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,t.resolvedTypeReferenceDirective.resolvedFileName,_p(t.resolvedTypeReferenceDirective.packageId),t.resolvedTypeReferenceDirective.primary):QO(r,us.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,t.resolvedTypeReferenceDirective.resolvedFileName,t.resolvedTypeReferenceDirective.primary):QO(r,us.Type_reference_directive_0_was_not_resolved,e)}}function sq(e){let t=0;switch(bC(e)){case 3:case 99:case 100:t=30}return e.resolvePackageJsonExports?t|=8:!1===e.resolvePackageJsonExports&&(t&=-9),e.resolvePackageJsonImports?t|=2:!1===e.resolvePackageJsonImports&&(t&=-3),t}function aq(e,t){const n=bC(e);if(void 0===t)if(100===n)t=99;else if(2===n)return[];const r=99===t?["import"]:["require"];return e.noDtsResolution||r.push("types"),100!==n&&r.push("node"),H(r,e.customConditions)}function cq(e,t,n,r,i){const o=Zq(null==i?void 0:i.getPackageJsonInfoCache(),r,n);return m$(r,t,(t=>{if("node_modules"!==To(t)){const n=qo(t,"node_modules");return r$(qo(n,e),!1,o)}}))}function lq(e,t){if(e.types)return e.types;const n=[];if(t.directoryExists&&t.getDirectories){const r=tq(e,t);if(r)for(const e of r)if(t.directoryExists(e))for(const r of t.getDirectories(e)){const i=Mo(r),o=qo(e,i,"package.json");if(!(t.fileExists(o)&&null===Dv(o,t).typings)){const e=To(i);46!==e.charCodeAt(0)&&n.push(e)}}}return n}function uq(e){return!!(null==e?void 0:e.contents)}function dq(e){return!!e&&!e.contents}function pq(e){var t;if(null===e||"object"!=typeof e)return""+e;if(Ye(e))return`[${null==(t=e.map((e=>pq(e))))?void 0:t.join(",")}]`;let n="{";for(const t in e)De(e,t)&&(n+=`${t}: ${pq(e[t])}`);return n+"}"}function fq(e,t){return t.map((t=>pq(HC(e,t)))).join("|")+`|${e.pathsBasePath}`}function _q(e,t){const n=new Map,r=new Map;let i=new Map;return e&&n.set(e,i),{getMapOfCacheRedirects:function(e){return e?o(e.commandLine.options,!1):i},getOrCreateMapOfCacheRedirects:function(e){return e?o(e.commandLine.options,!0):i},update:function(t){e!==t&&(e?i=o(t,!0):n.set(t,i),e=t)},clear:function(){const o=e&&t.get(e);i.clear(),n.clear(),t.clear(),r.clear(),e&&(o&&t.set(e,o),n.set(e,i))},getOwnMap:()=>i};function o(t,o){let a=n.get(t);if(a)return a;const c=s(t);if(a=r.get(c),!a){if(e){const t=s(e);t===c?a=i:r.has(t)||r.set(t,i)}o&&(a??(a=new Map)),a&&r.set(c,a)}return a&&n.set(t,a),a}function s(e){let n=t.get(e);return n||t.set(e,n=fq(e,EN)),n}}function mq(e,t,n,r){const i=e.getOrCreateMapOfCacheRedirects(t);let o=i.get(n);return o||(o=r(),i.set(n,o)),o}function hq(e,t){return void 0===t?e:`${t}|${e}`}function gq(){const e=new Map,t=new Map,n={get:(t,n)=>e.get(r(t,n)),set:(t,i,o)=>(e.set(r(t,i),o),n),delete:(t,i)=>(e.delete(r(t,i)),n),has:(t,n)=>e.has(r(t,n)),forEach:n=>e.forEach(((e,r)=>{const[i,o]=t.get(r);return n(e,i,o)})),size:()=>e.size};return n;function r(e,n){const r=hq(e,n);return t.set(r,[e,n]),r}}function Aq(e){return e.resolvedModule&&(e.resolvedModule.originalPath||e.resolvedModule.resolvedFileName)}function yq(e){return e.resolvedTypeReferenceDirective&&(e.resolvedTypeReferenceDirective.originalPath||e.resolvedTypeReferenceDirective.resolvedFileName)}function vq(e,t,n,r,i){const o=_q(n,i);return{getFromNonRelativeNameCache:function(e,t,n,r){var i,s;return un.assert(!Sa(e)),null==(s=null==(i=o.getMapOfCacheRedirects(r))?void 0:i.get(hq(e,t)))?void 0:s.get(n)},getOrCreateCacheForNonRelativeName:function(e,t,n){return un.assert(!Sa(e)),mq(o,n,hq(e,t),s)},clear:function(){o.clear()},update:function(e){o.update(e)}};function s(){const n=new Map;return{get:function(r){return n.get(Uo(r,e,t))},set:function(i,o){const s=Uo(i,e,t);if(n.has(s))return;n.set(s,o);const a=r(o),c=a&&function(n,r){const i=Uo(Io(r),e,t);let o=0;const s=Math.min(n.length,i.length);for(;ogq()))},clear:function(){i.clear()},update:function(e){i.update(e)},directoryToModuleNameMap:i}}(e,t,n,o),a=vq(e,t,n,i,o);return r??(r=function(e,t){let n;return{getPackageJsonInfo:function(r){return null==n?void 0:n.get(Uo(r,e,t))},setPackageJsonInfo:function(r,i){(n||(n=new Map)).set(Uo(r,e,t),i)},clear:function(){n=void 0},getInternalMap:function(){return n}}}(e,t)),{...r,...s,...a,clear:function(){c(),r.clear()},update:function(e){s.update(e),a.update(e)},getPackageJsonInfoCache:()=>r,clearAllExceptPackageJsonInfoCache:c,optionsToRedirectsKey:o};function c(){s.clear(),a.clear()}}function Cq(e,t,n,r,i){const o=bq(e,t,n,r,Aq,i);return o.getOrCreateCacheForModuleName=(e,t,n)=>o.getOrCreateCacheForNonRelativeName(e,t,n),o}function Eq(e,t,n,r,i){return bq(e,t,n,r,yq,i)}function xq(e){return{moduleResolution:2,traceResolution:e.traceResolution}}function Sq(e,t,n,r,i){return Dq(e,t,xq(n),r,i)}function kq(e,t,n,r){const i=Io(t);return n.getFromDirectoryCache(e,r,i,void 0)}function Dq(e,t,n,r,i,o,s){const a=LO(n,r);o&&(n=o.commandLine.options),a&&(QO(r,us.Resolving_module_0_from_1,e,t),o&&QO(r,us.Using_compiler_options_of_project_reference_redirect_0,o.sourceFile.fileName));const c=Io(t);let l=null==i?void 0:i.getFromDirectoryCache(e,s,c,o);if(l)a&&QO(r,us.Resolution_for_module_0_was_found_in_cache_from_location_1,e,c);else{let u=n.moduleResolution;switch(void 0===u?(u=bC(n),a&&QO(r,us.Module_resolution_kind_is_not_specified_using_0,ci[u])):a&&QO(r,us.Explicitly_specified_module_resolution_kind_Colon_0,ci[u]),u){case 3:case 99:l=function(e,t,n,r,i,o,s){return Fq(30,e,t,n,r,i,o,s)}(e,t,n,r,i,o,s);break;case 2:l=Pq(e,t,n,r,i,o,s?aq(n,s):void 0);break;case 1:l=k$(e,t,n,r,i,o);break;case 100:l=Rq(e,t,n,r,i,o,s?aq(n,s):void 0);break;default:return un.fail(`Unexpected moduleResolution: ${u}`)}i&&!i.isReadonly&&(i.getOrCreateCacheForDirectory(c,o).set(e,s,l),Sa(e)||i.getOrCreateCacheForNonRelativeName(e,s,o).set(c,l))}return a&&(l.resolvedModule?l.resolvedModule.packageId?QO(r,us.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,l.resolvedModule.resolvedFileName,_p(l.resolvedModule.packageId)):QO(r,us.Module_name_0_was_successfully_resolved_to_1,e,l.resolvedModule.resolvedFileName):QO(r,us.Module_name_0_was_not_resolved,e)),l}function wq(e,t,n,r,i){const o=function(e,t,n,r){const{baseUrl:i,paths:o}=r.compilerOptions;if(o&&!vo(t)){r.traceEnabled&&(i&&QO(r.host,us.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,i,t),QO(r.host,us.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));return A$(e,t,WA(r.compilerOptions,r.host),o,zE(o),n,!1,r)}}(e,t,r,i);return o?o.value:Sa(t)?function(e,t,n,r,i){if(!i.compilerOptions.rootDirs)return;i.traceEnabled&&QO(i.host,us.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);const o=Mo(qo(n,t));let s,a;for(const e of i.compilerOptions.rootDirs){let t=Mo(e);Ot(t,uo)||(t+=uo);const n=Wt(o,t)&&(void 0===a||a.length(e[e.None=0]="None",e[e.Imports=2]="Imports",e[e.SelfName=4]="SelfName",e[e.Exports=8]="Exports",e[e.ExportsPatternTrailers=16]="ExportsPatternTrailers",e[e.AllFeatures=30]="AllFeatures",e[e.Node16Default=30]="Node16Default",e[e.NodeNextDefault=30]="NodeNextDefault",e[e.BundlerDefault=30]="BundlerDefault",e[e.EsmMode=32]="EsmMode",e))(Tq||{});function Fq(e,t,n,r,i,o,s,a,c){const l=Io(n),u=99===a?32:0;let d=r.noDtsResolution?3:7;return wC(r)&&(d|=8),Bq(e|u,t,l,r,i,o,d,!1,s,c)}function Rq(e,t,n,r,i,o,s){const a=Io(t);let c=n.noDtsResolution?3:7;return wC(n)&&(c|=8),Bq(sq(n),e,a,n,r,i,c,!1,o,s)}function Pq(e,t,n,r,i,o,s,a){let c;return a?c=8:n.noDtsResolution?(c=3,wC(n)&&(c|=8)):c=wC(n)?15:7,Bq(s?30:0,e,Io(t),n,r,i,c,!!a,o,s)}function Nq(e,t,n){return Bq(30,e,Io(t),{moduleResolution:99},n,void 0,8,!0,void 0,void 0)}function Bq(e,t,n,r,i,o,s,c,u,d){var p,f,_,m,h;const A=LO(r,i),y=[],v=[],b=bC(r);d??(d=aq(r,100===b||2===b?void 0:32&e?99:1));const E=[],x={compilerOptions:r,host:i,traceEnabled:A,failedLookupLocations:y,affectingLocations:v,packageJsonInfoCache:o,features:e,conditions:d??a,requestContainingDirectory:n,reportDiagnostic:e=>{E.push(e)},isConfigLookup:c,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1};let S,k;if(A&&QC(b)&&QO(i,us.Resolving_in_0_mode_with_conditions_1,32&e?"ESM":"CJS",x.conditions.map((e=>`'${e}'`)).join(", ")),2===b){const e=5&s,t=-6&s;S=e&&D(e,x)||t&&D(t,x)||void 0}else S=D(s,x);if(x.resolvedPackageDirectory&&!c&&!Sa(t)){const t=(null==S?void 0:S.value)&&5&s&&!o$(5,S.value.resolved.extension);if((null==(p=null==S?void 0:S.value)?void 0:p.isExternalLibraryImport)&&t&&8&e&&(null==d?void 0:d.includes("import"))){F$(x,us.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const e=D(5&s,{...x,features:-9&x.features,reportDiagnostic:nt});(null==(f=null==e?void 0:e.value)?void 0:f.isExternalLibraryImport)&&(k=e.value.resolved.path)}else if((!(null==S?void 0:S.value)||t)&&2===b){F$(x,us.Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update);const e={...x.compilerOptions,moduleResolution:100},t=D(5&s,{...x,compilerOptions:e,features:30,conditions:aq(e),reportDiagnostic:nt});(null==(_=null==t?void 0:t.value)?void 0:_.isExternalLibraryImport)&&(k=t.value.resolved.path)}}return HO(t,null==(m=null==S?void 0:S.value)?void 0:m.resolved,null==(h=null==S?void 0:S.value)?void 0:h.isExternalLibraryImport,y,v,E,x,o,k);function D(r,s){const a=wq(r,t,n,((e,t,n,r)=>$q(e,t,n,r,!0)),s);if(a)return T$({resolved:a,isExternalLibraryImport:Lq(a.path)});if(Sa(t)){const{path:e,parts:i}=Oq(n,t),o=$q(r,e,!1,s,!0);return o&&T$({resolved:o,isExternalLibraryImport:C(i,"node_modules")})}{if(2&e&&Wt(t,"#")){const e=function(e,t,n,r,i,o){var s,a;if("#"===t||Wt(t,"#/"))return r.traceEnabled&&QO(r.host,us.Invalid_import_specifier_0_has_no_possible_resolutions,t),T$(void 0);const c=Lo(n,null==(a=(s=r.host).getCurrentDirectory)?void 0:a.call(s)),l=e$(c,r);if(!l)return r.traceEnabled&&QO(r.host,us.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,c),T$(void 0);if(!l.contents.packageJsonContent.imports)return r.traceEnabled&&QO(r.host,us.package_json_scope_0_has_no_imports_defined,l.packageDirectory),T$(void 0);const u=u$(e,r,i,o,t,l.contents.packageJsonContent.imports,l,!0);if(u)return u;r.traceEnabled&&QO(r.host,us.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,l.packageDirectory);return T$(void 0)}(r,t,n,s,o,u);if(e)return e.value&&{value:{resolved:e.value,isExternalLibraryImport:!1}}}if(4&e){const e=function(e,t,n,r,i,o){var s,a;const c=Lo(n,null==(a=(s=r.host).getCurrentDirectory)?void 0:a.call(s)),u=e$(c,r);if(!u||!u.contents.packageJsonContent.exports)return;if("string"!=typeof u.contents.packageJsonContent.name)return;const d=Po(t),p=Po(u.contents.packageJsonContent.name);if(!g(p,((e,t)=>d[t]===e)))return;const f=d.slice(p.length),_=l(f)?`.${uo}${f.join(uo)}`:".";if(PC(r.compilerOptions)&&!Lq(n))return c$(u,e,_,r,i,o);const m=5&e,h=-6&e;return c$(u,m,_,r,i,o)||c$(u,h,_,r,i,o)}(r,t,n,s,o,u);if(e)return e.value&&{value:{resolved:e.value,isExternalLibraryImport:!1}}}if(t.includes(":"))return void(A&&QO(i,us.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,t,JO(r)));A&&QO(i,us.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,t,JO(r));let a=f$(r,t,n,s,o,u);return 4&r&&(a??(a=D$(t,s))),a&&{value:a.value&&{resolved:a.value,isExternalLibraryImport:!0}}}}}function Oq(e,t){const n=qo(e,t),r=Po(n),i=ge(r);return{path:"."===i||".."===i?Vo(Mo(n)):Mo(n),parts:r}}function qq(e,t,n){if(!t.realpath)return e;const r=Mo(t.realpath(e));return n&&QO(t,us.Resolving_real_path_for_0_result_1,e,r),r}function $q(e,t,n,r,i){if(r.traceEnabled&&QO(r.host,us.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,JO(e)),!So(t)){if(!n){const e=Io(t);Iv(e,r.host)||(r.traceEnabled&&QO(r.host,us.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),n=!0)}const o=Jq(e,t,n,r);if(o){const e=i?Mq(o.path):void 0;return MO(e?r$(e,!1,r):void 0,o,r)}}if(!n){Iv(t,r.host)||(r.traceEnabled&&QO(r.host,us.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),n=!0)}if(!(32&r.features))return Yq(e,t,n,r,i)}var Qq="/node_modules/";function Lq(e){return e.includes(Qq)}function Mq(e,t){const n=Mo(e),r=n.lastIndexOf(Qq);if(-1===r)return;const i=r+Qq.length;let o=jq(n,i,t);return 64===n.charCodeAt(i)&&(o=jq(n,o,t)),n.slice(0,o)}function jq(e,t,n){const r=e.indexOf(uo,t+1);return-1===r?n?e.length:t:r}function Uq(e,t,n,r){return jO(Jq(e,t,n,r))}function Jq(e,t,n,r){const i=Vq(e,t,n,r);if(i)return i;if(!(32&r.features)){const i=Gq(t,e,"",n,r);if(i)return i}}function Vq(e,t,n,r){if(!To(t).includes("."))return;let i=UE(t);i===t&&(i=t.substring(0,t.lastIndexOf(".")));const o=t.substring(i.length);return r.traceEnabled&&QO(r.host,us.File_name_0_has_a_1_extension_stripping_it,t,o),Gq(i,e,o,n,r)}function Hq(e,t,n,r,i){if(1&e&&xo(t,TE)||4&e&&xo(t,IE)){const e=Wq(t,r,i),o=bv(t);return void 0!==e?{path:t,ext:o,resolvedUsingTsExtension:n?!Ot(n,o):void 0}:void 0}if(i.isConfigLookup&&8===e&&Eo(t,".json")){return void 0!==Wq(t,r,i)?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0}return Vq(e,t,r,i)}function Gq(e,t,n,r,i){if(!r){const t=Io(e);t&&(r=!Iv(t,i.host))}switch(n){case".mjs":case".mts":case".d.mts":return 1&t&&o(".mts",".mts"===n||".d.mts"===n)||4&t&&o(".d.mts",".mts"===n||".d.mts"===n)||2&t&&o(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return 1&t&&o(".cts",".cts"===n||".d.cts"===n)||4&t&&o(".d.cts",".cts"===n||".d.cts"===n)||2&t&&o(".cjs")||void 0;case".json":return 4&t&&o(".d.json.ts")||8&t&&o(".json")||void 0;case".tsx":case".jsx":return 1&t&&(o(".tsx",".tsx"===n)||o(".ts",".tsx"===n))||4&t&&o(".d.ts",".tsx"===n)||2&t&&(o(".jsx")||o(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return 1&t&&(o(".ts",".ts"===n||".d.ts"===n)||o(".tsx",".ts"===n||".d.ts"===n))||4&t&&o(".d.ts",".ts"===n||".d.ts"===n)||2&t&&(o(".js")||o(".jsx"))||i.isConfigLookup&&o(".json")||void 0;default:return 4&t&&!KP(e+n)&&o(`.d${n}.ts`)||void 0}function o(t,n){const o=Wq(e+t,r,i);return void 0===o?void 0:{path:o,ext:t,resolvedUsingTsExtension:!i.candidateIsFromPackageJsonField&&n}}}function Wq(e,t,n){var r;if(!(null==(r=n.compilerOptions.moduleSuffixes)?void 0:r.length))return zq(e,t,n);const i=tx(e)??"",o=i?VE(e,i):e;return u(n.compilerOptions.moduleSuffixes,(e=>zq(o+e+i,t,n)))}function zq(e,t,n){var r;if(!t){if(n.host.fileExists(e))return n.traceEnabled&&QO(n.host,us.File_0_exists_use_it_as_a_name_resolution_result,e),e;n.traceEnabled&&QO(n.host,us.File_0_does_not_exist,e)}null==(r=n.failedLookupLocations)||r.push(e)}function Yq(e,t,n,r,i=!0){const o=i?r$(t,n,r):void 0;return MO(o,i$(e,t,n,r,o&&o.contents.packageJsonContent,o&&t$(o,r)),r)}function Kq(e,t,n,r,i){if(!i&&void 0!==e.contents.resolvedEntrypoints)return e.contents.resolvedEntrypoints;let o;const s=5|(i?2:0),a=sq(t),c=Zq(null==r?void 0:r.getPackageJsonInfoCache(),n,t);c.conditions=aq(t),c.requestContainingDirectory=e.packageDirectory;const l=i$(s,e.packageDirectory,!1,c,e.contents.packageJsonContent,t$(e,c));if(o=re(o,null==l?void 0:l.path),8&a&&e.contents.packageJsonContent.exports){const r=Y([aq(t,99),aq(t,1)],ee);for(const t of r){const r={...c,failedLookupLocations:[],conditions:t,host:n},i=Xq(e,e.contents.packageJsonContent.exports,r,s);if(i)for(const e of i)o=ce(o,e.path)}}return e.contents.resolvedEntrypoints=o||!1}function Xq(e,t,n,r){let i;if(Ye(t))for(const e of t)o(e);else if("object"==typeof t&&null!==t&&a$(t))for(const e in t)o(t[e]);else o(t);return i;function o(t){var s,a;if("string"==typeof t&&Wt(t,"./"))if(t.includes("*")&&n.host.readDirectory){if(t.indexOf("*")!==t.lastIndexOf("*"))return!1;n.host.readDirectory(e.packageDirectory,function(e){const t=[];return 1&e&&t.push(...TE),2&e&&t.push(...kE),4&e&&t.push(...IE),8&e&&t.push(".json"),t}(r),void 0,[Wo(pS(t,"**/*"),".*")]).forEach((e=>{i=ce(i,{path:e,ext:Ro(e),resolvedUsingTsExtension:void 0})}))}else{const o=Po(t).slice(2);if(o.includes("..")||o.includes(".")||o.includes("node_modules"))return!1;const c=Lo(qo(e.packageDirectory,t),null==(a=(s=n.host).getCurrentDirectory)?void 0:a.call(s)),l=Hq(r,c,t,!1,n);if(l)return i=ce(i,l,((e,t)=>e.path===t.path)),!0}else if(Array.isArray(t))for(const e of t){if(o(e))return!0}else if("object"==typeof t&&null!==t)return u(Ie(t),(e=>{if("default"===e||C(n.conditions,e)||p$(n.conditions,e))return o(t[e]),!0}))}}function Zq(e,t,n){return{host:t,compilerOptions:n,traceEnabled:LO(n,t),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:e,features:0,conditions:a,requestContainingDirectory:void 0,reportDiagnostic:nt,isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1}}function e$(e,t){return m$(t.host,e,(e=>r$(e,!1,t)))}function t$(e,t){return void 0===e.contents.versionPaths&&(e.contents.versionPaths=ZO(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function n$(e,t){return void 0===e.contents.peerDependencies&&(e.contents.peerDependencies=function(e,t){const n=KO(e.contents.packageJsonContent,"peerDependencies","object",t);if(void 0===n)return;t.traceEnabled&&QO(t.host,us.package_json_has_a_peerDependencies_field);const r=qq(e.packageDirectory,t.host,t.traceEnabled),i=r.substring(0,r.lastIndexOf("node_modules")+12)+uo;let o="";for(const e in n)if(De(n,e)){const n=r$(i+e,!1,t);if(n){const r=n.contents.packageJsonContent.version;o+=`+${e}@${r}`,t.traceEnabled&&QO(t.host,us.Found_peerDependency_0_with_1_version,e,r)}else t.traceEnabled&&QO(t.host,us.Failed_to_find_peerDependency_0,e)}return o}(e,t)||!1),e.contents.peerDependencies||void 0}function r$(e,t,n){var r,i,o,s,a,c;const{host:l,traceEnabled:u}=n,d=qo(e,"package.json");if(t)return void(null==(r=n.failedLookupLocations)||r.push(d));const p=null==(i=n.packageJsonInfoCache)?void 0:i.getPackageJsonInfo(d);if(void 0!==p)return uq(p)?(u&&QO(l,us.File_0_exists_according_to_earlier_cached_lookups,d),null==(o=n.affectingLocations)||o.push(d),p.packageDirectory===e?p:{packageDirectory:e,contents:p.contents}):(p.directoryExists&&u&&QO(l,us.File_0_does_not_exist_according_to_earlier_cached_lookups,d),void(null==(s=n.failedLookupLocations)||s.push(d)));const f=Iv(e,l);if(f&&l.fileExists(d)){const t=Dv(d,l);u&&QO(l,us.Found_package_json_at_0,d);const r={packageDirectory:e,contents:{packageJsonContent:t,versionPaths:void 0,resolvedEntrypoints:void 0,peerDependencies:void 0}};return n.packageJsonInfoCache&&!n.packageJsonInfoCache.isReadonly&&n.packageJsonInfoCache.setPackageJsonInfo(d,r),null==(a=n.affectingLocations)||a.push(d),r}f&&u&&QO(l,us.File_0_does_not_exist,d),n.packageJsonInfoCache&&!n.packageJsonInfoCache.isReadonly&&n.packageJsonInfoCache.setPackageJsonInfo(d,{packageDirectory:e,directoryExists:f}),null==(c=n.failedLookupLocations)||c.push(d)}function i$(e,t,n,r,i,s){let a;i&&(a=r.isConfigLookup?function(e,t,n){return XO(e,"tsconfig",t,n)}(i,t,r):4&e&&function(e,t,n){return XO(e,"typings",t,n)||XO(e,"types",t,n)}(i,t,r)||7&e&&function(e,t,n){return XO(e,"main",t,n)}(i,t,r)||void 0);const c=(e,t,n,r)=>{const o=Hq(e,t,void 0,n,r);if(o)return jO(o);const s=4===e?5:e,a=r.features,c=r.candidateIsFromPackageJsonField;r.candidateIsFromPackageJsonField=!0,"module"!==(null==i?void 0:i.type)&&(r.features&=-33);const l=$q(s,t,n,r,!1);return r.features=a,r.candidateIsFromPackageJsonField=c,l},l=a?!Iv(Io(a),r.host):void 0,u=n||!Iv(t,r.host),d=qo(t,r.isConfigLookup?"tsconfig":"index");if(s&&(!a||es(t,a))){const n=rs(t,a||d,!1);r.traceEnabled&&QO(r.host,us.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,s.version,o,n);const i=zE(s.paths),p=A$(e,n,t,s.paths,i,c,l||u,r);if(p)return UO(p.value)}const p=a&&UO(c(e,a,l,r));return p||(32&r.features?void 0:Jq(e,d,u,r))}function o$(e,t){return 2&e&&(".js"===t||".jsx"===t||".mjs"===t||".cjs"===t)||1&e&&(".ts"===t||".tsx"===t||".mts"===t||".cts"===t)||4&e&&(".d.ts"===t||".d.mts"===t||".d.cts"===t)||8&e&&".json"===t||!1}function s$(e){let t=e.indexOf(uo);return"@"===e[0]&&(t=e.indexOf(uo,t+1)),-1===t?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function a$(e){return g(Ie(e),(e=>Wt(e,".")))}function c$(e,t,n,r,i,o){if(e.contents.packageJsonContent.exports){if("."===n){let s;if("string"==typeof e.contents.packageJsonContent.exports||Array.isArray(e.contents.packageJsonContent.exports)||"object"==typeof e.contents.packageJsonContent.exports&&!J(Ie(e.contents.packageJsonContent.exports),(e=>Wt(e,".")))?s=e.contents.packageJsonContent.exports:De(e.contents.packageJsonContent.exports,".")&&(s=e.contents.packageJsonContent.exports["."]),s){return d$(t,r,i,o,n,e,!1)(s,"",!1,".")}}else if(a$(e.contents.packageJsonContent.exports)){if("object"!=typeof e.contents.packageJsonContent.exports)return r.traceEnabled&&QO(r.host,us.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),T$(void 0);const s=u$(t,r,i,o,n,e.contents.packageJsonContent.exports,e,!1);if(s)return s}return r.traceEnabled&&QO(r.host,us.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),T$(void 0)}}function l$(e,t){const n=e.indexOf("*"),r=t.indexOf("*"),i=-1===n?e.length:n+1,o=-1===r?t.length:r+1;return i>o?-1:o>i||-1===n?1:-1===r||e.length>t.length?-1:t.length>e.length?1:0}function u$(e,t,n,r,i,o,s,a){const c=d$(e,t,n,r,i,s,a);if(!Ot(i,uo)&&!i.includes("*")&&De(o,i)){return c(o[i],"",!1,i)}const l=le(S(Ie(o),(e=>function(e){const t=e.indexOf("*");return-1!==t&&t===e.lastIndexOf("*")}(e)||Ot(e,"/"))),l$);for(const e of l){if(16&t.features&&u(e,i)){const t=o[e],n=e.indexOf("*");return c(t,i.substring(e.substring(0,n).length,i.length-(e.length-1-n)),!0,e)}if(Ot(e,"*")&&Wt(i,e.substring(0,e.length-1))){return c(o[e],i.substring(e.length-1),!0,e)}if(Wt(i,e)){return c(o[e],i.substring(e.length),!1,e)}}function u(e,t){if(Ot(e,"*"))return!1;const n=e.indexOf("*");return-1!==n&&(Wt(t,e.substring(0,n))&&Ot(t,e.substring(n+1)))}}function d$(e,t,n,r,i,o,s){return function a(c,u,d,p){if("string"==typeof c){if(!d&&u.length>0&&!Ot(c,"/"))return t.traceEnabled&&QO(t.host,us.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,o.packageDirectory,i),T$(void 0);if(!Wt(c,"./")){if(s&&!Wt(c,"../")&&!Wt(c,"/")&&!go(c)){const i=d?c.replace(/\*/g,u):c+u;F$(t,us.Using_0_subpath_1_with_target_2,"imports",p,i),F$(t,us.Resolving_module_0_from_1,i,o.packageDirectory+"/");const s=Bq(t.features,i,o.packageDirectory+"/",t.compilerOptions,t.host,n,e,!1,r,t.conditions);return T$(s.resolvedModule?{path:s.resolvedModule.resolvedFileName,extension:s.resolvedModule.extension,packageId:s.resolvedModule.packageId,originalPath:s.resolvedModule.originalPath,resolvedUsingTsExtension:s.resolvedModule.resolvedUsingTsExtension}:void 0)}return t.traceEnabled&&QO(t.host,us.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,o.packageDirectory,i),T$(void 0)}const a=(vo(c)?Po(c).slice(1):Po(c)).slice(1);if(a.includes("..")||a.includes(".")||a.includes("node_modules"))return t.traceEnabled&&QO(t.host,us.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,o.packageDirectory,i),T$(void 0);const l=qo(o.packageDirectory,c),m=Po(u);if(m.includes("..")||m.includes(".")||m.includes("node_modules"))return t.traceEnabled&&QO(t.host,us.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,o.packageDirectory,i),T$(void 0);t.traceEnabled&&QO(t.host,us.Using_0_subpath_1_with_target_2,s?"imports":"exports",p,d?c.replace(/\*/g,u):c+u);const h=f(d?l.replace(/\*/g,u):l+u),g=function(n,r,i,s){var a,c,l,u;if(!t.isConfigLookup&&(t.compilerOptions.declarationDir||t.compilerOptions.outDir)&&!n.includes("/node_modules/")&&(!t.compilerOptions.configFile||es(o.packageDirectory,f(t.compilerOptions.configFile.fileName),!R$(t)))){const p=qA({useCaseSensitiveFileNames:()=>R$(t)}),_=[];if(t.compilerOptions.rootDir||t.compilerOptions.composite&&t.compilerOptions.configFilePath){const e=f(Yj(t.compilerOptions,(()=>[]),(null==(c=(a=t.host).getCurrentDirectory)?void 0:c.call(a))||"",p));_.push(e)}else if(t.requestContainingDirectory){const e=f(qo(t.requestContainingDirectory,"index.ts")),n=f(Yj(t.compilerOptions,(()=>[e,f(i)]),(null==(u=(l=t.host).getCurrentDirectory)?void 0:u.call(l))||"",p));_.push(n);let r=Vo(n);for(;r&&r.length>1;){const e=Po(r);e.pop();const t=No(e);_.unshift(t),r=Vo(t)}}_.length>1&&t.reportDiagnostic(Xb(s?us.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:us.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,""===r?".":r,i));for(const r of _){const i=d(r);for(const s of i)if(es(s,n,!R$(t))){const i=qo(r,n.slice(s.length+1)),a=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const n of a)if(Eo(i,n)){const r=HA(i);for(const s of r){if(!o$(e,s))continue;const r=Go(i,s,n,!R$(t));if(t.host.fileExists(r))return T$(MO(o,Hq(e,r,void 0,!1,t),t))}}}}}return;function d(e){var n,r;const i=t.compilerOptions.configFile?(null==(r=(n=t.host).getCurrentDirectory)?void 0:r.call(n))||"":e,o=[];return t.compilerOptions.declarationDir&&o.push(f(_(i,t.compilerOptions.declarationDir))),t.compilerOptions.outDir&&t.compilerOptions.outDir!==t.compilerOptions.declarationDir&&o.push(f(_(i,t.compilerOptions.outDir))),o}}(h,u,qo(o.packageDirectory,"package.json"),s);return g||T$(MO(o,Hq(e,h,c,!1,t),t))}if("object"==typeof c&&null!==c){if(!Array.isArray(c)){F$(t,us.Entering_conditional_exports);for(const e of Ie(c))if("default"===e||t.conditions.includes(e)||p$(t.conditions,e)){F$(t,us.Matched_0_condition_1,s?"imports":"exports",e);const n=c[e],r=a(n,u,d,p);if(r)return F$(t,us.Resolved_under_condition_0,e),F$(t,us.Exiting_conditional_exports),r;F$(t,us.Failed_to_resolve_under_condition_0,e)}else F$(t,us.Saw_non_matching_condition_0,e);return void F$(t,us.Exiting_conditional_exports)}if(!l(c))return t.traceEnabled&&QO(t.host,us.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,o.packageDirectory,i),T$(void 0);for(const e of c){const t=a(e,u,d,p);if(t)return t}}else if(null===c)return t.traceEnabled&&QO(t.host,us.package_json_scope_0_explicitly_maps_specifier_1_to_null,o.packageDirectory,i),T$(void 0);t.traceEnabled&&QO(t.host,us.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,o.packageDirectory,i);return T$(void 0);function f(e){var n,r;return void 0===e?e:Lo(e,null==(r=(n=t.host).getCurrentDirectory)?void 0:r.call(n))}function _(e,t){return Vo(qo(e,t))}}}function p$(e,t){if(!e.includes("types"))return!1;if(!Wt(t,"types@"))return!1;const n=bn.tryParse(t.substring(6));return!!n&&n.test(o)}function f$(e,t,n,r,i,o){return _$(e,t,n,r,!1,i,o)}function _$(e,t,n,r,i,o,s){const a=0===r.features?void 0:32&r.features?99:1,c=5&e,l=-6&e;if(c){F$(r,us.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,JO(c));const e=u(c);if(e)return e}if(l&&!i)return F$(r,us.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,JO(l)),u(l);function u(e){return m$(r.host,Bo(n),(n=>{if("node_modules"!==To(n)){const c=S$(o,t,a,n,s,r);return c||T$(h$(e,t,n,r,i,o,s))}}))}}function m$(e,t,n){var r;const i=null==(r=null==e?void 0:e.getGlobalTypingsCacheLocation)?void 0:r.call(e);return as(t,(e=>{const t=n(e);return void 0!==t?t:e!==i&&void 0}))||void 0}function h$(e,t,n,r,i,o,s){const a=qo(n,"node_modules"),c=Iv(a,r.host);if(!c&&r.traceEnabled&&QO(r.host,us.Directory_0_does_not_exist_skipping_all_lookups_in_it,a),!i){const n=g$(e,t,a,c,r,o,s);if(n)return n}if(4&e){const e=qo(a,"@types");let n=c;return c&&!Iv(e,r.host)&&(r.traceEnabled&&QO(r.host,us.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),n=!1),g$(4,v$(t,r),e,n,r,o,s)}}function g$(e,t,n,r,i,s,c){var l,u;const d=Mo(qo(n,t)),{packageName:p,rest:f}=s$(t),_=qo(n,p);let m,h=r$(d,!r,i);if(""!==f&&h&&(!(8&i.features)||!De((null==(l=m=r$(_,!r,i))?void 0:l.contents.packageJsonContent)??a,"exports"))){const t=Jq(e,d,!r,i);if(t)return jO(t);const n=i$(e,d,!r,i,h.contents.packageJsonContent,t$(h,i));return MO(h,n,i)}const g=(e,t,n,r)=>{let i=(f||!(32&r.features))&&Jq(e,t,n,r)||i$(e,t,n,r,h&&h.contents.packageJsonContent,h&&t$(h,r));return!i&&h&&(void 0===h.contents.packageJsonContent.exports||null===h.contents.packageJsonContent.exports)&&32&r.features&&(i=Jq(e,qo(t,"index.js"),n,r)),MO(h,i,r)};if(""!==f&&(h=m??r$(_,!r,i)),h&&(i.resolvedPackageDirectory=!0),h&&h.contents.packageJsonContent.exports&&8&i.features)return null==(u=c$(h,e,qo(".",f),i,s,c))?void 0:u.value;const A=""!==f&&h?t$(h,i):void 0;if(A){i.traceEnabled&&QO(i.host,us.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,A.version,o,f);const t=r&&Iv(_,i.host),n=zE(A.paths),s=A$(e,f,_,A.paths,n,g,!t,i);if(s)return s.value}return g(e,d,!r,i)}function A$(e,t,n,r,i,o,s,a){const c=ix(i,t);if(c){const i=Xe(c)?void 0:Ht(c,t),l=Xe(c)?c:Vt(c);a.traceEnabled&&QO(a.host,us.Module_name_0_matched_pattern_1,t,l);const d=u(r[l],(t=>{const r=i?pS(t,i):t,c=Mo(qo(n,r));a.traceEnabled&&QO(a.host,us.Trying_substitution_0_candidate_module_location_Colon_1,t,r);const l=tx(t);if(void 0!==l){const e=Wq(c,s,a);if(void 0!==e)return jO({path:e,ext:l,resolvedUsingTsExtension:void 0})}return o(e,c,s||!Iv(Io(c),a.host),a)}));return{value:d}}}var y$="__";function v$(e,t){const n=C$(e);return t.traceEnabled&&n!==e&&QO(t.host,us.Scoped_package_detected_looking_in_0,n),n}function b$(e){return`@types/${C$(e)}`}function C$(e){if(Wt(e,"@")){const t=e.replace(uo,y$);if(t!==e)return t.slice(1)}return e}function E$(e){const t=zt(e,"@types/");return t!==e?x$(t):e}function x$(e){return e.includes(y$)?"@"+e.replace(y$,uo):e}function S$(e,t,n,r,i,o){const s=e&&e.getFromNonRelativeNameCache(t,n,r,i);if(s)return o.traceEnabled&&QO(o.host,us.Resolution_for_module_0_was_found_in_cache_from_location_1,t,r),o.resultFromCache=s,{value:s.resolvedModule&&{path:s.resolvedModule.resolvedFileName,originalPath:s.resolvedModule.originalPath||!0,extension:s.resolvedModule.extension,packageId:s.resolvedModule.packageId,resolvedUsingTsExtension:s.resolvedModule.resolvedUsingTsExtension}}}function k$(e,t,n,r,i,o){const s=LO(n,r),a=[],c=[],l=Io(t),u=[],d={compilerOptions:n,host:r,traceEnabled:s,failedLookupLocations:a,affectingLocations:c,packageJsonInfoCache:i,features:0,conditions:[],requestContainingDirectory:l,reportDiagnostic:e=>{u.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1},p=f(5)||f(2|(n.resolveJsonModule?8:0));return HO(e,p&&p.value,(null==p?void 0:p.value)&&Lq(p.value.path),a,c,u,d,i);function f(t){const n=wq(t,e,l,Uq,d);if(n)return{value:n};if(Sa(e)){const n=Mo(qo(l,e));return T$(Uq(t,n,!1,d))}{const n=m$(d.host,l,(n=>{const r=S$(i,e,void 0,n,o,d);if(r)return r;const s=Mo(qo(n,e));return T$(Uq(t,s,!1,d))}));if(n)return n;if(5&t){let n=function(e,t,n){return _$(4,e,t,n,!0,void 0,void 0)}(e,l,d);return 4&t&&(n??(n=D$(e,d))),n}}}}function D$(e,t){if(t.compilerOptions.typeRoots)for(const n of t.compilerOptions.typeRoots){const r=iq(n,e,t),i=Iv(n,t.host);!i&&t.traceEnabled&&QO(t.host,us.Directory_0_does_not_exist_skipping_all_lookups_in_it,n);const o=Jq(4,r,!i,t);if(o){const e=Mq(o.path);return T$(MO(e?r$(e,!1,t):void 0,o,t))}const s=Yq(4,r,!i,t);if(s)return T$(s)}}function w$(e,t){return AC(e)||!!t&&KP(t)}function I$(e,t,n,r,i,o){const s=LO(n,r);s&&QO(r,us.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,t,e,i);const a=[],c=[],l=[],u={compilerOptions:n,host:r,traceEnabled:s,failedLookupLocations:a,affectingLocations:c,packageJsonInfoCache:o,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:e=>{l.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1};return GO(h$(4,e,i,u,!1,void 0,void 0),!0,a,c,l,u.resultFromCache,void 0)}function T$(e){return void 0!==e?{value:e}:void 0}function F$(e,t,...n){e.traceEnabled&&QO(e.host,t,...n)}function R$(e){return!e.host.useCaseSensitiveFileNames||("boolean"==typeof e.host.useCaseSensitiveFileNames?e.host.useCaseSensitiveFileNames:e.host.useCaseSensitiveFileNames())}var P$=(e=>(e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",e))(P$||{});function N$(e,t){return e.body&&!e.body.parent&&(wx(e.body,e),Ix(e.body,!1)),e.body?B$(e.body,t):1}function B$(e,t=new Map){const n=JQ(e);if(t.has(n))return t.get(n)||0;t.set(n,void 0);const r=function(e,t){switch(e.kind){case 264:case 265:return 0;case 266:if(t_(e))return 2;break;case 272:case 271:if(!wy(e,32))return 0;break;case 278:const n=e;if(!n.moduleSpecifier&&n.exportClause&&279===n.exportClause.kind){let e=0;for(const r of n.exportClause.elements){const n=O$(r,t);if(n>e&&(e=n),1===e)return e}return e}break;case 268:{let n=0;return OP(e,(e=>{const r=B$(e,t);switch(r){case 0:return;case 2:return void(n=2);case 1:return n=1,!0;default:un.assertNever(r)}})),n}case 267:return N$(e,t);case 80:if(4096&e.flags)return 0}return 1}(e,t);return t.set(n,r),r}function O$(e,t){const n=e.propertyName||e.name;if(80!==n.kind)return 1;let r=e.parent;for(;r;){if(DI(r)||eT(r)||JT(r)){const e=r.statements;let i;for(const o of e)if(bc(o,n)){o.parent||(wx(o,r),Ix(o,!1));const e=B$(o,t);if((void 0===i||e>i)&&(i=e),1===i)return i;271===o.kind&&(i=1)}if(void 0!==i)return i}r=r.parent}return 1}var q$=(e=>(e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor",e))(q$||{});function $$(e,t,n){return un.attachFlowNodeDebugInfo({flags:e,id:0,node:t,antecedent:n})}var Q$=M$();function L$(e,t){er("beforeBind"),Q$(e,t),er("afterBind"),tr("Bind","beforeBind","afterBind")}function M$(){var e,t,n,r,i,o,s,a,c,d,p,f,_,m,h,A,y,v,b,E,x,S,k,D,w,I,T=!1,F=0,R=$$(1,void 0,void 0),P=$$(1,void 0,void 0),N=function(){return GR((function(e,t){if(t){t.stackIndex++,wx(e,r);const n=D;Je(e);const i=r;r=e,t.skip=!1,t.inStrictModeStack[t.stackIndex]=n,t.parentStack[t.stackIndex]=i}else t={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};const n=e.operatorToken.kind;if(Zy(n)||Ky(n)){if(fe(e)){const t=ee(),n=f,r=S;S=!1,Ce(e,t,t),f=S?de(t):n,S||(S=r)}else Ce(e,A,y);t.skip=!0}return t}),(function(t,n,r){if(!n.skip){const n=e(t);return 28===r.operatorToken.kind&&ye(t),n}}),(function(e,t,n){t.skip||Le(e)}),(function(t,n,r){if(!n.skip){const n=e(t);return 28===r.operatorToken.kind&&ye(t),n}}),(function(e,t){if(!t.skip){const t=e.operatorToken.kind;if(tv(t)&&!Kh(e)&&(be(e.left),64===t&&212===e.left.kind)){Z(e.left.expression)&&(f=le(256,f,e))}}const n=t.inStrictModeStack[t.stackIndex],i=t.parentStack[t.stackIndex];void 0!==n&&(D=n);void 0!==i&&(r=i);t.skip=!1,t.stackIndex--}),void 0);function e(e){if(e&&uI(e)&&!ov(e))return e;Le(e)}}();return function(l,u){var g,b;e=l,n=yC(t=u),D=function(e,t){return!(!LC(t,"alwaysStrict")||e.isDeclarationFile)||!!e.externalModuleIndicator}(e,u),I=new Set,F=0,w=$b.getSymbolConstructor(),un.attachFlowNodeDebugInfo(R),un.attachFlowNodeDebugInfo(P),e.locals||(null==(g=Hn)||g.push(Hn.Phase.Bind,"bindSourceFile",{path:e.path},!0),Le(e),null==(b=Hn)||b.pop(),e.symbolCount=F,e.classifiableNames=I,function(){if(!c)return;const t=i,n=a,o=s,l=r,u=f;for(const t of c){const n=t.parent.parent;i=If(n)||e,s=Tf(n)||e,f=$$(2,void 0,void 0),r=t,Le(t.typeExpression);const o=Sc(t);if((bF(t)||!t.fullName)&&o&&uv(o.parent)){const n=ot(o.parent);if(n){rt(e.symbol,o.parent,n,!!dc(o,(e=>zw(e)&&"prototype"===e.name.escapedText)),!1);const r=i;switch(dh(o.parent)){case 1:case 2:i=Zf(e)?e:void 0;break;case 4:i=o.parent.expression;break;case 3:i=o.parent.expression.name;break;case 5:i=U$(e,o.parent.expression)?e:zw(o.parent.expression)?o.parent.expression.name:o.parent.expression;break;case 0:return un.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}i&&M(t,524288,788968),i=r}}else bF(t)||!t.fullName||80===t.fullName.kind?(r=t.parent,Pe(t,524288,788968)):Le(t.fullName)}i=t,a=n,s=o,r=l,f=u}(),function(){if(void 0===p)return;const t=i,n=a,o=s,c=r,l=f;for(const t of p){const n=Jh(t),o=n?If(n):void 0,a=n?Tf(n):void 0;i=o||e,s=a||e,f=$$(2,void 0,void 0),r=t,Le(t.importClause)}i=t,a=n,s=o,r=c,f=l}());e=void 0,t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,s=void 0,a=void 0,c=void 0,p=void 0,d=!1,f=void 0,_=void 0,m=void 0,h=void 0,A=void 0,y=void 0,v=void 0,E=void 0,x=!1,S=!1,T=!1,k=0};function B(t,n,...r){return Lf(Ap(t)||e,t,n,...r)}function O(e,t){return F++,new w(e,t)}function q(e,t,n){e.flags|=n,t.symbol=e,e.declarations=ce(e.declarations,t),1955&n&&!e.exports&&(e.exports=Wd()),6240&n&&!e.members&&(e.members=Wd()),e.constEnumOnlyModule&&304&e.flags&&(e.constEnumOnlyModule=!1),111551&n&&mh(e,t)}function $(e){if(277===e.kind)return e.isExportEquals?"export=":"default";const t=Sc(e);if(t){if(cf(e)){const n=jg(t);return ff(e)?"__global":`"${n}"`}if(167===t.kind){const e=t.expression;if(Og(e))return _c(e.text);if(qg(e))return Is(e.operator)+e.operand.text;un.fail("Only computed properties with literal names have declaration names")}if(JD(t)){const n=Y_(e);if(!n)return;return Jg(n.symbol,t.escapedText)}return BT(t)?iS(t):Mg(t)?Ug(t):void 0}switch(e.kind){case 176:return"__constructor";case 184:case 179:case 323:return"__call";case 185:case 180:return"__new";case 181:return"__index";case 278:return"__export";case 307:return"export=";case 226:if(2===th(e))return"export=";un.fail("Unknown binary declaration kind");break;case 317:return Dh(e)?"__new":"__call";case 169:un.assert(317===e.parent.kind,"Impossible parameter parent kind",(()=>`parent is: ${un.formatSyntaxKind(e.parent.kind)}, expected JSDocFunctionType`));return"arg"+e.parent.parameters.indexOf(e)}}function Q(e){return Ec(e)?Rf(e.name):mc(un.checkDefined($(e)))}function L(t,n,r,i,o,s,a){un.assert(a||!$g(r));const c=wy(r,2048)||AT(r)&&Gp(r.name),d=a?"__computed":c&&n?"default":$(r);let p;if(void 0===d)p=O(0,"__missing");else if(p=t.get(d),2885600&i&&I.add(d),p){if(s&&!p.isReplaceableByMethod)return p;if(p.flags&o)if(p.isReplaceableByMethod)t.set(d,p=O(0,d));else if(!(3&i&&67108864&p.flags)){Ec(r)&&wx(r.name,r);let t=2&p.flags?us.Cannot_redeclare_block_scoped_variable_0:us.Duplicate_identifier_0,n=!0;(384&p.flags||384&i)&&(t=us.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,n=!1);let o=!1;l(p.declarations)&&(c||p.declarations&&p.declarations.length&&277===r.kind&&!r.isExportEquals)&&(t=us.A_module_cannot_have_multiple_default_exports,n=!1,o=!0);const s=[];KI(r)&&kp(r.type)&&wy(r,32)&&2887656&p.flags&&s.push(B(r,us.Did_you_mean_0,`export type { ${mc(r.name.escapedText)} }`));const a=Sc(r)||r;u(p.declarations,((r,i)=>{const c=Sc(r)||r,l=n?B(c,t,Q(r)):B(c,t);e.bindDiagnostics.push(o?sx(l,B(a,0===i?us.Another_export_default_is_here:us.and_here)):l),o&&s.push(B(c,us.The_first_export_default_is_here))}));const f=n?B(a,t,Q(r)):B(a,t);e.bindDiagnostics.push(sx(f,...s)),p=O(0,d)}}else t.set(d,p=O(0,d)),s&&(p.isReplaceableByMethod=!0);return q(p,r,i),p.parent?un.assert(p.parent===n,"Existing symbol parent should match new one"):p.parent=n,p}function M(e,t,n){const r=!!(32&ic(e))||function(e){e.parent&&ZI(e)&&(e=e.parent);if(!wh(e))return!1;if(!bF(e)&&e.fullName)return!0;const t=Sc(e);return!!t&&(!(!uv(t.parent)||!ot(t.parent))||!!(ud(t.parent)&&32&ic(t.parent)))}(e);if(2097152&t)return 281===e.kind||271===e.kind&&r?L(i.symbol.exports,i.symbol,e,t,n):(un.assertNode(i,ad),L(i.locals,void 0,e,t,n));if(wh(e)&&un.assert(Tm(e)),!cf(e)&&(r||128&i.flags)){if(!ad(i)||!i.locals||wy(e,2048)&&!$(e))return L(i.symbol.exports,i.symbol,e,t,n);const r=111551&t?1048576:0,o=L(i.locals,void 0,e,r,n);return o.exportSymbol=L(i.symbol.exports,i.symbol,e,t,n),e.localSymbol=o,o}return un.assertNode(i,ad),L(i.locals,void 0,e,t,n)}function j(e){U(e,(e=>262===e.kind?Le(e):void 0)),U(e,(e=>262!==e.kind?Le(e):void 0))}function U(e,t=Le){void 0!==e&&u(e,t)}function G(e){OP(e,Le,U)}function W(e){const n=T;if(T=!1,function(e){if(!(1&f.flags))return!1;if(f===R){const n=pd(e)&&242!==e.kind||263===e.kind||j$(e,t)||267===e.kind&&function(e){const n=N$(e);return 1===n||2===n&&TC(t)}(e);if(n&&(f=P,!t.allowUnreachableCode)){const n=qC(t)&&!(33554432&e.flags)&&(!wI(e)||!!(7&sc(e.declarationList))||e.declarationList.declarations.some((e=>!!e.initializer)));!function(e,t,n){if(fd(e)&&r(e)&&DI(e.parent)){const{statements:t}=e.parent,i=ox(t,e);V(i,r,((e,t)=>n(i[e],i[t-1])))}else n(e,e);function r(e){return!(WI(e)||i(e)||wI(e)&&!(7&sc(e))&&e.declarationList.declarations.some((e=>!e.initializer)))}function i(e){switch(e.kind){case 264:case 265:return!0;case 267:return 1!==N$(e);case 266:return!j$(e,t);default:return!1}}}(e,t,((e,t)=>Qe(n,e,t,us.Unreachable_code_detected)))}}return!0}(e))return G(e),Me(e),void(T=n);switch(e.kind>=243&&e.kind<=259&&(!t.allowUnreachableCode||253===e.kind)&&(e.flowNode=f),e.kind){case 247:!function(e){const t=ge(e,te()),n=ee(),r=ee();oe(t,f),f=t,me(e.expression,n,r),f=de(n),he(e.statement,r,t),oe(t,f),f=de(r)}(e);break;case 246:!function(e){const t=te(),n=ge(e,ee()),r=ee();oe(t,f),f=t,he(e.statement,r,n),oe(n,f),f=de(n),me(e.expression,t,r),f=de(r)}(e);break;case 248:!function(e){const t=ge(e,te()),n=ee(),r=ee();Le(e.initializer),oe(t,f),f=t,me(e.condition,n,r),f=de(n),he(e.statement,r,t),Le(e.incrementor),oe(t,f),f=de(r)}(e);break;case 249:case 250:!function(e){const t=ge(e,te()),n=ee();Le(e.expression),oe(t,f),f=t,250===e.kind&&Le(e.awaitModifier);oe(n,f),Le(e.initializer),261!==e.initializer.kind&&be(e.initializer);he(e.statement,n,t),oe(t,f),f=de(n)}(e);break;case 245:!function(e){const t=ee(),n=ee(),r=ee();me(e.expression,t,n),f=de(t),Le(e.thenStatement),oe(r,f),f=de(n),Le(e.elseStatement),oe(r,f),f=de(r)}(e);break;case 253:case 257:!function(e){Le(e.expression),253===e.kind&&(x=!0,h&&oe(h,f));f=R,S=!0}(e);break;case 252:case 251:!function(e){if(Le(e.label),e.label){const t=function(e){for(let t=E;t;t=t.next)if(t.name===e)return t;return}(e.label.escapedText);t&&(t.referenced=!0,Ae(e,t.breakTarget,t.continueTarget))}else Ae(e,_,m)}(e);break;case 258:!function(e){const t=h,n=v,r=ee(),i=ee();let o=ee();e.finallyBlock&&(h=i);oe(o,f),v=o,Le(e.tryBlock),oe(r,f),e.catchClause&&(f=de(o),o=ee(),oe(o,f),v=o,Le(e.catchClause),oe(r,f));if(h=t,v=n,e.finallyBlock){const t=ee();t.antecedent=H(H(r.antecedent,o.antecedent),i.antecedent),f=t,Le(e.finallyBlock),1&f.flags?f=R:(h&&i.antecedent&&oe(h,ne(t,i.antecedent,f)),v&&o.antecedent&&oe(v,ne(t,o.antecedent,f)),f=r.antecedent?ne(t,r.antecedent,f):R)}else f=de(r)}(e);break;case 255:!function(e){const t=ee();Le(e.expression);const n=_,r=b;_=t,b=f,Le(e.caseBlock),oe(t,f);const i=u(e.caseBlock.clauses,(e=>297===e.kind));e.possiblyExhaustive=!i&&!t.antecedent,i||oe(t,ae(b,e,0,0));_=n,b=r,f=de(t)}(e);break;case 269:!function(e){const n=e.clauses,r=112===e.parent.expression.kind||z(e.parent.expression);let i=R;for(let o=0;ohT(e)||mT(e)))}(e)?e.flags|=128:e.flags&=-129}function Fe(e){const t=N$(e),n=0!==t;return Ie(e,n?512:1024,n?110735:0),t}function Re(e,t,n){const r=O(t,n);return 106508&t&&(r.parent=i.symbol),q(r,e,t),r}function Pe(e,t,n){switch(s.kind){case 267:M(e,t,n);break;case 307:if(Zf(i)){M(e,t,n);break}default:un.assertNode(s,ad),s.locals||(s.locals=Wd(),we(s)),L(s.locals,void 0,e,t,n)}}function Ne(t){if(!(e.parseDiagnostics.length||33554432&t.flags||16777216&t.flags||pg(t))){const n=gc(t);if(void 0===n)return;D&&n>=119&&n<=127?e.bindDiagnostics.push(B(t,function(t){if(Y_(t))return us.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(e.externalModuleIndicator)return us.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return us.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(t),Rf(t))):135===n?UP(e)&&nm(t)?e.bindDiagnostics.push(B(t,us.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,Rf(t))):65536&t.flags&&e.bindDiagnostics.push(B(t,us.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,Rf(t))):127===n&&16384&t.flags&&e.bindDiagnostics.push(B(t,us.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,Rf(t)))}}function Be(t,n){if(n&&80===n.kind){const r=n;if(function(e){return UD(e)&&("eval"===e.escapedText||"arguments"===e.escapedText)}(r)){const i=Kf(e,n);e.bindDiagnostics.push(Yb(e,i.start,i.length,function(t){if(Y_(t))return us.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode;if(e.externalModuleIndicator)return us.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return us.Invalid_use_of_0_in_strict_mode}(t),hc(r)))}}}function Oe(e){!D||33554432&e.flags||Be(e,e.name)}function qe(t){if(n<2&&307!==s.kind&&267!==s.kind&&!iu(s)){const n=Kf(e,t);e.bindDiagnostics.push(Yb(e,n.start,n.length,function(t){return Y_(t)?us.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?us.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:us.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5}(t)))}}function $e(t,n,...r){const i=zf(e,t.pos);e.bindDiagnostics.push(Yb(e,i.start,i.length,n,...r))}function Qe(t,n,r,i){!function(t,n,r){const i=Yb(e,n.pos,n.end-n.pos,r);t?e.bindDiagnostics.push(i):e.bindSuggestionDiagnostics=re(e.bindSuggestionDiagnostics,{...i,category:2})}(t,{pos:Lp(n,e),end:r.end},i)}function Le(t){if(!t)return;wx(t,r),Hn&&(t.tracingPath=e.path);const n=D;if(Je(t),t.kind>165){const e=r;r=t;const n=J$(t);0===n?W(t):function(e,t){const n=i,r=o,a=s;if(1&t?(219!==e.kind&&(o=i),i=s=e,32&t&&(i.locals=Wd(),we(i))):2&t&&(s=e,32&t&&(s.locals=void 0)),4&t){const n=f,r=_,i=m,o=h,s=v,a=E,c=x,l=16&t&&!wy(e,1024)&&!e.asteriskToken&&!!om(e)||175===e.kind;l||(f=$$(2,void 0,void 0),144&t&&(f.node=e)),h=l||176===e.kind||Tm(e)&&(262===e.kind||218===e.kind)?ee():void 0,v=void 0,_=void 0,m=void 0,E=void 0,x=!1,W(e),e.flags&=-5633,!(1&f.flags)&&8&t&&Dp(e.body)&&(e.flags|=512,x&&(e.flags|=1024),e.endFlowNode=f),307===e.kind&&(e.flags|=k,e.endFlowNode=f),h&&(oe(h,f),f=de(h),(176===e.kind||175===e.kind||Tm(e)&&(262===e.kind||218===e.kind))&&(e.returnFlowNode=f)),l||(f=n),_=r,m=i,h=o,v=s,E=a,x=c}else 64&t?(d=!1,W(e),un.assertNotNode(e,UD),e.flags=d?256|e.flags:-257&e.flags):W(e);i=n,o=r,s=a}(t,n),r=e}else{const e=r;1===t.kind&&(r=t),Me(t),r=e}D=n}function Me(e){if(wd(e))if(Tm(e))for(const t of e.jsDoc)Le(t);else for(const t of e.jsDoc)wx(t,e),Ix(t,!1)}function je(e){if(!D)for(const t of e){if(!p_(t))return;if(Ue(t))return void(D=!0)}}function Ue(t){const n=Up(e,t.expression);return'"use strict"'===n||"'use strict'"===n}function Je(n){switch(n.kind){case 80:if(4096&n.flags){let e=n.parent;for(;e&&!wh(e);)e=e.parent;Pe(e,524288,788968);break}case 110:return f&&(Ju(n)||304===r.kind)&&(n.flowNode=f),Ne(n);case 166:f&&Cm(n)&&(n.flowNode=f);break;case 236:case 108:n.flowNode=f;break;case 81:return function(t){"#constructor"===t.escapedText&&(e.parseDiagnostics.length||e.bindDiagnostics.push(B(t,us.constructor_is_a_reserved_word,Rf(t))))}(n);case 211:case 212:const o=n;f&&Y(o)&&(o.flowNode=f),_h(o)&&function(e){110===e.expression.kind?ze(e):oh(e)&&307===e.parent.parent.kind&&(pv(e.expression)?Ze(e,e.parent):nt(e))}(o),Tm(o)&&e.commonJsModuleIndicator&&eh(o)&&!V$(s,"module")&&L(e.locals,void 0,o.expression,134217729,111550);break;case 226:switch(th(n)){case 1:Ge(n);break;case 2:!function(t){if(!He(t))return;const n=Km(t.right);if(Av(n)||i===e&&U$(e,n))return;if(Ww(n)&&g(n.properties,MT))return void u(n.properties,We);const r=mg(t)?2097152:1049092,o=L(e.symbol.exports,e.symbol,t,67108864|r,0);mh(o,t)}(n);break;case 3:Ze(n.left,n);break;case 6:!function(e){wx(e.left,e),wx(e.right,e),st(e.left.expression,e.left,!1,!0)}(n);break;case 4:ze(n);break;case 5:const t=n.left.expression;if(Tm(n)&&UD(t)){const e=V$(s,t.escapedText);if(cm(null==e?void 0:e.valueDeclaration)){ze(n);break}}!function(t){var n;const r=at(t.left.expression,s)||at(t.left.expression,i);if(!Tm(t)&&!hh(r))return;const o=Db(t.left);if(UD(o)&&2097152&(null==(n=V$(i,o.escapedText))?void 0:n.flags))return;if(wx(t.left,t),wx(t.right,t),UD(t.left.expression)&&i===e&&U$(e,t.left.expression))Ge(t);else if($g(t)){Re(t,67108868,"__computed");Ke(t,rt(r,t.left.expression,ot(t.left),!1,!1))}else nt(tt(t.left,ah))}(n);break;case 0:break;default:un.fail("Unknown binary expression special property assignment kind")}return function(e){D&&$u(e.left)&&tv(e.operatorToken.kind)&&Be(e,e.left)}(n);case 299:return function(e){D&&e.variableDeclaration&&Be(e,e.variableDeclaration.name)}(n);case 220:return function(t){if(D&&80===t.expression.kind){const n=Kf(e,t.expression);e.bindDiagnostics.push(Yb(e,n.start,n.length,us.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(n);case 225:return function(e){D&&Be(e,e.operand)}(n);case 224:return function(e){D&&(46!==e.operator&&47!==e.operator||Be(e,e.operand))}(n);case 254:return function(e){D&&$e(e,us.with_statements_are_not_allowed_in_strict_mode)}(n);case 256:return function(e){D&&yC(t)>=2&&(dd(e.statement)||wI(e.statement))&&$e(e.label,us.A_label_is_not_allowed_here)}(n);case 197:return void(d=!0);case 182:break;case 168:return function(e){if(kF(e.parent)){const t=Lh(e.parent);t?(un.assertNode(t,ad),t.locals??(t.locals=Wd()),L(t.locals,void 0,e,262144,526824)):Ie(e,262144,526824)}else if(195===e.parent.kind){const t=function(e){const t=dc(e,(e=>e.parent&&Pw(e.parent)&&e.parent.extendsType===e));return t&&t.parent}(e.parent);t?(un.assertNode(t,ad),t.locals??(t.locals=Wd()),L(t.locals,void 0,e,262144,526824)):Re(e,262144,$(e))}else Ie(e,262144,526824)}(n);case 169:return ut(n);case 260:return lt(n);case 208:return n.flowNode=f,lt(n);case 172:case 171:return function(e){const t=fu(e),n=t?13247:0;return dt(e,(t?98304:4)|(e.questionToken?16777216:0),n)}(n);case 303:case 304:return dt(n,4,0);case 306:return dt(n,8,900095);case 179:case 180:case 181:return Ie(n,131072,0);case 174:case 173:return dt(n,8192|(n.questionToken?16777216:0),Q_(n)?0:103359);case 262:return function(t){e.isDeclarationFile||33554432&t.flags||Bg(t)&&(k|=4096);Oe(t),D?(qe(t),Pe(t,16,110991)):Ie(t,16,110991)}(n);case 176:return Ie(n,16384,0);case 177:return dt(n,32768,46015);case 178:return dt(n,65536,78783);case 184:case 317:case 323:case 185:return function(e){const t=O(131072,$(e));q(t,e,131072);const n=O(2048,"__type");q(n,e,2048),n.members=Wd(),n.members.set(t.escapedName,t)}(n);case 187:case 322:case 200:return function(e){return Re(e,2048,"__type")}(n);case 332:return function(e){G(e);const t=jh(e);t&&174!==t.kind&&q(t.symbol,t,32)}(n);case 210:return function(e){return Re(e,4096,"__object")}(n);case 218:case 219:return function(t){e.isDeclarationFile||33554432&t.flags||Bg(t)&&(k|=4096);f&&(t.flowNode=f);Oe(t);const n=t.name?t.name.escapedText:"__function";return Re(t,16,n)}(n);case 213:switch(th(n)){case 7:return function(e){let t=at(e.arguments[0]);const n=307===e.parent.parent.kind;t=rt(t,e.arguments[0],n,!1,!1),it(e,t,!1)}(n);case 8:return function(e){if(!He(e))return;const t=ct(e.arguments[0],void 0,((e,t)=>(t&&q(t,e,67110400),t)));if(t){const n=1048580;L(t.exports,t,e,n,0)}}(n);case 9:return function(e){const t=at(e.arguments[0].expression);t&&t.valueDeclaration&&q(t,t.valueDeclaration,32);it(e,t,!0)}(n);case 0:break;default:return un.fail("Unknown call expression assignment declaration kind")}Tm(n)&&function(t){!e.commonJsModuleIndicator&&Bm(t,!1)&&He(t)}(n);break;case 231:case 263:return D=!0,function(t){if(263===t.kind)Pe(t,32,899503);else{Re(t,32,t.name?t.name.escapedText:"__class"),t.name&&I.add(t.name.escapedText)}const{symbol:n}=t,r=O(4194308,"prototype"),i=n.exports.get(r.escapedName);i&&(t.name&&wx(t.name,t),e.bindDiagnostics.push(B(i.declarations[0],us.Duplicate_identifier_0,Ac(r))));n.exports.set(r.escapedName,r),r.parent=n}(n);case 264:return Pe(n,64,788872);case 265:return Pe(n,524288,788968);case 266:return function(e){return t_(e)?Pe(e,128,899967):Pe(e,256,899327)}(n);case 267:return function(t){if(Te(t),cf(t))if(wy(t,32)&&$e(t,us.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),mf(t))Fe(t);else{let n;if(11===t.name.kind){const{text:e}=t.name;n=GE(e),void 0===n&&$e(t.name,us.Pattern_0_can_have_at_most_one_Asterisk_character,e)}const r=Ie(t,512,110735);e.patternAmbientModules=re(e.patternAmbientModules,n&&!Xe(n)?{pattern:n,symbol:r}:void 0)}else{const e=Fe(t);if(0!==e){const{symbol:n}=t;n.constEnumOnlyModule=!(304&n.flags)&&2===e&&!1!==n.constEnumOnlyModule}}}(n);case 292:return function(e){return Re(e,4096,"__jsxAttributes")}(n);case 291:return function(e,t,n){return Ie(e,t,n)}(n,4,0);case 271:case 274:case 276:case 281:return Ie(n,2097152,2097152);case 270:return function(t){J(t.modifiers)&&e.bindDiagnostics.push(B(t,us.Modifiers_cannot_appear_here));const n=JT(t.parent)?UP(t.parent)?t.parent.isDeclarationFile?void 0:us.Global_module_exports_may_only_appear_in_declaration_files:us.Global_module_exports_may_only_appear_in_module_files:us.Global_module_exports_may_only_appear_at_top_level;n?e.bindDiagnostics.push(B(t,n)):(e.symbol.globalExports=e.symbol.globalExports||Wd(),L(e.symbol.globalExports,e.symbol,t,2097152,2097152))}(n);case 273:return function(e){e.name&&Ie(e,2097152,2097152)}(n);case 278:return function(e){i.symbol&&i.symbol.exports?e.exportClause?pT(e.exportClause)&&(wx(e.exportClause,e),L(i.symbol.exports,i.symbol,e.exportClause,2097152,2097152)):L(i.symbol.exports,i.symbol,e,8388608,0):Re(e,8388608,$(e))}(n);case 277:return function(e){if(i.symbol&&i.symbol.exports){const t=mg(e)?2097152:4,n=L(i.symbol.exports,i.symbol,e,t,-1);e.isExportEquals&&mh(n,e)}else Re(e,111551,$(e))}(n);case 307:return je(n.statements),function(){if(Te(e),UP(e))Ve();else if(e_(e)){Ve();const t=e.symbol;L(e.symbol.exports,e.symbol,e,4,-1),e.symbol=t}}();case 241:if(!iu(n.parent))return;case 268:return je(n.statements);case 341:if(323===n.parent.kind)return ut(n);if(322!==n.parent.kind)break;case 348:const a=n;return Ie(a,a.isBracketed||a.typeExpression&&316===a.typeExpression.type.kind?16777220:4,0);case 346:case 338:case 340:return(c||(c=[])).push(n);case 339:return Le(n.typeExpression);case 351:return(p||(p=[])).push(n)}}function Ve(){Re(e,512,`"${UE(e.fileName)}"`)}function He(t){return(!e.externalModuleIndicator||!0===e.externalModuleIndicator)&&(e.commonJsModuleIndicator||(e.commonJsModuleIndicator=t,e.externalModuleIndicator||Ve()),!0)}function Ge(e){if(!He(e))return;const t=ct(e.left.expression,void 0,((e,t)=>(t&&q(t,e,67110400),t)));if(t){const n=_g(e.right)&&(Xm(e.left.expression)||eh(e.left.expression))?2097152:1048580;wx(e.left,e),L(t.exports,t,e.left,n,0)}}function We(t){L(e.symbol.exports,e.symbol,t,69206016,0)}function ze(e){un.assert(Tm(e));if(uI(e)&&zw(e.left)&&JD(e.left.name)||zw(e)&&JD(e.name))return;const t=em(e,!1,!1);switch(t.kind){case 262:case 218:let n=t.symbol;if(uI(t.parent)&&64===t.parent.operatorToken.kind){const e=t.parent.left;oh(e)&&pv(e.expression)&&(n=at(e.expression.expression,o))}n&&n.valueDeclaration&&(n.members=n.members||Wd(),$g(e)?Ye(e,n,n.members):L(n.members,n,e,67108868,0),q(n,n.valueDeclaration,32));break;case 176:case 172:case 174:case 177:case 178:case 175:const r=t.parent,i=Iy(t)?r.symbol.exports:r.symbol.members;$g(e)?Ye(e,r.symbol,i):L(i,r.symbol,e,67108868,0,!0);break;case 307:if($g(e))break;t.commonJsModuleIndicator?L(t.symbol.exports,t.symbol,e,1048580,0):Ie(e,1,111550);break;case 267:break;default:un.failBadSyntaxKind(t)}}function Ye(e,t,n){L(n,t,e,4,0,!0,!0),Ke(e,t)}function Ke(e,t){t&&(t.assignmentDeclarationMembers||(t.assignmentDeclarationMembers=new Map)).set(JQ(e),e)}function Ze(e,t){const n=e.expression,r=n.expression;wx(r,n),wx(n,e),wx(e,t),st(r,e,!0,!0)}function nt(e){un.assert(!UD(e)),wx(e.expression,e),st(e.expression,e,!1,!1)}function rt(t,n,r,i,o){if(2097152&(null==t?void 0:t.flags))return t;if(r&&!i){const r=67110400,i=110735;t=ct(n,t,((t,n,o)=>{if(n)return q(n,t,r),n;return L(o?o.exports:e.jsGlobalAugmentations||(e.jsGlobalAugmentations=Wd()),o,t,r,i)}))}return o&&t&&t.valueDeclaration&&q(t,t.valueDeclaration,32),t}function it(e,t,n){if(!t||!function(e){if(1072&e.flags)return!0;const t=e.valueDeclaration;if(t&&Kw(t))return!!Hm(t);let n=t?HI(t)?t.initializer:uI(t)?t.right:zw(t)&&uI(t.parent)?t.parent.right:void 0:void 0;if(n=n&&Km(n),n){const e=pv(HI(t)?t.name:uI(t)?t.left:t);return!!Gm(!uI(n)||57!==n.operatorToken.kind&&61!==n.operatorToken.kind?n:n.right,e)}return!1}(t))return;const r=n?t.members||(t.members=Wd()):t.exports||(t.exports=Wd());let i=0,o=0;ou(Hm(e))?(i=8192,o=103359):Kw(e)&&nh(e)&&(J(e.arguments[2].properties,(e=>{const t=Sc(e);return!!t&&UD(t)&&"set"===hc(t)}))&&(i|=65540,o|=78783),J(e.arguments[2].properties,(e=>{const t=Sc(e);return!!t&&UD(t)&&"get"===hc(t)}))&&(i|=32772,o|=46015)),0===i&&(i=4,o=0),L(r,t,e,67108864|i,-67108865&o)}function ot(e){return uI(e.parent)?307===function(e){for(;uI(e.parent);)e=e.parent;return e.parent}(e.parent).parent.kind:307===e.parent.parent.kind}function st(e,t,n,r){let o=at(e,s)||at(e,i);const a=ot(t);o=rt(o,t.expression,a,n,r),it(t,o,n)}function at(e,t=i){if(UD(e))return V$(t,e.escapedText);{const t=at(e.expression);return t&&t.exports&&t.exports.get(uh(e))}}function ct(t,n,r){if(U$(e,t))return e.symbol;if(UD(t))return r(t,at(t),n);{const e=ct(t.expression,n,r),i=ch(t);return JD(i)&&un.fail("unexpected PrivateIdentifier"),r(i,e&&e.exports&&e.exports.get(uh(t)),e)}}function lt(e){if(D&&Be(e,e.name),!Cu(e.name)){const t=260===e.kind?e:e.parent.parent;!Tm(e)||!qm(t)||tl(e)||32&ic(e)?sf(e)?Pe(e,2,111551):Kg(e)?Ie(e,1,111551):Ie(e,1,111550):Ie(e,2097152,2097152)}}function ut(e){if((341!==e.kind||323===i.kind)&&(!D||33554432&e.flags||Be(e,e.name),Cu(e.name)?Re(e,1,"__"+e.parent.parameters.indexOf(e)):Ie(e,1,111551),Za(e,e.parent))){const t=e.parent.parent;L(t.symbol.members,t.symbol,e,4|(e.questionToken?16777216:0),0)}}function dt(t,n,r){return e.isDeclarationFile||33554432&t.flags||!Bg(t)||(k|=4096),f&&L_(t)&&(t.flowNode=f),$g(t)?Re(t,n,"__computed"):Ie(t,n,r)}}function j$(e,t){return 266===e.kind&&(!t_(e)||TC(t))}function U$(e,t){let n=0;const r=We();for(r.enqueue(t);!r.isEmpty()&&n<100;){if(n++,Xm(t=r.dequeue())||eh(t))return!0;if(UD(t)){const n=V$(e,t.escapedText);if(n&&n.valueDeclaration&&HI(n.valueDeclaration)&&n.valueDeclaration.initializer){const e=n.valueDeclaration.initializer;r.enqueue(e),iv(e,!0)&&(r.enqueue(e.left),r.enqueue(e.right))}}}return!1}function J$(e){switch(e.kind){case 231:case 263:case 266:case 210:case 187:case 322:case 292:return 1;case 264:return 65;case 267:case 265:case 200:case 181:return 33;case 307:return 37;case 177:case 178:case 174:if(L_(e))return 173;case 176:case 262:case 173:case 179:case 323:case 317:case 184:case 180:case 185:case 175:return 45;case 218:case 219:return 61;case 268:return 4;case 172:return e.initializer?4:0;case 299:case 248:case 249:case 250:case 269:return 34;case 241:return ru(e.parent)||fw(e.parent)?0:34}return 0}function V$(e,t){var n,r,i,o;const s=null==(r=null==(n=et(e,ad))?void 0:n.locals)?void 0:r.get(t);return s?s.exportSymbol??s:JT(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(t)?e.jsGlobalAugmentations.get(t):sd(e)?null==(o=null==(i=e.symbol)?void 0:i.exports)?void 0:o.get(t):void 0}function H$(e,t,n,r,i,o,s,a,c,l){return function(d=()=>!0){const p=[],f=[];return{walkType:e=>{try{return _(e),{visitedTypes:Fe(p),visitedSymbols:Fe(f)}}finally{D(p),D(f)}},walkSymbol:e=>{try{return g(e),{visitedTypes:Fe(p),visitedSymbols:Fe(f)}}finally{D(p),D(f)}}};function _(e){if(!e)return;if(p[e.id])return;p[e.id]=e;if(!g(e.symbol)){if(524288&e.flags){const n=e,i=n.objectFlags;4&i&&function(e){_(e.target),u(l(e),_)}(e),32&i&&function(e){_(e.typeParameter),_(e.constraintType),_(e.templateType),_(e.modifiersType)}(e),3&i&&(h(t=e),u(t.typeParameters,_),u(r(t),_),_(t.thisType)),24&i&&h(n)}var t;262144&e.flags&&function(e){_(a(e))}(e),3145728&e.flags&&function(e){u(e.types,_)}(e),4194304&e.flags&&function(e){_(e.type)}(e),8388608&e.flags&&function(e){_(e.objectType),_(e.indexType),_(e.constraint)}(e)}}function m(r){const i=t(r);i&&_(i.type),u(r.typeParameters,_);for(const e of r.parameters)g(e);_(e(r)),_(n(r))}function h(e){const t=i(e);for(const e of t.indexInfos)_(e.keyType),_(e.type);for(const e of t.callSignatures)m(e);for(const e of t.constructSignatures)m(e);for(const e of t.properties)g(e)}function g(e){if(!e)return!1;const t=VQ(e);if(f[t])return!1;if(f[t]=e,!d(e))return!0;return _(o(e)),e.exports&&e.exports.forEach(g),u(e.declarations,(e=>{if(e.type&&186===e.type.kind){const t=e.type;g(s(c(t.exprName)))}})),!1}}}var G$={};n(G$,{RelativePreference:()=>z$,countPathComponents:()=>lQ,forEachFileNameOfModule:()=>pQ,getLocalModuleSpecifierBetweenFileNames:()=>oQ,getModuleSpecifier:()=>X$,getModuleSpecifierPreferences:()=>Y$,getModuleSpecifiers:()=>rQ,getModuleSpecifiersWithCacheInfo:()=>iQ,getNodeModulesPackageName:()=>Z$,tryGetJSExtensionForFile:()=>EQ,tryGetModuleSpecifiersFromCache:()=>tQ,tryGetRealFileNameForNonJsDeclarationFileName:()=>bQ,updateModuleSpecifier:()=>K$});var W$=pt((e=>{try{let t=e.indexOf("/");if(0!==t)return new RegExp(e);const n=e.lastIndexOf("/");if(t===n)return new RegExp(e);for(;(t=e.indexOf("/",t+1))!==n;)if("\\"!==e[t-1])return new RegExp(e);const r=e.substring(n+1).replace(/[^iu]/g,"");return e=e.substring(1,n),new RegExp(e,r)}catch{return}})),z$=(e=>(e[e.Relative=0]="Relative",e[e.NonRelative=1]="NonRelative",e[e.Shortest=2]="Shortest",e[e.ExternalNonRelative=3]="ExternalNonRelative",e))(z$||{});function Y$({importModuleSpecifierPreference:e,importModuleSpecifierEnding:t,autoImportSpecifierExcludeRegexes:n},r,i,o,s){const a=c();return{excludeRegexes:n,relativePreference:void 0!==s?Sa(s)?0:1:"relative"===e?0:"non-relative"===e?1:"project-relative"===e?3:2,getAllowedEndingsInPreferredOrder:e=>{const t=kQ(o,r,i),n=e!==t?c(e):a,s=bC(i);if(99===(e??t)&&3<=s&&s<=99)return w$(i,o.fileName)?[3,2]:[2];if(1===bC(i))return 2===n?[2,1]:[1,2];const l=w$(i,o.fileName);switch(n){case 2:return l?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return l?[1,0,3,2]:[1,0,2];case 0:return l?[0,1,3,2]:[0,1,2];default:un.assertNever(n)}}};function c(e){if(void 0!==s){if(NE(s))return 2;if(Ot(s,"/index"))return 1}return $E(t,e??kQ(o,r,i),i,wm(o)?o:void 0)}}function K$(e,t,n,r,i,o,s={}){const a=eQ(e,t,n,r,i,Y$({},i,e,t,o),{},s);if(a!==o)return a}function X$(e,t,n,r,i,o={}){return eQ(e,t,n,r,i,Y$({},i,e,t),{},o)}function Z$(e,t,n,r,i,o={}){const s=aQ(t.fileName,r);return p(fQ(s,n,r,i,e,o),(n=>AQ(n,s,t,r,e,i,!0,o.overrideImportMode)))}function eQ(e,t,n,r,i,o,s,a={}){const c=aQ(n,i);return p(fQ(c,r,i,s,e,a),(n=>AQ(n,c,t,i,e,s,void 0,a.overrideImportMode)))||cQ(r,c,e,i,a.overrideImportMode||kQ(t,i,e),o)}function tQ(e,t,n,r,i={}){const o=nQ(e,t,n,r,i);return o[1]&&{kind:o[0],moduleSpecifiers:o[1],computedWithoutCache:!1}}function nQ(e,t,n,r,i={}){var o;const s=yp(e);if(!s)return a;const c=null==(o=n.getModuleSpecifierCache)?void 0:o.call(n),l=null==c?void 0:c.get(t.path,s.path,r,i);return[null==l?void 0:l.kind,null==l?void 0:l.moduleSpecifiers,s,null==l?void 0:l.modulePaths,c]}function rQ(e,t,n,r,i,o,s={}){return iQ(e,t,n,r,i,o,s,!1).moduleSpecifiers}function iQ(e,t,n,r,i,o,s={},c){let l=!1;const d=function(e,t){var n;const r=null==(n=e.declarations)?void 0:n.find((e=>uf(e)&&(!_f(e)||!Sa(jg(e.name)))));if(r)return r.name.text;const i=q(e.declarations,(e=>{var n,r,i,o;if(!ZI(e))return;const s=l(e);if(!((null==(n=null==s?void 0:s.parent)?void 0:n.parent)&&eT(s.parent)&&cf(s.parent.parent)&&JT(s.parent.parent.parent)))return;const a=null==(o=null==(i=null==(r=s.parent.parent.symbol.exports)?void 0:r.get("export="))?void 0:i.valueDeclaration)?void 0:o.expression;if(!a)return;const c=t.getSymbolAtLocation(a);if(!c)return;if((2097152&(null==c?void 0:c.flags)?t.getAliasedSymbol(c):c)===e.symbol)return s.parent.parent;function l(e){for(;8&e.flags;)e=e.parent;return e}})),o=i[0];if(o)return o.name.text}(e,t);if(d)return{kind:"ambient",moduleSpecifiers:c&&sQ(d,o.autoImportSpecifierExcludeRegexes)?a:[d],computedWithoutCache:l};let[p,f,_,m,h]=nQ(e,r,i,o,s);if(f)return{kind:p,moduleSpecifiers:f,computedWithoutCache:l};if(!_)return{kind:void 0,moduleSpecifiers:a,computedWithoutCache:l};l=!0,m||(m=mQ(aQ(r.fileName,i),_.originalFileName,i,n,s));const g=function(e,t,n,r,i,o={},s){const c=aQ(n.fileName,r),l=Y$(i,r,t,n),d=wm(n)&&u(e,(e=>u(r.getFileIncludeReasons().get(Uo(e.path,r.getCurrentDirectory(),c.getCanonicalFileName)),(e=>{if(3!==e.kind||e.file!==n.path)return;const t=r.getModeForResolutionAtIndex(n,e.index),i=o.overrideImportMode??r.getDefaultResolutionModeForFile(n);if(t!==i&&void 0!==t&&void 0!==i)return;const s=QJ(n,e.index).text;return 1===l.relativePreference&&vo(s)?void 0:s}))));if(d)return{kind:void 0,moduleSpecifiers:[d],computedWithoutCache:!0};const p=J(e,(e=>e.isInNodeModules));let f,_,m,h;for(const a of e){const e=a.isInNodeModules?AQ(a,c,n,r,t,i,void 0,o.overrideImportMode):void 0;if(e&&(!s||!sQ(e,l.excludeRegexes))&&(f=re(f,e),a.isRedirect))return{kind:"node_modules",moduleSpecifiers:f,computedWithoutCache:!0};const u=cQ(a.path,c,t,r,o.overrideImportMode||n.impliedNodeFormat,l,a.isRedirect||!!e);!u||s&&sQ(u,l.excludeRegexes)||(a.isRedirect?m=re(m,u):bo(u)?Lq(u)?h=re(h,u):_=re(_,u):(s||!p||a.isInNodeModules)&&(h=re(h,u)))}return(null==_?void 0:_.length)?{kind:"paths",moduleSpecifiers:_,computedWithoutCache:!0}:(null==m?void 0:m.length)?{kind:"redirect",moduleSpecifiers:m,computedWithoutCache:!0}:(null==f?void 0:f.length)?{kind:"node_modules",moduleSpecifiers:f,computedWithoutCache:!0}:{kind:"relative",moduleSpecifiers:h??a,computedWithoutCache:!0}}(m,n,r,i,o,s,c);return null==h||h.set(r.path,_.path,o,s,g.kind,m,g.moduleSpecifiers),g}function oQ(e,t,n,r,i,o={}){return cQ(t,aQ(e.fileName,r),n,r,o.overrideImportMode??e.impliedNodeFormat,Y$(i,r,n,e))}function sQ(e,t){return J(t,(t=>{var n;return!!(null==(n=W$(t))?void 0:n.test(e))}))}function aQ(e,t){e=Lo(e,t.getCurrentDirectory());const n=Jt(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),r=Io(e);return{getCanonicalFileName:n,importingSourceFileName:e,sourceDirectory:r,canonicalSourceDirectory:n(r)}}function cQ(e,t,n,r,i,{getAllowedEndingsInPreferredOrder:o,relativePreference:s,excludeRegexes:a},c){const{baseUrl:l,paths:d,rootDirs:p}=n;if(c&&!d)return;const{sourceDirectory:f,canonicalSourceDirectory:_,getCanonicalFileName:m}=t,h=o(i),g=p&&function(e,t,n,r,i,o){const s=yQ(t,e,r);if(void 0===s)return;const a=yQ(n,e,r),c=R(a,(e=>w(s,(t=>Ho(rs(e,t,r)))))),l=bt(c,ME);if(!l)return;return vQ(l,i,o)}(p,e,f,m,h,n)||vQ(Ho(rs(f,e,m)),h,n);if(!l&&!d&&!DC(n)||0===s)return c?void 0:g;const A=Lo(WA(n,r)||l,r.getCurrentDirectory()),y=xQ(e,A,m);if(!y)return c?void 0:g;const v=c?void 0:function(e,t,n,r,i,o){var s,a,c;if(!r.readFile||!DC(n))return;const l=dQ(r,t);if(!l)return;const d=qo(l,"package.json"),p=null==(a=null==(s=r.getPackageJsonInfoCache)?void 0:s.call(r))?void 0:a.getPackageJsonInfo(d);if(dq(p)||!r.fileExists(d))return;const f=(null==p?void 0:p.contents.packageJsonContent)||wv(r.readFile(d)),_=null==f?void 0:f.imports;if(!_)return;const m=aq(n,i);return null==(c=u(Ie(_),(t=>{if(!Wt(t,"#")||"#"===t||Wt(t,"#/"))return;const i=Ot(t,"/")?1:t.includes("*")?2:0;return gQ(n,r,e,l,t,_[t],m,i,!0,o)})))?void 0:c.moduleFileToTry}(e,f,n,r,i,function(e){const t=e.indexOf(3);return t>-1&&te.fileExists(qo(t,"package.json"))?t:void 0))}function pQ(e,t,n,r,i){var o;const s=qA(n),c=n.getCurrentDirectory(),l=n.isSourceOfProjectReferenceRedirect(t)?n.getProjectReferenceRedirect(t):void 0,d=Uo(t,c,s),p=n.redirectTargetsMap.get(d)||a,f=[...l?[l]:a,t,...p].map((e=>Lo(e,c)));let _=!g(f,Px);if(!r){const e=u(f,(e=>!(_&&Px(e))&&i(e,l===e)));if(e)return e}const m=null==(o=n.getSymlinkCache)?void 0:o.call(n).getSymlinkedDirectoriesByRealpath(),h=Lo(t,c);return m&&m$(n,Io(h),(t=>{const n=m.get(Vo(Uo(t,c,s)));if(n)return!ts(e,t,s)&&u(f,(e=>{if(!ts(e,t,s))return;const r=rs(t,e,s);for(const t of n){const n=$o(t,r),o=i(n,e===l);if(_=!0,o)return o}}))}))||(r?u(f,(e=>_&&Px(e)?void 0:i(e,e===l))):void 0)}function fQ(e,t,n,r,i,o={}){var s;const a=Uo(e.importingSourceFileName,n.getCurrentDirectory(),qA(n)),c=Uo(t,n.getCurrentDirectory(),qA(n)),l=null==(s=n.getModuleSpecifierCache)?void 0:s.call(n);if(l){const e=l.get(a,c,r,o);if(null==e?void 0:e.modulePaths)return e.modulePaths}const u=mQ(e,t,n,i,o);return l&&l.setModulePaths(a,c,r,o,u),u}var _Q=["dependencies","peerDependencies","optionalDependencies"];function mQ(e,t,n,r,i){var o,s;const c=null==(o=n.getModuleResolutionCache)?void 0:o.call(n),l=null==(s=n.getSymlinkCache)?void 0:s.call(n);if(c&&l&&n.readFile&&!Lq(e.importingSourceFileName)){un.type(n);const t=Zq(c.getPackageJsonInfoCache(),n,{}),o=e$(Io(e.importingSourceFileName),t);if(o){const e=function(e){let t;for(const n of _Q){const r=e[n];r&&"object"==typeof r&&(t=H(t,Ie(r)))}return t}(o.contents.packageJsonContent);for(const t of e||a){const e=Dq(t,qo(o.packageDirectory,"package.json"),r,n,c,void 0,i.overrideImportMode);l.setSymlinksFromResolution(e.resolvedModule)}}}const u=new Map;pQ(e.importingSourceFileName,t,n,!0,((t,n)=>{const r=Lq(t);u.set(t,{path:e.getCanonicalFileName(t),isRedirect:n,isInNodeModules:r})}));const d=[];for(let t=e.canonicalSourceDirectory;0!==u.size;){const e=Vo(t);let n;u.forEach((({path:t,isRedirect:r,isInNodeModules:i},o)=>{Wt(t,e)&&((n||(n=[])).push({path:o,isRedirect:r,isInNodeModules:i}),u.delete(o))})),n&&(n.length>1&&n.sort(uQ),d.push(...n));const r=Io(t);if(r===t)break;t=r}if(u.size){const e=Pe(u.entries(),(([e,{isRedirect:t,isInNodeModules:n}])=>({path:e,isRedirect:t,isInNodeModules:n})));e.length>1&&e.sort(uQ),d.push(...e)}return d}function hQ(e,t,n,r,i,o,s){for(const o in t)for(const c of t[o]){const t=Mo(c),l=xQ(t,r,i)??t,u=l.indexOf("*"),d=n.map((t=>({ending:t,value:vQ(e,[t],s)})));if(tx(l)&&d.push({ending:void 0,value:e}),-1!==u){const e=l.substring(0,u),t=l.substring(u+1);for(const{ending:n,value:r}of d)if(r.length>=e.length+t.length&&Wt(r,e)&&Ot(r,t)&&a({ending:n,value:r})){const n=r.substring(e.length,r.length-t.length);if(!vo(n))return pS(o,n)}}else if(J(d,(e=>0!==e.ending&&l===e.value))||J(d,(e=>0===e.ending&&l===e.value&&a(e))))return o}function a({ending:t,value:n}){return 0!==t||n===vQ(e,[t],s,o)}}function gQ(e,t,n,r,i,o,s,a,c,l){if("string"==typeof o){const s=!OA(t),u=()=>t.getCommonSourceDirectory(),d=c&&Hj(n,e,s,u),p=c&&Jj(n,e,s,u),f=Lo(qo(r,o),void 0),_=BE(n)?UE(n)+EQ(n,e):void 0,m=l&&OE(n);switch(a){case 0:if(_&&0===Zo(_,f,s)||0===Zo(n,f,s)||d&&0===Zo(d,f,s)||p&&0===Zo(p,f,s))return{moduleFileToTry:i};break;case 1:if(m&&es(n,f,s)){const e=rs(f,n,!1);return{moduleFileToTry:Lo(qo(qo(i,o),e),void 0)}}if(_&&es(f,_,s)){const e=rs(f,_,!1);return{moduleFileToTry:Lo(qo(qo(i,o),e),void 0)}}if(!m&&es(f,n,s)){const e=rs(f,n,!1);return{moduleFileToTry:Lo(qo(qo(i,o),e),void 0)}}if(d&&es(f,d,s)){const e=rs(f,d,!1);return{moduleFileToTry:qo(i,e)}}if(p&&es(f,p,s)){const t=Wo(rs(f,p,!1),CQ(p,e));return{moduleFileToTry:qo(i,t)}}break;case 2:const t=f.indexOf("*"),r=f.slice(0,t),a=f.slice(t+1);if(m&&Wt(n,r,s)&&Ot(n,a,s)){const e=n.slice(r.length,n.length-a.length);return{moduleFileToTry:pS(i,e)}}if(_&&Wt(_,r,s)&&Ot(_,a,s)){const e=_.slice(r.length,_.length-a.length);return{moduleFileToTry:pS(i,e)}}if(!m&&Wt(n,r,s)&&Ot(n,a,s)){const e=n.slice(r.length,n.length-a.length);return{moduleFileToTry:pS(i,e)}}if(d&&Wt(d,r,s)&&Ot(d,a,s)){const e=d.slice(r.length,d.length-a.length);return{moduleFileToTry:pS(i,e)}}if(p&&Wt(p,r,s)&&Ot(p,a,s)){const t=p.slice(r.length,p.length-a.length),n=pS(i,t),o=EQ(p,e);return o?{moduleFileToTry:Wo(n,o)}:void 0}}}else{if(Array.isArray(o))return u(o,(o=>gQ(e,t,n,r,i,o,s,a,c,l)));if("object"==typeof o&&null!==o)for(const u of Ie(o))if("default"===u||s.indexOf(u)>=0||p$(s,u)){const d=o[u],p=gQ(e,t,n,r,i,d,s,a,c,l);if(p)return p}}}function AQ({path:e,isRedirect:t},{getCanonicalFileName:n,canonicalSourceDirectory:r},i,o,s,a,c,l){if(!o.fileExists||!o.readFile)return;const d=Ux(e);if(!d)return;const p=Y$(a,o,s,i).getAllowedEndingsInPreferredOrder();let f=e,_=!1;if(!c){let t,n=d.packageRootIndex;for(;;){const{moduleFileToTry:r,packageRootPath:i,blockedByExports:a,verbatimFromExports:c}=y(n);if(1!==bC(s)){if(a)return;if(c)return r}if(i){f=i,_=!0;break}if(t||(t=r),n=e.indexOf(uo,n+1),-1===n){f=vQ(t,p,s,o);break}}}if(t&&!_)return;const m=o.getGlobalTypingsCacheLocation&&o.getGlobalTypingsCacheLocation(),h=n(f.substring(0,d.topLevelNodeModulesIndex));if(!(Wt(r,h)||m&&Wt(n(m),h)))return;const g=f.substring(d.topLevelPackageNameIndex+1),A=E$(g);return 1===bC(s)&&A===g?void 0:A;function y(t){var r,a;const c=e.substring(0,t),f=qo(c,"package.json");let _=e,m=!1;const h=null==(a=null==(r=o.getPackageJsonInfoCache)?void 0:r.call(o))?void 0:a.getPackageJsonInfo(f);if(uq(h)||void 0===h&&o.fileExists(f)){const t=(null==h?void 0:h.contents.packageJsonContent)||wv(o.readFile(f)),r=l||kQ(i,o,s);if(kC(s)){const n=E$(c.substring(d.topLevelPackageNameIndex+1)),i=aq(s,r),a=(null==t?void 0:t.exports)?function(e,t,n,r,i,o,s){return"object"==typeof o&&null!==o&&!Array.isArray(o)&&a$(o)?u(Ie(o),(a=>{const c=Lo(qo(i,a),void 0),l=Ot(a,"/")?1:a.includes("*")?2:0;return gQ(e,t,n,r,c,o[a],s,l,!1,!1)})):gQ(e,t,n,r,i,o,s,0,!1,!1)}(s,o,e,c,n,t.exports,i):void 0;if(a)return{...a,verbatimFromExports:!0};if(null==t?void 0:t.exports)return{moduleFileToTry:e,blockedByExports:!0}}const a=(null==t?void 0:t.typesVersions)?eq(t.typesVersions):void 0;if(a){const t=hQ(e.slice(c.length+1),a.paths,p,c,n,o,s);void 0===t?m=!0:_=qo(c,t)}const g=(null==t?void 0:t.typings)||(null==t?void 0:t.types)||(null==t?void 0:t.main)||"index.js";if(Xe(g)&&(!m||!ix(zE(a.paths),g))){const e=Uo(g,c,n),r=n(_);if(UE(e)===UE(r))return{packageRootPath:c,moduleFileToTry:_};if("module"!==(null==t?void 0:t.type)&&!xo(r,FE)&&Wt(r,e)&&Io(r)===Jo(e)&&"index"===UE(To(r)))return{packageRootPath:c,moduleFileToTry:_}}}else{const e=n(_.substring(d.packageRootIndex+1));if("index.d.ts"===e||"index.js"===e||"index.ts"===e||"index.tsx"===e)return{moduleFileToTry:_,packageRootPath:c}}return{moduleFileToTry:_}}}function yQ(e,t,n){return q(t,(t=>{const r=xQ(e,t,n);return void 0!==r&&SQ(r)?void 0:r}))}function vQ(e,t,n,r){if(xo(e,[".json",".mjs",".cjs"]))return e;const i=UE(e);if(e===i)return e;const o=t.indexOf(2),s=t.indexOf(3);if(xo(e,[".mts",".cts"])&&-1!==s&&s0===e||1===e));return-1!==r&&r(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))(OQ||{}),qQ=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),$Q=(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))($Q||{}),QQ=(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))(QQ||{}),LQ=Xt(WQ,(function(e){return!pu(e)})),MQ=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3,NoInfer:4})),jQ=class{};function UQ(){this.flags=0}function JQ(e){return e.id||(e.id=PQ,PQ++),e.id}function VQ(e){return e.id||(e.id=RQ,RQ++),e.id}function HQ(e,t){const n=N$(e);return 1===n||t&&2===n}function GQ(e){var t,n,r,i,o=[],s=e=>{o.push(e)},c=$b.getSymbolConstructor(),d=$b.getTypeConstructor(),f=$b.getSignatureConstructor(),_=0,m=0,h=0,E=0,k=0,I=0,P=!1,N=Wd(),B=[1],O=e.getCompilerOptions(),$=yC(O),M=vC(O),j=!!O.experimentalDecorators,U=NC(O),V=jC(O),G=SC(O),z=LC(O,"strictNullChecks"),K=LC(O,"strictFunctionTypes"),X=LC(O,"strictBindCallApply"),Z=LC(O,"strictPropertyInitialization"),te=LC(O,"strictBuiltinIteratorReturn"),ie=LC(O,"noImplicitAny"),oe=LC(O,"noImplicitThis"),le=LC(O,"useUnknownInCatchVariables"),ue=O.exactOptionalPropertyTypes,pe=!!O.noUncheckedSideEffectImports,ye=function(){const e=GR((function(e,t,r){t?(t.stackIndex++,t.skip=!1,n(t,void 0),i(t,void 0)):t={checkMode:r,skip:!1,stackIndex:0,typeStack:[void 0,void 0]};if(Tm(e)&&Hm(e))return t.skip=!0,i(t,Tq(e.right,r)),t;!function(e){const{left:t,operatorToken:n,right:r}=e;if(61===n.kind){!uI(t)||57!==t.operatorToken.kind&&56!==t.operatorToken.kind||Ij(t,us._0_and_1_operations_cannot_be_mixed_without_parentheses,Is(t.operatorToken.kind),Is(n.kind)),!uI(r)||57!==r.operatorToken.kind&&56!==r.operatorToken.kind||Ij(r,us._0_and_1_operations_cannot_be_mixed_without_parentheses,Is(r.operatorToken.kind),Is(n.kind));const i=uR(t,31),o=nq(i);3!==o&&(226===e.parent.kind?Oo(i,us.This_binary_expression_is_never_nullish_Are_you_missing_parentheses):Oo(i,1===o?us.This_expression_is_always_nullish:us.Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish))}}(e);const o=e.operatorToken.kind;if(64===o&&(210===e.left.kind||209===e.left.kind))return t.skip=!0,i(t,ZO(e.left,Tq(e.right,r),r,110===e.right.kind)),t;return t}),(function(e,n,r){if(!n.skip)return t(n,e)}),(function(e,t,o){if(!t.skip){const s=r(t);un.assertIsDefined(s),n(t,s),i(t,void 0);const a=e.kind;if(Zy(a)){let e=o.parent;for(;217===e.kind||ev(e);)e=e.parent;(56===a||FI(e))&&iQ(o.left,s,FI(e)?e.thenStatement:void 0),zy(a)&&oQ(s,o.left)}}}),(function(e,n,r){if(!n.skip)return t(n,e)}),(function(e,t){let o;if(t.skip)o=r(t);else{const n=function(e){return e.typeStack[e.stackIndex]}(t);un.assertIsDefined(n);const i=r(t);un.assertIsDefined(i),o=rq(e.left,e.operatorToken,e.right,n,i,t.checkMode,e)}return t.skip=!1,n(t,void 0),i(t,void 0),t.stackIndex--,o}),(function(e,t,n){return i(e,t),e}));return(t,n)=>{const r=e(t,n);return un.assertIsDefined(r),r};function t(e,t){if(uI(t))return t;i(e,Tq(t,e.checkMode))}function n(e,t){e.typeStack[e.stackIndex]=t}function r(e){return e.typeStack[e.stackIndex+1]}function i(e,t){e.typeStack[e.stackIndex+1]=t}}(),ve={getReferencedExportContainer:vM,getReferencedImportDeclaration:bM,getReferencedDeclarationWithCollidingName:EM,isDeclarationWithCollidingName:xM,isValueAliasDeclaration:e=>{const t=fc(e);return!t||!Le||SM(t)},hasGlobalName:VM,isReferencedAliasDeclaration:(e,t)=>{const n=fc(e);return!n||!Le||IM(n,t)},hasNodeCheckFlag:(e,t)=>{const n=fc(e);return!!n&&BM(n,t)},isTopLevelValueImportEqualsWithEntityName:kM,isDeclarationVisible:Oc,isImplementationOfOverload:TM,requiresAddingImplicitUndefined:FM,isExpandoFunctionDeclaration:RM,getPropertiesOfContainerFunction:PM,createTypeOfDeclaration:MM,createReturnTypeOfSignatureDeclaration:UM,createTypeOfExpression:JM,createLiteralConstValue:YM,isSymbolAccessible:Wa,isEntityNameVisible:rc,getConstantValue:e=>{const t=fc(e,qM);return t?$M(t):void 0},getEnumMemberValue:e=>{const t=fc(e,UT);return t?OM(t):void 0},collectLinkedAliases:qc,markLinkedReferences:e=>{const t=fc(e);return t&&mF(t,0)},getReferencedValueDeclaration:GM,getReferencedValueDeclarations:WM,getTypeReferenceSerializationKind:LM,isOptionalParameter:hh,isArgumentsLocalBinding:yM,getExternalModuleFileFromDeclaration:e=>{const t=fc(e,Df);return t&&ej(t)},isLiteralConstDeclaration:zM,isLateBound:e=>{const t=fc(e,ud),n=t&&_a(t);return!!(n&&4096&ib(n))},getJsxFactoryEntity:KM,getJsxFragmentFactoryEntity:XM,isBindingCapturedByNode:(e,t)=>{const n=fc(e),r=fc(t);return!!n&&!!r&&(HI(r)||Hw(r))&&function(e,t){const n=ss(e);return!!n&&C(n.capturedBlockScopeBindings,_a(t))}(n,r)},getDeclarationStatementsForSourceFile:(e,t,n,r)=>{const i=fc(e);un.assert(i&&307===i.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");const o=_a(e);return o?(na(o),o.exports?be.symbolTableToDeclarationStatements(o.exports,e,t,n,r):[]):e.locals?be.symbolTableToDeclarationStatements(e.locals,e,t,n,r):[]},isImportRequiredByAugmentation:function(e){const t=Ap(e);if(!t.symbol)return!1;const n=ej(e);if(!n)return!1;if(n===t)return!1;const r=ua(t.symbol);for(const e of Pe(r.values()))if(e.mergeId){const t=fa(e);if(t.declarations)for(const e of t.declarations)if(Ap(e)===n)return!0}return!1},isDefinitelyReferenceToGlobalSymbolObject:ko,createLateBoundIndexSignatures:(e,t,n,r,i)=>{const o=e.symbol,s=Qm(wu(o)),a=Fg(o),c=a&&qg(a,Pe(mp(o).values()));let u;for(const e of[s,c])if(l(e)){u||(u=[]);for(const o of e){if(o.declaration)continue;const a=be.indexInfoToIndexSignatureDeclaration(o,t,n,r,i);a&&e===s&&(a.modifiers||(a.modifiers=XS.createNodeArray())).unshift(XS.createModifier(126)),a&&u.push(a)}}return u}},be=function(){const n={evaluateEntityNameExpression:kL,isExpandoFunctionDeclaration:RM,hasLateBindableName:ap,shouldRemoveDeclaration:(e,t)=>!(8&e.internalFlags&&av(t.name.expression)&&1&XR(t.name).flags),createRecoveryBoundary:e=>function(e){t&&t.throwIfCancellationRequested&&t.throwIfCancellationRequested();let n,r,i=!1;const o=e.tracker,s=e.trackedSymbols;e.trackedSymbols=void 0;const a=e.encounteredError;return e.tracker=new ZQ(e,{...o.inner,reportCyclicStructureError(){c((()=>o.reportCyclicStructureError()))},reportInaccessibleThisError(){c((()=>o.reportInaccessibleThisError()))},reportInaccessibleUniqueSymbolError(){c((()=>o.reportInaccessibleUniqueSymbolError()))},reportLikelyUnsafeImportRequiredError(e){c((()=>o.reportLikelyUnsafeImportRequiredError(e)))},reportNonSerializableProperty(e){c((()=>o.reportNonSerializableProperty(e)))},reportPrivateInBaseOfClassExpression(e){c((()=>o.reportPrivateInBaseOfClassExpression(e)))},trackSymbol:(e,t,r)=>((n??(n=[])).push([e,t,r]),!1),moduleResolverHost:e.tracker.moduleResolverHost},e.tracker.moduleResolverHost),{startRecoveryScope:l,finalizeBoundary:u,markError:c,hadError:()=>i};function c(e){i=!0,e&&(r??(r=[])).push(e)}function l(){const e=(null==n?void 0:n.length)??0,t=(null==r?void 0:r.length)??0;return()=>{i=!1,n&&(n.length=e),r&&(r.length=t)}}function u(){return e.tracker=o,e.trackedSymbols=s,e.encounteredError=a,null==r||r.forEach((e=>e())),!i&&(null==n||n.forEach((([t,n,r])=>e.tracker.trackSymbol(t,n,r))),!0)}}(e),isDefinitelyReferenceToGlobalSymbolObject:ko,getAllAccessorDeclarations:jM,requiresAddingImplicitUndefined(e,t,n){var r;switch(e.kind){case 172:case 171:case 348:t??(t=_a(e));const i=wu(t);return!!(4&t.flags&&16777216&t.flags&&Yx(e)&&(null==(r=t.links)?void 0:r.mappedType)&&function(e){const t=1048576&e.flags?e.types[0]:e;return!!(32768&t.flags)&&t!==$t}(i));case 169:case 341:return FM(e,n);default:un.assertNever(e)}},isOptionalParameter:hh,isUndefinedIdentifierExpression:e=>(un.assert(vm(e)),dM(e)===we),isEntityNameVisible:(e,t,n)=>rc(t,e.enclosingDeclaration,n),serializeExistingTypeNode:(e,t,n)=>function(e,t,n){const i=r(e,t);if(n&&!xI(i,(e=>!!(32768&e.flags)))&&ge(e,t)){const n=xe.tryReuseExistingTypeNode(e,t);if(n)return XS.createUnionTypeNode([n,XS.createKeywordTypeNode(157)])}return _(i,e)}(e,t,!!n),serializeReturnTypeForSignature(e,t){const n=e,r=Sh(t),i=n.enclosingSymbolTypes.get(VQ(_a(t)))??_E(Wh(r),n.mapper);return _e(n,r,i)},serializeTypeOfExpression(e,t){const n=e;return _(_E(Qk(_M(t)),n.mapper),n)},serializeTypeOfDeclaration(e,t,n){var r;const i=e;n??(n=_a(t));let o=null==(r=i.enclosingSymbolTypes)?void 0:r.get(VQ(n));void 0===o&&(o=!n||133120&n.flags?Tt:_E(ZS(wu(n)),i.mapper));return t&&(aw(t)||CF(t))&&FM(t,i.enclosingDeclaration)&&(o=yk(o)),pe(n,i,o)},serializeNameOfParameter:(e,t)=>L(_a(t),t,e),serializeEntityName(e,t){const n=e,r=dM(t,!0);if(r&&Va(r,n.enclosingDeclaration))return ie(r,n,1160127)},serializeTypeName:(e,t,n,r)=>function(e,t,n,r){const i=n?111551:788968,o=zs(t,i,!0);if(!o)return;const s=2097152&o.flags?Ls(o):o;return 0!==Wa(o,e.enclosingDeclaration,i,!1).accessibility?void 0:Z(s,e,i,r)}(e,t,n,r),getJsDocPropertyOverride(e,t,n){const i=e,o=UD(n.name)?n.name:n.name.right,s=Jc(r(i,t),o.escapedText);return s&&n.typeExpression&&r(i,n.typeExpression.type)!==s?_(s,i):void 0},enterNewScope(e,t){if(ru(t)||cF(t)){const n=Sh(t);return I(e,t,Tp(n,!0)[0],n.typeParameters)}return I(e,t,void 0,Pw(t)?Gb(t):[yd(_a(t.typeParameter))])},markNodeReuse:(e,t,n)=>o(e,t,n),trackExistingEntityName:(e,t)=>he(t,e),trackComputedName(e,t){M(t,e.enclosingDeclaration,e)},getModuleSpecifierOverride(e,t,n){const r=e;if(r.bundled||r.enclosingFile!==Ap(n)){let e=n.text;const i=ss(t).resolvedSymbol,o=t.isTypeOf?111551:788968,s=i&&0===Wa(i,r.enclosingDeclaration,o,!1).accessibility&&j(i,r,o,!0)[0];if(s&&Yd(s))e=K(s,r);else{const n=ej(t);n&&(e=K(n.symbol,r))}return e.includes("/node_modules/")&&(r.encounteredError=!0,r.tracker.reportLikelyUnsafeImportRequiredError&&r.tracker.reportLikelyUnsafeImportRequiredError(e)),e}},canReuseTypeNode:(e,t)=>ge(e,t),canReuseTypeNodeAnnotation(e,t,n,r,i){var o;const s=e;if(void 0===s.enclosingDeclaration)return!1;r??(r=_a(t));let a=null==(o=s.enclosingSymbolTypes)?void 0:o.get(VQ(r));void 0===a&&(a=98304&r.flags?178===t.kind?Du(r):mu(r):eg(t)?Wh(Sh(t)):wu(r));let c=xc(n);return!!Gc(c)||(i&&c&&(c=yk(c,!aw(t))),!!c&&function(e,t,n){if(n===t)return!0;if(!e)return!1;if((lw(e)||uw(e))&&e.questionToken)return ew(t,524288)===n;if(aw(e)&&_h(e))return ew(t,524288)===n;return!1}(t,a,c)&&ue(n,a))}};return{syntacticBuilderResolver:n,typeToTypeNode:(e,t,n,r,i)=>s(t,n,r,i,(t=>_(e,t))),typePredicateToTypePredicateNode:(e,t,n,r,i)=>s(t,n,r,i,(t=>N(e,t))),serializeTypeForExpression:(e,t,n,r,i)=>s(t,n,r,i,(t=>xe.serializeTypeOfExpression(e,t))),serializeTypeForDeclaration:(e,t,n,r,i,o)=>s(n,r,i,o,(n=>xe.serializeTypeOfDeclaration(e,t,n))),serializeReturnTypeForSignature:(e,t,n,r,i)=>s(t,n,r,i,(t=>xe.serializeReturnTypeForSignature(e,_a(e),t))),indexInfoToIndexSignatureDeclaration:(e,t,n,r,i)=>s(t,n,r,i,(t=>k(e,t,void 0))),signatureToSignatureDeclaration:(e,t,n,r,i,o)=>s(n,r,i,o,(n=>D(e,t,n))),symbolToEntityName:(e,t,n,r,i,o)=>s(n,r,i,o,(n=>ne(e,n,t,!1))),symbolToExpression:(e,t,n,r,i,o)=>s(n,r,i,o,(n=>ie(e,n,t))),symbolToTypeParameterDeclarations:(e,t,n,r,i)=>s(t,n,r,i,(t=>V(e,t))),symbolToParameterDeclaration:(e,t,n,r,i)=>s(t,n,r,i,(t=>Q(e,t))),typeParameterToDeclaration:(e,t,n,r,i)=>s(t,n,r,i,(t=>P(e,t))),symbolTableToDeclarationStatements:(e,t,n,i,c)=>s(t,n,i,c,(t=>function(e,t){var n;const i=Ee(XS.createPropertyDeclaration,174,!0),s=Ee(((e,t,n,r)=>XS.createPropertySignature(e,t,n,r)),173,!1),c=t.enclosingDeclaration;let f=[];const m=new Set,h=[],y=t;t={...y,usedSymbolNames:new Set(y.usedSymbolNames),remappedSymbolNames:new Map,remappedSymbolReferences:new Map(null==(n=y.remappedSymbolReferences)?void 0:n.entries()),tracker:void 0};const b={...y.tracker.inner,trackSymbol:(e,n,r)=>{var i,o;if(null==(i=t.remappedSymbolNames)?void 0:i.has(VQ(e)))return!1;if(0===Wa(e,n,r,!1).accessibility){const n=U(e,t,r);if(!(4&e.flags)){const e=n[0],t=Ap(y.enclosingDeclaration);J(e.declarations,(e=>Ap(e)===t))&&z(e)}}else if(null==(o=y.tracker.inner)?void 0:o.trackSymbol)return y.tracker.inner.trackSymbol(e,n,r);return!1}};t.tracker=new ZQ(t,b,y.tracker.moduleResolverHost),np(e,((e,t)=>{Ne(e,mc(t))}));let C=!t.bundled;const E=e.get("export=");E&&e.size>1&&2098688&E.flags&&(e=Wd()).set("export=",E);return j(e),O(f);function x(e){return!!e&&80===e.kind}function I(e){return wI(e)?S(w(e.declarationList.declarations,Sc),x):S([Sc(e)],x)}function T(e){const t=A(e,mT),n=v(e,ZI);let r=-1!==n?e[n]:void 0;if(r&&t&&t.isExportEquals&&UD(t.expression)&&UD(r.name)&&hc(r.name)===hc(t.expression)&&r.body&&eT(r.body)){const i=S(e,(e=>!!(32&Ly(e)))),o=r.name;let s=r.body;if(l(i)&&(r=XS.updateModuleDeclaration(r,r.modifiers,r.name,s=XS.updateModuleBlock(s,XS.createNodeArray([...r.body.statements,XS.createExportDeclaration(void 0,!1,XS.createNamedExports(w(R(i,(e=>I(e))),(e=>XS.createExportSpecifier(!1,void 0,e)))),void 0)]))),e=[...e.slice(0,n),r,...e.slice(n+1)]),!A(e,(e=>e!==r&&bc(e,o)))){f=[];const n=!J(s.statements,(e=>wy(e,32)||mT(e)||hT(e)));u(s.statements,(e=>{X(e,n?32:0)})),e=[...S(e,(e=>e!==r&&e!==t)),...f]}}return e}function F(e){const t=S(e,(e=>hT(e)&&!e.moduleSpecifier&&!!e.exportClause&&gT(e.exportClause)));if(l(t)>1){const n=S(e,(e=>!hT(e)||!!e.moduleSpecifier||!e.exportClause));e=[...n,XS.createExportDeclaration(void 0,!1,XS.createNamedExports(R(t,(e=>tt(e.exportClause,gT).elements))),void 0)]}const n=S(e,(e=>hT(e)&&!!e.moduleSpecifier&&!!e.exportClause&&gT(e.exportClause)));if(l(n)>1){const t=Qe(n,(e=>kD(e.moduleSpecifier)?">"+e.moduleSpecifier.text:">"));if(t.length!==n.length)for(const n of t)n.length>1&&(e=[...S(e,(e=>!n.includes(e))),XS.createExportDeclaration(void 0,!1,XS.createNamedExports(R(n,(e=>tt(e.exportClause,gT).elements))),n[0].moduleSpecifier)])}return e}function N(e){const t=v(e,(e=>hT(e)&&!e.moduleSpecifier&&!e.attributes&&!!e.exportClause&&gT(e.exportClause)));if(t>=0){const n=e[t],r=q(n.exportClause.elements,(t=>{if(!t.propertyName&&11!==t.name.kind){const n=t.name,r=S(W(e),(t=>bc(e[t],n)));if(l(r)&&g(r,(t=>Vx(e[t])))){for(const t of r)e[t]=Q(e[t]);return}}return t}));l(r)?e[t]=XS.updateExportDeclaration(n,n.modifiers,n.isTypeOnly,XS.updateNamedExports(n.exportClause,r),n.moduleSpecifier,n.attributes):Mt(e,t)}return e}function O(e){return e=N(e=F(e=T(e))),c&&(JT(c)&&Zf(c)||ZI(c))&&(!J(e,Yu)||!Wu(e)&&J(e,zu))&&e.push(MF(XS)),e}function Q(e){const t=-129&Ly(e)|32;return XS.replaceModifiers(e,t)}function M(e){const t=-33&Ly(e);return XS.replaceModifiers(e,t)}function j(e,t,n){t||h.push(new Map),e.forEach((e=>{V(e,!1,!!n)})),t||(h[h.length-1].forEach((e=>{V(e,!0,!!n)})),h.pop())}function V(e,n,r){Uf(wu(e));const i=fa(e);if(m.has(VQ(i)))return;m.add(VQ(i));if(!n||l(e.declarations)&&J(e.declarations,(e=>!!dc(e,(e=>e===c))))){const i=ce(t);t.tracker.pushErrorFallbackNode(A(e.declarations,(e=>Ap(e)===t.enclosingFile))),H(e,n,r),t.tracker.popErrorFallbackNode(),i()}}function H(e,n,r,i=e.escapedName){var s,a,c,u,d,p;const f=mc(i),_="default"===i;if(n&&!(131072&t.flags)&&Tg(f)&&!_)return void(t.encounteredError=!0);let m=_&&!!(-113&e.flags||16&e.flags&&l(Uf(wu(e))))&&!(2097152&e.flags),h=!m&&!n&&Tg(f)&&!_;(m||h)&&(n=!0);const g=(n?0:32)|(_&&!m?2048:0),y=1536&e.flags&&7&e.flags&&"export="!==i,v=y&&Ce(wu(e),e);if((8208&e.flags||v)&&ue(wu(e),e,Ne(e,f),g),524288&e.flags&&Z(e,f,g),98311&e.flags&&"export="!==i&&!(4194304&e.flags)&&!(32&e.flags)&&!(8192&e.flags)&&!v)if(r){be(e)&&(h=!1,m=!1)}else{const l=wu(e),_=Ne(e,f);if(l.symbol&&l.symbol!==e&&16&l.symbol.flags&&J(l.symbol.declarations,$x)&&((null==(s=l.symbol.members)?void 0:s.size)||(null==(a=l.symbol.exports)?void 0:a.size)))t.remappedSymbolReferences||(t.remappedSymbolReferences=new Map),t.remappedSymbolReferences.set(VQ(l.symbol),e),H(l.symbol,n,r,i),t.remappedSymbolReferences.delete(VQ(l.symbol));else if(16&e.flags||!Ce(l,e)){const r=2&e.flags?ZT(e)?2:1:(null==(c=e.parent)?void 0:c.valueDeclaration)&&JT(null==(u=e.parent)?void 0:u.valueDeclaration)?2:void 0,i=!m&&4&e.flags?Fe(_,e):_;let s=e.declarations&&A(e.declarations,(e=>HI(e)));s&&GI(s.parent)&&1===s.parent.declarations.length&&(s=s.parent.parent);const a=null==(d=e.declarations)?void 0:d.find(zw);if(a&&uI(a.parent)&&UD(a.parent.right)&&(null==(p=l.symbol)?void 0:p.valueDeclaration)&&JT(l.symbol.valueDeclaration)){const e=_===a.parent.right.escapedText?void 0:a.parent.right;X(XS.createExportDeclaration(void 0,!1,XS.createNamedExports([XS.createExportSpecifier(!1,e,_)])),0),t.tracker.trackSymbol(l.symbol,t.enclosingDeclaration,111551)}else{X(o(t,XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(i,void 0,fe(t,void 0,l,e))],r)),s),i!==_?-33&g:g),i===_||n||(X(XS.createExportDeclaration(void 0,!1,XS.createNamedExports([XS.createExportSpecifier(!1,i,_)])),0),h=!1,m=!1)}}else ue(l,e,_,g)}if(384&e.flags&&se(e,f,g),32&e.flags&&(4&e.flags&&e.valueDeclaration&&uI(e.valueDeclaration.parent)&&mI(e.valueDeclaration.parent.right)?ye(e,Ne(e,f),g):ge(e,Ne(e,f),g)),(1536&e.flags&&(!y||re(e))||v)&&oe(e,f,g),64&e.flags&&!(32&e.flags)&&ee(e,f,g),2097152&e.flags&&ye(e,Ne(e,f),g),4&e.flags&&"export="===e.escapedName&&be(e),8388608&e.flags&&e.declarations)for(const n of e.declarations){const e=Xs(n,n.moduleSpecifier);e&&X(XS.createExportDeclaration(void 0,n.isTypeOnly,void 0,XS.createStringLiteral(K(e,t))),0)}m?X(XS.createExportAssignment(void 0,!1,XS.createIdentifier(Ne(e,f))),0):h&&X(XS.createExportDeclaration(void 0,!1,XS.createNamedExports([XS.createExportSpecifier(!1,Ne(e,f),f)])),0)}function z(e){if(J(e.declarations,Kg))return;un.assertIsDefined(h[h.length-1]),Fe(mc(e.escapedName),e);const t=!!(2097152&e.flags)&&!J(e.declarations,(e=>!!dc(e,hT)||pT(e)||rT(e)&&!ET(e.moduleReference)));h[t?0:h.length-1].set(VQ(e),e)}function Y(e){return JT(e)&&(Zf(e)||e_(e))||cf(e)&&!ff(e)}function X(e,n){if(cP(e)){let r=0;const i=t.enclosingDeclaration&&(wh(t.enclosingDeclaration)?Ap(t.enclosingDeclaration):t.enclosingDeclaration);32&n&&i&&(Y(i)||ZI(i))&&Vx(e)&&(r|=32),!C||32&r||i&&33554432&i.flags||!(XI(e)||wI(e)||WI(e)||zI(e)||ZI(e))||(r|=128),2048&n&&(zI(e)||YI(e)||WI(e))&&(r|=2048),r&&(e=XS.replaceModifiers(e,r|Ly(e)))}f.push(e)}function Z(e,n,r){var i;const o=pd(e),s=w(is(e).typeParameters,(e=>P(e,t))),a=null==(i=e.declarations)?void 0:i.find(wh),c=ll(a?a.comment||a.parent.comment:void 0),l=d(t);t.flags|=8388608;const u=t.enclosingDeclaration;t.enclosingDeclaration=a;const p=a&&a.typeExpression&&HT(a.typeExpression)&&xe.tryReuseExistingTypeNode(t,a.typeExpression.type)||_(o,t);X(gk(XS.createTypeAliasDeclaration(void 0,Ne(e,n),s,p),c?[{kind:3,text:"*\n * "+c.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),r),l(),t.enclosingDeclaration=u}function ee(e,n,r){const i=dd(e),o=w(Uu(e),(e=>P(e,t))),s=id(i),a=l(s)?Mv(s):void 0,c=R(Uf(i),(e=>Se(e,a))),u=ke(0,i,a,179),d=ke(1,i,a,180),p=De(i,a),f=l(s)?[XS.createHeritageClause(96,q(s,(e=>Ie(e,111551))))]:void 0;X(XS.createInterfaceDeclaration(void 0,Ne(e,n),o,f,[...p,...d,...u,...c]),r)}function te(e){let t=Pe(la(e).values());const n=fa(e);if(n!==e){const e=new Set(t);for(const t of la(n).values())111551&js(Qs(t))||e.add(t);t=Pe(e)}return S(t,(e=>_e(e)&&ma(e.escapedName,99)))}function re(e){return g(te(e),(e=>!(111551&js(Qs(e)))))}function oe(e,n,r){const i=$e(te(e),(t=>t.parent&&t.parent===e?"real":"merged")),o=i.get("real")||a,s=i.get("merged")||a;if(l(o)){pe(o,Ne(e,n),r,!!(67108880&e.flags))}if(l(s)){const r=Ap(t.enclosingDeclaration),i=Ne(e,n),o=XS.createModuleBlock([XS.createExportDeclaration(void 0,!1,XS.createNamedExports(q(S(s,(e=>"export="!==e.escapedName)),(n=>{var i,o;const s=mc(n.escapedName),a=Ne(n,s),c=n.declarations&&vs(n);if(r&&(c?r!==Ap(c):!J(n.declarations,(e=>Ap(e)===r))))return void(null==(o=null==(i=t.tracker)?void 0:i.reportNonlocalAugmentation)||o.call(i,r,e,n));const l=c&&qs(c,!0);z(l||n);const u=l?Ne(l,mc(l.escapedName)):a;return XS.createExportSpecifier(!1,s===u?void 0:u,s)}))))]);X(XS.createModuleDeclaration(void 0,XS.createIdentifier(i),o,32),0)}}function se(e,t,n){X(XS.createEnumDeclaration(XS.createModifiersFromModifierFlags(WO(e)?4096:0),Ne(e,t),w(S(Uf(wu(e)),(e=>!!(8&e.flags))),(e=>{const t=e.declarations&&e.declarations[0]&&UT(e.declarations[0])?$M(e.declarations[0]):void 0;return XS.createEnumMember(mc(e.escapedName),void 0===t?void 0:"string"==typeof t?XS.createStringLiteral(t):XS.createNumericLiteral(t))}))),n)}function ue(e,n,r,i){const s=_m(e,0);for(const e of s){const n=D(e,262,t,{name:XS.createIdentifier(r)});X(o(t,n,de(e)),i)}if(!(1536&n.flags&&n.exports&&n.exports.size)){pe(S(Uf(e),_e),r,i,!0)}}function de(e){if(e.declaration&&e.declaration.parent){if(uI(e.declaration.parent)&&5===th(e.declaration.parent))return e.declaration.parent;if(HI(e.declaration.parent)&&e.declaration.parent.parent)return e.declaration.parent.parent}return e.declaration}function pe(e,n,r,i){if(l(e)){const o=$e(e,(e=>!l(e.declarations)||J(e.declarations,(e=>Ap(e)===Ap(t.enclosingDeclaration)))?"local":"remote")),s=o.get("local")||a;let u=dP.createModuleDeclaration(void 0,XS.createIdentifier(n),XS.createModuleBlock([]),32);wx(u,c),u.locals=Wd(e),u.symbol=e[0].parent;const d=f;f=[];const p=C;C=!1;const _={...t,enclosingDeclaration:u},m=t;t=_,j(Wd(s),i,!0),t=m,C=p;const h=f;f=d;const A=w(h,(e=>mT(e)&&!e.isExportEquals&&UD(e.expression)?XS.createExportDeclaration(void 0,!1,XS.createNamedExports([XS.createExportSpecifier(!1,e.expression,XS.createIdentifier("default"))])):e)),y=g(A,(e=>wy(e,32)))?w(A,M):A;u=XS.updateModuleDeclaration(u,u.modifiers,u.name,XS.createModuleBlock(y)),X(u,r)}}function _e(e){return!!(2887656&e.flags)||!(4194304&e.flags||"prototype"===e.escapedName||e.valueDeclaration&&Iy(e.valueDeclaration)&&du(e.valueDeclaration.parent))}function me(e){const n=q(e,(e=>{const n=t.enclosingDeclaration;t.enclosingDeclaration=e;let i=e.expression;if(av(i)){if(UD(i)&&""===hc(i))return o(void 0);let e;if(({introducesError:e,node:i}=he(i,t)),e)return o(void 0)}return o(XS.createExpressionWithTypeArguments(i,w(e.typeArguments,(e=>xe.tryReuseExistingTypeNode(t,e)||_(r(t,e),t)))));function o(e){return t.enclosingDeclaration=n,e}}));if(n.length===e.length)return n}function ge(e,n,r){var s,c;const d=null==(s=e.declarations)?void 0:s.find(du),p=t.enclosingDeclaration;t.enclosingDeclaration=d||p;const f=w(Uu(e),(e=>P(e,t))),_=Cp(dd(e)),m=id(_),h=d&&vg(d),g=h&&me(h)||q(function(e){let t=a;if(e.symbol.declarations)for(const n of e.symbol.declarations){const e=vg(n);if(e)for(const n of e){const e=PC(n);Gc(e)||(t===a?t=[e]:t.push(e))}}return t}(_),Te),A=wu(e),y=!!(null==(c=A.symbol)?void 0:c.valueDeclaration)&&du(A.symbol.valueDeclaration),v=y?nd(A):kt,b=[...l(m)?[XS.createHeritageClause(96,w(m,(e=>we(e,v,n))))]:[],...l(g)?[XS.createHeritageClause(119,g)]:[]],C=function(e,t,n){if(!l(t))return n;const r=new Map;u(n,(e=>{r.set(e.escapedName,e)}));for(const n of t){const t=Uf(Cp(n,e.thisType));for(const e of t){const t=r.get(e.escapedName);t&&e.parent===t.parent&&r.delete(e.escapedName)}}return Pe(r.values())}(_,m,Uf(_)),E=S(C,(e=>{const t=e.valueDeclaration;return!(!t||Ec(t)&&JD(t.name))})),x=J(C,(e=>{const t=e.valueDeclaration;return!!t&&Ec(t)&&JD(t.name)}))?[XS.createPropertyDeclaration(void 0,XS.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:a,k=R(E,(e=>i(e,!1,m[0]))),D=R(S(Uf(A),(e=>!(4194304&e.flags||"prototype"===e.escapedName||_e(e)))),(e=>i(e,!0,v))),I=!y&&!!e.valueDeclaration&&Tm(e.valueDeclaration)&&!J(_m(A,1))?[XS.createConstructorDeclaration(XS.createModifiersFromModifierFlags(2),[],void 0)]:ke(1,A,v,176),T=De(_,m[0]);t.enclosingDeclaration=p,X(o(t,XS.createClassDeclaration(void 0,n,f,b,[...T,...D,...I,...k,...x]),e.declarations&&S(e.declarations,(e=>zI(e)||mI(e)))[0]),r)}function Ae(e){return p(e,(e=>{if(_T(e)||AT(e))return Vp(e.propertyName||e.name);if(uI(e)||mT(e)){const t=mT(e)?e.expression:e.right;if(zw(t))return hc(t.name)}if(bs(e)){const t=Sc(e);if(t&&UD(t))return hc(t)}}))}function ye(e,n,r){var i,o,s,a,c;const l=vs(e);if(!l)return un.fail();const u=fa(qs(l,!0));if(!u)return;let d=df(u)&&Ae(e.declarations)||mc(u.escapedName);"export="===d&&G&&(d="default");const p=Ne(u,d);switch(z(u),l.kind){case 208:if(260===(null==(o=null==(i=l.parent)?void 0:i.parent)?void 0:o.kind)){const e=K(u.parent||u,t),{propertyName:r}=l;X(XS.createImportDeclaration(void 0,XS.createImportClause(!1,void 0,XS.createNamedImports([XS.createImportSpecifier(!1,r&&UD(r)?XS.createIdentifier(hc(r)):void 0,XS.createIdentifier(n))])),XS.createStringLiteral(e),void 0),0);break}un.failBadSyntaxKind((null==(s=l.parent)?void 0:s.parent)||l,"Unhandled binding element grandparent kind in declaration serialization");break;case 304:226===(null==(c=null==(a=l.parent)?void 0:a.parent)?void 0:c.kind)&&ve(mc(e.escapedName),p);break;case 260:if(zw(l.initializer)){const e=l.initializer,i=XS.createUniqueName(n),o=K(u.parent||u,t);X(XS.createImportEqualsDeclaration(void 0,!1,i,XS.createExternalModuleReference(XS.createStringLiteral(o))),0),X(XS.createImportEqualsDeclaration(void 0,!1,XS.createIdentifier(n),XS.createQualifiedName(i,e.name)),r);break}case 271:if("export="===u.escapedName&&J(u.declarations,(e=>JT(e)&&e_(e)))){be(e);break}const f=!(512&u.flags||HI(l));X(XS.createImportEqualsDeclaration(void 0,!1,XS.createIdentifier(n),f?ne(u,t,-1,!1):XS.createExternalModuleReference(XS.createStringLiteral(K(u,t)))),f?r:0);break;case 270:X(XS.createNamespaceExportDeclaration(hc(l.name)),0);break;case 273:{const e=K(u.parent||u,t),r=t.bundled?XS.createStringLiteral(e):l.parent.moduleSpecifier,i=iT(l.parent)?l.parent.attributes:void 0,o=PF(l.parent);X(XS.createImportDeclaration(void 0,XS.createImportClause(o,XS.createIdentifier(n),void 0),r,i),0);break}case 274:{const e=K(u.parent||u,t),r=t.bundled?XS.createStringLiteral(e):l.parent.parent.moduleSpecifier,i=PF(l.parent.parent);X(XS.createImportDeclaration(void 0,XS.createImportClause(i,void 0,XS.createNamespaceImport(XS.createIdentifier(n))),r,l.parent.attributes),0);break}case 280:X(XS.createExportDeclaration(void 0,!1,XS.createNamespaceExport(XS.createIdentifier(n)),XS.createStringLiteral(K(u,t))),0);break;case 276:{const e=K(u.parent||u,t),r=t.bundled?XS.createStringLiteral(e):l.parent.parent.parent.moduleSpecifier,i=PF(l.parent.parent.parent);X(XS.createImportDeclaration(void 0,XS.createImportClause(i,void 0,XS.createNamedImports([XS.createImportSpecifier(!1,n!==d?XS.createIdentifier(d):void 0,XS.createIdentifier(n))])),r,l.parent.parent.parent.attributes),0);break}case 281:const _=l.parent.parent.moduleSpecifier;if(_){const e=l.propertyName;e&&Gp(e)&&(d="default")}ve(mc(e.escapedName),_?d:p,_&&Od(_)?XS.createStringLiteral(_.text):void 0);break;case 277:be(e);break;case 226:case 211:case 212:"default"===e.escapedName||"export="===e.escapedName?be(e):ve(n,p);break;default:return un.failBadSyntaxKind(l,"Unhandled alias declaration kind in symbol serializer!")}}function ve(e,t,n){X(XS.createExportDeclaration(void 0,!1,XS.createNamedExports([XS.createExportSpecifier(!1,e!==t?t:void 0,e)]),n),0)}function be(e){var n;if(4194304&e.flags)return!1;const r=mc(e.escapedName),i="export="===r,o=i||"default"===r,s=e.declarations&&vs(e),a=s&&qs(s,!0);if(a&&l(a.declarations)&&J(a.declarations,(e=>Ap(e)===Ap(c)))){const n=s&&(mT(s)||uI(s)?hg(s):gg(s)),l=n&&av(n)?function(e){switch(e.kind){case 80:return e;case 166:do{e=e.left}while(80!==e.kind);return e;case 211:do{if(eh(e.expression)&&!JD(e.name))return e.name;e=e.expression}while(80!==e.kind);return e}}(n):void 0,u=l&&zs(l,-1,!0,!0,c);(u||a)&&z(u||a);const d=t.tracker.disableTrackSymbol;if(t.tracker.disableTrackSymbol=!0,o)f.push(XS.createExportAssignment(void 0,i,ie(a,t,-1)));else if(l===n&&l)ve(r,hc(l));else if(n&&mI(n))ve(r,Ne(a,Ac(a)));else{const n=Fe(r,e);X(XS.createImportEqualsDeclaration(void 0,!1,XS.createIdentifier(n),ne(a,t,-1,!1)),0),ve(r,n)}return t.tracker.disableTrackSymbol=d,!0}{const s=Fe(r,e),c=Qk(wu(fa(e)));if(Ce(c,e))ue(c,e,s,o?0:32);else{const i=267!==(null==(n=t.enclosingDeclaration)?void 0:n.kind)||98304&e.flags&&!(65536&e.flags)?2:1;X(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(s,void 0,fe(t,void 0,c,e))],i)),a&&4&a.flags&&"export="===a.escapedName?128:r===s?32:0)}return o?(f.push(XS.createExportAssignment(void 0,i,XS.createIdentifier(s))),!0):r!==s&&(ve(r,s),!0)}}function Ce(e,n){var r;const i=Ap(t.enclosingDeclaration);return 48&gb(e)&&!J(null==(r=e.symbol)?void 0:r.declarations,vu)&&!l(Qm(e))&&!Cc(e)&&!(!l(S(Uf(e),_e))&&!l(_m(e,0)))&&!l(_m(e,1))&&!le(n,c)&&!(e.symbol&&J(e.symbol.declarations,(e=>Ap(e)!==i)))&&!J(Uf(e),(e=>sp(e.escapedName)))&&!J(Uf(e),(e=>J(e.declarations,(e=>Ap(e)!==i))))&&g(Uf(e),(e=>!!ma(Ac(e),$)&&(!(98304&e.flags)||Iu(e)===Du(e))))}function Ee(e,n,r){return function(i,s,a){var c,l,d,p,f,_;const m=ob(i),h=!!(2&m);if(s&&2887656&i.flags)return[];if(4194304&i.flags||"constructor"===i.escapedName||a&&z_(a,i.escapedName)&&qO(z_(a,i.escapedName))===qO(i)&&(16777216&i.flags)==(16777216&z_(a,i.escapedName).flags)&&EE(wu(i),Jc(a,i.escapedName)))return[];const g=-1025&m|(s?256:0),A=ae(i,t),y=null==(c=i.declarations)?void 0:c.find(Zt(uw,pu,HI,lw,uI,zw));if(98304&i.flags&&r){const e=[];if(65536&i.flags){const n=i.declarations&&u(i.declarations,(e=>178===e.kind?e:Kw(e)&&nh(e)?u(e.arguments[2].properties,(e=>{const t=Sc(e);if(t&&UD(t)&&"set"===hc(t))return e})):void 0));un.assert(!!n);const r=ou(n)?Sh(n).parameters[0]:void 0,s=null==(l=i.declarations)?void 0:l.find(kd);e.push(o(t,XS.createSetAccessorDeclaration(XS.createModifiersFromModifierFlags(g),A,[XS.createParameterDeclaration(void 0,void 0,r?L(r,B(r),t):"value",void 0,h?void 0:fe(t,s,Du(i),i))],void 0),s??y))}if(32768&i.flags){const n=2&m,r=null==(d=i.declarations)?void 0:d.find(Dd);e.push(o(t,XS.createGetAccessorDeclaration(XS.createModifiersFromModifierFlags(g),A,[],n?void 0:fe(t,r,wu(i),i),void 0),r??y))}return e}if(98311&i.flags)return o(t,e(XS.createModifiersFromModifierFlags((qO(i)?8:0)|g),A,16777216&i.flags?XS.createToken(58):void 0,h?void 0:fe(t,null==(p=i.declarations)?void 0:p.find(hw),Du(i),i),void 0),(null==(f=i.declarations)?void 0:f.find(Zt(uw,HI)))||y);if(8208&i.flags){const r=_m(wu(i),0);if(2&g)return o(t,e(XS.createModifiersFromModifierFlags((qO(i)?8:0)|g),A,16777216&i.flags?XS.createToken(58):void 0,void 0,void 0),(null==(_=i.declarations)?void 0:_.find(ou))||r[0]&&r[0].declaration||i.declarations&&i.declarations[0]);const s=[];for(const e of r){const r=D(e,n,t,{name:A,questionToken:16777216&i.flags?XS.createToken(58):void 0,modifiers:g?XS.createModifiersFromModifierFlags(g):void 0}),a=e.declaration&&fh(e.declaration.parent)?e.declaration.parent:e.declaration;s.push(o(t,r,a))}return s}return un.fail(`Unhandled class member kind! ${i.__debugFlags||i.flags}`)}}function Se(e,t){return s(e,!1,t)}function ke(e,n,r,i){const s=_m(n,e);if(1===e){if(!r&&g(s,(e=>0===l(e.parameters))))return[];if(r){const e=_m(r,1);if(!l(e)&&g(s,(e=>0===l(e.parameters))))return[];if(e.length===s.length){let t=!1;for(let n=0;n_(e,t))),i=ie(e.target.symbol,t,788968)):e.symbol&&Ha(e.symbol,c,n)&&(i=ie(e.symbol,t,788968)),i)return XS.createExpressionWithTypeArguments(i,r)}function Te(e){const n=Ie(e,788968);return n||(e.symbol?XS.createExpressionWithTypeArguments(ie(e.symbol,t,788968),void 0):void 0)}function Fe(e,n){var r,i;const o=n?VQ(n):void 0;if(o&&t.remappedSymbolNames.has(o))return t.remappedSymbolNames.get(o);n&&(e=Re(n,e));let s=0;const a=e;for(;null==(r=t.usedSymbolNames)?void 0:r.has(e);)s++,e=`${a}_${s}`;return null==(i=t.usedSymbolNames)||i.add(e),o&&t.remappedSymbolNames.set(o,e),e}function Re(e,n){if("default"===n||"__class"===n||"__function"===n){const r=d(t);t.flags|=16777216;const i=Nc(e,t);r(),n=i.length>0&&Mm(i.charCodeAt(0))?IA(i):i}return"default"===n?n="_default":"export="===n&&(n="_exports"),n=ma(n,$)&&!Tg(n)?n:"_"+n.replace(/[^a-z0-9]/gi,"_")}function Ne(e,n){const r=VQ(e);return t.remappedSymbolNames.has(r)?t.remappedSymbolNames.get(r):(n=Re(e,n),t.remappedSymbolNames.set(r,n),n)}}(e,t))),symbolToNode:(e,t,n,r,i,o)=>s(n,r,i,o,(n=>function(e,t,n){if(1&t.internalFlags){if(e.valueDeclaration){const t=Sc(e.valueDeclaration);if(t&&ow(t))return t}const r=is(e).nameType;if(r&&9216&r.flags)return t.enclosingDeclaration=r.symbol.valueDeclaration,XS.createComputedPropertyName(ie(r.symbol,t,n))}return ie(e,t,n)}(e,n,t)))};function r(e,t,n){const r=xc(t);if(!e.mapper)return r;const i=_E(r,e.mapper);return n&&i!==r?void 0:i}function o(e,t,n){if(eA(t)&&16&t.flags&&e.enclosingFile&&e.enclosingFile===Ap(uc(t))||(t=XS.cloneNode(t)),t===n)return t;if(!n)return t;let r=t.original;for(;r&&r!==n;)r=r.original;return r||ek(t,n),e.enclosingFile&&e.enclosingFile===Ap(uc(n))?aP(t,n):t}function s(t,n,r,i,o){const s=(null==i?void 0:i.trackSymbol)?i.moduleResolverHost:4&(r||0)?function(e){return{getCommonSourceDirectory:e.getCommonSourceDirectory?()=>e.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>e.getCurrentDirectory(),getSymlinkCache:Je(e,e.getSymlinkCache),getPackageJsonInfoCache:()=>{var t;return null==(t=e.getPackageJsonInfoCache)?void 0:t.call(e)},useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames(),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:t=>e.getProjectReferenceRedirect(t),isSourceOfProjectReferenceRedirect:t=>e.isSourceOfProjectReferenceRedirect(t),fileExists:t=>e.fileExists(t),getFileIncludeReasons:()=>e.getFileIncludeReasons(),readFile:e.readFile?t=>e.readFile(t):void 0,getDefaultResolutionModeForFile:t=>e.getDefaultResolutionModeForFile(t),getModeForResolutionAtIndex:(t,n)=>e.getModeForResolutionAtIndex(t,n),getGlobalTypingsCacheLocation:Je(e,e.getGlobalTypingsCacheLocation)}}(e):void 0,a={enclosingDeclaration:t,enclosingFile:t&&Ap(t),flags:n||0,internalFlags:r||0,tracker:void 0,encounteredError:!1,suppressReportInferenceFallback:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0,trackedSymbols:void 0,bundled:!!O.outFile&&!!t&&Zf(Ap(t)),truncating:!1,usedSymbolNames:void 0,remappedSymbolNames:void 0,remappedSymbolReferences:void 0,reverseMappedStack:void 0,mustCreateTypeParameterSymbolList:!0,typeParameterSymbolList:void 0,mustCreateTypeParametersNamesLookups:!0,typeParameterNames:void 0,typeParameterNamesByText:void 0,typeParameterNamesByTextNextNameCount:void 0,enclosingSymbolTypes:new Map,mapper:void 0};a.tracker=new ZQ(a,i,s);const c=o(a);return a.truncating&&1&a.flags&&a.tracker.reportTruncationError(),a.encounteredError?void 0:c}function c(e,t,n){const r=VQ(t),i=e.enclosingSymbolTypes.get(r);return e.enclosingSymbolTypes.set(r,n),function(){i?e.enclosingSymbolTypes.set(r,i):e.enclosingSymbolTypes.delete(r)}}function d(e){const t=e.flags,n=e.internalFlags;return function(){e.flags=t,e.internalFlags=n}}function f(e){return e.truncating?e.truncating:e.truncating=e.approximateLength>(1&e.flags?Vd:Jd)}function _(e,n){const s=d(n),c=function(e,n){var s,c;t&&t.throwIfCancellationRequested&&t.throwIfCancellationRequested();const p=8388608&n.flags;if(n.flags&=-8388609,!e)return 262144&n.flags?(n.approximateLength+=3,XS.createKeywordTypeNode(133)):void(n.encounteredError=!0);536870912&n.flags||(e=$_(e));if(1&e.flags)return e.aliasSymbol?XS.createTypeReferenceNode(X(e.aliasSymbol),E(e.aliasTypeArguments,n)):e===Ft?Ak(XS.createKeywordTypeNode(133),3,"unresolved"):(n.approximateLength+=3,XS.createKeywordTypeNode(e===Pt?141:133));if(2&e.flags)return XS.createKeywordTypeNode(159);if(4&e.flags)return n.approximateLength+=6,XS.createKeywordTypeNode(154);if(8&e.flags)return n.approximateLength+=6,XS.createKeywordTypeNode(150);if(64&e.flags)return n.approximateLength+=6,XS.createKeywordTypeNode(163);if(16&e.flags&&!e.aliasSymbol)return n.approximateLength+=7,XS.createKeywordTypeNode(136);if(1056&e.flags){if(8&e.symbol.flags){const t=Aa(e.symbol),r=Z(t,n,788968);if(Cd(t)===e)return r;const i=Ac(e.symbol);return ma(i,1)?$(r,XS.createTypeReferenceNode(i,void 0)):Mw(r)?(r.isTypeOf=!0,XS.createIndexedAccessTypeNode(r,XS.createLiteralTypeNode(XS.createStringLiteral(i)))):bw(r)?XS.createIndexedAccessTypeNode(XS.createTypeQueryNode(r.typeName),XS.createLiteralTypeNode(XS.createStringLiteral(i))):un.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return Z(e.symbol,n,788968)}if(128&e.flags)return n.approximateLength+=e.value.length+2,XS.createLiteralTypeNode(ik(XS.createStringLiteral(e.value,!!(268435456&n.flags)),16777216));if(256&e.flags){const t=e.value;return n.approximateLength+=(""+t).length,XS.createLiteralTypeNode(t<0?XS.createPrefixUnaryExpression(41,XS.createNumericLiteral(-t)):XS.createNumericLiteral(t))}if(2048&e.flags)return n.approximateLength+=hx(e.value).length+1,XS.createLiteralTypeNode(XS.createBigIntLiteral(e.value));if(512&e.flags)return n.approximateLength+=e.intrinsicName.length,XS.createLiteralTypeNode("true"===e.intrinsicName?XS.createTrue():XS.createFalse());if(8192&e.flags){if(!(1048576&n.flags)){if(Va(e.symbol,n.enclosingDeclaration))return n.approximateLength+=6,Z(e.symbol,n,111551);n.tracker.reportInaccessibleUniqueSymbolError&&n.tracker.reportInaccessibleUniqueSymbolError()}return n.approximateLength+=13,XS.createTypeOperatorNode(158,XS.createKeywordTypeNode(155))}if(16384&e.flags)return n.approximateLength+=4,XS.createKeywordTypeNode(116);if(32768&e.flags)return n.approximateLength+=9,XS.createKeywordTypeNode(157);if(65536&e.flags)return n.approximateLength+=4,XS.createLiteralTypeNode(XS.createNull());if(131072&e.flags)return n.approximateLength+=5,XS.createKeywordTypeNode(146);if(4096&e.flags)return n.approximateLength+=6,XS.createKeywordTypeNode(155);if(67108864&e.flags)return n.approximateLength+=6,XS.createKeywordTypeNode(151);if(jx(e))return 4194304&n.flags&&(n.encounteredError||32768&n.flags||(n.encounteredError=!0),null==(c=(s=n.tracker).reportInaccessibleThisError)||c.call(s)),n.approximateLength+=4,XS.createThisTypeNode();if(!p&&e.aliasSymbol&&(16384&n.flags||(h=e.aliasSymbol,g=n.enclosingDeclaration,0===za(h,g,788968,!1,!0).accessibility))){const t=E(e.aliasTypeArguments,n);return!Oa(e.aliasSymbol.escapedName)||32&e.aliasSymbol.flags?1===l(t)&&e.aliasSymbol===Zn.symbol?XS.createArrayTypeNode(t[0]):Z(e.aliasSymbol,n,788968,t):XS.createTypeReferenceNode(XS.createIdentifier(""),t)}var h,g;const A=gb(e);if(4&A)return un.assert(!!(524288&e.flags)),e.node?B(e,q):q(e);if(262144&e.flags||3&A){if(262144&e.flags&&C(n.inferTypeParameters,e)){let t;n.approximateLength+=Ac(e.symbol).length+6;const r=Gf(e);if(r){const i=zg(e,!0);i&&EE(r,i)||(n.approximateLength+=9,t=r&&_(r,n))}return XS.createInferTypeNode(F(e,n,t))}if(4&n.flags&&262144&e.flags){const t=te(e,n);return n.approximateLength+=hc(t).length,XS.createTypeReferenceNode(XS.createIdentifier(hc(t)),void 0)}if(e.symbol)return Z(e.symbol,n,788968);const t=(e===jn||e===Un)&&i&&i.symbol?(e===Un?"sub-":"super-")+Ac(i.symbol):"?";return XS.createTypeReferenceNode(XS.createIdentifier(t),void 0)}1048576&e.flags&&e.origin&&(e=e.origin);if(3145728&e.flags){const t=1048576&e.flags?function(e){const t=[];let n=0;for(let r=0;r0?1048576&e.flags?XS.createUnionTypeNode(r):XS.createIntersectionTypeNode(r):void(n.encounteredError||262144&n.flags||(n.encounteredError=!0))}if(48&A)return un.assert(!!(524288&e.flags)),N(e);if(4194304&e.flags){const t=e.type;n.approximateLength+=6;const r=_(t,n);return XS.createTypeOperatorNode(143,r)}if(134217728&e.flags){const t=e.texts,r=e.types,i=XS.createTemplateHead(t[0]),o=XS.createNodeArray(w(r,((e,i)=>XS.createTemplateLiteralTypeSpan(_(e,n),(iv(e)));if(33554432&e.flags){const t=_(e.baseType,n),r=xA(e)&&UA("NoInfer",!1);return r?Z(r,n,788968,[t]):t}return un.fail("Should be unreachable.");function v(e){const t=_(e.checkType,n);if(n.approximateLength+=15,4&n.flags&&e.root.isDistributive&&!(262144&e.checkType.flags)){const i=Ba(Vo(262144,"T")),o=te(i,n),s=XS.createTypeReferenceNode(o);n.approximateLength+=37;const a=tE(e.root.checkType,i,e.mapper),c=n.inferTypeParameters;n.inferTypeParameters=e.root.inferTypeParameters;const l=_(_E(e.root.extendsType,a),n);n.inferTypeParameters=c;const u=b(_E(r(n,e.root.node.trueType),a)),d=b(_E(r(n,e.root.node.falseType),a));return XS.createConditionalTypeNode(t,XS.createInferTypeNode(XS.createTypeParameterDeclaration(void 0,XS.cloneNode(s.typeName))),XS.createConditionalTypeNode(XS.createTypeReferenceNode(XS.cloneNode(o)),_(e.checkType,n),XS.createConditionalTypeNode(s,l,u,d),XS.createKeywordTypeNode(146)),XS.createKeywordTypeNode(146))}const i=n.inferTypeParameters;n.inferTypeParameters=e.root.inferTypeParameters;const o=_(e.extendsType,n);n.inferTypeParameters=i;const s=b(Jb(e)),a=b(Vb(e));return XS.createConditionalTypeNode(t,o,s,a)}function b(e){var t,r,i;return 1048576&e.flags?(null==(t=n.visitedTypes)?void 0:t.has(xv(e)))?(131072&n.flags||(n.encounteredError=!0,null==(i=null==(r=n.tracker)?void 0:r.reportCyclicStructureError)||i.call(r)),m(n)):B(e,(e=>_(e,n))):_(e,n)}function I(e){return!!lE(e)}function R(e){return!!e.target&&I(e.target)&&!I(e)}function P(e){var t;un.assert(!!(524288&e.flags));const i=e.declaration.readonlyToken?XS.createToken(e.declaration.readonlyToken.kind):void 0,o=e.declaration.questionToken?XS.createToken(e.declaration.questionToken.kind):void 0;let s,a;const c=!Af(e)&&!(2&yf(e).flags)&&4&n.flags&&!(262144&rf(e).flags&&4194304&(null==(t=Gf(rf(e)))?void 0:t.flags));if(Af(e)){if(R(e)&&4&n.flags){const e=te(Ba(Vo(262144,"T")),n);a=XS.createTypeReferenceNode(e)}s=XS.createTypeOperatorNode(143,a||_(yf(e),n))}else if(c){const e=te(Ba(Vo(262144,"T")),n);a=XS.createTypeReferenceNode(e),s=a}else s=_(rf(e),n);const l=F(nf(e),n,s),u=e.declaration.nameType?_(of(e),n):void 0,d=_(kk(uf(e),!!(4&vf(e))),n),p=XS.createMappedTypeNode(i,l,u,o,d,void 0);n.approximateLength+=10;const f=ik(p,1);if(R(e)&&4&n.flags){const t=_E(Gf(r(n,e.declaration.typeParameter.constraint.type))||Bt,e.mapper);return XS.createConditionalTypeNode(_(yf(e),n),XS.createInferTypeNode(XS.createTypeParameterDeclaration(void 0,XS.cloneNode(a.typeName),2&t.flags?void 0:_(t,n))),f,XS.createKeywordTypeNode(146))}return c?XS.createConditionalTypeNode(_(rf(e),n),XS.createInferTypeNode(XS.createTypeParameterDeclaration(void 0,XS.cloneNode(a.typeName),XS.createTypeOperatorNode(143,_(yf(e),n)))),f,XS.createKeywordTypeNode(146)):f}function N(e){var t,i;const o=e.id,s=e.symbol;if(s){if(!!(8388608&gb(e))){const i=e.node;if(xw(i)&&r(n,i)===e){const e=xe.tryReuseExistingTypeNode(n,i);if(e)return e}return(null==(t=n.visitedTypes)?void 0:t.has(o))?m(n):B(e,O)}const c=Cc(e)?788968:111551;if(CB(s.valueDeclaration))return Z(s,n,c);if(32&s.flags&&!gu(s)&&(!(s.valueDeclaration&&du(s.valueDeclaration)&&2048&n.flags)||zI(s.valueDeclaration)&&0===Wa(s,n.enclosingDeclaration,c,!1).accessibility)||896&s.flags||a())return Z(s,n,c);if(null==(i=n.visitedTypes)?void 0:i.has(o)){const t=function(e){if(e.symbol&&2048&e.symbol.flags&&e.symbol.declarations){const t=ng(e.symbol.declarations[0].parent);if(KI(t))return _a(t)}return}(e);return t?Z(t,n,788968):m(n)}return B(e,O)}return O(e);function a(){var e;const t=!!(8192&s.flags)&&J(s.declarations,(e=>Iy(e))),r=!!(16&s.flags)&&(s.parent||u(s.declarations,(e=>307===e.parent.kind||268===e.parent.kind)));if(t||r)return(!!(4096&n.flags)||(null==(e=n.visitedTypes)?void 0:e.has(o)))&&(!(8&n.flags)||Va(s,n.enclosingDeclaration))}}function B(e,t){var r,i,s;const a=e.id,c=16&gb(e)&&e.symbol&&32&e.symbol.flags,l=4&gb(e)&&e.node?"N"+JQ(e.node):16777216&e.flags?"N"+JQ(e.root.node):e.symbol?(c?"+":"")+VQ(e.symbol):void 0;n.visitedTypes||(n.visitedTypes=new Set),l&&!n.symbolDepth&&(n.symbolDepth=new Map);const u=n.enclosingDeclaration&&ss(n.enclosingDeclaration),d=`${xv(e)}|${n.flags}|${n.internalFlags}`;u&&(u.serializedTypes||(u.serializedTypes=new Map));const p=null==(r=null==u?void 0:u.serializedTypes)?void 0:r.get(d);if(p)return null==(i=p.trackedSymbols)||i.forEach((([e,t,r])=>n.tracker.trackSymbol(e,t,r))),p.truncating&&(n.truncating=!0),n.approximateLength+=p.addedLength,y(p.node);let f;if(l){if(f=n.symbolDepth.get(l)||0,f>10)return m(n);n.symbolDepth.set(l,f+1)}n.visitedTypes.add(a);const _=n.trackedSymbols;n.trackedSymbols=void 0;const h=n.approximateLength,g=t(e),A=n.approximateLength-h;return n.reportedDiagnostic||n.encounteredError||null==(s=null==u?void 0:u.serializedTypes)||s.set(d,{node:g,truncating:n.truncating,addedLength:A,trackedSymbols:n.trackedSymbols}),n.visitedTypes.delete(a),l&&n.symbolDepth.set(l,f),n.trackedSymbols=_,g;function y(e){return eA(e)||fc(e)!==e?o(n,XS.cloneNode(uL(e,y,void 0,v,y)),e):e}function v(e,t,n,r,i){return e&&0===e.length?aP(XS.createNodeArray(void 0,e.hasTrailingComma),e):tL(e,t,n,r,i)}}function O(e){if(Ef(e)||e.containsError)return P(e);const t=Sf(e);if(!t.properties.length&&!t.indexInfos.length){if(!t.callSignatures.length&&!t.constructSignatures.length)return n.approximateLength+=2,ik(XS.createTypeLiteralNode(void 0),1);if(1===t.callSignatures.length&&!t.constructSignatures.length){return D(t.callSignatures[0],184,n)}if(1===t.constructSignatures.length&&!t.callSignatures.length){return D(t.constructSignatures[0],185,n)}}const r=S(t.constructSignatures,(e=>!!(4&e.flags)));if(J(r)){const e=w(r,(e=>Ig(e)));return t.callSignatures.length+(t.constructSignatures.length-r.length)+t.indexInfos.length+(2048&n.flags?x(t.properties,(e=>!(4194304&e.flags))):l(t.properties))&&e.push(function(e){if(0===e.constructSignatures.length)return e;if(e.objectTypeWithoutAbstractConstructSignatures)return e.objectTypeWithoutAbstractConstructSignatures;const t=S(e.constructSignatures,(e=>!(4&e.flags)));if(e.constructSignatures===t)return e;const n=La(e.symbol,e.members,e.callSignatures,J(t)?t:a,e.indexInfos);return e.objectTypeWithoutAbstractConstructSignatures=n,n.objectTypeWithoutAbstractConstructSignatures=n,n}(t)),_(Mv(e),n)}const i=d(n);n.flags|=4194304;const o=L(t);i();const s=XS.createTypeLiteralNode(o);return n.approximateLength+=2,ik(s,1024&n.flags?0:1),s}function q(e){let t=pA(e);if(e.target===Zn||e.target===nr){if(2&n.flags){const r=_(t[0],n);return XS.createTypeReferenceNode(e.target===Zn?"Array":"ReadonlyArray",[r])}const r=_(t[0],n),i=XS.createArrayTypeNode(r);return e.target===Zn?i:XS.createTypeOperatorNode(148,i)}if(!(8&e.target.objectFlags)){if(2048&n.flags&&e.symbol.valueDeclaration&&du(e.symbol.valueDeclaration)&&!Va(e.symbol,n.enclosingDeclaration))return N(e);{const r=e.target.outerTypeParameters;let i,o,s=0;if(r){const e=r.length;for(;s0){let r=0;if(e.target.typeParameters&&(r=Math.min(e.target.typeParameters.length,t.length),(Fu(e,fy(!1))||Fu(e,my(!1))||Fu(e,sy(!1))||Fu(e,py(!1)))&&(!e.node||!bw(e.node)||!e.node.typeArguments||e.node.typeArguments.length0;){const n=t[r-1],i=g_(e.target.typeParameters[r-1]);if(!i||!EE(n,i))break;r--}o=E(t.slice(s,r),n)}const a=d(n);n.flags|=16;const c=Z(e.symbol,n,788968,o);return a(),i?$(i,c):c}}if(t=T(t,((t,n)=>kk(t,!!(2&e.target.elementFlags[n])))),t.length>0){const r=fA(e),i=E(t.slice(0,r),n);if(i){const{labeledElementDeclarations:t}=e.target;for(let n=0;n!(32768&e.flags))),0);for(const i of r){const r=D(i,173,t,{name:a,questionToken:c});n.push(p(r,i.declaration||e.valueDeclaration))}if(r.length||!c)return}let l;h(e,t)?l=m(t):(i&&(t.reverseMappedStack||(t.reverseMappedStack=[]),t.reverseMappedStack.push(e)),l=o?fe(t,void 0,o,e):XS.createKeywordTypeNode(133),i&&t.reverseMappedStack.pop());const u=qO(e)?[XS.createToken(148)]:void 0;u&&(t.approximateLength+=9);const d=XS.createPropertySignature(u,a,c,l);function p(n,r){var i;const o=null==(i=e.declarations)?void 0:i.find((e=>348===e.kind));if(o){const e=ll(o.comment);e&&gk(n,[{kind:3,text:"*\n * "+e.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else r&&b(t,n,r);return n}n.push(p(d,e.valueDeclaration))}function b(e,t,n){return e.enclosingFile&&e.enclosingFile===Ap(n)?mk(t,n):t}function E(e,t,n){if(J(e)){if(f(t)){if(!n)return[1&t.flags?Ak(XS.createKeywordTypeNode(133),3,"elided"):XS.createTypeReferenceNode("...",void 0)];if(e.length>2)return[_(e[0],t),1&t.flags?Ak(XS.createKeywordTypeNode(133),3,`... ${e.length-2} more elided ...`):XS.createTypeReferenceNode(`... ${e.length-2} more ...`,void 0),_(e[e.length-1],t)]}const r=!(64&t.flags)?Ve():void 0,i=[];let o=0;for(const n of e){if(o++,f(t)&&o+2{if(!Cx(e,(([e],[t])=>function(e,t){return e===t||!!e.symbol&&e.symbol===t.symbol||!!e.aliasSymbol&&e.aliasSymbol===t.aliasSymbol}(e,t))))for(const[n,r]of e)i[r]=_(n,t)})),e()}return i}}function k(e,t,n){const r=Pf(e)||"x",i=_(e.keyType,t),o=XS.createParameterDeclaration(void 0,void 0,r,void 0,i,void 0);return n||(n=_(e.type||kt,t)),e.type||2097152&t.flags||(t.encounteredError=!0),t.approximateLength+=r.length+4,XS.createIndexSignature(e.isReadonly?[XS.createToken(148)]:void 0,[o],n)}function D(e,t,n,i){var o;let s,a;const l=Tp(e,!0)[0],u=I(n,e.declaration,l,e.typeParameters,e.parameters,e.mapper);n.approximateLength+=3,32&n.flags&&e.target&&e.mapper&&e.target.typeParameters?a=e.target.typeParameters.map((t=>_(_E(t,e.mapper),n))):s=e.typeParameters&&e.typeParameters.map((e=>P(e,n)));const p=d(n);n.flags&=-257;const f=(J(l,(e=>e!==l[l.length-1]&&!!(32768&ib(e))))?e.parameters:l).map((e=>Q(e,n,176===t))),m=33554432&n.flags?void 0:function(e,t){if(e.thisParameter)return Q(e.thisParameter,t);if(e.declaration&&Tm(e.declaration)){const n=Kc(e.declaration);if(n&&n.typeExpression)return XS.createParameterDeclaration(void 0,void 0,"this",void 0,_(r(t,n.typeExpression),t))}}(e,n);m&&f.unshift(m),p();const h=function(e,t){const n=256&e.flags,r=d(e);n&&(e.flags&=-257);let i;const o=Wh(t);if(!n||!Hc(o)){if(t.declaration&&!eA(t.declaration)){const n=_a(t.declaration),r=c(e,n,o);i=xe.serializeReturnTypeForSignature(t.declaration,n,e),r()}i||(i=_e(e,t,o))}i||n||(i=XS.createKeywordTypeNode(133));return r(),i}(n,e);let g=null==i?void 0:i.modifiers;if(185===t&&4&e.flags){const e=Gy(g);g=XS.createModifiersFromModifierFlags(64|e)}const A=179===t?XS.createCallSignature(s,f,h):180===t?XS.createConstructSignature(s,f,h):173===t?XS.createMethodSignature(g,(null==i?void 0:i.name)??XS.createIdentifier(""),null==i?void 0:i.questionToken,s,f,h):174===t?XS.createMethodDeclaration(g,void 0,(null==i?void 0:i.name)??XS.createIdentifier(""),void 0,s,f,h,void 0):176===t?XS.createConstructorDeclaration(g,f,void 0):177===t?XS.createGetAccessorDeclaration(g,(null==i?void 0:i.name)??XS.createIdentifier(""),f,h,void 0):178===t?XS.createSetAccessorDeclaration(g,(null==i?void 0:i.name)??XS.createIdentifier(""),f,void 0):181===t?XS.createIndexSignature(g,f,h):317===t?XS.createJSDocFunctionType(f,h):184===t?XS.createFunctionTypeNode(s,f,h??XS.createTypeReferenceNode(XS.createIdentifier(""))):185===t?XS.createConstructorTypeNode(g,s,f,h??XS.createTypeReferenceNode(XS.createIdentifier(""))):262===t?XS.createFunctionDeclaration(g,void 0,(null==i?void 0:i.name)?tt(i.name,UD):XS.createIdentifier(""),s,f,h,void 0):218===t?XS.createFunctionExpression(g,void 0,(null==i?void 0:i.name)?tt(i.name,UD):XS.createIdentifier(""),s,f,h,XS.createBlock([])):219===t?XS.createArrowFunction(g,s,f,h,void 0,XS.createBlock([])):un.assertNever(t);if(a&&(A.typeArguments=XS.createNodeArray(a)),323===(null==(o=e.declaration)?void 0:o.kind)&&339===e.declaration.parent.kind){const t=zp(e.declaration.parent.parent,!0).slice(2,-2).split(/\r\n|\n|\r/).map((e=>e.replace(/^\s+/," "))).join("\n");Ak(A,3,t,!0)}return null==u||u(),A}function I(e,t,n,r,i,o){const s=ce(e);let c,l;const d=e.enclosingDeclaration,p=e.mapper;if(o&&(e.mapper=o),e.enclosingDeclaration&&t){let t=function(t,n){let r;un.assert(e.enclosingDeclaration),ss(e.enclosingDeclaration).fakeScopeForSignatureDeclaration===t?r=e.enclosingDeclaration:e.enclosingDeclaration.parent&&ss(e.enclosingDeclaration.parent).fakeScopeForSignatureDeclaration===t&&(r=e.enclosingDeclaration.parent),un.assertOptionalNode(r,DI);const i=(null==r?void 0:r.locals)??Wd();let o,s;if(n(((e,t)=>{if(r){const t=i.get(e);t?s=re(s,{name:e,oldSymbol:t}):o=re(o,e)}i.set(e,t)})),r)return function(){u(o,(e=>i.delete(e))),u(s,(e=>i.set(e.name,e.oldSymbol)))};{const n=XS.createBlock(a);ss(n).fakeScopeForSignatureDeclaration=t,n.locals=i,wx(n,e.enclosingDeclaration),e.enclosingDeclaration=n}};c=J(n)?t("params",(e=>{if(n)for(let t=0;t{return aw(t)&&Cu(t.name)?(n(t.name),!0):void 0;function n(t){u(t.elements,(t=>{switch(t.kind){case 232:return;case 208:return function(t){if(Cu(t.name))return n(t.name);const r=_a(t);e(r.escapedName,r)}(t);default:return un.assertNever(t)}}))}}))||e(r.escapedName,r)}})):void 0,4&e.flags&&J(r)&&(l=t("typeParams",(t=>{for(const n of r??a){t(te(n,e).escapedText,n.symbol)}})))}return()=>{null==c||c(),null==l||l(),s(),e.enclosingDeclaration=d,e.mapper=p}}function F(e,t,n){const r=d(t);t.flags&=-513;const i=XS.createModifiersFromModifierFlags(rS(e)),o=te(e,t),s=g_(e),a=s&&_(s,t);return r(),XS.createTypeParameterDeclaration(i,o,n,a)}function P(e,t,n=Gf(e)){const i=n&&function(e,t,n){return t&&r(n,t)===e&&xe.tryReuseExistingTypeNode(n,t)||_(e,n)}(n,Gg(e),t);return F(e,t,i)}function N(e,t){const n=2===e.kind||3===e.kind?XS.createToken(131):void 0,r=1===e.kind||3===e.kind?ik(XS.createIdentifier(e.parameterName),16777216):XS.createThisTypeNode(),i=e.type&&_(e.type,t);return XS.createTypePredicateNode(n,r,i)}function B(e){const t=Hd(e,169);return t||(zd(e)?void 0:Hd(e,341))}function Q(e,t,n){const r=B(e),i=fe(t,r,wu(e),e),o=!(8192&t.flags)&&n&&r&&cP(r)?w(wc(r),XS.cloneNode):void 0,s=r&&Qd(r)||32768&ib(e)?XS.createToken(26):void 0,a=L(e,r,t),c=r&&hh(r)||16384&ib(e)?XS.createToken(58):void 0,l=XS.createParameterDeclaration(o,s,a,c,i,void 0);return t.approximateLength+=Ac(e).length+3,l}function L(e,t,n){return t&&t.name?80===t.name.kind?ik(XS.cloneNode(t.name),16777216):166===t.name.kind?ik(XS.cloneNode(t.name.right),16777216):function(e){return function e(t){n.tracker.canTrackSymbol&&ow(t)&&Zd(t)&&M(t.expression,n.enclosingDeclaration,n);let r=uL(t,e,void 0,void 0,e);Hw(r)&&(r=XS.updateBindingElement(r,r.dotDotDotToken,r.propertyName,r.name,void 0));eA(r)||(r=XS.cloneNode(r));return ik(r,16777217)}(e)}(t.name):Ac(e)}function M(e,t,n){if(!n.tracker.canTrackSymbol)return;const r=cv(e),i=Ue(r,r.escapedText,1160127,void 0,!0);i&&n.tracker.trackSymbol(i,t,111551)}function j(e,t,n,r){return t.tracker.trackSymbol(e,t.enclosingDeclaration,n),U(e,t,n,r)}function U(e,t,n,r){let i;return 262144&e.flags||!(t.enclosingDeclaration||64&t.flags)||4&t.internalFlags?i=[e]:(i=un.checkDefined(function e(n,i,o){let s,a=Ua(n,t.enclosingDeclaration,i,!!(128&t.flags));if(!a||Ja(a[0],t.enclosingDeclaration,1===a.length?i:ja(i))){const r=va(a?a[0]:n,t.enclosingDeclaration,i);if(l(r)){s=r.map((e=>J(e.declarations,Xa)?K(e,t):void 0));const o=r.map(((e,t)=>t));o.sort(c);const l=o.map((e=>r[e]));for(const t of l){const r=e(t,ja(i),!1);if(r){if(t.exports&&t.exports.get("export=")&&Ea(t.exports.get("export="),n)){a=r;break}a=r.concat(a||[Ca(t,n)||n]);break}}}}if(a)return a;if(o||!(6144&n.flags)){if(!o&&!r&&u(n.declarations,Xa))return;return[n]}function c(e,t){const n=s[e],r=s[t];if(n&&r){const e=vo(r);return vo(n)===e?lQ(n)-lQ(r):e?-1:1}return 0}}(e,n,!0)),un.assert(i&&i.length>0)),i}function V(e,t){let n;return 524384&yL(e).flags&&(n=XS.createNodeArray(w(Uu(e),(e=>P(e,t))))),n}function z(e,t,n){var r;un.assert(e&&0<=t&&tVC(e,o.links.mapper))),n)}else s=V(i,n)}return s}function Y(e){return $w(e.objectType)?Y(e.objectType):e}function K(t,n,r){let i=Hd(t,307);if(!i){const e=p(t.declarations,(e=>ba(e,t)));e&&(i=Hd(e,307))}if(i&&void 0!==i.moduleName)return i.moduleName;if(!i&&TQ.test(t.escapedName))return t.escapedName.substring(1,t.escapedName.length-1);if(!n.enclosingFile||!n.tracker.moduleResolverHost)return TQ.test(t.escapedName)?t.escapedName.substring(1,t.escapedName.length-1):Ap(hf(t)).fileName;const o=uc(n.enclosingDeclaration),s=gh(o)?Ah(o):void 0,a=n.enclosingFile,c=r||s&&e.getModeForUsageLocation(a,s)||a&&e.getDefaultResolutionModeForFile(a),l=hq(a.path,c),u=is(t);let d=u.specifierCache&&u.specifierCache.get(l);if(!d){const e=!!O.outFile,{moduleResolverHost:i}=n.tracker,o=e?{...O,baseUrl:i.getCommonSourceDirectory()}:O;d=me(rQ(t,Ge,o,a,i,{importModuleSpecifierPreference:e?"non-relative":"project-relative",importModuleSpecifierEnding:e?"minimal":99===c?"js":void 0},{overrideImportMode:r})),u.specifierCache??(u.specifierCache=new Map),u.specifierCache.set(l,d)}return d}function X(e){const t=XS.createIdentifier(mc(e.escapedName));return e.parent?XS.createQualifiedName(X(e.parent),t):t}function Z(e,t,n,r){const i=j(e,t,n,!(16384&t.flags)),o=111551===n;if(J(i[0].declarations,Xa)){const e=i.length>1?a(i,i.length-1,1):void 0,n=r||z(i,0,t),s=Ap(uc(t.enclosingDeclaration)),c=yp(i[0]);let l,u;if(3!==bC(O)&&99!==bC(O)||99===(null==c?void 0:c.impliedNodeFormat)&&c.impliedNodeFormat!==(null==s?void 0:s.impliedNodeFormat)&&(l=K(i[0],t,99),u=XS.createImportAttributes(XS.createNodeArray([XS.createImportAttribute(XS.createStringLiteral("resolution-mode"),XS.createStringLiteral("import"))]))),l||(l=K(i[0],t)),!(67108864&t.flags)&&1!==bC(O)&&l.includes("/node_modules/")){const e=l;if(3===bC(O)||99===bC(O)){const n=99===(null==s?void 0:s.impliedNodeFormat)?1:99;l=K(i[0],t,n),l.includes("/node_modules/")?l=e:u=XS.createImportAttributes(XS.createNodeArray([XS.createImportAttribute(XS.createStringLiteral("resolution-mode"),XS.createStringLiteral(99===n?"import":"require"))]))}u||(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(e))}const d=XS.createLiteralTypeNode(XS.createStringLiteral(l));if(t.approximateLength+=l.length+10,!e||eu(e)){if(e){Bk(UD(e)?e:e.right,void 0)}return XS.createImportTypeNode(d,u,e,n,o)}{const t=Y(e),r=t.objectType.typeName;return XS.createIndexedAccessTypeNode(XS.createImportTypeNode(d,u,r,n,o),t.indexType)}}const s=a(i,i.length-1,0);if($w(s))return s;if(o)return XS.createTypeQueryNode(s);{const e=UD(s)?s:s.right,t=Ok(e);return Bk(e,void 0),XS.createTypeReferenceNode(s,t)}function a(e,n,i){const o=n===e.length-1?r:z(e,n,t),s=e[n],c=e[n-1];let l;if(0===n)t.flags|=16777216,l=Nc(s,t),t.approximateLength+=(l?l.length:0)+1,t.flags^=16777216;else if(c&&la(c)){np(la(c),((e,t)=>{if(Ea(e,s)&&!sp(t)&&"export="!==t)return l=mc(t),!0}))}if(void 0===l){const r=p(s.declarations,Sc);if(r&&ow(r)&&eu(r.expression)){const t=a(e,n-1,i);return eu(t)?XS.createIndexedAccessTypeNode(XS.createParenthesizedType(XS.createTypeQueryNode(t)),XS.createTypeQueryNode(r.expression)):t}l=Nc(s,t)}if(t.approximateLength+=l.length+1,!(16&t.flags)&&c&&mp(c)&&mp(c).get(s.escapedName)&&Ea(mp(c).get(s.escapedName),s)){const t=a(e,n-1,i);return $w(t)?XS.createIndexedAccessTypeNode(t,XS.createLiteralTypeNode(XS.createStringLiteral(l))):XS.createIndexedAccessTypeNode(XS.createTypeReferenceNode(t,o),XS.createLiteralTypeNode(XS.createStringLiteral(l)))}const u=ik(XS.createIdentifier(l),16777216);if(o&&Bk(u,XS.createNodeArray(o)),u.symbol=s,n>i){const t=a(e,n-1,i);return eu(t)?XS.createQualifiedName(t,u):un.fail("Impossible construct - an export of an indexed access cannot be reachable")}return u}}function ee(e,t,n){const r=Ue(t.enclosingDeclaration,e,788968,void 0,!1);return!!(r&&262144&r.flags)&&r!==n.symbol}function te(e,t){var n,r,i,s;if(4&t.flags&&t.typeParameterNames){const n=t.typeParameterNames.get(xv(e));if(n)return n}let a=ne(e.symbol,t,788968,!0);if(!(80&a.kind))return XS.createIdentifier("(Missing type parameter)");const c=null==(r=null==(n=e.symbol)?void 0:n.declarations)?void 0:r[0];if(c&&sw(c)&&(a=o(t,a,c.name)),4&t.flags){const n=a.escapedText;let r=(null==(i=t.typeParameterNamesByTextNextNameCount)?void 0:i.get(n))||0,o=n;for(;(null==(s=t.typeParameterNamesByText)?void 0:s.has(o))||ee(o,t,e);)r++,o=`${n}_${r}`;if(o!==n){const e=Ok(a);a=XS.createIdentifier(o),Bk(a,e)}t.mustCreateTypeParametersNamesLookups&&(t.mustCreateTypeParametersNamesLookups=!1,t.typeParameterNames=new Map(t.typeParameterNames),t.typeParameterNamesByTextNextNameCount=new Map(t.typeParameterNamesByTextNextNameCount),t.typeParameterNamesByText=new Set(t.typeParameterNamesByText)),t.typeParameterNamesByTextNextNameCount.set(n,r),t.typeParameterNames.set(xv(e),a),t.typeParameterNamesByText.add(o)}return a}function ne(e,t,n,r){const i=j(e,t,n);return!r||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function e(n,r){const i=z(n,r,t),o=n[r];0===r&&(t.flags|=16777216);const s=Nc(o,t);0===r&&(t.flags^=16777216);const a=ik(XS.createIdentifier(s),16777216);i&&Bk(a,XS.createNodeArray(i));return a.symbol=o,r>0?XS.createQualifiedName(e(n,r-1),a):a}(i,i.length-1)}function ie(e,t,n){const r=j(e,t,n);return function e(n,r){const i=z(n,r,t),o=n[r];0===r&&(t.flags|=16777216);let s=Nc(o,t);0===r&&(t.flags^=16777216);let a=s.charCodeAt(0);if(Mm(a)&&J(o.declarations,Xa))return XS.createStringLiteral(K(o,t));if(0===r||Gx(s,$)){const t=ik(XS.createIdentifier(s),16777216);return i&&Bk(t,XS.createNodeArray(i)),t.symbol=o,r>0?XS.createPropertyAccessExpression(e(n,r-1),t):t}{let t;if(91===a&&(s=s.substring(1,s.length-1),a=s.charCodeAt(0)),!Mm(a)||8&o.flags?""+ +s===s&&(t=XS.createNumericLiteral(+s)):t=XS.createStringLiteral(IA(s).replace(/\\./g,(e=>e.substring(1))),39===a),!t){const e=ik(XS.createIdentifier(s),16777216);i&&Bk(e,XS.createNodeArray(i)),e.symbol=o,t=e}return XS.createElementAccessExpression(e(n,r-1),t)}}(r,r.length-1)}function oe(e){const t=Sc(e);if(!t)return!1;if(ow(t)){return!!(402653316&Tq(t.expression).flags)}if(Yw(t)){return!!(402653316&Tq(t.argumentExpression).flags)}return kD(t)}function se(e){const t=Sc(e);return!!(t&&kD(t)&&(t.singleQuote||!eA(t)&&Wt(zp(t,!1),"'")))}function ae(e,t){const n=!!l(e.declarations)&&g(e.declarations,oe),r=!!l(e.declarations)&&g(e.declarations,se),i=!!(8192&e.flags),o=function(e,t,n,r,i){const o=is(e).nameType;if(o){if(384&o.flags){const e=""+o.value;return ma(e,yC(O))||!r&&Lx(e)?Lx(e)&&Wt(e,"-")?XS.createComputedPropertyName(XS.createPrefixUnaryExpression(41,XS.createNumericLiteral(-e))):Mx(e,yC(O),n,r,i):XS.createStringLiteral(e,!!n)}if(8192&o.flags)return XS.createComputedPropertyName(ie(o.symbol,t,111551))}}(e,t,r,n,i);if(o)return o;return Mx(mc(e.escapedName),yC(O),r,n,i)}function ce(e){const t=e.mustCreateTypeParameterSymbolList,n=e.mustCreateTypeParametersNamesLookups;e.mustCreateTypeParameterSymbolList=!0,e.mustCreateTypeParametersNamesLookups=!0;const r=e.typeParameterNames,i=e.typeParameterNamesByText,o=e.typeParameterNamesByTextNextNameCount,s=e.typeParameterSymbolList;return()=>{e.typeParameterNames=r,e.typeParameterNamesByText=i,e.typeParameterNamesByTextNextNameCount=o,e.typeParameterSymbolList=s,e.mustCreateTypeParameterSymbolList=t,e.mustCreateTypeParametersNamesLookups=n}}function le(e,t){return e.declarations&&A(e.declarations,(e=>!(!ZM(e)||t&&!dc(e,(e=>e===t)))))}function ue(e,t){if(!(4&gb(t)))return!0;if(!bw(e))return!0;$A(e);const n=ss(e).resolvedSymbol,r=n&&Cd(n);return!r||r!==t.target||l(e.typeArguments)>=vh(t.target.typeParameters)}function pe(e,t,n){8192&n.flags&&n.symbol===e&&(!t.enclosingDeclaration||J(e.declarations,(e=>Ap(e)===t.enclosingFile)))&&(t.flags|=1048576);return _(n,t)}function fe(e,t,n,r){var i;let o;const s=t&&(aw(t)||CF(t))&&FM(t,e.enclosingDeclaration),a=t??r.valueDeclaration??le(r)??(null==(i=r.declarations)?void 0:i[0]);if(a)if(pu(a))o=xe.serializeTypeOfAccessor(a,r,e);else if(CS(a)&&!eA(a)&&!(196608&gb(n))){const t=c(e,r,n);o=xe.serializeTypeOfDeclaration(a,r,e),t()}return o||(s&&(n=yk(n)),o=pe(r,e,n)),o??XS.createKeywordTypeNode(133)}function _e(e,t,n){const r=e.suppressReportInferenceFallback;e.suppressReportInferenceFallback=!0;const i=$h(t),o=i?N(e.mapper?iE(i,e.mapper):i,e):_(n,e);return e.suppressReportInferenceFallback=r,o}function he(e,t,n=t.enclosingDeclaration){let r=!1;const i=cv(e);if(Tm(e)&&(Xm(i)||eh(i.parent)||iw(i.parent)&&Zm(i.parent.left)&&Xm(i.parent.right)))return r=!0,{introducesError:r,node:e};const s=tc(e);let a;if(ly(i))return a=_a(em(i,!1,!1)),0!==Wa(a,i,s,!1).accessibility&&(r=!0,t.tracker.reportInaccessibleThisError()),{introducesError:r,node:c(e)};if(a=zs(i,s,!0,!0),t.enclosingDeclaration&&!(a&&262144&a.flags)){a=xa(a);const n=zs(i,s,!0,!0,t.enclosingDeclaration);if(n===bt||void 0===n&&void 0!==a||n&&a&&!Ea(xa(n),a))return n!==bt&&t.tracker.reportInferenceFallback(e),r=!0,{introducesError:r,node:e,sym:a};a=n}return a?(1&a.flags&&a.valueDeclaration&&(Kg(a.valueDeclaration)||CF(a.valueDeclaration))||(262144&a.flags||lg(e)||0===Wa(a,n,s,!1).accessibility?t.tracker.trackSymbol(a,n,s):(t.tracker.reportInferenceFallback(e),r=!0)),{introducesError:r,node:c(e)}):{introducesError:r,node:e};function c(e){if(e===i){const n=Cd(a),r=262144&a.flags?te(n,t):XS.cloneNode(e);return r.symbol=a,o(t,ik(r,16777216),e)}const n=uL(e,(e=>c(e)),void 0);return n!==e&&o(t,n,e),n}}function ge(e,t){const n=r(e,t,!0);if(!n)return!1;if(Tm(t)&&d_(t)){zb(t);const e=ss(t).resolvedSymbol;return!e||!!((t.isTypeOf||788968&e.flags)&&l(t.typeArguments)>=vh(Uu(e)))}if(bw(t)){if(Cl(t))return!1;const r=ss(t).resolvedSymbol;if(!r)return!1;if(262144&r.flags){const t=Cd(r);return!(e.mapper&&VC(t,e.mapper)!==t)}if(Pm(t))return ue(t,n)&&!OA(t)&&!!(788968&r.flags)}if(qw(t)&&158===t.operator&&155===t.type.kind){const n=e.enclosingDeclaration&&function(e){for(;ss(e).fakeScopeForSignatureDeclaration;)e=e.parent;return e}(e.enclosingDeclaration);return!!dc(t,(e=>e===n))}return!0}}(),xe=$W(O,be.syntacticBuilderResolver),ke=hS({evaluateElementAccessExpression:function(e,t){const n=e.expression;if(av(n)&&Od(e.argumentExpression)){const r=zs(n,111551,!0);if(r&&384&r.flags){const n=_c(e.argumentExpression.text),i=r.exports.get(n);if(i)return un.assert(Ap(i.valueDeclaration)===Ap(r.valueDeclaration)),t?DL(e,i,t):OM(i.valueDeclaration)}}return mS(void 0)},evaluateEntityNameExpression:kL}),De=Wd(),we=Vo(4,"undefined");we.declarations=[];var Ie=Vo(1536,"globalThis",8);Ie.exports=De,Ie.declarations=[],De.set(Ie.escapedName,Ie);var Te,Fe,Ne,Be=Vo(4,"arguments"),Oe=Vo(4,"require"),qe=O.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Le=!O.verbatimModuleSyntax,Me=0,je=0,Ue=yS({compilerOptions:O,requireSymbol:Oe,argumentsSymbol:Be,globals:De,getSymbolOfDeclaration:_a,error:Oo,getRequiresScopeChangeCache:ls,setRequiresScopeChangeCache:ds,lookup:as,onPropertyWithInvalidInitializer:function(e,t,n,r){if(!V)return e&&!r&&_s(e,t,t)||Oo(e,e&&n.type&&Ra(n.type,e.pos)?us.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:us.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,Rf(n.name),fs(t)),!0;return!1},onFailedToResolveSymbol:function(e,t,n,r){const i=Xe(t)?t:t.escapedText;s((()=>{if(!(e&&(324===e.parent.kind||_s(e,i,t)||ms(e)||function(e,t,n){const r=1920|(Tm(e)?111551:0);if(n===r){const n=Qs(Ue(e,t,788968&~r,void 0,!1)),i=e.parent;if(n){if(iw(i)){un.assert(i.left===e,"Should only be resolving left side of qualified name as a namespace");const r=i.right.escapedText;if(z_(Cd(n),r))return Oo(i,us.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,mc(t),mc(r)),!0}return Oo(e,us._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,mc(t)),!0}}return!1}(e,i,n)||function(e,t){if(gs(t)&&281===e.parent.kind)return Oo(e,us.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0;return!1}(e,i)||function(e,t,n){if(111127&n){if(Qs(Ue(e,t,1024,void 0,!1)))return Oo(e,us.Cannot_use_namespace_0_as_a_value,mc(t)),!0}else if(788544&n){if(Qs(Ue(e,t,1536,void 0,!1)))return Oo(e,us.Cannot_use_namespace_0_as_a_type,mc(t)),!0}return!1}(e,i,n)||function(e,t,n){if(111551&n){if(gs(t)){const n=e.parent.parent;if(n&&n.parent&&$T(n)){const r=n.token,i=n.parent.kind;264===i&&96===r?Oo(e,us.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types,mc(t)):263===i&&96===r?Oo(e,us.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values,mc(t)):263===i&&119===r&&Oo(e,us.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types,mc(t))}else Oo(e,us._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,mc(t));return!0}const n=Qs(Ue(e,t,788544,void 0,!1)),r=n&&js(n);if(n&&void 0!==r&&!(111551&r)){const r=mc(t);return!function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?!function(e,t){const n=dc(e.parent,(e=>!ow(e)&&!lw(e)&&(Sw(e)||"quit")));if(n&&1===n.members.length){const e=Cd(t);return!!(1048576&e.flags)&&HO(e,384,!0)}return!1}(e,n)?Oo(e,us._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r):Oo(e,us._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,r,"K"===r?"P":"K"):Oo(e,us._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,r),!0}}return!1}(e,i,n)||function(e,t,n){if(788584&n){const n=Qs(Ue(e,t,111127,void 0,!1));if(n&&!(1920&n.flags))return Oo(e,us._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,mc(t)),!0}return!1}(e,i,n)))){let o,s;if(t&&(s=function(e){const t=fs(e),n=ef().get(t);return n&&he(n.keys())}(t),s&&Oo(e,r,fs(t),s)),!s&&Ui{var s;const a=t.escapedName,c=r&&JT(r)&&Zf(r);if(e&&(2&n||(32&n||384&n)&&!(111551&~n))){const n=xa(t);(2&n.flags||32&n.flags||384&n.flags)&&function(e,t){var n;if(un.assert(!!(2&e.flags||32&e.flags||384&e.flags)),67108881&e.flags&&32&e.flags)return;const r=null==(n=e.declarations)?void 0:n.find((e=>sf(e)||du(e)||266===e.kind));if(void 0===r)return un.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(33554432&r.flags||cs(r,t))){let n;const i=Rf(Sc(r));2&e.flags?n=Oo(t,us.Block_scoped_variable_0_used_before_its_declaration,i):32&e.flags?n=Oo(t,us.Class_0_used_before_its_declaration,i):256&e.flags?n=Oo(t,us.Enum_0_used_before_its_declaration,i):(un.assert(!!(128&e.flags)),EC(O)&&(n=Oo(t,us.Enum_0_used_before_its_declaration,i))),n&&sx(n,$f(r,us._0_is_declared_here,i))}}(n,e)}if(c&&!(111551&~n)&&!(16777216&e.flags)){const n=fa(t);l(n.declarations)&&g(n.declarations,(e=>nT(e)||JT(e)&&!!e.symbol.globalExports))&&$o(!O.allowUmdGlobalAccess,e,us._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,mc(a))}if(i&&!o&&!(111551&~n)){const r=fa(hp(t)),o=Xg(i);r===_a(i)?Oo(e,us.Parameter_0_cannot_reference_itself,Rf(i.name)):r.valueDeclaration&&r.valueDeclaration.pos>i.pos&&o.parent.locals&&as(o.parent.locals,r.escapedName,n)===r&&Oo(e,us.Parameter_0_cannot_reference_identifier_1_declared_after_it,Rf(i.name),Rf(e))}if(e&&111551&n&&2097152&t.flags&&!(111551&t.flags)&&!vx(e)){const n=Hs(t,111551);if(n){const t=281===n.kind||278===n.kind||280===n.kind?us._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:us._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,r=mc(a);ps(Oo(e,t,r),n,r)}}if(O.isolatedModules&&t&&c&&!(111551&~n)){const e=as(De,a,n)===t&&JT(r)&&r.locals&&as(r.locals,a,-111552);if(e){const t=null==(s=e.declarations)?void 0:s.find((e=>276===e.kind||273===e.kind||274===e.kind||271===e.kind));t&&!Ql(t)&&Oo(t,us.Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled,mc(a))}}}))}}),He=yS({compilerOptions:O,requireSymbol:Oe,argumentsSymbol:Be,globals:De,getSymbolOfDeclaration:_a,error:Oo,getRequiresScopeChangeCache:ls,setRequiresScopeChangeCache:ds,lookup:function(e,t,n){const r=as(e,t,n);if(r)return r;let i;if(e===De){i=q(["string","number","boolean","object","bigint","symbol"],(t=>e.has(t.charAt(0).toUpperCase()+t.slice(1))?Vo(524288,t):void 0)).concat(Pe(e.values()))}else i=Pe(e.values());return yN(mc(t),i,n)}});const Ge={getNodeCount:()=>Se(e.getSourceFiles(),((e,t)=>e+t.nodeCount),0),getIdentifierCount:()=>Se(e.getSourceFiles(),((e,t)=>e+t.identifierCount),0),getSymbolCount:()=>Se(e.getSourceFiles(),((e,t)=>e+t.symbolCount),m),getTypeCount:()=>_,getInstantiationCount:()=>h,getRelationCacheSizes:()=>({assignable:go.size,identity:yo.size,subtype:mo.size,strictSubtype:ho.size}),isUndefinedSymbol:e=>e===we,isArgumentsSymbol:e=>e===Be,isUnknownSymbol:e=>e===bt,getMergedSymbol:fa,symbolIsValue:ka,getDiagnostics:tM,getGlobalDiagnostics:function(){return nM(),po.getGlobalDiagnostics()},getRecursionIdentity:wS,getUnmatchedProperties:sD,getTypeOfSymbolAtLocation:(e,t)=>{const n=fc(t);return n?function(e,t){if(e=xa(e),(80===t.kind||81===t.kind)&&(fv(t)&&(t=t.parent),vm(t)&&(!Kh(t)||lb(t)))){const n=Ek(lb(t)&&211===t.kind?YP(t,void 0,!0):Dq(t));if(xa(ss(t).resolvedSymbol)===e)return n}if(lg(t)&&kd(t.parent)&&au(t.parent))return hu(t.parent.symbol);return _v(t)&&lb(t.parent)?Du(e):Iu(e)}(e,n):Tt},getTypeOfSymbol:wu,getSymbolsOfParameterPropertyDeclaration:(e,t)=>{const n=fc(e,aw);return void 0===n?un.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(un.assert(Za(n,n.parent)),function(e,t){const n=e.parent,r=e.parent.parent,i=as(n.locals,t,111551),o=as(mp(r.symbol),t,111551);if(i&&o)return[i,o];return un.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(n,_c(t)))},getDeclaredTypeOfSymbol:Cd,getPropertiesOfType:Uf,getPropertyOfType:(e,t)=>z_(e,_c(t)),getPrivateIdentifierPropertyOfType:(e,t,n)=>{const r=fc(n);if(!r)return;const i=tN(_c(t),r);return i?iN(e,i):void 0},getTypeOfPropertyOfType:(e,t)=>Jc(e,_c(t)),getIndexInfoOfType:(e,t)=>Lm(e,0===t?Jt:Vt),getIndexInfosOfType:Qm,getIndexInfosOfIndexSymbol:qg,getSignaturesOfType:_m,getIndexTypeOfType:(e,t)=>jm(e,0===t?Jt:Vt),getIndexType:e=>eb(e),getBaseTypes:id,getBaseTypeOfLiteralType:YS,getWidenedType:Qk,getWidenedLiteralType:ZS,fillMissingTypeArguments:xh,getTypeFromTypeNode:e=>{const t=fc(e,vu);return t?PC(t):Tt},getParameterType:KB,getParameterIdentifierInfoAtPosition:function(e,t){var n;if(317===(null==(n=e.declaration)?void 0:n.kind))return;const r=e.parameters.length-(KQ(e)?1:0);if(tu$(e),getReturnTypeOfSignature:Wh,isNullableType:jP,getNullableType:hk,getNonNullableType:vk,getNonOptionalType:Ek,getTypeArguments:pA,typeToTypeNode:be.typeToTypeNode,typePredicateToTypePredicateNode:be.typePredicateToTypePredicateNode,indexInfoToIndexSignatureDeclaration:be.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:be.signatureToSignatureDeclaration,symbolToEntityName:be.symbolToEntityName,symbolToExpression:be.symbolToExpression,symbolToNode:be.symbolToNode,symbolToTypeParameterDeclarations:be.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:be.symbolToParameterDeclaration,typeParameterToDeclaration:be.typeParameterToDeclaration,getSymbolsInScope:(e,t)=>{const n=fc(e);return n?function(e,t){if(67108864&e.flags)return[];const n=Wd();let r=!1;return i(),n.delete("this"),ch(n);function i(){for(;e;){switch(ad(e)&&e.locals&&!Xf(e)&&s(e.locals,t),e.kind){case 307:if(!UP(e))break;case 267:a(_a(e).exports,2623475&t);break;case 266:s(_a(e).exports,8&t);break;case 231:e.name&&o(e.symbol,t);case 263:case 264:r||s(mp(_a(e)),788968&t);break;case 218:e.name&&o(e.symbol,t)}O_(e)&&o(Be,t),r=Iy(e),e=e.parent}s(De,t)}function o(e,t){if(ab(e)&t){const t=e.escapedName;n.has(t)||n.set(t,e)}}function s(e,t){t&&e.forEach((e=>{o(e,t)}))}function a(e,t){t&&e.forEach((e=>{Hd(e,281)||Hd(e,280)||"default"===e.escapedName||o(e,t)}))}}(n,t):[]},getSymbolAtLocation:e=>{const t=fc(e);return t?dM(t,!0):void 0},getIndexInfosAtLocation:e=>{const t=fc(e);return t?function(e){if(UD(e)&&zw(e.parent)&&e.parent.name===e){const t=zv(e),n=Dq(e.parent.expression);return R(1048576&n.flags?n.types:[n],(e=>S(Qm(e),(e=>Rm(t,e.keyType)))))}return}(t):void 0},getShorthandAssignmentValueSymbol:e=>{const t=fc(e);return t?function(e){if(e&&304===e.kind)return zs(e.name,2208703);return}(t):void 0},getExportSpecifierLocalTargetSymbol:e=>{const t=fc(e,AT);return t?function(e){if(AT(e)){const t=e.propertyName||e.name;return e.parent.parent.moduleSpecifier?Rs(e.parent.parent,e):11===t.kind?void 0:zs(t,2998271)}return zs(e,2998271)}(t):void 0},getExportSymbolOfSymbol:e=>fa(e.exportSymbol||e),getTypeAtLocation:e=>{const t=fc(e);return t?pM(t):Tt},getTypeOfAssignmentPattern:e=>{const t=fc(e,Eu);return t&&fM(t)||Tt},getPropertySymbolOfDestructuringAssignment:e=>{const t=fc(e,UD);return t?function(e){const t=fM(tt(e.parent.parent,Eu));return t&&z_(t,e.escapedText)}(t):void 0},signatureToString:(e,t,n,r)=>ac(e,fc(t),n,r),typeToString:(e,t,n)=>cc(e,fc(t),n),symbolToString:(e,t,n,r)=>oc(e,fc(t),n,r),typePredicateToString:(e,t,n)=>kc(e,fc(t),n),writeSignature:(e,t,n,r,i)=>ac(e,fc(t),n,r,i),writeType:(e,t,n,r)=>cc(e,fc(t),n,r),writeSymbol:(e,t,n,r,i)=>oc(e,fc(t),n,r,i),writeTypePredicate:(e,t,n,r)=>kc(e,fc(t),n,r),getAugmentedPropertiesOfType:gM,getRootSymbols:function e(t){const n=function(e){if(6&ib(e))return q(is(e).containingType.types,(t=>z_(t,e.escapedName)));if(33554432&e.flags){const{links:{leftSpread:t,rightSpread:n,syntheticOrigin:r}}=e;return t?[t,n]:r?[r]:nn(function(e){let t,n=e;for(;n=is(n).target;)t=n;return t}(e))}return}(t);return n?R(n,e):[t]},getSymbolOfExpando:xB,getContextualType:(e,t)=>{const n=fc(e,Ju);if(n)return 4&t?ze(n,(()=>NR(n,t))):NR(n,t)},getContextualTypeForObjectLiteralElement:e=>{const t=fc(e,yu);return t?ER(t,void 0):void 0},getContextualTypeForArgumentAtIndex:(e,t)=>{const n=fc(e,Bu);return n&&pR(n,t)},getContextualTypeForJsxAttribute:e=>{const t=fc(e,Ad);return t&&kR(t,void 0)},isContextSensitive:yE,getTypeOfPropertyOfContextualType:gR,getFullyQualifiedName:Ws,getResolvedSignature:(e,t,n)=>Ke(e,t,n,0),getCandidateSignaturesForStringLiteralCompletions:function(e,t){const n=new Set,r=[];ze(t,(()=>Ke(e,r,void 0,0)));for(const e of r)n.add(e);r.length=0,We(t,(()=>Ke(e,r,void 0,0)));for(const e of r)n.add(e);return Pe(n)},getResolvedSignatureForSignatureHelp:(e,t,n)=>We(e,(()=>Ke(e,t,n,16))),getExpandedParameters:Tp,hasEffectiveRestParameter:rO,containsArgumentsReference:Fh,getConstantValue:e=>{const t=fc(e,qM);return t?$M(t):void 0},isValidPropertyAccess:(e,t)=>{const n=fc(e,Ru);return!!n&&function(e,t){switch(e.kind){case 211:return EN(e,108===e.expression.kind,t,Qk(Tq(e.expression)));case 166:return EN(e,!1,t,Qk(Tq(e.left)));case 205:return EN(e,!1,t,PC(e))}}(n,_c(t))},isValidPropertyAccessForCompletions:(e,t,n)=>{const r=fc(e,zw);return!!r&&CN(r,t,n)},getSignatureFromDeclaration:e=>{const t=fc(e,ru);return t?Sh(t):void 0},isImplementationOfOverload:e=>{const t=fc(e,ru);return t?TM(t):void 0},getImmediateAliasedSymbol:nP,getAliasedSymbol:Ls,getEmitResolver:function(e,t,n){n||tM(e,t);return ve},requiresAddingImplicitUndefined:FM,getExportsOfModule:sa,getExportsAndPropertiesOfModule:function(e){const t=sa(e),n=na(e);if(n!==e){const e=wu(n);ca(e)&&se(t,Uf(e))}return t},forEachExportAndPropertyOfModule:function(e,t){ua(e).forEach(((e,n)=>{Oa(n)||t(e,n)}));const n=na(e);if(n!==e){const e=wu(n);ca(e)&&function(e,t){e=E_(e),3670016&e.flags&&Sf(e).members.forEach(((e,n)=>{$a(e,n)&&t(e,n)}))}(e,((e,n)=>{t(e,n)}))}},getSymbolWalker:H$((function(e){return tg(e)||kt}),$h,Wh,id,Sf,wu,FD,Gf,cv,pA),getAmbientModules:function(){Vn||(Vn=[],De.forEach(((e,t)=>{TQ.test(t)&&Vn.push(e)})));return Vn},getJsxIntrinsicTagNamesAt:function(e){const t=mP(DQ.IntrinsicElements,e);return t?Uf(t):a},isOptionalParameter:e=>{const t=fc(e,aw);return!!t&&hh(t)},tryGetMemberInModuleExports:(e,t)=>aa(_c(e),t),tryGetMemberInModuleExportsAndProperties:(e,t)=>function(e,t){const n=aa(e,t);if(n)return n;const r=na(t);if(r===t)return;const i=wu(r);return ca(i)?z_(i,e):void 0}(_c(e),t),tryFindAmbientModule:e=>lh(e,!0),getApparentType:C_,getUnionType:Pv,isTypeAssignableTo:IE,createAnonymousType:La,createSignature:xp,createSymbol:Vo,createIndexInfo:Pg,getAnyType:()=>kt,getStringType:()=>Jt,getStringLiteralType:hC,getNumberType:()=>Vt,getNumberLiteralType:gC,getBigIntType:()=>Ht,getBigIntLiteralType:AC,createPromiseType:EO,createArrayType:Qy,getElementTypeOfArrayType:qS,getBooleanType:()=>an,getFalseType:e=>e?Yt:Kt,getTrueType:e=>e?tn:rn,getVoidType:()=>ln,getUndefinedType:()=>Ot,getNullType:()=>jt,getESSymbolType:()=>cn,getNeverType:()=>dn,getOptionalType:()=>Lt,getPromiseType:()=>ty(!1),getPromiseLikeType:()=>ny(!1),getAnyAsyncIterableType:()=>{const e=sy(!1);if(e!==Nn)return aA(e,[kt,kt,kt])},isSymbolAccessible:Wa,isArrayType:PS,isTupleType:ok,isArrayLikeType:$S,isEmptyAnonymousObjectType:YE,isTypeInvalidDueToUnionDiscriminant:function(e,t){const n=t.properties;return n.some((t=>{const n=t.name&&(BT(t.name)?hC(nS(t.name)):zv(t.name)),r=n&&aS(n)?cS(n):void 0,i=void 0===r?void 0:Jc(e,r);return!!i&&zS(i)&&!IE(pM(t),i)}))},getExactOptionalProperties:function(e){return Uf(e).filter((e=>Dk(wu(e))))},getAllPossiblePropertiesOfTypes:function(e){const t=Pv(e);if(!(1048576&t.flags))return gM(t);const n=Wd();for(const r of e)for(const{escapedName:e}of gM(r))if(!n.has(e)){const r=x_(t,e);r&&n.set(e,r)}return Pe(n.values())},getSuggestedSymbolForNonexistentProperty:_N,getSuggestedSymbolForNonexistentJSXAttribute:mN,getSuggestedSymbolForNonexistentSymbol:(e,t,n)=>gN(e,_c(t),n),getSuggestedSymbolForNonexistentModule:AN,getSuggestedSymbolForNonexistentClassMember:fN,getBaseConstraintOfType:p_,getDefaultFromTypeParameter:e=>e&&262144&e.flags?g_(e):void 0,resolveName:(e,t,n,r)=>Ue(t,_c(e),n,void 0,!1,r),getJsxNamespace:e=>mc(To(e)),getJsxFragmentFactory:e=>{const t=XM(e);return t&&mc(cv(t).escapedText)},getAccessibleSymbolChain:Ua,getTypePredicateOfSignature:$h,resolveExternalModuleName:e=>{const t=fc(e,Ju);return t&&Xs(t,t,!0)},resolveExternalModuleSymbol:na,tryGetThisTypeAt:(e,t,n)=>{const r=fc(e);return r&&GF(r,t,n)},getTypeArgumentConstraint:e=>{const t=fc(e,vu);return t&&function(e){const t=et(e.parent,Pd);if(!t)return;const n=Hq(t);if(!n)return;const r=Gf(n[t.typeArguments.indexOf(e)]);return r&&_E(r,JC(n,Jq(t,n)))}(t)},getSuggestionDiagnostics:(n,r)=>{const i=fc(n,JT)||un.fail("Could not determine parsed source file.");if(ux(i,O,e))return a;let o;try{return t=r,rM(i),un.assert(!!(1&ss(i).flags)),o=se(o,fo.getDiagnostics(i.fileName)),x$(ZL(i),((e,t,n)=>{gp(e)||XL(t,!!(33554432&e.flags))||(o||(o=[])).push({...n,category:2})})),o||a}finally{t=void 0}},runWithCancellationToken:(e,n)=>{try{return t=e,n(Ge)}finally{t=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:Uu,isDeclarationVisible:Oc,isPropertyAccessible:xN,getTypeOnlyAliasDeclaration:Hs,getMemberOverrideModifierStatus:function(e,t,n){if(!t.name)return 0;const r=_a(e),i=Cd(r),o=Cp(i),s=wu(r),a=Ag(e),c=a&&id(i),l=(null==c?void 0:c.length)?Cp(me(c),i.thisType):void 0,u=nd(i),d=t.parent?Fy(t):wy(t,16);return gL(e,s,u,l,i,o,d,Ry(t),Iy(t),!1,n)},isTypeParameterPossiblyReferenced:cE,typeHasCallOrConstructSignatures:AM,getSymbolFlags:js};function We(e,t){if(e=dc(e,Nu)){const n=[],r=[];for(;e;){const t=ss(e);if(n.push([t,t.resolvedSignature]),t.resolvedSignature=void 0,$x(e)){const t=is(_a(e)),n=t.type;r.push([t,n]),t.type=void 0}e=dc(e.parent,Nu)}const i=t();for(const[e,t]of n)e.resolvedSignature=t;for(const[e,t]of r)e.type=t;return i}return t()}function ze(e,t){const n=dc(e,Bu);if(n){let t=e;do{ss(t).skipDirectInference=!0,t=t.parent}while(t&&t!==n)}P=!0;const r=We(e,t);if(P=!1,n){let t=e;do{ss(t).skipDirectInference=void 0,t=t.parent}while(t&&t!==n)}return r}function Ke(e,t,n,r){const i=fc(e,Bu);Te=n;const o=i?bB(i,t,r):void 0;return Te=void 0,o}var Ze=new Map,nt=new Map,rt=new Map,it=new Map,ot=new Map,st=new Map,at=new Map,ct=new Map,lt=new Map,ut=new Map,dt=new Map,pt=new Map,ft=new Map,mt=new Map,ht=new Map,gt=[],yt=new Map,vt=new Set,bt=Vo(4,"unknown"),Ct=Vo(0,"__resolving__"),Et=new Map,xt=new Map,St=new Set,kt=Pa(1,"any"),Dt=Pa(1,"any",262144,"auto"),wt=Pa(1,"any",void 0,"wildcard"),It=Pa(1,"any",void 0,"blocked string"),Tt=Pa(1,"error"),Ft=Pa(1,"unresolved"),Rt=Pa(1,"any",65536,"non-inferrable"),Pt=Pa(1,"intrinsic"),Bt=Pa(2,"unknown"),Ot=Pa(32768,"undefined"),qt=z?Ot:Pa(32768,"undefined",65536,"widening"),$t=Pa(32768,"undefined",void 0,"missing"),Qt=ue?$t:Ot,Lt=Pa(32768,"undefined",void 0,"optional"),jt=Pa(65536,"null"),Ut=z?jt:Pa(65536,"null",65536,"widening"),Jt=Pa(4,"string"),Vt=Pa(8,"number"),Ht=Pa(64,"bigint"),Yt=Pa(512,"false",void 0,"fresh"),Kt=Pa(512,"false"),tn=Pa(512,"true",void 0,"fresh"),rn=Pa(512,"true");tn.regularType=rn,tn.freshType=tn,rn.regularType=rn,rn.freshType=tn,Yt.regularType=Kt,Yt.freshType=Yt,Kt.regularType=Kt,Kt.freshType=Yt;var sn,an=Pv([Kt,rn]),cn=Pa(4096,"symbol"),ln=Pa(16384,"void"),dn=Pa(131072,"never"),pn=Pa(131072,"never",262144,"silent"),fn=Pa(131072,"never",void 0,"implicit"),_n=Pa(131072,"never",void 0,"unreachable"),mn=Pa(67108864,"object"),hn=Pv([Jt,Vt]),gn=Pv([Jt,Vt,cn]),An=Pv([Vt,Ht]),yn=Pv([Jt,Vt,an,Ht,jt,Ot]),vn=nb(["",""],[Vt]),bn=YC((e=>{return 262144&e.flags?!(t=e).constraint&&!Gg(t)||t.constraint===On?t:t.restrictiveInstantiation||(t.restrictiveInstantiation=Ba(t.symbol),t.restrictiveInstantiation.constraint=On,t.restrictiveInstantiation):e;var t}),(()=>"(restrictive mapper)")),Cn=YC((e=>262144&e.flags?wt:e),(()=>"(permissive mapper)")),En=Pa(131072,"never",void 0,"unique literal"),xn=YC((e=>262144&e.flags?En:e),(()=>"(unique literal mapper)")),Sn=YC((e=>(!sn||e!==Qn&&e!==Ln&&e!==Mn||sn(!0),e)),(()=>"(unmeasurable reporter)")),kn=YC((e=>(!sn||e!==Qn&&e!==Ln&&e!==Mn||sn(!1),e)),(()=>"(unreliable reporter)")),Dn=La(void 0,N,a,a,a),wn=La(void 0,N,a,a,a);wn.objectFlags|=2048;var In=La(void 0,N,a,a,a);In.objectFlags|=141440;var Tn=Vo(2048,"__type");Tn.members=Wd();var Fn=La(Tn,N,a,a,a),Rn=La(void 0,N,a,a,a),Pn=z?Pv([Ot,jt,Rn]):Bt,Nn=La(void 0,N,a,a,a);Nn.instantiations=new Map;var Bn=La(void 0,N,a,a,a);Bn.objectFlags|=262144;var On=La(void 0,N,a,a,a),qn=La(void 0,N,a,a,a),$n=La(void 0,N,a,a,a),Qn=Ba(),Ln=Ba();Ln.constraint=Qn;var Mn=Ba(),jn=Ba(),Un=Ba();Un.constraint=jn;var Jn,Vn,Gn,Wn,zn,Yn,Kn,Xn,Zn,nr,rr,ir,or,sr,ar,cr,lr,ur,dr,pr,fr,_r,mr,hr,gr,Ar,yr,vr,br,Cr,Er,xr,Sr,kr,Dr,wr,Ir,Tr,Fr,Rr,Pr,Nr,Br,Or,qr,$r,Qr,Lr,Mr,jr,Ur,Jr,Vr,Hr,Gr,Wr,zr,Yr,Kr,Xr,Zr,ei,ti,ni,ri,ii,oi,si=yh(1,"<>",0,kt),ai=xp(void 0,void 0,void 0,a,kt,void 0,0,0),ci=xp(void 0,void 0,void 0,a,Tt,void 0,0,0),li=xp(void 0,void 0,void 0,a,kt,void 0,0,0),ui=xp(void 0,void 0,void 0,a,pn,void 0,0,0),di=Pg(Vt,Jt,!0),pi=new Map,_i={get yieldType(){return un.fail("Not supported")},get returnType(){return un.fail("Not supported")},get nextType(){return un.fail("Not supported")}},mi=_Q(kt,kt,kt),hi={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return wr||(wr=HA("AsyncIterator",3,e))||Nn},getGlobalIterableType:sy,getGlobalIterableIteratorType:py,getGlobalIteratorObjectType:function(e){return Rr||(Rr=HA("AsyncIteratorObject",3,e))||Nn},getGlobalGeneratorType:function(e){return Pr||(Pr=HA("AsyncGenerator",3,e))||Nn},getGlobalBuiltinIteratorTypes:function(){return Fr??(Fr=GA(["ReadableStreamAsyncIterator"],1))},resolveIterationType:(e,t)=>u$(e,t,us.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),mustHaveANextMethodDiagnostic:us.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:us.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:us.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},gi={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return br||(br=HA("Iterator",3,e))||Nn},getGlobalIterableType:fy,getGlobalIterableIteratorType:my,getGlobalIteratorObjectType:function(e){return Er||(Er=HA("IteratorObject",3,e))||Nn},getGlobalGeneratorType:function(e){return xr||(xr=HA("Generator",3,e))||Nn},getGlobalBuiltinIteratorTypes:function(){return Tr??(Tr=GA(["ArrayIterator","MapIterator","SetIterator","StringIterator"],1))},resolveIterationType:(e,t)=>e,mustHaveANextMethodDiagnostic:us.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:us.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:us.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},Ai=new Map,yi=new Map,vi=new Map,bi=0,Ci=0,Ei=0,xi=!1,Si=0,ki=[],wi=[],Ii=[],Ti=0,Fi=[],Ri=[],Pi=[],Ni=0,Bi=hC(""),Oi=gC(0),qi=AC({negative:!1,base10Value:"0"}),$i=[],Qi=[],Li=[],Mi=0,ji=!1,Ui=0,Ji=10,Vi=[],Hi=[],Gi=[],Wi=[],zi=[],Yi=[],Ki=[],Xi=[],Zi=[],eo=[],to=[],no=[],ro=[],io=[],oo=[],so=[],ao=[],co=[],lo=[],uo=0,po=uA(),fo=uA(),_o=Pv(Pe(qQ.keys(),hC)),mo=new Map,ho=new Map,go=new Map,Ao=new Map,yo=new Map,bo=new Map,So=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===O.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return function(){for(const t of e.getSourceFiles())L$(t,O);let t;Jn=new Map;for(const n of e.getSourceFiles())if(!n.redirectInfo){if(!Zf(n)){const e=n.locals.get("globalThis");if(null==e?void 0:e.declarations)for(const t of e.declarations)po.add($f(t,us.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));ts(De,n.locals)}if(n.jsGlobalAugmentations&&ts(De,n.jsGlobalAugmentations),n.patternAmbientModules&&n.patternAmbientModules.length&&(Gn=H(Gn,n.patternAmbientModules)),n.moduleAugmentations.length&&(t||(t=[])).push(n.moduleAugmentations),n.symbol&&n.symbol.globalExports){n.symbol.globalExports.forEach(((e,t)=>{De.has(t)||De.set(t,e)}))}}if(t)for(const e of t)for(const t of e)ff(t.parent)&&ns(t);(function(){const e=we.escapedName,t=De.get(e);t?u(t.declarations,(t=>{Jx(t)||po.add($f(t,us.Declaration_name_conflicts_with_built_in_global_identifier_0,mc(e)))})):De.set(e,we)})(),is(we).type=qt,is(Be).type=HA("IArguments",0,!0),is(bt).type=Tt,is(Ie).type=Na(16,Ie),Zn=HA("Array",1,!0),zn=HA("Object",0,!0),Yn=HA("Function",0,!0),Kn=X&&HA("CallableFunction",0,!0)||Yn,Xn=X&&HA("NewableFunction",0,!0)||Yn,rr=HA("String",0,!0),ir=HA("Number",0,!0),or=HA("Boolean",0,!0),sr=HA("RegExp",0,!0),cr=Qy(kt),(lr=Qy(Dt))===Dn&&(lr=La(void 0,N,a,a,a));if(nr=by("ReadonlyArray",1)||Zn,ur=nr?Ey(nr,[kt]):cr,ar=by("ThisType",1),t)for(const e of t)for(const t of e)ff(t.parent)||ns(t);Jn.forEach((({firstFile:e,secondFile:t,conflictingSymbols:n})=>{if(n.size<8)n.forEach((({isBlockScoped:e,firstFileLocations:t,secondFileLocations:n},r)=>{const i=e?us.Cannot_redeclare_block_scoped_variable_0:us.Duplicate_identifier_0;for(const e of t)es(e,i,r,n);for(const e of n)es(e,i,r,t)}));else{const r=Pe(n.keys()).join(", ");po.add(sx($f(e,us.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,r),$f(t,us.Conflicts_are_in_this_file))),po.add(sx($f(t,us.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,r),$f(e,us.Conflicts_are_in_this_file)))}})),Jn=void 0}(),Ge;function ko(e){return!!zw(e)&&(!!UD(e.name)&&(!(!zw(e.expression)&&!UD(e.expression))&&(UD(e.expression)?"Symbol"===hc(e.expression)&&FD(e.expression)===(VA("Symbol",1160127,void 0)||bt):!!UD(e.expression.expression)&&("Symbol"===hc(e.expression.name)&&"globalThis"===hc(e.expression.expression)&&FD(e.expression.expression)===Ie))))}function Do(e){return e?ht.get(e):void 0}function wo(e,t){return e&&ht.set(e,t),t}function To(e){if(e){const t=Ap(e);if(t)if(IT(e)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;const n=t.pragmas.get("jsxfrag");if(n){const e=Ye(n)?n[0]:n;if(t.localJsxFragmentFactory=MP(e.arguments.factory,$),eL(t.localJsxFragmentFactory,Po,eu),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=cv(t.localJsxFragmentFactory).escapedText}const r=XM(e);if(r)return t.localJsxFragmentFactory=r,t.localJsxFragmentNamespace=cv(r).escapedText}else{const e=Fo(t);if(e)return t.localJsxNamespace=e}}return ii||(ii="React",O.jsxFactory?(eL(oi=MP(O.jsxFactory,$),Po),oi&&(ii=cv(oi).escapedText)):O.reactNamespace&&(ii=_c(O.reactNamespace))),oi||(oi=XS.createQualifiedName(XS.createIdentifier(mc(ii)),"createElement")),ii}function Fo(e){if(e.localJsxNamespace)return e.localJsxNamespace;const t=e.pragmas.get("jsx");if(t){const n=Ye(t)?t[0]:t;if(e.localJsxFactory=MP(n.arguments.factory,$),eL(e.localJsxFactory,Po,eu),e.localJsxFactory)return e.localJsxNamespace=cv(e.localJsxFactory).escapedText}}function Po(e){return Sx(e,-1,-1),uL(e,Po,void 0)}function No(e,t,n,...r){const i=Oo(t,n,...r);return i.skippedOn=e,i}function Bo(e,t,...n){return e?$f(e,t,...n):Xb(t,...n)}function Oo(e,t,...n){const r=Bo(e,t,...n);return po.add(r),r}function qo(e,t){e?po.add(t):fo.add({...t,category:2})}function $o(e,t,n,...r){if(t.pos<0||t.end<0){if(!e)return;const i=Ap(t);qo(e,"message"in n?Yb(i,0,0,n,...r):Vf(i,n))}else qo(e,"message"in n?$f(t,n,...r):Mf(Ap(t),t,n))}function Qo(e,t,n,...r){const i=Oo(e,n,...r);if(t){sx(i,$f(e,us.Did_you_forget_to_use_await))}return i}function Mo(e,t){const n=Array.isArray(e)?u(e,Wc):Wc(e);return n&&sx(t,$f(n,us.The_declaration_was_marked_as_deprecated_here)),fo.add(t),t}function jo(e){const t=Aa(e);return t&&l(e.declarations)>1?64&t.flags?J(e.declarations,Uo):g(e.declarations,Uo):!!e.valueDeclaration&&Uo(e.valueDeclaration)||l(e.declarations)&&g(e.declarations,Uo)}function Uo(e){return!!(536870912&$j(e))}function Jo(e,t,n){return Mo(t,$f(e,us._0_is_deprecated,n))}function Vo(e,t,n){m++;const r=new c(33554432|e,t);return r.links=new jQ,r.links.checkFlags=n||0,r}function Ho(e,t){const n=Vo(1,e);return n.links.type=t,n}function Go(e,t){const n=Vo(4,e);return n.links.type=t,n}function Wo(e){let t=0;return 2&e&&(t|=111551),1&e&&(t|=111550),4&e&&(t|=0),8&e&&(t|=900095),16&e&&(t|=110991),32&e&&(t|=899503),64&e&&(t|=788872),256&e&&(t|=899327),128&e&&(t|=899967),512&e&&(t|=110735),8192&e&&(t|=103359),32768&e&&(t|=46015),65536&e&&(t|=78783),262144&e&&(t|=526824),524288&e&&(t|=788968),2097152&e&&(t|=2097152),t}function zo(e,t){t.mergeId||(t.mergeId=NQ,NQ++),Vi[t.mergeId]=e}function Yo(e){const t=Vo(e.flags,e.escapedName);return t.declarations=e.declarations?e.declarations.slice():[],t.parent=e.parent,e.valueDeclaration&&(t.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),e.members&&(t.members=new Map(e.members)),e.exports&&(t.exports=new Map(e.exports)),zo(t,e),t}function Ko(e,t,n=!1){if(!(e.flags&Wo(t.flags))||67108864&(t.flags|e.flags)){if(t===e)return e;if(!(33554432&e.flags)){const n=Qs(e);if(n===bt)return t;if(n.flags&Wo(t.flags)&&!(67108864&(t.flags|n.flags)))return r(e,t),t;e=Yo(n)}512&t.flags&&512&e.flags&&e.constEnumOnlyModule&&!t.constEnumOnlyModule&&(e.constEnumOnlyModule=!1),e.flags|=t.flags,t.valueDeclaration&&mh(e,t.valueDeclaration),se(e.declarations,t.declarations),t.members&&(e.members||(e.members=Wd()),ts(e.members,t.members,n)),t.exports&&(e.exports||(e.exports=Wd()),ts(e.exports,t.exports,n,e)),n||zo(e,t)}else 1024&e.flags?e!==Ie&&Oo(t.declarations&&Sc(t.declarations[0]),us.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,oc(e)):r(e,t);return e;function r(e,t){const n=!!(384&e.flags||384&t.flags),r=!!(2&e.flags||2&t.flags),o=n?us.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:r?us.Cannot_redeclare_block_scoped_variable_0:us.Duplicate_identifier_0,s=t.declarations&&Ap(t.declarations[0]),a=e.declarations&&Ap(e.declarations[0]),c=vp(s,O.checkJs),l=vp(a,O.checkJs),u=oc(t);if(s&&a&&Jn&&!n&&s!==a){const n=-1===Zo(s.path,a.path)?s:a,o=n===s?a:s,d=Q(Jn,`${n.path}|${o.path}`,(()=>({firstFile:n,secondFile:o,conflictingSymbols:new Map}))),p=Q(d.conflictingSymbols,u,(()=>({isBlockScoped:r,firstFileLocations:[],secondFileLocations:[]})));c||i(p.firstFileLocations,t),l||i(p.secondFileLocations,e)}else c||Xo(t,o,u,e),l||Xo(e,o,u,t)}function i(e,t){if(t.declarations)for(const n of t.declarations)ae(e,n)}}function Xo(e,t,n,r){u(e.declarations,(e=>{es(e,t,n,r.declarations)}))}function es(e,t,n,r){const i=(Gm(e,!1)?zm(e):Sc(e))||e,o=function(e,t,...n){const r=e?$f(e,t,...n):Xb(t,...n);return po.lookup(r)||(po.add(r),r)}(i,t,n);for(const e of r||a){const t=(Gm(e,!1)?zm(e):Sc(e))||e;if(t===i)continue;o.relatedInformation=o.relatedInformation||[];const r=$f(t,us._0_was_also_declared_here,n),s=$f(t,us.and_here);l(o.relatedInformation)>=5||J(o.relatedInformation,(e=>0===rC(e,s)||0===rC(e,r)))||sx(o,l(o.relatedInformation)?s:r)}}function ts(e,t,n=!1,r){t.forEach(((t,i)=>{const o=e.get(i),s=o?Ko(o,t,n):fa(t);r&&o&&(s.parent=r),e.set(i,s)}))}function ns(e){var t,n,r;const i=e.parent;if((null==(t=i.symbol.declarations)?void 0:t[0])===i)if(ff(i))ts(De,i.symbol.exports);else{let t=Zs(e,e,33554432&e.parent.parent.flags?void 0:us.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!1,!0);if(!t)return;if(t=na(t),1920&t.flags)if(J(Gn,(e=>t===e.symbol))){const n=Ko(i.symbol,t,!0);Wn||(Wn=new Map),Wn.set(e.text,n)}else{if((null==(n=t.exports)?void 0:n.get("__export"))&&(null==(r=i.symbol.exports)?void 0:r.size)){const e=_p(t,"resolvedExports");for(const[n,r]of Pe(i.symbol.exports.entries()))e.has(n)&&!t.exports.has(n)&&Ko(e.get(n),r)}Ko(t,i.symbol)}else Oo(e,us.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,e.text)}else un.assert(i.symbol.declarations.length>1)}function is(e){if(33554432&e.flags)return e.links;const t=VQ(e);return Hi[t]??(Hi[t]=new jQ)}function ss(e){const t=JQ(e);return Gi[t]||(Gi[t]=new UQ)}function as(e,t,n){if(n){const r=fa(e.get(t));if(r){if(r.flags&n)return r;if(2097152&r.flags){if(js(r)&n)return r}}}}function cs(t,n){const r=Ap(t),i=Ap(n),o=Tf(t);if(r!==i){if(M&&(r.externalModuleIndicator||i.externalModuleIndicator)||!O.outFile||uy(n)||33554432&t.flags)return!0;if(s(n,t))return!0;const o=e.getSourceFiles();return o.indexOf(r)<=o.indexOf(i)}if(16777216&n.flags||uy(n)||RD(n))return!0;if(t.pos<=n.pos&&(!uw(t)||!am(n.parent)||t.initializer||t.exclamationToken)){if(208===t.kind){const e=xg(n,208);return e?dc(e,Hw)!==dc(t,Hw)||t.pose===t?"quit":ow(e)?e.parent.parent===t:!j&&cw(e)&&(e.parent===t||pw(e.parent)&&e.parent.parent===t||fl(e.parent)&&e.parent.parent===t||uw(e.parent)&&e.parent.parent===t||aw(e.parent)&&e.parent.parent.parent===t)));return!e||!(j||!cw(e))&&!!dc(n,(t=>t===e?"quit":ru(t)&&!om(t)))}return uw(t)?!a(t,n,!1):!Za(t,t.parent)||!(V&&Y_(t)===Y_(n)&&s(n,t))}return!!(281===n.parent.kind||277===n.parent.kind&&n.parent.isExportEquals)||(!(277!==n.kind||!n.isExportEquals)||!!s(n,t)&&(!V||!Y_(t)||!uw(t)&&!Za(t,t.parent)||!a(t,n,!0)));function s(e,t){return!!dc(e,(n=>{if(n===o)return"quit";if(ru(n))return!0;if(fw(n))return t.pos=r&&o.pos<=i){const n=XS.createPropertyAccessExpression(XS.createThis(),e);wx(n.expression,n),wx(n,o),n.flowNode=o.returnFlowNode;if(!KE(NT(n,t,yk(t))))return!0}return!1}(e,wu(_a(t)),S(t.parent.members,fw),t.parent.pos,n.pos))return!0}}}else{if(!(172===t.kind&&!Iy(t))||Y_(e)!==Y_(t))return!0}}return!1}))}function a(e,t,n){if(t.end>e.end)return!1;const r=dc(t,(t=>{if(t===e)return"quit";switch(t.kind){case 219:return!0;case 172:return!n||!(uw(e)&&t.parent===e.parent||Za(e,e.parent)&&t.parent===e.parent.parent)||"quit";case 241:switch(t.parent.kind){case 177:case 174:case 178:return!0;default:return!1}default:return!1}}));return void 0===r}}function ls(e){return ss(e).declarationRequiresScopeChange}function ds(e,t){ss(e).declarationRequiresScopeChange=t}function ps(e,t,n){return t?sx(e,$f(t,281===t.kind||278===t.kind||280===t.kind?us._0_was_exported_here:us._0_was_imported_here,n)):e}function fs(e){return Xe(e)?mc(e):Rf(e)}function _s(e,t,n){if(!UD(e)||e.escapedText!==t||iM(e)||uy(e))return!1;const r=em(e,!1,!1);let i=r;for(;i;){if(du(i.parent)){const o=_a(i.parent);if(!o)break;if(z_(wu(o),t))return Oo(e,us.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,fs(n),oc(o)),!0;if(i===r&&!Iy(i)){if(z_(Cd(o).thisType,t))return Oo(e,us.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,fs(n)),!0}}i=i.parent}return!1}function ms(e){const t=hs(e);return!(!t||!zs(t,64,!0))&&(Oo(e,us.Cannot_extend_an_interface_0_Did_you_mean_implements,zp(t)),!0)}function hs(e){switch(e.kind){case 80:case 211:return e.parent?hs(e.parent):void 0;case 233:if(av(e.expression))return e.expression;default:return}}function gs(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function As(e,t,n){return!!t&&!!dc(e,(e=>e===t||!!(e===n||ru(e)&&(!om(e)||3&Ng(e)))&&"quit"))}function ys(e){switch(e.kind){case 271:return e;case 273:return e.parent;case 274:return e.parent.parent;case 276:return e.parent.parent.parent;default:return}}function vs(e){return e.declarations&&y(e.declarations,bs)}function bs(e){return 271===e.kind||270===e.kind||273===e.kind&&!!e.name||274===e.kind||280===e.kind||276===e.kind||281===e.kind||277===e.kind&&mg(e)||uI(e)&&2===th(e)&&mg(e)||xb(e)&&uI(e.parent)&&e.parent.left===e&&64===e.parent.operatorToken.kind&&Cs(e.parent.right)||304===e.kind||303===e.kind&&Cs(e.initializer)||260===e.kind&&qm(e)||208===e.kind&&qm(e.parent.parent)}function Cs(e){return _g(e)||nI(e)&&CB(e)}function Es(e,t){const n=Ns(e);if(n){const e=Db(n.expression).arguments[0];return UD(n.name)?Qs(z_(Oh(e),n.name.escapedText)):void 0}if(HI(e)||283===e.moduleReference.kind){const t=Xs(e,km(e)||Sm(e)),n=na(t);return Us(e,t,n,!1),n}const r=Gs(e.moduleReference,t);return function(e,t){if(Us(e,void 0,t,!1)&&!e.isTypeOnly){const t=Hs(_a(e)),n=281===t.kind||278===t.kind,r=n?us.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:us.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,i=n?us._0_was_exported_here:us._0_was_imported_here,o=278===t.kind?"*":Vp(t.name);sx(Oo(e.moduleReference,r),$f(t,i,o))}}(e,r),r}function xs(e,t,n,r){const i=e.exports.get("export="),o=i?z_(wu(i),t,!0):e.exports.get(t),s=Qs(o,r);return Us(n,o,s,!1),s}function Ss(e){return mT(e)&&!e.isExportEquals||wy(e,2048)||AT(e)||pT(e)}function ks(t){return Od(t)?e.getEmitSyntaxForUsageLocation(Ap(t),t):void 0}function Ds(e,t){if(100<=M&&M<=199){if(99===ks(e)){t??(t=Xs(e,e,!0));const n=t&&yp(t);return n&&(e_(n)||".d.json.ts"===XP(n.fileName))}}return!1}function ws(t,n,r,i){const o=t&&ks(i);if(t&&void 0!==o){const n=e.getImpliedNodeFormatForEmit(t);if(99===o&&1===n&&100<=M&&M<=199)return!0;if(99===o&&99===n)return!1}if(!G)return!1;if(!t||t.isDeclarationFile){const e=xs(n,"default",void 0,!0);return(!e||!J(e.declarations,Ss))&&!xs(n,_c("__esModule"),void 0,r)}return Im(t)?"object"!=typeof t.externalModuleIndicator&&!xs(n,_c("__esModule"),void 0,r):oa(n)}function Ts(e,t,n){var r;let i;i=df(e)?e:xs(e,"default",t,n);const o=null==(r=e.declarations)?void 0:r.find(JT),s=Fs(t);if(!s)return i;const a=Ds(s,e),c=ws(o,e,n,s);if(i||c||a){if(c||a){const r=na(e,n)||Qs(e,n);return Us(t,e,r,!1),r}}else if(oa(e)&&!G){const n=M>=5?"allowSyntheticDefaultImports":"esModuleInterop",r=e.exports.get("export=").valueDeclaration,i=Oo(t.name,us.Module_0_can_only_be_default_imported_using_the_1_flag,oc(e),n);r&&sx(i,$f(r,us.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,n))}else oT(t)?function(e,t){var n,r,i;if(null==(n=e.exports)?void 0:n.has(t.symbol.escapedName))Oo(t.name,us.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,oc(e),oc(t.symbol));else{const n=Oo(t.name,us.Module_0_has_no_default_export,oc(e)),o=null==(r=e.exports)?void 0:r.get("__export");if(o){const e=null==(i=o.declarations)?void 0:i.find((e=>{var t,n;return!!(hT(e)&&e.moduleSpecifier&&(null==(n=null==(t=Xs(e,e.moduleSpecifier))?void 0:t.exports)?void 0:n.has("default")))}));e&&sx(n,$f(e,us.export_Asterisk_does_not_re_export_a_default))}}}(e,t):Ps(e,e,t,$l(t)&&t.propertyName||t.name);return Us(t,i,void 0,!1),i}function Fs(e){switch(e.kind){case 273:return e.parent.moduleSpecifier;case 271:return ET(e.moduleReference)?e.moduleReference.expression:void 0;case 274:case 281:return e.parent.parent.moduleSpecifier;case 276:return e.parent.parent.parent.moduleSpecifier;default:return un.assertNever(e)}}function Rs(e,t,n=!1){var r;const i=km(e)||e.moduleSpecifier,o=Xs(e,i),s=!zw(t)&&t.propertyName||t.name;if(!UD(s)&&11!==s.kind)return;const a=Hp(s),c=ra(o,i,!1,"default"===a&&G);if(c&&(a||11===s.kind)){if(df(o))return o;let l;l=o&&o.exports&&o.exports.get("export=")?z_(wu(c),a,!0):function(e,t){if(3&e.flags){const n=e.valueDeclaration.type;if(n)return Qs(z_(PC(n),t))}}(c,a),l=Qs(l,n);let u=function(e,t,n,r){var i;if(1536&e.flags){const o=la(e).get(t),s=Qs(o,r);return Us(n,o,s,!1,null==(i=is(e).typeOnlyExportStarMap)?void 0:i.get(t),t),s}}(c,a,t,n);if(void 0===u&&"default"===a){const e=null==(r=o.declarations)?void 0:r.find(JT);(Ds(i,o)||ws(e,o,n,i))&&(u=na(o,n)||Qs(o,n))}const d=u&&l&&u!==l?function(e,t){if(e===bt&&t===bt)return bt;if(790504&e.flags)return e;const n=Vo(e.flags|t.flags,e.escapedName);return un.assert(e.declarations||t.declarations),n.declarations=Y(H(e.declarations,t.declarations),_t),n.parent=e.parent||t.parent,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration),t.members&&(n.members=new Map(t.members)),e.exports&&(n.exports=new Map(e.exports)),n}(l,u):u||l;return $l(t)&&Ds(i,o)&&"default"!==a?Oo(s,us.Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0,fi[M]):d||Ps(o,c,e,s),d}}function Ps(e,t,n,r){var i;const o=Ws(e,n),s=Rf(r),a=UD(r)?AN(r,t):void 0;if(void 0!==a){const e=oc(a),t=Oo(r,us._0_has_no_exported_member_named_1_Did_you_mean_2,o,s,e);a.valueDeclaration&&sx(t,$f(a.valueDeclaration,us._0_is_declared_here,e))}else(null==(i=e.exports)?void 0:i.has("default"))?Oo(r,us.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,o,s):function(e,t,n,r,i){var o,s;const a=null==(s=null==(o=et(r.valueDeclaration,ad))?void 0:o.locals)?void 0:s.get(Hp(t)),c=r.exports;if(a){const r=null==c?void 0:c.get("export=");if(r)Ea(r,a)?function(e,t,n,r){if(M>=5){Oo(t,xC(O)?us._0_can_only_be_imported_by_using_a_default_import:us._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n)}else if(Tm(e)){Oo(t,xC(O)?us._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:us._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n)}else{Oo(t,xC(O)?us._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:us._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,n,n,r)}}(e,t,n,i):Oo(t,us.Module_0_has_no_exported_member_1,i,n);else{const e=c?A(ch(c),(e=>!!Ea(e,a))):void 0,r=e?Oo(t,us.Module_0_declares_1_locally_but_it_is_exported_as_2,i,n,oc(e)):Oo(t,us.Module_0_declares_1_locally_but_it_is_not_exported,i,n);a.declarations&&sx(r,...w(a.declarations,((e,t)=>$f(e,0===t?us._0_is_declared_here:us.and_here,n))))}}else Oo(t,us.Module_0_has_no_exported_member_1,i,n)}(n,r,s,e,o)}function Ns(e){if(HI(e)&&e.initializer&&zw(e.initializer))return e.initializer}function Bs(e,t,n){const r=e.propertyName||e.name;if(Gp(r)){const t=Fs(e),r=t&&Xs(e,t);if(r)return Ts(r,e,!!n)}const i=e.parent.parent.moduleSpecifier?Rs(e.parent.parent,e,n):11===r.kind?void 0:zs(r,t,!1,n);return Us(e,void 0,i,!1),i}function Os(e,t){if(mI(e))return cq(e).symbol;if(!eu(e)&&!av(e))return;const n=zs(e,901119,!0,t);return n||(cq(e),ss(e).resolvedSymbol)}function qs(e,t=!1){switch(e.kind){case 271:case 260:return Es(e,t);case 273:return function(e,t){const n=Xs(e,e.parent.moduleSpecifier);if(n)return Ts(n,e,t)}(e,t);case 274:return function(e,t){const n=e.parent.parent.moduleSpecifier,r=Xs(e,n),i=ra(r,n,t,!1);return Us(e,r,i,!1),i}(e,t);case 280:return function(e,t){const n=e.parent.moduleSpecifier,r=n&&Xs(e,n),i=n&&ra(r,n,t,!1);return Us(e,r,i,!1),i}(e,t);case 276:case 208:return function(e,t){if(_T(e)&&Gp(e.propertyName||e.name)){const n=Fs(e),r=n&&Xs(e,n);if(r)return Ts(r,e,t)}const n=Hw(e)?Xg(e):e.parent.parent.parent,r=Ns(n),i=Rs(n,r||e,t),o=e.propertyName||e.name;return r&&i&&UD(o)?Qs(z_(wu(i),o.escapedText),t):(Us(e,void 0,i,!1),i)}(e,t);case 281:return Bs(e,901119,t);case 277:case 226:return function(e,t){const n=Os(mT(e)?e.expression:e.right,t);return Us(e,void 0,n,!1),n}(e,t);case 270:return function(e,t){if(sd(e.parent)){const n=na(e.parent.symbol,t);return Us(e,void 0,n,!1),n}}(e,t);case 304:return zs(e.name,901119,!0,t);case 303:return Os(e.initializer,t);case 212:case 211:return function(e,t){if(uI(e.parent)&&e.parent.left===e&&64===e.parent.operatorToken.kind)return Os(e.parent.right,t)}(e,t);default:return un.fail()}}function $s(e,t=901119){return!!e&&(2097152==(e.flags&(2097152|t))||!!(2097152&e.flags&&67108864&e.flags))}function Qs(e,t){return!t&&$s(e)?Ls(e):e}function Ls(e){un.assert(!!(2097152&e.flags),"Should only get Alias here.");const t=is(e);if(t.aliasTarget)t.aliasTarget===Ct&&(t.aliasTarget=bt);else{t.aliasTarget=Ct;const n=vs(e);if(!n)return un.fail();const r=qs(n);t.aliasTarget===Ct?t.aliasTarget=r||bt:Oo(n,us.Circular_definition_of_import_alias_0,oc(e))}return t.aliasTarget}function js(e,t,n){const r=t&&Hs(e),i=r&&hT(r),o=r&&(i?Xs(r.moduleSpecifier,r.moduleSpecifier,!0):Ls(r.symbol)),s=i&&o?ua(o):void 0;let a,c=n?0:e.flags;for(;2097152&e.flags;){const t=xa(Ls(e));if(!i&&t===o||(null==s?void 0:s.get(t.escapedName))===t)break;if(t===bt)return-1;if(t===e||(null==a?void 0:a.has(t)))break;2097152&t.flags&&(a?a.add(t):a=new Set([e,t])),c|=t.flags,e=t}return c}function Us(e,t,n,r,i,o){if(!e||zw(e))return!1;const s=_a(e);if(Ml(e)){return is(s).typeOnlyDeclaration=e,!0}if(i){const e=is(s);return e.typeOnlyDeclaration=i,s.escapedName!==o&&(e.typeOnlyExportStarName=o),!0}const a=is(s);return Vs(a,t,r)||Vs(a,n,r)}function Vs(e,t,n){var r;if(t&&(void 0===e.typeOnlyDeclaration||n&&!1===e.typeOnlyDeclaration)){const n=(null==(r=t.exports)?void 0:r.get("export="))??t,i=n.declarations&&A(n.declarations,Ml);e.typeOnlyDeclaration=i??is(n).typeOnlyDeclaration??!1}return!!e.typeOnlyDeclaration}function Hs(e,t){var n;if(!(2097152&e.flags))return;const r=is(e);if(void 0===r.typeOnlyDeclaration){r.typeOnlyDeclaration=!1;const t=Qs(e);Us(null==(n=e.declarations)?void 0:n[0],vs(e)&&nP(e),t,!0)}if(void 0===t)return r.typeOnlyDeclaration||void 0;if(r.typeOnlyDeclaration){return js(278===r.typeOnlyDeclaration.kind?Qs(ua(r.typeOnlyDeclaration.symbol.parent).get(r.typeOnlyExportStarName||e.escapedName)):Ls(r.typeOnlyDeclaration.symbol))&t?r.typeOnlyDeclaration:void 0}}function Gs(e,t){return 80===e.kind&&fv(e)&&(e=e.parent),80===e.kind||166===e.parent.kind?zs(e,1920,!1,t):(un.assert(271===e.parent.kind),zs(e,901119,!1,t))}function Ws(e,t){return e.parent?Ws(e.parent,t)+"."+oc(e):oc(e,t,void 0,36)}function zs(e,t,n,r,i){if(kp(e))return;const o=1920|(Tm(e)?111551&t:0);let s;if(80===e.kind){const r=t===o||eA(e)?us.Cannot_find_namespace_0:TD(cv(e)),a=Tm(e)&&!eA(e)?function(e,t){if(RA(e.parent)){const n=function(e){const t=dc(e,(e=>Ed(e)||16777216&e.flags?wh(e):"quit"));if(t)return;const n=Jh(e);if(n&&TI(n)&&fh(n.expression)){const e=_a(n.expression.left);if(e)return Ys(e)}if(n&&nI(n)&&fh(n.parent)&&TI(n.parent.parent)){const e=_a(n.parent.left);if(e)return Ys(e)}if(n&&(Q_(n)||LT(n))&&uI(n.parent.parent)&&6===th(n.parent.parent)){const e=_a(n.parent.parent.left);if(e)return Ys(e)}const r=Uh(e);if(r&&ru(r)){const e=_a(r);return e&&e.valueDeclaration}}(e.parent);if(n)return Ue(n,e,t,void 0,!0)}}(e,t):void 0;if(s=fa(Ue(i||e,e,t,n||a?void 0:r,!0,!1)),!s)return fa(a)}else if(166===e.kind||211===e.kind){const r=166===e.kind?e.left:e.expression,a=166===e.kind?e.right:e.name;let c=zs(r,o,n,!1,i);if(!c||kp(a))return;if(c===bt)return c;if(c.valueDeclaration&&Tm(c.valueDeclaration)&&100!==bC(O)&&HI(c.valueDeclaration)&&c.valueDeclaration.initializer&&RB(c.valueDeclaration.initializer)){const e=c.valueDeclaration.initializer.arguments[0],t=Xs(e,e);if(t){const e=na(t);e&&(c=e)}}if(s=fa(as(la(c),a.escapedText,t)),!s&&2097152&c.flags&&(s=fa(as(la(Ls(c)),a.escapedText,t))),!s){if(!n){const n=Ws(c),r=Rf(a),i=AN(a,c);if(i)return void Oo(a,us._0_has_no_exported_member_named_1_Did_you_mean_2,n,r,oc(i));const o=iw(e)&&function(e){for(;iw(e.parent);)e=e.parent;return e}(e),s=zn&&788968&t&&o&&!oI(o.parent)&&function(e){let t=cv(e),n=Ue(t,t,111551,void 0,!0);if(n){for(;iw(t.parent);){if(n=z_(wu(n),t.parent.right.escapedText),!n)return;t=t.parent}return n}}(o);if(s)return void Oo(o,us._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,qf(o));if(1920&t&&iw(e.parent)){const t=fa(as(la(c),a.escapedText,788968));if(t)return void Oo(e.parent.right,us.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,oc(t),mc(e.parent.right.escapedText))}Oo(a,us.Namespace_0_has_no_exported_member_1,n,r)}return}}else un.assertNever(e,"Unknown entity name kind.");return!eA(e)&&eu(e)&&(2097152&s.flags||277===e.parent.kind)&&Us(fg(e),s,void 0,!0),s.flags&t||r?s:Ls(s)}function Ys(e){const t=e.parent.valueDeclaration;if(!t)return;return(Um(t)?Hm(t):Fd(t)?Vm(t):void 0)||t}function Xs(e,t,n){const r=1===bC(O)?us.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:us.Cannot_find_module_0_or_its_corresponding_type_declarations;return Zs(e,t,n?void 0:r,n)}function Zs(e,t,n,r=!1,i=!1){return Od(t)?ea(e,t.text,n,r?void 0:t,i):void 0}function ea(t,n,r,i,o=!1){var s,a,c,l,u,d,p,f,_,m,h;if(i&&Wt(n,"@types/")){Oo(i,us.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,zt(n,"@types/"),n)}const g=lh(n,!0);if(g)return g;const A=Ap(t),y=Od(t)?t:(null==(s=ZI(t)?t:t.parent&&ZI(t.parent)&&t.parent.name===t?t.parent:void 0)?void 0:s.name)||(null==(a=d_(t)?t:void 0)?void 0:a.argument.literal)||(HI(t)&&t.initializer&&Bm(t.initializer,!0)?t.initializer.arguments[0]:void 0)||(null==(c=dc(t,l_))?void 0:c.arguments[0])||(null==(l=dc(t,Zt(iT,PF,hT)))?void 0:l.moduleSpecifier)||(null==(u=dc(t,xm))?void 0:u.moduleReference.expression),v=y&&Od(y)?e.getModeForUsageLocation(A,y):e.getDefaultResolutionModeForFile(A),b=bC(O),C=null==(d=e.getResolvedModule(A,n,v))?void 0:d.resolvedModule,E=i&&C&&qJ(O,C,A),x=C&&(!E||E===us.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&e.getSourceFile(C.resolvedFileName);if(x){if(E&&Oo(i,E,n,C.resolvedFileName),C.resolvedUsingTsExtension&&KP(n)){const e=(null==(p=dc(t,iT))?void 0:p.importClause)||dc(t,Zt(rT,hT));(i&&e&&!e.isTypeOnly||dc(t,l_))&&Oo(i,us.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,function(e){const t=VE(n,e);if(BC(M)||99===v){const r=KP(n)&&w$(O);return t+(".mts"===e||".d.mts"===e?r?".mts":".mjs":".cts"===e||".d.mts"===e?r?".cts":".cjs":r?".ts":".js")}return t}(un.checkDefined(bv(n))))}else if(C.resolvedUsingTsExtension&&!w$(O,A.fileName)){const e=(null==(f=dc(t,iT))?void 0:f.importClause)||dc(t,Zt(rT,hT));if(i&&!(null==e?void 0:e.isTypeOnly)&&!dc(t,Mw)){const e=un.checkDefined(bv(n));Oo(i,us.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,e)}}else if(O.rewriteRelativeImportExtensions&&!(33554432&t.flags)&&!KP(n)&&!d_(t)&&!jl(t)){const t=bh(n,O);if(!C.resolvedUsingTsExtension&&t)Oo(i,us.This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0,os(Lo(A.fileName,e.getCurrentDirectory()),C.resolvedFileName,qA(e)));else if(C.resolvedUsingTsExtension&&!t&&YA(x,e))Oo(i,us.This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path,Ro(n));else if(C.resolvedUsingTsExtension&&t){const t=e.getResolvedProjectReferenceToRedirect(x.path);if(t){const n=!e.useCaseSensitiveFileNames(),r=e.getCommonSourceDirectory(),o=Kj(t.commandLine,n);rs(r,o,n)!==rs(O.outDir||r,t.commandLine.options.outDir||o,n)&&Oo(i,us.This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files)}}}if(x.symbol){if(i&&C.isExternalLibraryImport&&!XE(C.extension)&&ta(!1,i,A,v,C,n),i&&(3===b||99===b)){const e=1===A.impliedNodeFormat&&!dc(t,l_)||!!dc(t,rT),r=dc(t,(e=>Mw(e)||hT(e)||iT(e)||PF(e)));if(e&&99===x.impliedNodeFormat&&!uS(r))if(dc(t,rT))Oo(i,us.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,n);else{let e;const t=tx(A.fileName);".ts"!==t&&".js"!==t&&".tsx"!==t&&".jsx"!==t||(e=pp(A));const o=272===(null==r?void 0:r.kind)&&(null==(_=r.importClause)?void 0:_.isTypeOnly)?us.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:205===(null==r?void 0:r.kind)?us.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:us.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead;po.add(Mf(Ap(i),i,eC(e,o,n)))}}return fa(x.symbol)}i&&r&&!ES(i)&&Oo(i,us.File_0_is_not_a_module,x.fileName)}else{if(Gn){const e=Gt(Gn,(e=>e.pattern),n);if(e){const t=Wn&&Wn.get(n);return fa(t?t:e.symbol)}}if(i){if((!C||XE(C.extension)||void 0!==E)&&E!==us.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(r){if(C){const t=e.getProjectReferenceRedirect(C.resolvedFileName);if(t)return void Oo(i,us.Output_file_0_has_not_been_built_from_source_file_1,t,C.resolvedFileName)}if(E)Oo(i,E,n,C.resolvedFileName);else{const t=vo(n)&&!Co(n),o=3===b||99===b;if(!wC(O)&&Eo(n,".json")&&1!==b&&OC(O))Oo(i,us.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n);else if(99===v&&o&&t){const t=Lo(n,Io(A.path)),r=null==(m=So.find((([n,r])=>e.fileExists(t+n))))?void 0:m[1];r?Oo(i,us.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,n+r):Oo(i,us.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else if(null==(h=e.getResolvedModule(A,n,v))?void 0:h.alternateResult){$o(!0,i,eC(dp(A,e,n,v,n),r,n))}else Oo(i,r,n)}}return}if(o){Oo(i,us.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,n,C.resolvedFileName)}else ta(ie&&!!r,i,A,v,C,n)}}}function ta(t,n,r,i,{packageId:o,resolvedFileName:s},a){if(ES(n))return;let c;!Sa(a)&&o&&(c=dp(r,e,a,i,o.name)),$o(t,n,eC(c,us.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,s))}function na(e,t){if(null==e?void 0:e.exports){const n=function(e,t){if(!e||e===bt||e===t||1===t.exports.size||2097152&e.flags)return e;const n=is(e);if(n.cjsExportMerged)return n.cjsExportMerged;const r=33554432&e.flags?e:Yo(e);r.flags=512|r.flags,void 0===r.exports&&(r.exports=Wd());t.exports.forEach(((e,t)=>{"export="!==t&&r.exports.set(t,r.exports.has(t)?Ko(r.exports.get(t),e):e)})),r===e&&(is(r).resolvedExports=void 0,is(r).resolvedMembers=void 0);return is(r).cjsExportMerged=r,n.cjsExportMerged=r}(fa(Qs(e.exports.get("export="),t)),fa(e));return fa(n)||e}}function ra(t,n,r,i){var o;const s=na(t,r);if(!r&&s){if(!(i||1539&s.flags||Hd(s,307))){const e=M>=5?"allowSyntheticDefaultImports":"esModuleInterop";return Oo(n,us.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,e),s}const r=n.parent;if(iT(r)&&Eh(r)||l_(r)){const n=l_(r)?r.arguments[0]:r.moduleSpecifier,i=wu(s),l=TB(i,s,t,n);if(l)return ia(s,l,r);const u=null==(o=null==t?void 0:t.declarations)?void 0:o.find(JT),d=u&&(a=ks(n),c=e.getImpliedNodeFormatForEmit(u),99===a&&1===c);if(xC(O)||d){let e=fm(i,0);if(e&&e.length||(e=fm(i,1)),e&&e.length||z_(i,"default",!0)||d){return ia(s,3670016&i.flags?FB(i,s,t,n):IB(s,s.parent),r)}}}}var a,c;return s}function ia(e,t,n){const r=Vo(e.flags,e.escapedName);r.declarations=e.declarations?e.declarations.slice():[],r.parent=e.parent,r.links.target=e,r.links.originatingImport=n,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(r.constEnumOnlyModule=!0),e.members&&(r.members=new Map(e.members)),e.exports&&(r.exports=new Map(e.exports));const i=Sf(t);return r.links.type=La(r,i.members,a,a,i.indexInfos),r}function oa(e){return void 0!==e.exports.get("export=")}function sa(e){return ch(ua(e))}function aa(e,t){const n=ua(t);if(n)return n.get(e)}function ca(e){return!(402784252&e.flags||1&gb(e)||PS(e)||ok(e))}function la(e){return 6256&e.flags?_p(e,"resolvedExports"):1536&e.flags?ua(e):e.exports||N}function ua(e){const t=is(e);if(!t.resolvedExports){const{exports:n,typeOnlyExportStarMap:r}=pa(e);t.resolvedExports=n,t.typeOnlyExportStarMap=r}return t.resolvedExports}function da(e,t,n,r){t&&t.forEach(((t,i)=>{if("default"===i)return;const o=e.get(i);if(o){if(n&&r&&o&&Qs(o)!==Qs(t)){const e=n.get(i);e.exportsWithDuplicate?e.exportsWithDuplicate.push(r):e.exportsWithDuplicate=[r]}}else e.set(i,t),n&&r&&n.set(i,{specifierText:zp(r.moduleSpecifier)})}))}function pa(e){const t=[];let n;const r=new Set,i=function e(i,o,s){!s&&(null==i?void 0:i.exports)&&i.exports.forEach(((e,t)=>r.add(t)));if(!(i&&i.exports&&ae(t,i)))return;const a=new Map(i.exports),c=i.exports.get("__export");if(c){const t=Wd(),n=new Map;if(c.declarations)for(const r of c.declarations){const i=Xs(r,r.moduleSpecifier);da(t,e(i,r,s||r.isTypeOnly),n,r)}n.forEach((({exportsWithDuplicate:e},t)=>{if("export="!==t&&e&&e.length&&!a.has(t))for(const r of e)po.add($f(r,us.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,n.get(t).specifierText,mc(t)))})),da(a,t)}(null==o?void 0:o.isTypeOnly)&&(n??(n=new Map),a.forEach(((e,t)=>n.set(t,o))));return a}(e=na(e))||N;return n&&r.forEach((e=>n.delete(e))),{exports:i,typeOnlyExportStarMap:n}}function fa(e){let t;return e&&e.mergeId&&(t=Vi[e.mergeId])?t:e}function _a(e){return fa(e.symbol&&hp(e.symbol))}function ga(e){return sd(e)?_a(e):void 0}function Aa(e){return fa(e.parent&&hp(e.parent))}function ya(e){var t,n;return(219===(null==(t=e.valueDeclaration)?void 0:t.kind)||218===(null==(n=e.valueDeclaration)?void 0:n.kind))&&ga(e.valueDeclaration.parent)||e}function va(t,n,r){const i=Aa(t);if(i&&!(262144&t.flags))return d(i);const o=q(t.declarations,(e=>{if(!cf(e)&&e.parent){if(Xa(e.parent))return _a(e.parent);if(eT(e.parent)&&e.parent.parent&&na(_a(e.parent.parent))===t)return _a(e.parent.parent)}if(mI(e)&&uI(e.parent)&&64===e.parent.operatorToken.kind&&xb(e.parent.left)&&av(e.parent.left.expression))return eh(e.parent.left)||Xm(e.parent.left.expression)?_a(Ap(e)):(cq(e.parent.left.expression),ss(e.parent.left.expression).resolvedSymbol)}));if(!l(o))return;const s=q(o,(e=>Ca(e,t)?e:void 0));let c=[],u=[];for(const e of s){const[t,...n]=d(e);c=re(c,t),u=se(u,n)}return H(c,u);function d(i){const o=q(i.declarations,p),s=n&&function(t,n){const r=Ap(n),i=JQ(r),o=is(t);let s;if(o.extendedContainersByFile&&(s=o.extendedContainersByFile.get(i)))return s;if(r&&r.imports){for(const e of r.imports){if(eA(e))continue;const r=Xs(n,e,!0);r&&(Ca(r,t)&&(s=re(s,r)))}if(l(s))return(o.extendedContainersByFile||(o.extendedContainersByFile=new Map)).set(i,s),s}if(o.extendedContainers)return o.extendedContainers;const c=e.getSourceFiles();for(const e of c){if(!UP(e))continue;const n=_a(e);Ca(n,t)&&(s=re(s,n))}return o.extendedContainers=s||a}(t,n),c=function(e,t){const n=!!l(e.declarations)&&me(e.declarations);if(111551&t&&n&&n.parent&&HI(n.parent)&&(Ww(n)&&n===n.parent.initializer||Sw(n)&&n===n.parent.type))return _a(n.parent)}(i,r);if(n&&i.flags&ja(r)&&Ua(i,n,1920,!1))return re(H(H([i],o),s),c);const u=!(i.flags&ja(r))&&788968&i.flags&&524288&Cd(i).flags&&111551===r?Ma(n,(e=>np(e,(e=>{if(e.flags&ja(r)&&wu(e)===Cd(i))return e})))):void 0;let d=u?[u,...o,i]:[...o,i];return d=re(d,c),d=se(d,s),d}function p(e){return i&&ba(e,i)}}function ba(e,t){const n=Ya(e),r=n&&n.exports&&n.exports.get("export=");return r&&Ea(r,t)?n:void 0}function Ca(e,t){if(e===Aa(t))return t;const n=e.exports&&e.exports.get("export=");if(n&&Ea(n,t))return e;const r=la(e),i=r.get(t.escapedName);return i&&Ea(i,t)?i:np(r,(e=>{if(Ea(e,t))return e}))}function Ea(e,t){if(fa(Qs(fa(e)))===fa(Qs(fa(t))))return e}function xa(e){return fa(e&&!!(1048576&e.flags)&&e.exportSymbol||e)}function ka(e,t){return!!(111551&e.flags||2097152&e.flags&&111551&js(e,!t))}function Da(e){var t;const n=new d(Ge,e);return _++,n.id=_,null==(t=Hn)||t.recordType(n),n}function wa(e,t){const n=Da(e);return n.symbol=t,n}function Ta(e){return new d(Ge,e)}function Pa(e,t,n=0,r){!function(e,t){const n=`${e},${t??""}`;St.has(n)&&un.fail(`Duplicate intrinsic type name ${e}${t?` (${t})`:""}; you may need to pass a name to createIntrinsicType.`);St.add(n)}(t,r);const i=Da(e);return i.intrinsicName=t,i.debugIntrinsicName=r,i.objectFlags=52953088|n,i}function Na(e,t){const n=wa(524288,t);return n.objectFlags=e,n.members=void 0,n.properties=void 0,n.callSignatures=void 0,n.constructSignatures=void 0,n.indexInfos=void 0,n}function Ba(e){return wa(262144,e)}function Oa(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function qa(e){let t;return e.forEach(((e,n)=>{$a(e,n)&&(t||(t=[])).push(e)})),t||a}function $a(e,t){return!Oa(t)&&ka(e)}function Qa(e,t,n,r,i){const o=e;return o.members=t,o.properties=a,o.callSignatures=n,o.constructSignatures=r,o.indexInfos=i,t!==N&&(o.properties=qa(t)),o}function La(e,t,n,r,i){return Qa(Na(16,e),t,n,r,i)}function Ma(e,t){let n;for(let r=e;r;r=r.parent){if(ad(r)&&r.locals&&!Xf(r)&&(n=t(r.locals,void 0,!0,r)))return n;switch(r.kind){case 307:if(!Zf(r))break;case 267:const e=_a(r);if(n=t((null==e?void 0:e.exports)||N,void 0,!0,r))return n;break;case 263:case 231:case 264:let i;if((_a(r).members||N).forEach(((e,t)=>{788968&e.flags&&(i||(i=Wd())).set(t,e)})),i&&(n=t(i,void 0,!1,r)))return n}}return t(De,void 0,!0)}function ja(e){return 111551===e?111551:1920}function Ua(e,t,n,r,i=new Map){if(!e||function(e){if(e.declarations&&e.declarations.length){for(const t of e.declarations)switch(t.kind){case 172:case 174:case 177:case 178:continue;default:return!1}return!0}return!1}(e))return;const o=is(e),s=o.accessibleChainCache||(o.accessibleChainCache=new Map),a=Ma(t,((e,t,n,r)=>r)),c=`${r?0:1}|${a?JQ(a):0}|${n}`;if(s.has(c))return s.get(c);const l=VQ(e);let u=i.get(l);u||i.set(l,u=[]);const d=Ma(t,p);return s.set(c,d),d;function p(n,i,o){if(!ae(u,n))return;const s=function(n,i,o){if(_(n.get(e.escapedName),void 0,i))return[e];const s=np(n,(n=>{if(2097152&n.flags&&"export="!==n.escapedName&&"default"!==n.escapedName&&!(Ab(n)&&t&&UP(Ap(t)))&&(!r||J(n.declarations,xm))&&(!o||!J(n.declarations,Em))&&(i||!Hd(n,281))){const e=m(n,Ls(n),i);if(e)return e}if(n.escapedName===e.escapedName&&n.exportSymbol&&_(fa(n.exportSymbol),void 0,i))return[e]}));return s||(n===De?m(Ie,Ie,i):void 0)}(n,i,o);return u.pop(),s}function f(e,n){return!Ja(e,t,n)||!!Ua(e.parent,t,ja(n),r,i)}function _(t,r,i){return(e===(r||t)||fa(e)===fa(r||t))&&!J(t.declarations,Xa)&&(i||f(fa(t),n))}function m(e,t,r){if(_(e,t,r))return[e];const i=la(t),o=i&&p(i,!0);return o&&f(e,ja(n))?[e].concat(o):void 0}}function Ja(e,t,n){let r=!1;return Ma(t,(t=>{let i=fa(t.get(e.escapedName));if(!i)return!1;if(i===e)return!0;const o=2097152&i.flags&&!Hd(i,281);i=o?Ls(i):i;return!!((o?js(i):i.flags)&n)&&(r=!0,!0)})),r}function Va(e,t){return 0===za(e,t,111551,!1,!0).accessibility}function Ha(e,t,n){return 0===za(e,t,n,!1,!1).accessibility}function Ga(e,t,n,r,i,o){if(!l(e))return;let s,a=!1;for(const c of e){const e=Ua(c,t,r,!1);if(e){s=c;const t=ec(e[0],i);if(t)return t}if(o&&J(c.declarations,Xa)){if(i){a=!0;continue}return{accessibility:0}}const l=Ga(va(c,t,r),t,n,n===c?ja(r):r,i,o);if(l)return l}return a?{accessibility:0}:s?{accessibility:1,errorSymbolName:oc(n,t,r),errorModuleName:s!==n?oc(s,t,1920):void 0}:void 0}function Wa(e,t,n,r){return za(e,t,n,r,!0)}function za(e,t,n,r,i){if(e&&t){const o=Ga([e],t,e,n,r,i);if(o)return o;const s=u(e.declarations,Ya);if(s){if(s!==Ya(t))return{accessibility:2,errorSymbolName:oc(e,t,n),errorModuleName:oc(s),errorNode:Tm(t)?t:void 0}}return{accessibility:1,errorSymbolName:oc(e,t,n)}}return{accessibility:0}}function Ya(e){const t=dc(e,Ka);return t&&_a(t)}function Ka(e){return cf(e)||307===e.kind&&Zf(e)}function Xa(e){return lf(e)||307===e.kind&&Zf(e)}function ec(e,t){let n;if(g(S(e.declarations,(e=>80!==e.kind)),(function(t){var n,i;if(!Oc(t)){const o=ys(t);if(o&&!wy(o,32)&&Oc(o.parent))return r(t,o);if(HI(t)&&wI(t.parent.parent)&&!wy(t.parent.parent,32)&&Oc(t.parent.parent.parent))return r(t,t.parent.parent);if(kf(t)&&!wy(t,32)&&Oc(t.parent))return r(t,t);if(Hw(t)){if(2097152&e.flags&&Tm(t)&&(null==(n=t.parent)?void 0:n.parent)&&HI(t.parent.parent)&&(null==(i=t.parent.parent.parent)?void 0:i.parent)&&wI(t.parent.parent.parent.parent)&&!wy(t.parent.parent.parent.parent,32)&&t.parent.parent.parent.parent.parent&&Oc(t.parent.parent.parent.parent.parent))return r(t,t.parent.parent.parent.parent);if(2&e.flags){const e=dc(t,wI);return!!wy(e,32)||!!Oc(e.parent)&&r(t,e)}}return!1}return!0})))return{accessibility:0,aliasesToMakeVisible:n};function r(e,r){return t&&(ss(e).isVisible=!0,n=ce(n,r)),!0}}function tc(e){let t;return t=186===e.parent.kind||233===e.parent.kind&&!S_(e.parent)||167===e.parent.kind||182===e.parent.kind&&e.parent.parameterName===e?1160127:166===e.kind||211===e.kind||271===e.parent.kind||166===e.parent.kind&&e.parent.left===e||211===e.parent.kind&&e.parent.expression===e||212===e.parent.kind&&e.parent.expression===e?1920:788968,t}function rc(e,t,n=!0){const r=tc(e),i=cv(e),o=Ue(t,i.escapedText,r,void 0,!1);return o&&262144&o.flags&&788968&r||!o&&ly(i)&&0===Wa(_a(em(i,!1,!1)),i,r,!1).accessibility?{accessibility:0}:o?ec(o,n)||{accessibility:1,errorSymbolName:zp(i),errorNode:i}:{accessibility:3,errorSymbolName:zp(i),errorNode:i}}function oc(e,t,n,r=4,i){let o=70221824,s=0;2&r&&(o|=128),1&r&&(o|=512),8&r&&(o|=16384),32&r&&(s|=4),16&r&&(s|=1);const a=4&r?be.symbolToNode:be.symbolToEntityName;return i?c(i).getText():op(c);function c(r){const i=a(e,n,t,o,s),c=307===(null==t?void 0:t.kind)?cU():aU(),l=t&&Ap(t);return c.writeNode(4,i,l,r),r}}function ac(e,t,n=0,r,i){return i?o(i).getText():op(o);function o(i){let o;o=262144&n?1===r?185:184:1===r?180:179;const s=be.signatureToSignatureDeclaration(e,o,t,70222336|vc(n)),a=lU(),c=t&&Ap(t);return a.writeNode(4,s,c,BA(i)),i}}function cc(e,t,n=1064960,r=NA("")){const i=O.noErrorTruncation||1&n,o=be.typeToTypeNode(e,t,70221824|vc(n)|(i?1:0),void 0);if(void 0===o)return un.fail("should always get typenode");const s=e!==Ft?aU():sU(),a=t&&Ap(t);s.writeNode(4,o,a,r);const c=r.getText(),l=i?2*Vd:2*Jd;return l&&c&&c.length>=l?c.substr(0,l-3)+"...":c}function lc(e,t){let n=yc(e.symbol)?cc(e,e.symbol.valueDeclaration):cc(e),r=yc(t.symbol)?cc(t,t.symbol.valueDeclaration):cc(t);return n===r&&(n=pc(e),r=pc(t)),[n,r]}function pc(e){return cc(e,void 0,64)}function yc(e){return e&&!!e.valueDeclaration&&Ju(e.valueDeclaration)&&!yE(e.valueDeclaration)}function vc(e=0){return 848330095&e}function Cc(e){return!!(e.symbol&&32&e.symbol.flags&&(e===dd(e.symbol)||524288&e.flags&&16777216&gb(e)))}function xc(e){return PC(e)}function kc(e,t,n=16384,r){return r?i(r).getText():op(i);function i(r){const i=70222336|vc(n),o=be.typePredicateToTypePredicateNode(e,t,i),s=aU(),a=t&&Ap(t);return s.writeNode(4,o,a,r),r}}function Ic(e){return 2===e?"private":4===e?"protected":"public"}function Fc(e){return e&&e.parent&&268===e.parent.kind&&_f(e.parent.parent)}function Rc(e){return 307===e.kind||cf(e)}function Pc(e,t){const n=is(e).nameType;if(n){if(384&n.flags){const e=""+n.value;return ma(e,yC(O))||Lx(e)?Lx(e)&&Wt(e,"-")?`[${e}]`:e:`"${bA(e,34)}"`}if(8192&n.flags)return`[${Nc(n.symbol,t)}]`}}function Nc(e,t){var n;if((null==(n=null==t?void 0:t.remappedSymbolReferences)?void 0:n.has(VQ(e)))&&(e=t.remappedSymbolReferences.get(VQ(e))),t&&"default"===e.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!e.declarations||t.enclosingDeclaration&&dc(e.declarations[0],Rc)!==dc(t.enclosingDeclaration,Rc)))return"default";if(e.declarations&&e.declarations.length){let n=p(e.declarations,(e=>Sc(e)?e:void 0));const r=n&&Sc(n);if(n&&r){if(Kw(n)&&nh(n))return Ac(e);if(ow(r)&&!(4096&ib(e))){const n=is(e).nameType;if(n&&384&n.flags){const n=Pc(e,t);if(void 0!==n)return n}}return Rf(r)}if(n||(n=e.declarations[0]),n.parent&&260===n.parent.kind)return Rf(n.parent.name);switch(n.kind){case 231:case 218:case 219:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),231===n.kind?"(Anonymous class)":"(Anonymous function)"}}const r=Pc(e,t);return void 0!==r?r:Ac(e)}function Oc(e){if(e){const t=ss(e);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(e.kind){case 338:case 346:case 340:return!!(e.parent&&e.parent.parent&&e.parent.parent.parent&&JT(e.parent.parent.parent));case 208:return Oc(e.parent.parent);case 260:if(Cu(e.name)&&!e.name.elements.length)return!1;case 267:case 263:case 264:case 265:case 262:case 266:case 271:if(_f(e))return!0;const t=Uc(e);return 32&qj(e)||271!==e.kind&&307!==t.kind&&33554432&t.flags?Oc(t):Xf(t);case 172:case 171:case 177:case 178:case 174:case 173:if(Dy(e,6))return!1;case 176:case 180:case 179:case 181:case 169:case 268:case 184:case 185:case 187:case 183:case 188:case 189:case 192:case 193:case 196:case 202:return Oc(e.parent);case 273:case 274:case 276:return!1;case 168:case 307:case 270:return!0;default:return!1}}()),t.isVisible}return!1}function qc(e,t){let n,r,i;return 11!==e.kind&&e.parent&&277===e.parent.kind?n=Ue(e,e,2998271,void 0,!1):281===e.parent.kind&&(n=Bs(e.parent,2998271)),n&&(i=new Set,i.add(VQ(n)),function e(n){u(n,(n=>{const o=ys(n)||n;if(t?ss(n).isVisible=!0:(r=r||[],ae(r,o)),Dm(n)){const t=cv(n.moduleReference),r=Ue(n,t.escapedText,901119,void 0,!1);r&&i&&L(i,VQ(r))&&e(r.declarations)}}))}(n.declarations)),r}function Qc(e,t){const n=Lc(e,t);if(n>=0){const{length:e}=$i;for(let t=n;t=Mi;n--){if(Mc($i[n],Li[n]))return-1;if($i[n]===e&&Li[n]===t)return n}return-1}function Mc(e,t){switch(t){case 0:return!!is(e).type;case 2:return!!is(e).declaredType;case 1:return!!e.resolvedBaseConstructorType;case 3:return!!e.resolvedReturnType;case 4:return!!e.immediateBaseConstraint;case 5:return!!e.resolvedTypeArguments;case 6:return!!e.baseTypesResolved;case 7:return!!is(e).writeType;case 8:return void 0!==ss(e).parameterInitializerContainsUndefined}return un.assertNever(t)}function jc(){return $i.pop(),Li.pop(),Qi.pop()}function Uc(e){return dc(Xg(e),(e=>{switch(e.kind){case 260:case 261:case 276:case 275:case 274:case 273:return!1;default:return!0}})).parent}function Jc(e,t){const n=z_(e,t);return n?wu(n):void 0}function Vc(e,t){var n;let r;return Jc(e,t)||(r=null==(n=ih(e,t))?void 0:n.type)&&El(r,!0,!0)}function Hc(e){return e&&!!(1&e.flags)}function Gc(e){return e===Tt||!!(1&e.flags&&e.aliasSymbol)}function zc(e,t){if(0!==t)return xl(e,!1,t);const n=_a(e);return n&&is(n).type||xl(e,!1,t)}function Xc(e,t,n){if(131072&(e=II(e,(e=>!(98304&e.flags)))).flags)return Dn;if(1048576&e.flags)return qI(e,(e=>Xc(e,t,n)));let r=Pv(w(t,zv));const i=[],o=[];for(const t of Uf(e)){const e=Yv(t,8576);IE(e,r)||6&ob(t)||!uC(t)?o.push(e):i.push(t)}if(kb(e)||wb(r)){if(o.length&&(r=Pv([r,...o])),131072&r.flags)return e;const t=(jr||(jr=JA("Omit",2,!0)||bt),jr===bt?void 0:jr);return t?mA(t,[e,r]):Tt}const s=Wd();for(const e of i)s.set(e.escapedName,dC(e,!1));const c=La(n,s,a,a,Qm(e));return c.objectFlags|=4194304,c}function Zc(e){return!!(465829888&e.flags)&&JO(p_(e)||Bt,32768)}function el(e){return ew(xI(e,Zc)?qI(e,(e=>465829888&e.flags?f_(e):e)):e,524288)}function rl(e,t){const n=il(e);return n?NT(n,t):t}function il(e){const t=function(e){const t=e.parent.parent;switch(t.kind){case 208:case 303:return il(t);case 209:return il(e.parent);case 260:return t.initializer;case 226:return t.right}}(e);if(t&&Nh(t)&&t.flowNode){const n=sl(e);if(n){const r=aP(dP.createStringLiteral(n),e),i=$u(t)?t:dP.createParenthesizedExpression(t),o=aP(dP.createElementAccessExpression(i,r),e);return wx(r,o),wx(o,e),i!==t&&wx(i,o),o.flowNode=t.flowNode,o}}}function sl(e){const t=e.parent;return 208===e.kind&&206===t.kind?cl(e.propertyName||e.name):303===e.kind||304===e.kind?cl(e.name):""+t.elements.indexOf(e)}function cl(e){const t=zv(e);return 384&t.flags?""+t.value:void 0}function pl(e){const t=e.dotDotDotToken?32:0,n=zc(e.parent.parent,t);return n&&_l(e,n,!1)}function _l(e,t,n){if(Hc(t))return t;const r=e.parent;z&&33554432&e.flags&&Kg(e)?t=vk(t):z&&r.parent.initializer&&!XD(iI(r.parent.initializer),65536)&&(t=ew(t,524288));const i=32|(n||WR(e)?16:0);let o;if(206===r.kind)if(e.dotDotDotToken){if(2&(t=$_(t)).flags||!iP(t))return Oo(e,us.Rest_types_may_only_be_created_from_object_types),Tt;const n=[];for(const e of r.elements)e.dotDotDotToken||n.push(e.propertyName||e.name);o=Xc(t,n,e.symbol)}else{const n=e.propertyName||e.name;o=rl(e,Nb(t,zv(n),i,n))}else{const n=dQ(65|(e.dotDotDotToken?0:128),t,Ot,r),s=r.elements.indexOf(e);if(e.dotDotDotToken){const e=qI(t,(e=>58982400&e.flags?f_(e):e));o=kI(e,ok)?qI(e,(e=>Av(e,s))):Qy(n)}else if($S(t)){o=rl(e,Ob(t,gC(s),i,e.name)||Tt)}else o=n}return e.initializer?_y(nc(e))?z&&!XD(uq(e,0),16777216)?el(o):o:pq(e,Pv([el(o),uq(e,0)],2)):o}function ml(e){const t=nl(e);if(t)return PC(t)}function bl(e){const t=sg(e,!0);return 209===t.kind&&0===t.elements.length}function El(e,t=!1,n=!0){return z&&n?yk(e,t):e}function xl(e,t,n){if(HI(e)&&249===e.parent.parent.kind){const t=eb(JP(Tq(e.parent.parent.expression,n)));return 4456448&t.flags?tb(t):Jt}if(HI(e)&&250===e.parent.parent.kind){return uQ(e.parent.parent)||kt}if(Cu(e.parent))return pl(e);const r=uw(e)&&!Ny(e)||lw(e)||IF(e),i=t&&Yx(e),o=Xl(e);if(af(e))return o?Hc(o)||o===Bt?o:Tt:le?Bt:kt;if(o)return El(o,r,i);if((ie||Tm(e))&&HI(e)&&!Cu(e.name)&&!(32&qj(e))&&!(33554432&e.flags)){if(!(6&$j(e))&&(!e.initializer||function(e){const t=sg(e,!0);return 106===t.kind||80===t.kind&&FD(t)===we}(e.initializer)))return Dt;if(e.initializer&&bl(e.initializer))return lr}if(aw(e)){if(!e.symbol)return;const t=e.parent;if(178===t.kind&&lp(t)){const n=Hd(_a(e.parent),177);if(n){const r=Sh(n),i=gj(t);return i&&e===i?(un.assert(!i.type),wu(r.thisParameter)):Wh(r)}}const n=function(e,t){const n=Th(e);if(!n)return;const r=e.parameters.indexOf(t);return t.dotDotDotToken?ZB(n,r):KB(n,r)}(t,e);if(n)return n;const r="this"===e.symbol.escapedName?ZF(t):eR(e);if(r)return El(r,!1,i)}if(Fd(e)&&e.initializer){if(Tm(e)&&!aw(e)){const t=Rl(e,_a(e),Vm(e));if(t)return t}return El(pq(e,uq(e,n)),r,i)}if(uw(e)&&(ie||Tm(e))){if(Ty(e)){const t=S(e.parent.members,fw),n=t.length?function(e,t){const n=Wt(e.escapedName,"__#")?XS.createPrivateIdentifier(e.escapedName.split("@")[1]):mc(e.escapedName);for(const r of t){const t=XS.createPropertyAccessExpression(XS.createThis(),n);wx(t.expression,t),wx(t,r),t.flowNode=r.returnFlowNode;const i=Tl(t,e);if(!ie||i!==Dt&&i!==lr||Oo(e.valueDeclaration,us.Member_0_implicitly_has_an_1_type,oc(e),cc(i)),!kI(i,jP))return z$(i)}}(e.symbol,t):128&Ly(e)?bS(e.symbol):void 0;return n&&El(n,!0,i)}{const t=AS(e.parent),n=t?Il(e.symbol,t):128&Ly(e)?bS(e.symbol):void 0;return n&&El(n,!0,i)}}return FT(e)?tn:Cu(e.name)?Ul(e.name,!1,!0):void 0}function Sl(e){if(e.valueDeclaration&&uI(e.valueDeclaration)){const t=is(e);return void 0===t.isConstructorDeclaredProperty&&(t.isConstructorDeclaredProperty=!1,t.isConstructorDeclaredProperty=!!wl(e)&&g(e.declarations,(t=>uI(t)&&_R(t)&&(212!==t.left.kind||Og(t.left.argumentExpression))&&!Bl(void 0,t,e,t)))),t.isConstructorDeclaredProperty}return!1}function kl(e){const t=e.valueDeclaration;return t&&uw(t)&&!_y(t)&&!t.initializer&&(ie||Tm(t))}function wl(e){if(e.declarations)for(const t of e.declarations){const e=em(t,!1,!1);if(e&&(176===e.kind||CB(e)))return e}}function Il(e,t){const n=Wt(e.escapedName,"__#")?XS.createPrivateIdentifier(e.escapedName.split("@")[1]):mc(e.escapedName),r=XS.createPropertyAccessExpression(XS.createThis(),n);wx(r.expression,r),wx(r,t),r.flowNode=t.returnFlowNode;const i=Tl(r,e);return!ie||i!==Dt&&i!==lr||Oo(e.valueDeclaration,us.Member_0_implicitly_has_an_1_type,oc(e),cc(i)),kI(i,jP)?void 0:z$(i)}function Tl(e,t){const n=(null==t?void 0:t.valueDeclaration)&&(!kl(t)||128&Ly(t.valueDeclaration))&&bS(t)||Ot;return NT(e,Dt,n)}function Fl(e,t){const n=Hm(e.valueDeclaration);if(n){const t=Tm(n)?tl(n):void 0;if(t&&t.typeExpression)return PC(t.typeExpression);return e.valueDeclaration&&Rl(e.valueDeclaration,e,n)||ZS(cq(n))}let r,i=!1,o=!1;if(Sl(e)&&(r=Il(e,wl(e))),!r){let n;if(e.declarations){let s;for(const r of e.declarations){const a=uI(r)||Kw(r)?r:xb(r)?uI(r.parent)?r.parent:r:void 0;if(!a)continue;const c=xb(a)?dh(a):th(a);(4===c||uI(a)&&_R(a,c))&&(ql(a)?i=!0:o=!0),Kw(a)||(s=Bl(s,a,e,r)),s||(n||(n=[])).push(uI(a)||Kw(a)?Ol(e,t,a,c):dn)}r=s}if(!r){if(!l(n))return Tt;let t=i&&e.declarations?function(e,t){return un.assert(e.length===t.length),e.filter(((e,n)=>{const r=t[n],i=uI(r)?r:uI(r.parent)?r.parent:void 0;return i&&ql(i)}))}(n,e.declarations):void 0;if(o){const n=bS(e);n&&((t||(t=[])).push(n),i=!0)}r=Pv(J(t,(e=>!!(-98305&e.flags)))?t:n)}}const s=Qk(El(r,!1,o&&!i));return e.valueDeclaration&&Tm(e.valueDeclaration)&&II(s,(e=>!!(-98305&e.flags)))===dn?(Uk(e.valueDeclaration,kt),kt):s}function Rl(e,t,n){var r,i;if(!Tm(e)||!n||!Ww(n)||n.properties.length)return;const o=Wd();for(;uI(e)||zw(e);){const t=ga(e);(null==(r=null==t?void 0:t.exports)?void 0:r.size)&&ts(o,t.exports),e=uI(e)?e.parent:e.parent.parent}const s=ga(e);(null==(i=null==s?void 0:s.exports)?void 0:i.size)&&ts(o,s.exports);const c=La(t,o,a,a,a);return c.objectFlags|=4096,c}function Bl(e,t,n,r){var i;const o=_y(t.parent);if(o){const t=Qk(PC(o));if(!e)return t;Gc(e)||Gc(t)||EE(e,t)||K$(void 0,e,r,t)}if(null==(i=n.parent)?void 0:i.valueDeclaration){const e=ya(n.parent);if(e.valueDeclaration){const t=_y(e.valueDeclaration);if(t){const e=z_(PC(t),n.escapedName);if(e)return Iu(e)}}}return e}function Ol(e,t,n,r){if(Kw(n)){if(t)return wu(t);const e=cq(n.arguments[2]),r=Jc(e,"value");if(r)return r;const i=Jc(e,"get");if(i){const e=QN(i);if(e)return Wh(e)}const o=Jc(e,"set");if(o){const e=QN(o);if(e)return sO(e)}return kt}if(function(e,t){return zw(e)&&110===e.expression.kind&&qP(t,(t=>ND(e,t)))}(n.left,n.right))return kt;const i=1===r&&(zw(n.left)||Yw(n.left))&&(eh(n.left.expression)||UD(n.left.expression)&&Xm(n.left.expression)),o=t?wu(t):i?_C(cq(n.right)):ZS(cq(n.right));if(524288&o.flags&&2===r&&"export="===e.escapedName){const n=Sf(o),r=Wd();ip(n.members,r);const i=r.size;t&&!t.exports&&(t.exports=Wd()),(t||e).exports.forEach(((e,t)=>{var n;const i=r.get(t);if(!i||i===e||2097152&e.flags)r.set(t,e);else if(111551&e.flags&&111551&i.flags){if(e.valueDeclaration&&i.valueDeclaration&&Ap(e.valueDeclaration)!==Ap(i.valueDeclaration)){const t=mc(e.escapedName),r=(null==(n=et(i.valueDeclaration,Ec))?void 0:n.name)||i.valueDeclaration;sx(Oo(e.valueDeclaration,us.Duplicate_identifier_0,t),$f(r,us._0_was_also_declared_here,t)),sx(Oo(r,us.Duplicate_identifier_0,t),$f(e.valueDeclaration,us._0_was_also_declared_here,t))}const o=Vo(e.flags|i.flags,t);o.links.type=Pv([wu(e),wu(i)]),o.valueDeclaration=i.valueDeclaration,o.declarations=H(i.declarations,e.declarations),r.set(t,o)}else r.set(t,Ko(e,i))}));const s=La(i!==r.size?void 0:n.symbol,r,n.callSignatures,n.constructSignatures,n.indexInfos);if(i===r.size&&(o.aliasSymbol&&(s.aliasSymbol=o.aliasSymbol,s.aliasTypeArguments=o.aliasTypeArguments),4&gb(o))){s.aliasSymbol=o.symbol;const e=pA(o);s.aliasTypeArguments=l(e)?e:void 0}return s.objectFlags|=oA([o])|20608&gb(o),s.symbol&&32&s.symbol.flags&&o===dd(s.symbol)&&(s.objectFlags|=16777216),s}return jS(o)?(Uk(n,cr),cr):o}function ql(e){const t=em(e,!1,!1);return 176===t.kind||262===t.kind||218===t.kind&&!fh(t.parent)}function Ll(e,t,n){if(e.initializer){return El(fq(e,uq(e,0,Cu(e.name)?Ul(e.name,!0,!1):Bt)))}return Cu(e.name)?Ul(e.name,t,n):(n&&!Kl(e)&&Uk(e,kt),t?Rt:kt)}function Ul(e,t=!1,n=!1){t&&Fi.push(e);const r=206===e.kind?function(e,t,n){const r=Wd();let i,o=131200;u(e.elements,(e=>{const s=e.propertyName||e.name;if(e.dotDotDotToken)return void(i=Pg(Jt,kt,!1));const a=zv(s);if(!aS(a))return void(o|=512);const c=cS(a),l=Vo(4|(e.initializer?16777216:0),c);l.links.type=Ll(e,t,n),r.set(l.escapedName,l)}));const s=La(void 0,r,a,a,i?[i]:a);return s.objectFlags|=o,t&&(s.pattern=e,s.objectFlags|=131072),s}(e,t,n):function(e,t,n){const r=e.elements,i=ge(r),o=i&&208===i.kind&&i.dotDotDotToken?i:void 0;if(0===r.length||1===r.length&&o)return $>=2?$y(kt):cr;const s=w(r,(e=>hI(e)?kt:Ll(e,t,n))),a=b(r,(e=>!(e===o||hI(e)||WR(e))),r.length-1)+1,c=w(r,((e,t)=>e===o?4:t>=a?2:1));let l=Ky(s,c);return t&&(l=cA(l),l.pattern=e,l.objectFlags|=131072),l}(e,t,n);return t&&Fi.pop(),r}function Jl(e,t){return Yl(xl(e,!0,0),e,t)}function Hl(e){const t=ss(e);if(!t.resolvedType){const n=Vo(4096,"__importAttributes"),r=Wd();u(e.elements,(e=>{const t=Vo(4,fS(e));t.parent=n,t.links.type=function(e){return _C(cq(e.value))}(e),t.links.target=t,r.set(t.escapedName,t)}));const i=La(n,r,a,a,a);i.objectFlags|=262272,t.resolvedType=i}return t.resolvedType}function Gl(e){const t=ga(e),n=(r=!1,fr||(fr=UA("SymbolConstructor",r)));var r;return n&&t&&t===n}function Yl(e,t,n){return e?(4096&e.flags&&Gl(t.parent)&&(e=kC(t)),n&&Jk(t,e),8192&e.flags&&(Hw(t)||!t.type)&&e.symbol!==_a(t)&&(e=cn),Qk(e)):(e=aw(t)&&t.dotDotDotToken?cr:kt,n&&(Kl(t)||Uk(t,e)),e)}function Kl(e){const t=Xg(e);return Xq(169===t.kind?t.parent:t)}function Xl(e){const t=_y(e);if(t)return PC(t)}function nu(e){const t=is(e);if(!t.type){const n=function(e){if(4194304&e.flags)return function(e){const t=Cd(Aa(e));return t.typeParameters?aA(t,w(t.typeParameters,(e=>kt))):t}(e);if(e===Oe)return kt;if(134217728&e.flags&&e.valueDeclaration){const t=_a(Ap(e.valueDeclaration)),n=Vo(t.flags,"exports");n.declarations=t.declarations?t.declarations.slice():[],n.parent=e,n.links.target=t,t.valueDeclaration&&(n.valueDeclaration=t.valueDeclaration),t.members&&(n.members=new Map(t.members)),t.exports&&(n.exports=new Map(t.exports));const r=Wd();return r.set("exports",n),La(e,r,a,a,a)}un.assertIsDefined(e.valueDeclaration);const t=e.valueDeclaration;if(JT(t)&&e_(t))return t.statements.length?Qk(ZS(Tq(t.statements[0].expression))):Dn;if(pu(t))return mu(e);if(!Qc(e,0))return 512&e.flags&&!(67108864&e.flags)?Au(e):Su(e);let n;if(277===t.kind)n=Yl(Xl(t)||cq(t.expression),t);else if(uI(t)||Tm(t)&&(Kw(t)||(zw(t)||sh(t))&&uI(t.parent)))n=Fl(e);else if(zw(t)||Yw(t)||UD(t)||Od(t)||xD(t)||zI(t)||WI(t)||pw(t)&&!Q_(t)||dw(t)||JT(t)){if(9136&e.flags)return Au(e);n=uI(t.parent)?Fl(e):Xl(t)||kt}else if(LT(t))n=Xl(t)||Aq(t);else if(FT(t))n=Xl(t)||uP(t);else if(MT(t))n=Xl(t)||gq(t.name,0);else if(Q_(t))n=Xl(t)||yq(t,0);else if(aw(t)||uw(t)||lw(t)||HI(t)||Hw(t)||Dl(t))n=Jl(t,!0);else if(XI(t))n=Au(e);else{if(!UT(t))return un.fail("Unhandled declaration kind! "+un.formatSyntaxKind(t.kind)+" for "+un.formatSymbol(e));n=bu(e)}if(!jc())return 512&e.flags&&!(67108864&e.flags)?Au(e):Su(e);return n}(e);return t.type||function(e){let t=e.valueDeclaration;return!!t&&(Hw(t)&&(t=nc(t)),!!aw(t)&&bE(t.parent))}(e)||(t.type=n),n}return t.type}function au(e){if(e)switch(e.kind){case 177:return hy(e);case 178:return Ay(e);case 172:un.assert(Ny(e));return _y(e)}}function cu(e){const t=au(e);return t&&PC(t)}function mu(e){const t=is(e);if(!t.type){if(!Qc(e,0))return Tt;const n=Hd(e,177),r=Hd(e,178),i=et(Hd(e,172),fu);let o=n&&Tm(n)&&ml(n)||cu(n)||cu(r)||cu(i)||n&&n.body&&kO(n)||i&&Jl(i,!0);o||(r&&!Xq(r)?$o(ie,r,us.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,oc(e)):n&&!Xq(n)?$o(ie,n,us.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,oc(e)):i&&!Xq(i)&&$o(ie,i,us.Member_0_implicitly_has_an_1_type,oc(e),"any"),o=kt),jc()||(au(n)?Oo(n,us._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,oc(e)):au(r)||au(i)?Oo(r,us._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,oc(e)):n&&ie&&Oo(n,us._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,oc(e)),o=kt),t.type??(t.type=o)}return t.type}function hu(e){const t=is(e);if(!t.writeType){if(!Qc(e,7))return Tt;const n=Hd(e,178)??et(Hd(e,172),fu);let r=cu(n);jc()||(au(n)&&Oo(n,us._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,oc(e)),r=kt),t.writeType??(t.writeType=r||mu(e))}return t.writeType}function gu(e){const t=nd(dd(e));return 8650752&t.flags?t:2097152&t.flags?A(t.types,(e=>!!(8650752&e.flags))):void 0}function Au(e){let t=is(e);const n=t;if(!t.type){const r=e.valueDeclaration&&xB(e.valueDeclaration,!1);if(r){const n=EB(e,r);n&&(e=n,t=n.links)}n.type=t.type=function(e){const t=e.valueDeclaration;if(1536&e.flags&&df(e))return kt;if(t&&(226===t.kind||xb(t)&&226===t.parent.kind))return Fl(e);if(512&e.flags&&t&&JT(t)&&t.commonJsModuleIndicator){const t=na(e);if(t!==e){if(!Qc(e,0))return Tt;const n=fa(e.exports.get("export=")),r=Fl(n,n===t?void 0:t);return jc()?r:Su(e)}}const n=Na(16,e);if(32&e.flags){const t=gu(e);return t?Mv([n,t]):n}return z&&16777216&e.flags?yk(n,!0):n}(e)}return t.type}function bu(e){const t=is(e);return t.type||(t.type=gd(e))}function xu(e){const t=is(e);if(!t.type){if(!Qc(e,0))return Tt;const n=Ls(e),r=e.declarations&&qs(vs(e),!0),i=p(null==r?void 0:r.declarations,(e=>mT(e)?Xl(e):void 0));if(t.type??(t.type=(null==r?void 0:r.declarations)&&UL(r.declarations)&&e.declarations.length?function(e){const t=Ap(e.declarations[0]),n=mc(e.escapedName),r=e.declarations.every((e=>Tm(e)&&xb(e)&&eh(e.expression))),i=r?XS.createPropertyAccessExpression(XS.createPropertyAccessExpression(XS.createIdentifier("module"),XS.createIdentifier("exports")),n):XS.createPropertyAccessExpression(XS.createIdentifier("exports"),n);return r&&wx(i.expression.expression,i.expression),wx(i.expression,i),wx(i,t),i.flowNode=t.endFlowNode,NT(i,Dt,Ot)}(r):UL(e.declarations)?Dt:i||(111551&js(n)?wu(n):Tt)),!jc())return Su(r??e),t.type??(t.type=Tt)}return t.type}function Su(e){const t=e.valueDeclaration;if(t){if(_y(t))return Oo(e.valueDeclaration,us._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,oc(e)),Tt;ie&&(169!==t.kind||t.initializer)&&Oo(e.valueDeclaration,us._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,oc(e))}else if(2097152&e.flags){const t=vs(e);t&&Oo(t,us.Circular_definition_of_import_alias_0,oc(e))}return kt}function ku(e){const t=is(e);return t.type||(un.assertIsDefined(t.deferralParent),un.assertIsDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?Pv(t.deferralConstituents):Mv(t.deferralConstituents)),t.type}function Du(e){const t=ib(e);return 4&e.flags?2&t?65536&t?function(e){const t=is(e);return!t.writeType&&t.deferralWriteConstituents&&(un.assertIsDefined(t.deferralParent),un.assertIsDefined(t.deferralConstituents),t.writeType=1048576&t.deferralParent.flags?Pv(t.deferralWriteConstituents):Mv(t.deferralWriteConstituents)),t.writeType}(e)||ku(e):e.links.writeType||e.links.type:kk(wu(e),!!(16777216&e.flags)):98304&e.flags?1&t?function(e){const t=is(e);return t.writeType||(t.writeType=_E(Du(t.target),t.mapper))}(e):hu(e):wu(e)}function wu(e){const t=ib(e);return 65536&t?ku(e):1&t?function(e){const t=is(e);return t.type||(t.type=_E(wu(t.target),t.mapper))}(e):262144&t?function(e){var t;if(!e.links.type){const n=e.links.mappedType;if(!Qc(e,0))return n.containsError=!0,Tt;const i=_E(uf(n.target||n),nE(n.mapper,nf(n),e.links.keyType));let o=z&&16777216&e.flags&&!JO(i,49152)?yk(i,!0):524288&e.links.checkFlags?wk(i):i;jc()||(Oo(r,us.Type_of_property_0_circularly_references_itself_in_mapped_type_1,oc(e),cc(n)),o=Tt),(t=e.links).type??(t.type=o)}return e.links.type}(e):8192&t?function(e){const t=is(e);t.type||(t.type=oD(e.links.propertyType,e.links.mappedType,e.links.constraintType)||Bt);return t.type}(e):7&e.flags?nu(e):9136&e.flags?Au(e):8&e.flags?bu(e):98304&e.flags?mu(e):2097152&e.flags?xu(e):Tt}function Iu(e){return kk(wu(e),!!(16777216&e.flags))}function Tu(e,t){if(void 0===e||!(4&gb(e)))return!1;for(const n of t)if(e.target===n)return!0;return!1}function Fu(e,t){return void 0!==e&&void 0!==t&&!!(4&gb(e))&&e.target===t}function qu(e){return 4&gb(e)?e.target:e}function Qu(e,t){return function e(n){if(7&gb(n)){const r=qu(n);return r===t||J(id(r),e)}if(2097152&n.flags)return J(n.types,e);return!1}(e)}function Lu(e,t){for(const n of t)e=ce(e,yd(_a(n)));return e}function Mu(e,t){for(;;){if((e=e.parent)&&uI(e)){const t=th(e);if(6===t||3===t){const t=_a(e.left);t&&t.parent&&!dc(t.parent.valueDeclaration,(t=>e===t))&&(e=t.parent.valueDeclaration)}}if(!e)return;const n=e.kind;switch(n){case 263:case 231:case 264:case 179:case 180:case 173:case 184:case 185:case 317:case 262:case 174:case 218:case 219:case 265:case 345:case 346:case 340:case 338:case 200:case 194:{const r=Mu(e,t);if((218===n||219===n||Q_(e))&&yE(e)){const t=fe(_m(wu(_a(e)),0));if(t&&t.typeParameters)return[...r||a,...t.typeParameters]}if(200===n)return re(r,yd(_a(e.typeParameter)));if(194===n)return H(r,Gb(e));const i=Lu(r,ul(e)),o=t&&(263===n||231===n||264===n||CB(e))&&dd(_a(e)).thisType;return o?re(i,o):i}case 341:const r=Qh(e);r&&(e=r.valueDeclaration);break;case 320:{const n=Mu(e,t);return e.tags?Lu(n,R(e.tags,(e=>kF(e)?e.typeParameters:void 0))):n}}}}function ju(e){var t;const n=32&e.flags||16&e.flags?e.valueDeclaration:null==(t=e.declarations)?void 0:t.find((e=>{if(264===e.kind)return!0;if(260!==e.kind)return!1;const t=e.initializer;return!!t&&(218===t.kind||219===t.kind)}));return un.assert(!!n,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),Mu(n)}function Uu(e){if(!e.declarations)return;let t;for(const n of e.declarations)if(264===n.kind||263===n.kind||231===n.kind||CB(n)||Ih(n)){t=Lu(t,ul(n))}return t}function Gu(e){const t=_m(e,1);if(1===t.length){const e=t[0];if(!e.typeParameters&&1===e.parameters.length&&KQ(e)){const t=JB(e.parameters[0]);return Hc(t)||qS(t)===kt}}return!1}function Xu(e){if(_m(e,1).length>0)return!0;if(8650752&e.flags){const t=p_(e);return!!t&&Gu(t)}return!1}function Zu(e){const t=hb(e.symbol);return t&&Ag(t)}function ed(e,t,n){const r=l(t),i=Tm(n);return S(_m(e,1),(e=>(i||r>=vh(e.typeParameters))&&r<=l(e.typeParameters)))}function td(e,t,n){const r=ed(e,t,n),i=w(t,PC);return T(r,(e=>J(e.typeParameters)?ug(e,i,Tm(n)):e))}function nd(e){if(!e.resolvedBaseConstructorType){const t=hb(e.symbol),n=t&&Ag(t),r=Zu(e);if(!r)return e.resolvedBaseConstructorType=Ot;if(!Qc(e,1))return Tt;const i=Tq(r.expression);if(n&&r!==n&&(un.assert(!n.typeArguments),Tq(n.expression)),2621440&i.flags&&Sf(i),!jc())return Oo(e.symbol.valueDeclaration,us._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,oc(e.symbol)),e.resolvedBaseConstructorType??(e.resolvedBaseConstructorType=Tt);if(!(1&i.flags||i===Ut||Xu(i))){const t=Oo(r.expression,us.Type_0_is_not_a_constructor_function_type,cc(i));if(262144&i.flags){const e=tA(i);let n=Bt;if(e){const t=_m(e,1);t[0]&&(n=Wh(t[0]))}i.symbol.declarations&&sx(t,$f(i.symbol.declarations[0],us.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,oc(i.symbol),cc(n)))}return e.resolvedBaseConstructorType??(e.resolvedBaseConstructorType=Tt)}e.resolvedBaseConstructorType??(e.resolvedBaseConstructorType=i)}return e.resolvedBaseConstructorType}function rd(e,t){Oo(e,us.Type_0_recursively_references_itself_as_a_base_type,cc(t,void 0,2))}function id(e){if(!e.baseTypesResolved){if(Qc(e,6)&&(8&e.objectFlags?e.resolvedBaseTypes=[cd(e)]:96&e.symbol.flags?(32&e.symbol.flags&&function(e){e.resolvedBaseTypes=jd;const t=C_(nd(e));if(!(2621441&t.flags))return e.resolvedBaseTypes=a;const n=Zu(e);let r;const i=t.symbol?Cd(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){const t=e.outerTypeParameters;if(t){const n=t.length-1,r=pA(e);return t[n].symbol!==r[n].symbol}return!0}(i))r=_A(n,t.symbol);else if(1&t.flags)r=t;else{const i=td(t,n.typeArguments,n);if(!i.length)return Oo(n.expression,us.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=a;r=Wh(i[0])}if(Gc(r))return e.resolvedBaseTypes=a;const o=$_(r);if(!ld(o)){const t=eC(G_(void 0,r),us.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,cc(o));return po.add(Mf(Ap(n.expression),n.expression,t)),e.resolvedBaseTypes=a}if(e===o||Qu(o,e))return Oo(e.symbol.valueDeclaration,us.Type_0_recursively_references_itself_as_a_base_type,cc(e,void 0,2)),e.resolvedBaseTypes=a;e.resolvedBaseTypes===jd&&(e.members=void 0);e.resolvedBaseTypes=[o]}(e),64&e.symbol.flags&&function(e){if(e.resolvedBaseTypes=e.resolvedBaseTypes||a,e.symbol.declarations)for(const t of e.symbol.declarations)if(264===t.kind&&Cg(t))for(const n of Cg(t)){const r=$_(PC(n));Gc(r)||(ld(r)?e===r||Qu(r,e)?rd(t,e):e.resolvedBaseTypes===a?e.resolvedBaseTypes=[r]:e.resolvedBaseTypes.push(r):Oo(n,us.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}(e)):un.fail("type must be class or interface"),!jc()&&e.symbol.declarations))for(const t of e.symbol.declarations)263!==t.kind&&264!==t.kind||rd(t,e);e.baseTypesResolved=!0}return e.resolvedBaseTypes}function cd(e){const t=T(e.typeParameters,((t,n)=>8&e.elementFlags[n]?Nb(t,Vt):t));return Qy(Pv(t||a),e.readonly)}function ld(e){if(262144&e.flags){const t=p_(e);if(t)return ld(t)}return!!(67633153&e.flags&&!Ef(e)||2097152&e.flags&&g(e.types,ld))}function dd(e){let t=is(e);const n=t;if(!t.declaredType){const r=32&e.flags?1:2,i=EB(e,e.valueDeclaration&&function(e){var t;const n=e&&xB(e,!0),r=null==(t=null==n?void 0:n.exports)?void 0:t.get("prototype"),i=(null==r?void 0:r.valueDeclaration)&&function(e){if(!e.parent)return!1;let t=e.parent;for(;t&&211===t.kind;)t=t.parent;if(t&&uI(t)&&pv(t.left)&&64===t.operatorToken.kind){const e=ph(t);return Ww(e)&&e}}(r.valueDeclaration);return i?_a(i):void 0}(e.valueDeclaration));i&&(e=i,t=i.links);const o=n.declaredType=t.declaredType=Na(r,e),s=ju(e),a=Uu(e);(s||a||1===r||!function(e){if(!e.declarations)return!0;for(const t of e.declarations)if(264===t.kind){if(256&t.flags)return!1;const e=Cg(t);if(e)for(const t of e)if(av(t.expression)){const e=zs(t.expression,788968,!0);if(!e||!(64&e.flags)||dd(e).thisType)return!1}}return!0}(e))&&(o.objectFlags|=4,o.typeParameters=H(s,a),o.outerTypeParameters=s,o.localTypeParameters=a,o.instantiations=new Map,o.instantiations.set(rA(o.typeParameters),o),o.target=o,o.resolvedTypeArguments=o.typeParameters,o.thisType=Ba(e),o.thisType.isThisType=!0,o.thisType.constraint=o)}return t.declaredType}function pd(e){var t;const n=is(e);if(!n.declaredType){if(!Qc(e,2))return Tt;const r=un.checkDefined(null==(t=e.declarations)?void 0:t.find(Ih),"Type alias symbol with no valid declaration found"),i=wh(r)?r.typeExpression:r.type;let o=i?PC(i):Tt;if(jc()){const t=Uu(e);t&&(n.typeParameters=t,n.instantiations=new Map,n.instantiations.set(rA(t),o)),o===Pt&&"BuiltinIteratorReturn"===e.escapedName&&(o=yy())}else o=Tt,340===r.kind?Oo(r.typeExpression.type,us.Type_alias_0_circularly_references_itself,oc(e)):Oo(Ec(r)&&r.name||r,us.Type_alias_0_circularly_references_itself,oc(e));n.declaredType??(n.declaredType=o)}return n.declaredType}function _d(e){return 1056&e.flags&&8&e.symbol.flags?Cd(Aa(e.symbol)):e}function md(e){const t=is(e);if(!t.declaredType){const n=[];if(e.declarations)for(const t of e.declarations)if(266===t.kind)for(const r of t.members)if(lp(r)){const t=_a(r),i=OM(r).value,o=fC(void 0!==i?CC(i,VQ(e),t):hd(t));is(t).declaredType=o,n.push(_C(o))}const r=n.length?Pv(n,1,e,void 0):hd(e);1048576&r.flags&&(r.flags|=1024,r.symbol=e),t.declaredType=r}return t.declaredType}function hd(e){const t=wa(32,e),n=wa(32,e);return t.regularType=t,t.freshType=n,n.regularType=t,n.freshType=n,t}function gd(e){const t=is(e);if(!t.declaredType){const n=md(Aa(e));t.declaredType||(t.declaredType=n)}return t.declaredType}function yd(e){const t=is(e);return t.declaredType||(t.declaredType=Ba(e))}function Cd(e){return xd(e)||Tt}function xd(e){return 96&e.flags?dd(e):524288&e.flags?pd(e):262144&e.flags?yd(e):384&e.flags?md(e):8&e.flags?gd(e):2097152&e.flags?function(e){const t=is(e);return t.declaredType||(t.declaredType=Cd(Ls(e)))}(e):void 0}function Sd(e){switch(e.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 201:return!0;case 188:return Sd(e.elementType);case 183:return!e.typeArguments||e.typeArguments.every(Sd)}return!1}function Rd(e){const t=dl(e);return!t||Sd(t)}function Nd(e){const t=_y(e);return t?Sd(t):!Td(e)}function Bd(e){if(e.declarations&&1===e.declarations.length){const t=e.declarations[0];if(t)switch(t.kind){case 172:case 171:return Nd(t);case 174:case 173:case 176:case 177:case 178:return function(e){const t=hy(e),n=ul(e);return(176===e.kind||!!t&&Sd(t))&&e.parameters.every(Nd)&&n.every(Rd)}(t)}}return!1}function Ld(e,t,n){const r=Wd();for(const i of e)r.set(i.escapedName,n&&Bd(i)?i:sE(i,t));return r}function Md(e,t){for(const n of t){if(Kd(n))continue;const t=e.get(n.escapedName);(!t||t.valueDeclaration&&uI(t.valueDeclaration)&&!Sl(t)&&!K_(t.valueDeclaration))&&(e.set(n.escapedName,n),e.set(n.escapedName,n))}}function Kd(e){return!!e.valueDeclaration&&Wl(e.valueDeclaration)&&Iy(e.valueDeclaration)}function Xd(e){if(!e.declaredProperties){const t=e.symbol,n=mp(t);e.declaredProperties=qa(n),e.declaredCallSignatures=a,e.declaredConstructSignatures=a,e.declaredIndexInfos=a,e.declaredCallSignatures=Ph(n.get("__call")),e.declaredConstructSignatures=Ph(n.get("__new")),e.declaredIndexInfos=Bg(t)}return e}function Zd(e){return tp(e)&&aS(ow(e)?XR(e):cq(e.argumentExpression))}function ep(e){return tp(e)&&function(e){return IE(e,gn)}(ow(e)?XR(e):cq(e.argumentExpression))}function tp(e){if(!ow(e)&&!Yw(e))return!1;return av(ow(e)?e.expression:e.argumentExpression)}function sp(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function ap(e){const t=Sc(e);return!!t&&Zd(t)}function cp(e){const t=Sc(e);return!!t&&ep(t)}function lp(e){return!$g(e)||ap(e)}function up(e,t,n,r){un.assert(!!r.symbol,"The member is expected to have a symbol.");const i=ss(r);if(!i.resolvedSymbol){i.resolvedSymbol=r.symbol;const o=uI(r)?r.left:r.name,s=Yw(o)?cq(o.argumentExpression):XR(o);if(aS(s)){const a=cS(s),c=r.symbol.flags;let l=n.get(a);l||n.set(a,l=Vo(0,a,4096));const d=t&&t.get(a);if(!(32&e.flags)&&l.flags&Wo(c)){const e=d?H(d.declarations,l.declarations):l.declarations,t=!(8192&s.flags)&&mc(a)||Rf(o);u(e,(e=>Oo(Sc(e)||e,us.Property_0_was_also_declared_here,t))),Oo(o||r,us.Duplicate_property_0,t),l=Vo(0,a,4096)}return l.links.nameType=s,function(e,t,n){un.assert(!!(4096&ib(e)),"Expected a late-bound symbol."),e.flags|=n,is(t.symbol).lateSymbol=e,e.declarations?t.symbol.isReplaceableByMethod||e.declarations.push(t):e.declarations=[t],111551&n&&(e.valueDeclaration&&e.valueDeclaration.kind===t.kind||(e.valueDeclaration=t))}(l,r,c),l.parent?un.assert(l.parent===e,"Existing symbol parent should match new one"):l.parent=e,i.resolvedSymbol=l}}return i.resolvedSymbol}function fp(e,t,n,r){let i=n.get("__index");if(!i){const e=null==t?void 0:t.get("__index");e?(i=Yo(e),i.links.checkFlags|=4096):i=Vo(0,"__index",4096),n.set("__index",i)}i.declarations?r.symbol.isReplaceableByMethod||i.declarations.push(r):i.declarations=[r]}function _p(e,t){const n=is(e);if(!n[t]){const r="resolvedExports"===t,i=r?1536&e.flags?pa(e).exports:e.exports:e.members;n[t]=i||N;const o=Wd();for(const t of e.declarations||a){const n=T_(t);if(n)for(const t of n)r===Ty(t)&&(ap(t)?up(e,i,o,t):cp(t)&&fp(0,i,o,t))}const s=ya(e).assignmentDeclarationMembers;if(s){const t=Pe(s.values());for(const n of t){const t=th(n);r===!(3===t||uI(n)&&_R(n,t)||9===t||6===t)&&ap(n)&&up(e,i,o,n)}}let c=function(e,t){if(!(null==e?void 0:e.size))return t;if(!(null==t?void 0:t.size))return e;const n=Wd();return ts(n,e),ts(n,t),n}(i,o);if(33554432&e.flags&&n.cjsExportMerged&&e.declarations)for(const n of e.declarations){const e=is(n.symbol)[t];c?e&&e.forEach(((e,t)=>{const n=c.get(t);if(n){if(n===e)return;c.set(t,Ko(n,e))}else c.set(t,e)})):c=e}n[t]=c||N}return n[t]}function mp(e){return 6256&e.flags?_p(e,"resolvedMembers"):e.members||N}function hp(e){if(106500&e.flags&&"__computed"===e.escapedName){const t=is(e);if(!t.lateSymbol&&J(e.declarations,ap)){const t=fa(e.parent);J(e.declarations,Ty)?la(t):mp(t)}return t.lateSymbol||(t.lateSymbol=e)}return e}function Cp(e,t,n){if(4&gb(e)){const n=e.target,r=pA(e);return l(n.typeParameters)===l(r)?aA(n,H(r,[t||n.thisType])):e}if(2097152&e.flags){const r=T(e.types,(e=>Cp(e,t,n)));return r!==e.types?Mv(r):e}return n?C_(e):e}function Ep(e,t,n,r){let i,o,s,a,c;de(n,r,0,n.length)?(o=t.symbol?mp(t.symbol):Wd(t.declaredProperties),s=t.declaredCallSignatures,a=t.declaredConstructSignatures,c=t.declaredIndexInfos):(i=JC(n,r),o=Ld(t.declaredProperties,i,1===n.length),s=MC(t.declaredCallSignatures,i),a=MC(t.declaredConstructSignatures,i),c=UC(t.declaredIndexInfos,i));const l=id(t);if(l.length){if(t.symbol&&o===mp(t.symbol)){const e=Wd(t.declaredProperties),n=Fg(t.symbol);n&&e.set("__index",n),o=e}Qa(e,o,s,a,c);const n=ge(r);for(const e of l){const t=n?Cp(_E(e,i),n):e;Md(o,Uf(t)),s=H(s,_m(t,0)),a=H(a,_m(t,1));const r=t!==kt?Qm(t):[Pg(Jt,kt,!1)];c=H(c,S(r,(e=>!Am(c,e.keyType))))}}Qa(e,o,s,a,c)}function xp(e,t,n,r,i,o,s,a){const c=new f(Ge,a);return c.declaration=e,c.typeParameters=t,c.parameters=r,c.thisParameter=n,c.resolvedReturnType=i,c.resolvedTypePredicate=o,c.minArgumentCount=s,c.resolvedMinArgumentCount=void 0,c.target=void 0,c.mapper=void 0,c.compositeSignatures=void 0,c.compositeKind=void 0,c}function Sp(e){const t=xp(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,167&e.flags);return t.target=e.target,t.mapper=e.mapper,t.compositeSignatures=e.compositeSignatures,t.compositeKind=e.compositeKind,t}function wp(e,t){const n=Sp(e);return n.compositeSignatures=t,n.compositeKind=1048576,n.target=void 0,n.mapper=void 0,n}function Ip(e,t){if((24&e.flags)===t)return e;e.optionalCallSignatureCache||(e.optionalCallSignatureCache={});const n=8===t?"inner":"outer";return e.optionalCallSignatureCache[n]||(e.optionalCallSignatureCache[n]=function(e,t){un.assert(8===t||16===t,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");const n=Sp(e);return n.flags|=t,n}(e,t))}function Tp(e,t){if(KQ(e)){const r=e.parameters.length-1,i=e.parameters[r],o=wu(i);if(ok(o))return[n(o,r,i)];if(!t&&1048576&o.flags&&g(o.types,ok))return w(o.types,(e=>n(e,r,i)))}return[e.parameters];function n(t,n,r){const i=pA(t),o=function(e,t){const n=w(e.target.labeledElementDeclarations,((n,r)=>HB(n,r,e.target.elementFlags[r],t)));if(n){const e=[],t=new Set;for(let r=0;r{const s=o&&o[i]?o[i]:GB(e,n+i,t),a=t.target.elementFlags[i],c=Vo(1,s,12&a?32768:2&a?16384:0);return c.links.type=4&a?Qy(r):r,c}));return H(e.parameters.slice(0,n),s)}}function Fp(e,t,n,r,i){for(const o of e)if(TS(o,t,n,r,i,n?kE:xE))return o}function Rp(e,t,n){if(t.typeParameters){if(n>0)return;for(let n=1;n1&&(n=void 0===n?r:-1);for(const n of e[r])if(!t||!Fp(t,n,!1,!1,!0)){const i=Rp(e,n,r);if(i){let e=n;if(i.length>1){let t=n.thisParameter;const r=u(i,(e=>e.thisParameter));if(r){t=Tk(r,Mv(q(i,(e=>e.thisParameter&&wu(e.thisParameter)))))}e=wp(n,i),e.thisParameter=t}(t||(t=[])).push(e)}}}if(!l(t)&&-1!==n){const r=e[void 0!==n?n:0];let i=r.slice();for(const t of e)if(t!==r){const e=t[0];if(un.assert(!!e,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),i=e.typeParameters&&J(i,(t=>!!t.typeParameters&&!Np(e.typeParameters,t.typeParameters)))?void 0:w(i,(t=>Bp(t,e))),!i)break}t=i}return t||a}function Np(e,t){if(l(e)!==l(t))return!1;if(!e||!t)return!0;const n=JC(t,e);for(let r=0;r=i?e:t,s=o===e?t:e,a=o===e?r:i,c=rO(e)||rO(t),l=c&&!rO(o),u=new Array(a+(l?1:0));for(let d=0;d=nO(o)&&d>=nO(s),g=d>=r?void 0:GB(e,d),A=d>=i?void 0:GB(t,d),y=Vo(1|(h&&!m?16777216:0),(g===A?g:g?A?void 0:g:A)||`arg${d}`,m?32768:h?16384:0);y.links.type=m?Qy(_):_,u[d]=y}if(l){const e=Vo(1,"args",32768);e.links.type=Qy(KB(s,a)),s===t&&(e.links.type=_E(e.links.type,n)),u[a]=e}return u}(e,t,r),a=ge(s);a&&32768&ib(a)&&(i|=1);const c=function(e,t,n){return e&&t?Tk(e,Mv([wu(e),_E(wu(t),n)])):e||t}(e.thisParameter,t.thisParameter,r),l=xp(o,n,c,s,void 0,void 0,Math.max(e.minArgumentCount,t.minArgumentCount),i);return l.compositeKind=1048576,l.compositeSignatures=H(2097152!==e.compositeKind&&e.compositeSignatures||[e],[t]),r?l.mapper=2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures?eE(e.mapper,r):r:2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures&&(l.mapper=e.mapper),l}function Op(e){const t=Qm(e[0]);if(t){const n=[];for(const r of t){const t=r.keyType;g(e,(e=>!!Lm(e,t)))&&n.push(Pg(t,Pv(w(e,(e=>jm(e,t)))),J(e,(e=>Lm(e,t).isReadonly))))}return n}return a}function qp(e,t){return e?t?Mv([e,t]):e:t}function $p(e){const t=x(e,(e=>_m(e,1).length>0)),n=w(e,Gu);if(t>0&&t===x(n,(e=>e))){const e=n.indexOf(!0);n[e]=!1}return n}function Qp(e,t,n,r){const i=[];for(let o=0;o!TS(e,n,!1,!1,!1,xE)))||(e=re(e,n));return e}function Mp(e,t,n){if(e)for(let r=0;r{var n;418&t.flags||512&t.flags&&(null==(n=t.declarations)?void 0:n.length)&&g(t.declarations,cf)||e.set(t.escapedName,t)})),i=e}if(Qa(e,i,a,a,a),32&t.flags){const e=nd(dd(t));11272192&e.flags?(i=Wd(function(e){const t=qa(e),n=Rg(e);return n?H(t,[n]):t}(i)),Md(i,Uf(e))):e===kt&&(r=Pg(Jt,kt,!1))}const o=Rg(i);if(o?n=qg(o,Pe(i.values())):(r&&(n=re(n,r)),384&t.flags&&(32&Cd(t).flags||J(e.properties,(e=>!!(296&wu(e).flags))))&&(n=re(n,di))),Qa(e,i,a,a,n||a),8208&t.flags&&(e.callSignatures=Ph(t)),32&t.flags){const n=dd(t);let r=t.members?Ph(t.members.get("__constructor")):a;16&t.flags&&(r=se(r.slice(),q(e.callSignatures,(e=>CB(e.declaration)?xp(e.declaration,e.typeParameters,e.thisParameter,e.parameters,n,void 0,e.minArgumentCount,167&e.flags):void 0)))),r.length||(r=function(e){const t=_m(nd(e),1),n=hb(e.symbol),r=!!n&&wy(n,64);if(0===t.length)return[xp(void 0,e.localTypeParameters,void 0,a,e,void 0,0,r?4:0)];const i=Zu(e),o=Tm(i),s=QA(i),c=l(s),u=[];for(const n of t){const t=vh(n.typeParameters),i=l(n.typeParameters);if(o||c>=t&&c<=i){const a=i?bg(n,xh(s,n.typeParameters,t,o)):Sp(n);a.typeParameters=e.localTypeParameters,a.resolvedReturnType=e,a.flags=r?4|a.flags:-5&a.flags,u.push(a)}}return u}(n)),e.constructSignatures=r}}function Jp(e,t,n){return _E(e,JC([t.indexType,t.objectType],[gC(0),Ky([n])]))}function Wp(e){const t=Lm(e.source,Jt),n=vf(e.mappedType),r=!(1&n),i=4&n?0:16777216,o=t?[Pg(Jt,oD(t.type,e.mappedType,e.constraintType)||Bt,r&&t.isReadonly)]:a,s=Wd(),c=function(e){const t=rf(e.mappedType);if(!(1048576&t.flags||2097152&t.flags))return;const n=1048576&t.flags?t.origin:t;if(!(n&&2097152&n.flags))return;const r=Mv(n.types.filter((t=>t!==e.constraintType)));return r!==dn?r:void 0}(e);for(const t of Uf(e.source)){if(c){if(!IE(Yv(t,8576),c))continue}const n=8192|(r&&qO(t)?8:0),o=Vo(4|t.flags&i,t.escapedName,n);if(o.declarations=t.declarations,o.links.nameType=is(t).nameType,o.links.propertyType=wu(t),8388608&e.constraintType.type.flags&&262144&e.constraintType.type.objectType.flags&&262144&e.constraintType.type.indexType.flags){const t=e.constraintType.type.objectType,n=Jp(e.mappedType,e.constraintType.type,t);o.links.mappedType=n,o.links.constraintType=eb(t)}else o.links.mappedType=e.mappedType,o.links.constraintType=e.constraintType;s.set(t.escapedName,o)}Qa(e,s,a,a,o)}function Yp(e){if(4194304&e.flags){const t=C_(e.type);return sk(t)?yv(t):eb(t)}if(16777216&e.flags){if(e.root.isDistributive){const t=e.checkType,n=Yp(t);if(n!==t)return fE(e,tE(e.root.checkType,n,e.mapper),!1)}return e}if(1048576&e.flags)return qI(e,Yp,!0);if(2097152&e.flags){const t=e.types;return 2===t.length&&76&t[0].flags&&t[1]===Fn?e:Mv(T(e.types,Yp))}return e}function Xp(e){return 4096&ib(e)}function Zp(e,t,n,r){for(const n of Uf(e))r(Yv(n,t));if(1&e.flags)r(Jt);else for(const t of Qm(e))(!n||134217732&t.keyType.flags)&&r(t.keyType)}function tf(e){const t=Wd();let n;Qa(e,N,a,a,a);const r=nf(e),i=rf(e),o=e.target||e,s=of(o),c=2!==xf(o),l=uf(o),u=C_(yf(e)),d=vf(e);function p(i){EI(s?_E(s,nE(e.mapper,r,i)):i,(o=>function(i,o){if(aS(o)){const n=cS(o),r=t.get(n);if(r)r.links.nameType=Pv([r.links.nameType,o]),r.links.keyType=Pv([r.links.keyType,i]);else{const r=aS(i)?z_(u,cS(i)):void 0,s=!!(4&d||!(8&d)&&r&&16777216&r.flags),a=!!(1&d||!(2&d)&&r&&qO(r)),l=z&&!s&&r&&16777216&r.flags,p=Vo(4|(s?16777216:0),n,262144|(r?Xp(r):0)|(a?8:0)|(l?524288:0));p.links.mappedType=e,p.links.nameType=o,p.links.keyType=i,r&&(p.links.syntheticOrigin=r,p.declarations=c?r.declarations:void 0),t.set(n,p)}}else if(Hg(o)||33&o.flags){const t=5&o.flags?Jt:40&o.flags?Vt:o,s=_E(l,nE(e.mapper,r,i)),a=rh(u,o),c=Pg(t,s,!!(1&d||!(2&d)&&(null==a?void 0:a.isReadonly)));n=Mp(n,c,!0)}}(i,o)))}Af(e)?Zp(u,8576,!1,p):EI(Yp(i),p),Qa(e,t,a,a,n||a)}function nf(e){return e.typeParameter||(e.typeParameter=yd(_a(e.declaration.typeParameter)))}function rf(e){return e.constraintType||(e.constraintType=Gf(nf(e))||Tt)}function of(e){return e.declaration.nameType?e.nameType||(e.nameType=_E(PC(e.declaration.nameType),e.mapper)):void 0}function uf(e){return e.templateType||(e.templateType=e.declaration.type?_E(El(PC(e.declaration.type),!0,!!(4&vf(e))),e.mapper):Tt)}function mf(e){return dl(e.declaration.typeParameter)}function Af(e){const t=mf(e);return 198===t.kind&&143===t.operator}function yf(e){if(!e.modifiersType)if(Af(e))e.modifiersType=_E(PC(mf(e).type),e.mapper);else{const t=rf(Qb(e.declaration)),n=t&&262144&t.flags?Gf(t):t;e.modifiersType=n&&4194304&n.flags?_E(n.type,e.mapper):Bt}return e.modifiersType}function vf(e){const t=e.declaration;return(t.readonlyToken?41===t.readonlyToken.kind?2:1:0)|(t.questionToken?41===t.questionToken.kind?8:4:0)}function bf(e){const t=vf(e);return 8&t?-1:4&t?1:0}function Cf(e){if(32&gb(e))return bf(e)||Cf(yf(e));if(2097152&e.flags){const t=Cf(e.types[0]);return g(e.types,((e,n)=>0===n||Cf(e)===t))?t:0}return 0}function Ef(e){if(32&gb(e)){const t=rf(e);if(wb(t))return!0;const n=of(e);if(n&&wb(_E(n,HC(nf(e),t))))return!0}return!1}function xf(e){const t=of(e);return t?IE(t,nf(e))?1:2:0}function Sf(e){return e.members||(524288&e.flags?4&e.objectFlags?function(e){const t=Xd(e.target),n=H(t.typeParameters,[t.thisType]),r=pA(e);Ep(e,t,n,r.length===n.length?r:H(r,[e]))}(e):3&e.objectFlags?function(e){Ep(e,Xd(e),a,a)}(e):1024&e.objectFlags?Wp(e):16&e.objectFlags?Up(e):32&e.objectFlags?tf(e):un.fail("Unhandled object type "+un.formatObjectFlags(e.objectFlags)):1048576&e.flags?function(e){const t=Pp(w(e.types,(e=>e===Yn?[ci]:_m(e,0)))),n=Pp(w(e.types,(e=>_m(e,1)))),r=Op(e.types);Qa(e,N,t,n,r)}(e):2097152&e.flags?function(e){let t,n,r;const i=e.types,o=$p(i),s=x(o,(e=>e));for(let a=0;a0&&(e=w(e,(e=>{const t=Sp(e);return t.resolvedReturnType=Qp(Wh(e),i,o,a),t}))),n=Lp(n,e)}t=Lp(t,_m(c,0)),r=Se(Qm(c),((e,t)=>Mp(e,t,!1)),r)}Qa(e,N,t||a,n||a,r||a)}(e):un.fail("Unhandled type "+un.formatTypeFlags(e.flags))),e}function wf(e){return 524288&e.flags?Sf(e).properties:a}function Bf(e,t){if(524288&e.flags){const n=Sf(e).members.get(t);if(n&&ka(n))return n}}function Lf(e){if(!e.resolvedProperties){const t=Wd();for(const n of e.types){for(const r of Uf(n))if(!t.has(r.escapedName)){const n=q_(e,r.escapedName,!!(2097152&e.flags));n&&t.set(r.escapedName,n)}if(1048576&e.flags&&0===Qm(n).length)break}e.resolvedProperties=qa(t)}return e.resolvedProperties}function Uf(e){return 3145728&(e=E_(e)).flags?Lf(e):wf(e)}function Jf(e){return 262144&e.flags?Gf(e):8388608&e.flags?function(e){return __(e)?function(e){if(b_(e))return Pb(e.objectType,e.indexType);const t=i_(e.indexType);if(t&&t!==e.indexType){const n=Ob(e.objectType,t,e.accessFlags);if(n)return n}const n=i_(e.objectType);if(n&&n!==e.objectType)return Ob(n,e.indexType,e.accessFlags);return}(e):void 0}(e):16777216&e.flags?u_(e):p_(e)}function Gf(e){return __(e)?tA(e):void 0}function r_(e,t=0){var n;return t<5&&!(!e||!(262144&e.flags&&J(null==(n=e.symbol)?void 0:n.declarations,(e=>wy(e,4096)))||3145728&e.flags&&J(e.types,(e=>r_(e,t)))||8388608&e.flags&&r_(e.objectType,t+1)||16777216&e.flags&&r_(u_(e),t+1)||33554432&e.flags&&r_(e.baseType,t)||32&gb(e)&&function(e,t){const n=lE(e);return!!n&&r_(n,t)}(e,t)||sk(e)&&v(Ev(e),((n,r)=>!!(8&e.target.elementFlags[r])&&r_(n,t)))>=0))}function i_(e){const t=Tb(e,!1);return t!==e?t:Jf(e)}function o_(e){if(!e.resolvedDefaultConstraint){const t=function(e){return e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?_E(PC(e.root.node.trueType),e.combinedMapper):Jb(e))}(e),n=Vb(e);e.resolvedDefaultConstraint=Hc(t)?n:Hc(n)?t:Pv([t,n])}return e.resolvedDefaultConstraint}function s_(e){if(void 0!==e.resolvedConstraintOfDistributive)return e.resolvedConstraintOfDistributive||void 0;if(e.root.isDistributive&&e.restrictiveInstantiation!==e){const t=Tb(e.checkType,!1),n=t===e.checkType?Jf(t):t;if(n&&n!==e.checkType){const t=fE(e,tE(e.root.checkType,n,e.mapper),!0);if(!(131072&t.flags))return e.resolvedConstraintOfDistributive=t,t}}e.resolvedConstraintOfDistributive=!1}function a_(e){return s_(e)||o_(e)}function u_(e){return __(e)?a_(e):void 0}function p_(e){if(464781312&e.flags||sk(e)){const t=m_(e);return t!==On&&t!==qn?t:void 0}return 4194304&e.flags?gn:void 0}function f_(e){return p_(e)||e}function __(e){return m_(e)!==qn}function m_(e){if(e.resolvedBaseConstraint)return e.resolvedBaseConstraint;const t=[];return e.resolvedBaseConstraint=n(e);function n(e){if(!e.immediateBaseConstraint){if(!Qc(e,4))return qn;let n;const o=wS(e);if((t.length<10||t.length<50&&!C(t,o))&&(t.push(o),n=function(e){if(262144&e.flags){const t=tA(e);return e.isThisType||!t?t:i(t)}if(3145728&e.flags){const t=e.types,n=[];let r=!1;for(const e of t){const t=i(e);t?(t!==e&&(r=!0),n.push(t)):r=!0}return r?1048576&e.flags&&n.length===t.length?Pv(n):2097152&e.flags&&n.length?Mv(n):void 0:e}if(4194304&e.flags)return gn;if(134217728&e.flags){const t=e.types,n=q(t,i);return n.length===t.length?nb(e.texts,n):Jt}if(268435456&e.flags){const t=i(e.type);return t&&t!==e.type?sb(e.symbol,t):Jt}if(8388608&e.flags){if(b_(e))return i(Pb(e.objectType,e.indexType));const t=i(e.objectType),n=i(e.indexType),r=t&&n&&Ob(t,n,e.accessFlags);return r&&i(r)}if(16777216&e.flags){const t=a_(e);return t&&i(t)}if(33554432&e.flags)return i(DA(e));if(sk(e)){const t=w(Ev(e),((t,n)=>{const r=262144&t.flags&&8&e.target.elementFlags[n]&&i(t)||t;return r!==t&&kI(r,(e=>BS(e)&&!sk(e)))?r:t}));return Ky(t,e.target.elementFlags,e.target.readonly,e.target.labeledElementDeclarations)}return e}(Tb(e,!1)),t.pop()),!jc()){if(262144&e.flags){const t=Gg(e);if(t){const n=Oo(t,us.Type_parameter_0_has_a_circular_constraint,cc(e));!r||cg(t,r)||cg(r,t)||sx(n,$f(r,us.Circularity_originates_in_type_at_this_location))}}n=qn}e.immediateBaseConstraint??(e.immediateBaseConstraint=n||On)}return e.immediateBaseConstraint}function i(e){const t=n(e);return t!==On&&t!==qn?t:void 0}}function h_(e){if(e.default)e.default===$n&&(e.default=qn);else if(e.target){const t=h_(e.target);e.default=t?_E(t,e.mapper):On}else{e.default=$n;const t=e.symbol&&u(e.symbol.declarations,(e=>sw(e)&&e.default)),n=t?PC(t):On;e.default===$n&&(e.default=n)}return e.default}function g_(e){const t=h_(e);return t!==On&&t!==qn?t:void 0}function A_(e){return!(!e.symbol||!u(e.symbol.declarations,(e=>sw(e)&&e.default)))}function y_(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){const t=e.target??e,n=lE(t);if(n&&!t.declaration.nameType){const r=yf(e),i=Ef(r)?y_(r):p_(r);if(i&&kI(i,(e=>BS(e)||v_(e))))return _E(t,tE(n,i,e.mapper))}return e}(e))}function v_(e){return!!(2097152&e.flags)&&g(e.types,BS)}function b_(e){let t;return!(!(8388608&e.flags&&32&gb(t=e.objectType)&&!Ef(t)&&wb(e.indexType))||8&vf(t)||t.declaration.nameType)}function C_(e){const t=465829888&e.flags?p_(e)||Bt:e,n=gb(t);return 32&n?y_(t):4&n&&t!==e?Cp(t,e):2097152&t.flags?function(e,t){if(e===t)return e.resolvedApparentType||(e.resolvedApparentType=Cp(e,t,!0));const n=`I${xv(e)},${xv(t)}`;return Do(n)??wo(n,Cp(e,t,!0))}(t,e):402653316&t.flags?rr:296&t.flags?ir:2112&t.flags?Jr||(Jr=HA("BigInt",0,!1))||Dn:528&t.flags?or:12288&t.flags?ey():67108864&t.flags?Dn:4194304&t.flags?gn:2&t.flags&&!z?Dn:t}function E_(e){return $_(C_($_(e)))}function x_(e,t,n){var r,i,o;let s,a,c;const u=1048576&e.flags;let d,p=4,f=u?0:8,_=!1;for(const r of e.types){const e=C_(r);if(!(Gc(e)||131072&e.flags)){const r=z_(e,t,n),i=r?ob(r):0;if(r){if(106500&r.flags&&(d??(d=u?0:16777216),u?d|=16777216&r.flags:d&=r.flags),s){if(r!==s){if((yL(r)||r)===(yL(s)||s)&&-1===IS(s,r,((e,t)=>e===t?-1:0)))_=!!s.parent&&!!l(Uu(s.parent));else{a||(a=new Map,a.set(VQ(s),s));const e=VQ(r);a.has(e)||a.set(e,r)}}}else s=r;u&&qO(r)?f|=8:u||qO(r)||(f&=-9),f|=(6&i?0:256)|(4&i?512:0)|(2&i?1024:0)|(256&i?2048:0),NP(r)||(p=2)}else if(u){const n=!sp(t)&&ih(e,t);n?(f|=32|(n.isReadonly?8:0),c=re(c,ok(e)?ck(e)||Ot:n.type)):!bD(e)||2097152&gb(e)?f|=16:(f|=32,c=re(c,Ot))}}}if(!s||u&&(a||48&f)&&1536&f&&(!a||!function(e){let t;for(const n of e){if(!n.declarations)return;if(t){if(t.forEach((e=>{C(n.declarations,e)||t.delete(e)})),0===t.size)return}else t=new Set(n.declarations)}return t}(a.values())))return;if(!(a||16&f||c)){if(_){const t=null==(r=et(s,zd))?void 0:r.links,n=Tk(s,null==t?void 0:t.type);return n.parent=null==(o=null==(i=s.valueDeclaration)?void 0:i.symbol)?void 0:o.parent,n.links.containingType=e,n.links.mapper=null==t?void 0:t.mapper,n.links.writeType=Du(s),n}return s}const m=a?Pe(a.values()):[s];let h,g,A;const y=[];let v,b,E=!1;for(const e of m){b?e.valueDeclaration&&e.valueDeclaration!==b&&(E=!0):b=e.valueDeclaration,h=se(h,e.declarations);const t=wu(e);g||(g=t,A=is(e).nameType);const n=Du(e);(v||n!==t)&&(v=re(v||y.slice(),n)),t!==g&&(f|=64),(zS(t)||bb(t))&&(f|=128),131072&t.flags&&t!==En&&(f|=131072),y.push(t)}se(y,c);const x=Vo(4|(d??0),t,p|f);return x.links.containingType=e,!E&&b&&(x.valueDeclaration=b,b.symbol.parent&&(x.parent=b.symbol.parent)),x.declarations=h,x.links.nameType=A,y.length>2?(x.links.checkFlags|=65536,x.links.deferralParent=e,x.links.deferralConstituents=y,x.links.deferralWriteConstituents=v):(x.links.type=u?Pv(y):Mv(y),v&&(x.links.writeType=u?Pv(v):Mv(v))),x}function k_(e,t,n){var r,i,o;let s=n?null==(r=e.propertyCacheWithoutObjectFunctionPropertyAugment)?void 0:r.get(t):null==(i=e.propertyCache)?void 0:i.get(t);if(!s&&(s=x_(e,t,n),s)){if((n?e.propertyCacheWithoutObjectFunctionPropertyAugment||(e.propertyCacheWithoutObjectFunctionPropertyAugment=Wd()):e.propertyCache||(e.propertyCache=Wd())).set(t,s),n&&!(48&ib(s))&&!(null==(o=e.propertyCache)?void 0:o.get(t))){(e.propertyCache||(e.propertyCache=Wd())).set(t,s)}}return s}function q_(e,t,n){const r=k_(e,t,n);return!r||16&ib(r)?void 0:r}function $_(e){return 1048576&e.flags&&16777216&e.objectFlags?e.resolvedReducedType||(e.resolvedReducedType=function(e){const t=T(e.types,$_);if(t===e.types)return e;const n=Pv(t);1048576&n.flags&&(n.resolvedReducedType=n);return n}(e)):2097152&e.flags?(16777216&e.objectFlags||(e.objectFlags|=16777216|(J(Lf(e),U_)?33554432:0)),33554432&e.objectFlags?dn:e):e}function U_(e){return J_(e)||V_(e)}function J_(e){return!(16777216&e.flags||192!=(131264&ib(e))||!(131072&wu(e).flags))}function V_(e){return!e.valueDeclaration&&!!(1024&ib(e))}function H_(e){return!!(1048576&e.flags&&16777216&e.objectFlags&&J(e.types,H_)||2097152&e.flags&&function(e){const t=e.uniqueLiteralFilledInstantiation||(e.uniqueLiteralFilledInstantiation=_E(e,xn));return $_(t)!==t}(e))}function G_(e,t){if(2097152&t.flags&&33554432&gb(t)){const n=A(Lf(t),J_);if(n)return eC(e,us.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,cc(t,void 0,536870912),oc(n));const r=A(Lf(t),V_);if(r)return eC(e,us.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,cc(t,void 0,536870912),oc(r))}return e}function z_(e,t,n,r){var i,o;if(524288&(e=E_(e)).flags){const s=Sf(e),a=s.members.get(t);if(a&&!r&&512&(null==(i=e.symbol)?void 0:i.flags)&&(null==(o=is(e.symbol).typeOnlyExportStarMap)?void 0:o.has(t)))return;if(a&&ka(a,r))return a;if(n)return;const c=s===Bn?Yn:s.callSignatures.length?Kn:s.constructSignatures.length?Xn:void 0;if(c){const e=Bf(c,t);if(e)return e}return Bf(zn,t)}if(2097152&e.flags){const r=q_(e,t,!0);return r||(n?void 0:q_(e,t,n))}if(1048576&e.flags)return q_(e,t,n)}function fm(e,t){if(3670016&e.flags){const n=Sf(e);return 0===t?n.callSignatures:n.constructSignatures}return a}function _m(e,t){const n=fm(E_(e),t);if(0===t&&!l(n)&&1048576&e.flags){if(e.arrayFallbackSignatures)return e.arrayFallbackSignatures;let r;if(kI(e,(e=>{var t;return!!(null==(t=e.symbol)?void 0:t.parent)&&function(e){if(!e||!Zn.symbol||!nr.symbol)return!1;return!!Ea(e,Zn.symbol)||!!Ea(e,nr.symbol)}(e.symbol.parent)&&(r?r===e.symbol.escapedName:(r=e.symbol.escapedName,!0))}))){const n=Qy(qI(e,(e=>VC((mm(e.symbol.parent)?nr:Zn).typeParameters[0],e.mapper))),xI(e,(e=>mm(e.symbol.parent))));return e.arrayFallbackSignatures=_m(Jc(n,r),t)}e.arrayFallbackSignatures=n}return n}function mm(e){return!(!e||!nr.symbol)&&!!Ea(e,nr.symbol)}function Am(e,t){return A(e,(e=>e.keyType===t))}function wm(e,t){let n,r,i;for(const o of e)o.keyType===Jt?n=o:Rm(t,o.keyType)&&(r?(i||(i=[r])).push(o):r=o);return i?Pg(Bt,Mv(w(i,(e=>e.type))),Se(i,((e,t)=>e&&t.isReadonly),!0)):r||(n&&Rm(t,Jt)?n:void 0)}function Rm(e,t){return IE(e,t)||t===Jt&&IE(e,Vt)||t===Vt&&(e===vn||!!(128&e.flags)&&Lx(e.value))}function Om(e){if(3670016&e.flags){return Sf(e).indexInfos}return a}function Qm(e){return Om(E_(e))}function Lm(e,t){return Am(Qm(e),t)}function jm(e,t){var n;return null==(n=Lm(e,t))?void 0:n.type}function Km(e,t){return Qm(e).filter((e=>Rm(t,e.keyType)))}function rh(e,t){return wm(Qm(e),t)}function ih(e,t){return rh(e,sp(t)?cn:hC(mc(t)))}function oh(e){var t;let n;for(const t of ul(e))n=ce(n,yd(t.symbol));return(null==n?void 0:n.length)?n:WI(e)?null==(t=Th(e))?void 0:t.typeParameters:void 0}function ch(e){const t=[];return e.forEach(((e,n)=>{Oa(n)||t.push(e)})),t}function lh(e,t){if(Sa(e))return;const n=as(De,'"'+e+'"',512);return n&&t?fa(n):n}function _h(e){return kh(e)||Hx(e)||aw(e)&&zx(e)}function hh(e){if(_h(e))return!0;if(!aw(e))return!1;if(e.initializer){const t=Sh(e.parent),n=e.parent.parameters.indexOf(e);return un.assert(n>=0),n>=nO(t,3)}const t=om(e.parent);return!!t&&(!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=ZN(t).length)}function yh(e,t,n,r){return{kind:e,parameterName:t,parameterIndex:n,type:r}}function vh(e){let t=0;if(e)for(let n=0;n=n&&o<=i){const n=e?e.slice():[];for(let e=o;ec.arguments.length&&!d||(o=n.length)}if((177===e.kind||178===e.kind)&&lp(e)&&(!a||!r)){const t=177===e.kind?178:177,n=Hd(_a(e),t);n&&(r=function(e){const t=gj(e);return t&&t.symbol}(n))}s&&s.typeExpression&&(r=Tk(Vo(1,"this"),PC(s.typeExpression)));const u=cF(e)?Uh(e):e,d=u&&_w(u)?dd(fa(u.parent.symbol)):void 0,f=d?d.localTypeParameters:oh(e);($d(e)||Tm(e)&&function(e,t){if(cF(e)||!Fh(e))return!1;const n=ge(e.parameters),r=n?Tc(n):ol(e).filter(CF),i=p(r,(e=>e.typeExpression&&iF(e.typeExpression.type)?e.typeExpression.type:void 0)),o=Vo(3,"args",32768);i?o.links.type=Qy(PC(i.type)):(o.links.checkFlags|=65536,o.links.deferralParent=dn,o.links.deferralConstituents=[cr],o.links.deferralWriteConstituents=[cr]);i&&t.pop();return t.push(o),!0}(e,n))&&(i|=1),(Ew(e)&&wy(e,64)||_w(e)&&wy(e.parent,64))&&(i|=4),t.resolvedSignature=xp(e,f,r,n,void 0,void 0,o,i)}return t.resolvedSignature}function Th(e){if(!Tm(e)||!ou(e))return;const t=tl(e);return(null==t?void 0:t.typeExpression)&&QN(PC(t.typeExpression))}function Fh(e){const t=ss(e);return void 0===t.containsArgumentsReference&&(512&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function e(t){if(!t)return!1;switch(t.kind){case 80:return t.escapedText===Be.escapedName&&HM(t)===Be;case 172:case 174:case 177:case 178:return 167===t.name.kind&&e(t.name);case 211:case 212:return e(t.expression);case 303:return e(t.initializer);default:return!Zg(t)&&!S_(t)&&!!OP(t,e)}}(e.body)),t.containsArgumentsReference}function Ph(e){if(!e||!e.declarations)return a;const t=[];for(let n=0;n0&&r.body){const t=e.declarations[n-1];if(r.parent===t.parent&&r.kind===t.kind&&r.pos===t.end)continue}if(Tm(r)&&r.jsDoc){const e=Mh(r);if(l(e)){for(const n of e){const e=n.typeExpression;void 0!==e.type||_w(r)||Uk(e,kt),t.push(Sh(e))}continue}}t.push(!$x(r)&&!Q_(r)&&Th(r)||Sh(r))}}return t}function Oh(e){const t=Xs(e,e);if(t){const e=na(t);if(e)return wu(e)}return kt}function qh(e){if(e.thisParameter)return wu(e.thisParameter)}function $h(e){if(!e.resolvedTypePredicate){if(e.target){const t=$h(e.target);e.resolvedTypePredicate=t?iE(t,e.mapper):si}else if(e.compositeSignatures)e.resolvedTypePredicate=function(e,t){let n;const r=[];for(const i of e){const e=$h(i);if(e){if(0!==e.kind&&1!==e.kind||n&&!Bv(n,e))return;n=e,r.push(e.type)}else{const e=2097152!==t?Wh(i):void 0;if(e!==Yt&&e!==Kt)return}}if(!n)return;const i=Gh(r,t);return yh(n.kind,n.parameterName,n.parameterIndex,i)}(e.compositeSignatures,e.compositeKind)||si;else{const t=e.declaration&&hy(e.declaration);let n;if(!t){const t=Th(e.declaration);t&&e!==t&&(n=$h(t))}if(t||n)e.resolvedTypePredicate=t&&vw(t)?function(e,t){const n=e.parameterName,r=e.type&&PC(e.type);return 197===n.kind?yh(e.assertsModifier?2:0,void 0,void 0,r):yh(e.assertsModifier?3:1,n.escapedText,v(t.parameters,(e=>e.escapedName===n.escapedText)),r)}(t,e):n||si;else if(e.declaration&&ou(e.declaration)&&(!e.resolvedReturnType||16&e.resolvedReturnType.flags)&&tO(e)>0){const{declaration:t}=e;e.resolvedTypePredicate=si,e.resolvedTypePredicate=function(e){switch(e.kind){case 176:case 177:case 178:return}if(0!==Ng(e))return;let t;if(e.body&&241!==e.body.kind)t=e.body;else{if(D_(e.body,(e=>{if(t||!e.expression)return!0;t=e.expression}))||!t||FO(e))return}return function(e,t){t=sg(t,!0);return 16&cq(t).flags?u(e.parameters,((n,r)=>{const i=wu(n.symbol);if(!i||16&i.flags||!UD(n.name)||qT(n.symbol)||Qd(n))return;const o=function(e,t,n,r){const i=Nh(t)&&t.flowNode||253===t.parent.kind&&t.parent.flowNode||$$(2,void 0,void 0),o=$$(32,t,i),s=NT(n.name,r,r,e,o);if(s===r)return;const a=$$(64,t,i),c=NT(n.name,r,s,e,a);return 131072&c.flags?s:void 0}(e,t,n,i);return o?yh(1,mc(n.name.escapedText),r,o):void 0})):void 0}(e,t)}(t)||si}else e.resolvedTypePredicate=si}un.assert(!!e.resolvedTypePredicate)}return e.resolvedTypePredicate===si?void 0:e.resolvedTypePredicate}function Gh(e,t,n){return 2097152!==t?Pv(e,n):Mv(e)}function Wh(e){if(!e.resolvedReturnType){if(!Qc(e,3))return Tt;let t=e.target?_E(Wh(e.target),e.mapper):e.compositeSignatures?_E(Gh(w(e.compositeSignatures,Wh),e.compositeKind,2),e.mapper):zh(e.declaration)||(kp(e.declaration.body)?kt:kO(e.declaration));if(8&e.flags?t=Ck(t):16&e.flags&&(t=yk(t)),!jc()){if(e.declaration){const t=hy(e.declaration);if(t)Oo(t,us.Return_type_annotation_circularly_references_itself);else if(ie){const t=e.declaration,n=Sc(t);n?Oo(n,us._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Rf(n)):Oo(t,us.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}t=kt}e.resolvedReturnType??(e.resolvedReturnType=t)}return e.resolvedReturnType}function zh(e){if(176===e.kind)return dd(fa(e.parent.symbol));const t=hy(e);if(cF(e)){const n=Vh(e);if(n&&_w(n.parent)&&!t)return dd(fa(n.parent.parent.symbol))}if(Dh(e))return PC(e.parameters[0].type);if(t)return PC(t);if(177===e.kind&&lp(e)){const t=Tm(e)&&ml(e);if(t)return t;const n=cu(Hd(_a(e),178));if(n)return n}return function(e){const t=Th(e);return t&&Wh(t)}(e)}function Zh(e){return e.compositeSignatures&&J(e.compositeSignatures,Zh)||!e.resolvedReturnType&&Lc(e,3)>=0}function tg(e){if(KQ(e)){const t=wu(e.parameters[e.parameters.length-1]),n=ok(t)?ck(t):t;return n&&jm(n,Vt)}}function ug(e,t,n,r){const i=pg(e,xh(t,e.typeParameters,vh(e.typeParameters),n));if(r){const e=LN(Wh(i));if(e){const t=Sp(e);t.typeParameters=r;const n=Sp(i);return n.resolvedReturnType=Ig(t),n}}return i}function pg(e,t){const n=e.instantiations||(e.instantiations=new Map),r=rA(t);let i=n.get(r);return i||n.set(r,i=bg(e,t)),i}function bg(e,t){return oE(e,function(e,t){return JC(Eg(e),t)}(e,t),!0)}function Eg(e){return T(e.typeParameters,(e=>e.mapper?_E(e,e.mapper):e))}function Sg(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return oE(e,ZC(e.typeParameters),!0)}(e)):e}function kg(e){return e.typeParameters?e.canonicalSignatureCache||(e.canonicalSignatureCache=function(e){return ug(e,w(e.typeParameters,(e=>e.target&&!Gf(e.target)?e.target:e)),Tm(e.declaration))}(e)):e}function Dg(e){return e.typeParameters?e.implementationSignatureCache||(e.implementationSignatureCache=function(e){return e.typeParameters?oE(e,JC([],[])):e}(e)):e}function wg(e){const t=e.typeParameters;if(t){if(e.baseSignatureCache)return e.baseSignatureCache;const n=ZC(t),r=JC(t,w(t,(e=>Gf(e)||Bt)));let i=w(t,(e=>_E(e,r)||Bt));for(let e=0;e{Hg(e)&&!Am(n,e)&&n.push(Pg(e,t.type?PC(t.type):kt,Dy(t,8),t))}))}}else if(cp(t)){const e=uI(t)?t.left:t.name,u=Yw(e)?cq(e.argumentExpression):XR(e);if(Am(n,u))continue;IE(u,gn)&&(IE(u,Vt)?(r=!0,By(t)||(i=!1)):IE(u,cn)?(o=!0,By(t)||(s=!1)):(a=!0,By(t)||(c=!1)),l.push(t.symbol))}const u=H(l,S(t,(t=>t!==e)));return a&&!Am(n,Jt)&&n.push(tP(c,0,u,Jt)),r&&!Am(n,Vt)&&n.push(tP(i,0,u,Vt)),o&&!Am(n,cn)&&n.push(tP(s,0,u,cn)),n}return a}function Hg(e){return!!(4108&e.flags)||bb(e)||!!(2097152&e.flags)&&!Sb(e)&&J(e.types,Hg)}function Gg(e){return q(S(e.symbol&&e.symbol.declarations,sw),dl)[0]}function zg(e,t){var n;let r;if(null==(n=e.symbol)?void 0:n.declarations)for(const n of e.symbol.declarations)if(195===n.parent.kind){const[i=n.parent,o]=ig(n.parent.parent);if(183!==o.kind||t){if(169===o.kind&&o.dotDotDotToken||191===o.kind||202===o.kind&&o.dotDotDotToken)r=re(r,Qy(Bt));else if(204===o.kind)r=re(r,Jt);else if(168===o.kind&&200===o.parent.kind)r=re(r,gn);else if(200===o.kind&&o.type&&sg(o.type)===n.parent&&194===o.parent.kind&&o.parent.extendsType===o&&200===o.parent.checkType.kind&&o.parent.checkType.type){const e=o.parent.checkType;r=re(r,_E(PC(e.type),HC(yd(_a(e.typeParameter)),e.typeParameter.constraint?PC(e.typeParameter.constraint):gn)))}}else{const t=o,n=Hq(t);if(n){const o=t.typeArguments.indexOf(i);if(o()=>Uq(t,n,r)))));o!==e&&(r=re(r,o))}}}}}return r&&Mv(r)}function tA(e){if(!e.constraint)if(e.target){const t=Gf(e.target);e.constraint=t?_E(t,e.mapper):On}else{const t=Gg(e);if(t){let n=PC(t);1&n.flags&&!Gc(n)&&(n=200===t.parent.parent.kind?gn:Bt),e.constraint=n}else e.constraint=zg(e)||On}return e.constraint===On?void 0:e.constraint}function nA(e){const t=Hd(e.symbol,168),n=kF(t.parent)?Lh(t.parent):t.parent;return n&&ga(n)}function rA(e){let t="";if(e){const n=e.length;let r=0;for(;r1&&(t+=":"+o),r+=o}}return t}function iA(e,t){return e?`@${VQ(e)}`+(t?`:${rA(t)}`:""):""}function oA(e,t){let n=0;for(const r of e)void 0!==t&&r.flags&t||(n|=gb(r));return 458752&n}function sA(e,t){return J(t)&&e===Nn?Bt:aA(e,t)}function aA(e,t){const n=rA(t);let r=e.instantiations.get(n);return r||(r=Na(4,e.symbol),e.instantiations.set(n,r),r.objectFlags|=t?oA(t):0,r.target=e,r.resolvedTypeArguments=t),r}function cA(e){const t=wa(e.flags,e.symbol);return t.objectFlags=e.objectFlags,t.target=e.target,t.resolvedTypeArguments=e.resolvedTypeArguments,t}function dA(e,t,n,r,i){if(!r){const e=oC(r=iC(t));i=n?QC(e,n):e}const o=Na(4,e.symbol);return o.target=e,o.node=t,o.mapper=n,o.aliasSymbol=r,o.aliasTypeArguments=i,o}function pA(e){var t,n;if(!e.resolvedTypeArguments){if(!Qc(e,5))return H(e.target.outerTypeParameters,null==(t=e.target.localTypeParameters)?void 0:t.map((()=>Tt)))||a;const i=e.node,o=i?183===i.kind?H(e.target.outerTypeParameters,Jq(i,e.target.localTypeParameters)):188===i.kind?[PC(i.elementType)]:w(i.elements,PC):a;jc()?e.resolvedTypeArguments??(e.resolvedTypeArguments=e.mapper?QC(o,e.mapper):o):(e.resolvedTypeArguments??(e.resolvedTypeArguments=H(e.target.outerTypeParameters,(null==(n=e.target.localTypeParameters)?void 0:n.map((()=>Tt)))||a)),Oo(e.node||r,e.target.symbol?us.Type_arguments_for_0_circularly_reference_themselves:us.Tuple_type_arguments_circularly_reference_themselves,e.target.symbol&&oc(e.target.symbol)))}return e.resolvedTypeArguments}function fA(e){return l(e.target.typeParameters)}function _A(e,t){const n=Cd(fa(t)),r=n.localTypeParameters;if(r){const t=l(e.typeArguments),i=vh(r),o=Tm(e);if(!(!ie&&o)&&(tr.length)){const t=o&&gI(e)&&!lF(e.parent);if(Oo(e,i===r.length?t?us.Expected_0_type_arguments_provide_these_with_an_extends_tag:us.Generic_type_0_requires_1_type_argument_s:t?us.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:us.Generic_type_0_requires_between_1_and_2_type_arguments,cc(n,void 0,2),i,r.length),!o)return Tt}if(183===e.kind&&Vy(e,l(e.typeArguments)!==r.length))return dA(n,e,void 0);return aA(n,H(n.outerTypeParameters,xh(QA(e),r,i,o)))}return PA(e,t)?n:Tt}function mA(e,t,n,r){const i=Cd(e);if(i===Pt){const n=MQ.get(e.escapedName);if(void 0!==n&&t&&1===t.length)return 4===n?CA(t[0]):sb(e,t[0])}const o=is(e),s=o.typeParameters,a=rA(t)+iA(n,r);let c=o.instantiations.get(a);return c||o.instantiations.set(a,c=mE(i,JC(s,xh(t,s,vh(s),Tm(e.valueDeclaration))),n,r)),c}function hA(e){var t;const n=null==(t=e.declarations)?void 0:t.find(Ih);return!(!n||!W_(n))}function gA(e){return e.parent?`${gA(e.parent)}.${e.escapedName}`:e.escapedName}function AA(e){const t=(166===e.kind?e.right:211===e.kind?e.name:e).escapedText;if(t){const n=166===e.kind?AA(e.left):211===e.kind?AA(e.expression):void 0,r=n?`${gA(n)}.${t}`:t;let i=Et.get(r);return i||(Et.set(r,i=Vo(524288,t,1048576)),i.parent=n,i.links.declaredType=Ft),i}return bt}function yA(e,t,n){const r=function(e){switch(e.kind){case 183:return e.typeName;case 233:const t=e.expression;if(av(t))return t}}(e);if(!r)return bt;const i=zs(r,t,n);return i&&i!==bt?i:n?bt:AA(r)}function vA(e,t){if(t===bt)return Tt;if(96&(t=function(e){const t=e.valueDeclaration;if(!t||!Tm(t)||524288&e.flags||Gm(t,!1))return;const n=HI(t)?Vm(t):Hm(t);if(n){const t=ga(n);if(t)return EB(t,e)}}(t)||t).flags)return _A(e,t);if(524288&t.flags)return function(e,t){if(1048576&ib(t)){const n=QA(e),r=iA(t,n);let i=xt.get(r);return i||(i=Pa(1,"error",void 0,`alias ${r}`),i.aliasSymbol=t,i.aliasTypeArguments=n,xt.set(r,i)),i}const n=Cd(t),r=is(t).typeParameters;if(r){const n=l(e.typeArguments),i=vh(r);if(nr.length)return Oo(e,i===r.length?us.Generic_type_0_requires_1_type_argument_s:us.Generic_type_0_requires_between_1_and_2_type_arguments,oc(t),i,r.length),Tt;const o=iC(e);let s,a=!o||!hA(t)&&hA(o)?void 0:o;if(a)s=oC(a);else if(Pd(e)){const t=yA(e,2097152,!0);if(t&&t!==bt){const n=Ls(t);n&&524288&n.flags&&(a=n,s=QA(e)||(r?[]:void 0))}}return mA(t,QA(e),a,s)}return PA(e,t)?n:Tt}(e,t);const n=xd(t);if(n)return PA(e,t)?_C(n):Tt;if(111551&t.flags&&RA(e)){const n=function(e,t){const n=ss(e);if(!n.resolvedJSDocType){const r=wu(t);let i=r;if(t.valueDeclaration){const n=205===e.kind&&e.qualifier;r.symbol&&r.symbol!==t&&n&&(i=vA(e,r.symbol))}n.resolvedJSDocType=i}return n.resolvedJSDocType}(e,t);return n||(yA(e,788968),wu(t))}return Tt}function CA(e){return EA(e)?kA(e,Bt):e}function EA(e){return!!(3145728&e.flags&&J(e.types,EA)||33554432&e.flags&&!xA(e)&&EA(e.baseType)||524288&e.flags&&!YE(e)||432275456&e.flags&&!bb(e))}function xA(e){return!!(33554432&e.flags&&2&e.constraint.flags)}function SA(e,t){return 3&t.flags||t===e||1&e.flags?e:kA(e,t)}function kA(e,t){const n=`${xv(e)}>${xv(t)}`,r=pt.get(n);if(r)return r;const i=Da(33554432);return i.baseType=e,i.constraint=t,pt.set(n,i),i}function DA(e){return xA(e)?e.baseType:Mv([e.constraint,e.baseType])}function wA(e){return 189===e.kind&&1===e.elements.length}function FA(e,t,n){return wA(t)&&wA(n)?FA(e,t.elements[0],n.elements[0]):Lb(PC(t))===Lb(e)?PC(n):void 0}function RA(e){return!!(16777216&e.flags)&&(183===e.kind||205===e.kind)}function PA(e,t){return!e.typeArguments||(Oo(e,us.Type_0_is_not_generic,t?oc(t):e.typeName?Rf(e.typeName):FQ),!1)}function OA(e){if(UD(e.typeName)){const t=e.typeArguments;switch(e.typeName.escapedText){case"String":return PA(e),Jt;case"Number":return PA(e),Vt;case"Boolean":return PA(e),an;case"Void":return PA(e),ln;case"Undefined":return PA(e),Ot;case"Null":return PA(e),jt;case"Function":case"function":return PA(e),Yn;case"array":return t&&t.length||ie?void 0:cr;case"promise":return t&&t.length||ie?void 0:EO(kt);case"Object":if(t&&2===t.length){if(Nm(e)){const e=PC(t[0]),n=PC(t[1]),r=e===Jt||e===Vt?[Pg(e,n,!1)]:a;return La(void 0,N,a,a,r)}return kt}return PA(e),ie?void 0:kt}}}function $A(e){const t=ss(e);if(!t.resolvedType){if(Cl(e)&&Vu(e.parent))return t.resolvedSymbol=bt,t.resolvedType=cq(e.parent.expression);let n,r;const i=788968;RA(e)&&(r=OA(e),r||(n=yA(e,i,!0),n===bt?n=yA(e,111551|i):yA(e,i),r=vA(e,n))),r||(n=yA(e,i),r=vA(e,n)),t.resolvedSymbol=n,t.resolvedType=r}return t.resolvedType}function QA(e){return w(e.typeArguments,PC)}function LA(e){const t=ss(e);if(!t.resolvedType){const n=$B(e);t.resolvedType=_C(Qk(n))}return t.resolvedType}function MA(e,t){function n(e){const t=e.declarations;if(t)for(const e of t)switch(e.kind){case 263:case 264:case 266:return e}}if(!e)return t?Nn:Dn;const r=Cd(e);return 524288&r.flags?l(r.typeParameters)!==t?(Oo(n(e),us.Global_type_0_must_have_1_type_parameter_s,Ac(e),t),t?Nn:Dn):r:(Oo(n(e),us.Global_type_0_must_be_a_class_or_interface_type,Ac(e)),t?Nn:Dn)}function jA(e,t){return VA(e,111551,t?us.Cannot_find_global_value_0:void 0)}function UA(e,t){return VA(e,788968,t?us.Cannot_find_global_type_0:void 0)}function JA(e,t,n){const r=VA(e,788968,n?us.Cannot_find_global_type_0:void 0);if(!r||(Cd(r),l(is(r).typeParameters)===t))return r;Oo(r.declarations&&A(r.declarations,KI),us.Global_type_0_must_have_1_type_parameter_s,Ac(r),t)}function VA(e,t,n){return Ue(void 0,e,t,n,!1,!1)}function HA(e,t,n){const r=UA(e,n);return r||n?MA(r,t):void 0}function GA(e,t){let n;for(const r of e)n=re(n,HA(r,t,!1));return n??a}function WA(){return Br||(Br=HA("ImportMeta",0,!0)||Dn)}function zA(){if(!Or){const e=Vo(0,"ImportMetaExpression"),t=WA(),n=Vo(4,"meta",8);n.parent=e,n.links.type=t;const r=Wd([n]);e.members=r,Or=La(e,r,a,a,a)}return Or}function KA(e){return qr||(qr=HA("ImportCallOptions",0,e))||Dn}function XA(e){return $r||($r=HA("ImportAttributes",0,e))||Dn}function ZA(e){return pr||(pr=jA("Symbol",e))}function ey(){return _r||(_r=HA("Symbol",0,!1))||Dn}function ty(e){return hr||(hr=HA("Promise",1,e))||Nn}function ny(e){return gr||(gr=HA("PromiseLike",1,e))||Nn}function ry(e){return Ar||(Ar=jA("Promise",e))}function sy(e){return Dr||(Dr=HA("AsyncIterable",3,e))||Nn}function py(e){return Ir||(Ir=HA("AsyncIterableIterator",3,e))||Nn}function fy(e){return vr||(vr=HA("Iterable",3,e))||Nn}function my(e){return Cr||(Cr=HA("IterableIterator",3,e))||Nn}function yy(){return te?Ot:kt}function vy(e){return Qr||(Qr=HA("Disposable",0,e))||Dn}function by(e,t=0){const n=VA(e,788968,void 0);return n&&MA(n,t)}function Cy(e){return Ur||(Ur=JA("Awaited",1,e)||(e?bt:void 0)),Ur===bt?void 0:Ur}function Ey(e,t){return e!==Nn?aA(e,t):Dn}function xy(e){return Ey(mr||(mr=HA("TypedPropertyDescriptor",1,!0)||Nn),[e])}function $y(e){return Ey(fy(!0),[e,ln,Ot])}function Qy(e,t){return Ey(t?nr:Zn,[e])}function My(e){switch(e.kind){case 190:return 2;case 191:return jy(e);case 202:return e.questionToken?2:e.dotDotDotToken?jy(e):1;default:return 1}}function jy(e){return RC(e.type)?4:8}function Uy(e){const t=function(e){return qw(e)&&148===e.operator}(e.parent);if(RC(e))return t?nr:Zn;return Xy(w(e.elements,My),t,w(e.elements,Jy))}function Jy(e){return ww(e)||aw(e)?e:void 0}function Vy(e,t){return!!iC(e)||Hy(e)&&(188===e.kind?Yy(e.elementType):189===e.kind?J(e.elements,Yy):t||J(e.typeArguments,Yy))}function Hy(e){const t=e.parent;switch(t.kind){case 196:case 202:case 183:case 192:case 193:case 199:case 194:case 198:case 188:case 189:return Hy(t);case 265:return!0}return!1}function Yy(e){switch(e.kind){case 183:return RA(e)||!!(524288&yA(e,788968).flags);case 186:return!0;case 198:return 158!==e.operator&&Yy(e.type);case 196:case 190:case 202:case 316:case 314:case 315:case 309:return Yy(e.type);case 191:return 188!==e.type.kind||Yy(e.type.elementType);case 192:case 193:return J(e.types,Yy);case 199:return Yy(e.objectType)||Yy(e.indexType);case 194:return Yy(e.checkType)||Yy(e.extendsType)||Yy(e.trueType)||Yy(e.falseType)}return!1}function Ky(e,t,n=!1,r=[]){const i=Xy(t||w(e,(e=>1)),n,r);return i===Nn?Dn:e.length?nv(i,e):i}function Xy(e,t,n){if(1===e.length&&4&e[0])return t?nr:Zn;const r=w(e,(e=>1&e?"#":2&e?"?":4&e?".":"*")).join()+(t?"R":"")+(J(n,(e=>!!e))?","+w(n,(e=>e?JQ(e):"_")).join(","):"");let i=Ze.get(r);return i||Ze.set(r,i=function(e,t,n){const r=e.length,i=x(e,(e=>!!(9&e)));let o;const s=[];let c=0;if(r){o=new Array(r);for(let i=0;i!!(8&e.elementFlags[n]&&1179648&t.flags)));if(n>=0)return Uv(w(t,((t,n)=>8&e.elementFlags[n]?t:Bt)))?qI(t[n],(r=>ov(e,Ce(t,n,r)))):Tt}const a=[],c=[],l=[];let d=-1,p=-1,f=-1;for(let c=0;c=1e4)return Oo(r,S_(r)?us.Type_produces_a_tuple_type_that_is_too_large_to_represent:us.Expression_produces_a_tuple_type_that_is_too_large_to_represent),Tt;u(e,((e,t)=>{var n;return m(e,l.target.elementFlags[t],null==(n=l.target.labeledElementDeclarations)?void 0:n[t])}))}else m($S(l)&&jm(l,Vt)||Tt,4,null==(o=e.labeledElementDeclarations)?void 0:o[c]);else m(l,d,null==(s=e.labeledElementDeclarations)?void 0:s[c])}for(let e=0;e=0&&p8&c[p+t]?Nb(e,Vt):e))),a.splice(p+1,f-p),c.splice(p+1,f-p),l.splice(p+1,f-p));const _=Xy(c,e.readonly,l);return _===Nn?Dn:c.length?aA(_,a):_;function m(e,t,n){1&t&&(d=c.length),4&t&&p<0&&(p=c.length),6&t&&(f=c.length),a.push(2&t?El(e,!0):e),c.push(t),l.push(n)}}function Av(e,t,n=0){const r=e.target,i=fA(e)-n;return t>r.fixedLength?function(e){const t=ck(e);return t&&Qy(t)}(e)||Ky(a):Ky(pA(e).slice(t,i),r.elementFlags.slice(t,i),!1,r.labeledElementDeclarations&&r.labeledElementDeclarations.slice(t,i))}function yv(e){return Pv(re(Re(e.target.fixedLength,(e=>hC(""+e))),eb(e.target.readonly?nr:Zn)))}function vv(e,t){return e.elementFlags.length-b(e.elementFlags,(e=>!(e&t)))-1}function Cv(e){return e.fixedLength+vv(e,3)}function Ev(e){const t=pA(e),n=fA(e);return t.length===n?t:t.slice(0,n)}function xv(e){return e.id}function Sv(e,t){return Ee(e,t,xv,At)>=0}function kv(e,t){const n=Ee(e,t,xv,At);return n<0&&(e.splice(~n,0,t),!0)}function Dv(e,t,n){const r=n.flags;if(!(131072&r))if(t|=473694207&r,465829888&r&&(t|=33554432),2097152&r&&67108864&gb(n)&&(t|=536870912),n===wt&&(t|=8388608),Gc(n)&&(t|=1073741824),!z&&98304&r)65536&gb(n)||(t|=4194304);else{const t=e.length,r=t&&n.id>e[t-1].id?~t:Ee(e,n,xv,At);r<0&&e.splice(~r,0,n)}return t}function wv(e,t,n){let r;for(const i of n)i!==r&&(t=1048576&i.flags?wv(e,t|(Tv(i)?1048576:0),i.types):Dv(e,t,i),r=i);return t}function Iv(e,t){return 134217728&t.flags?hD(e,t):fD(e,t)}function Tv(e){return!!(1048576&e.flags&&(e.aliasSymbol||e.origin))}function Fv(e,t){for(const n of t)if(1048576&n.flags){const t=n.origin;n.aliasSymbol||t&&!(1048576&t.flags)?ae(e,n):t&&1048576&t.flags&&Fv(e,t.types)}}function Rv(e,t){const n=Ta(e);return n.types=t,n}function Pv(e,t=1,n,r,i){if(0===e.length)return dn;if(1===e.length)return e[0];if(2===e.length&&!i&&(1048576&e[0].flags||1048576&e[1].flags)){const i=0===t?"N":2===t?"S":"L",o=e[0].id=2&&s[0]===Ot&&s[1]===$t&&Mt(s,1),(402664352&a||16384&a&&32768&a)&&function(e,t,n){let r=e.length;for(;r>0;){r--;const i=e[r],o=i.flags;(402653312&o&&4&t||256&o&&8&t||2048&o&&64&t||8192&o&&4096&t||n&&32768&o&&16384&t||mC(i)&&Sv(e,i.regularType))&&Mt(e,r)}}(s,a,!!(2&t)),128&a&&402653184&a&&function(e){const t=S(e,bb);if(t.length){let n=e.length;for(;n>0;){n--;const r=e[n];128&r.flags&&J(t,(e=>Iv(r,e)))&&Mt(e,n)}}}(s),536870912&a&&function(e){const t=[];for(const n of e)if(2097152&n.flags&&67108864&gb(n)){const e=8650752&n.types[0].flags?0:1;ae(t,n.types[e])}for(const n of t){const t=[];for(const r of e)if(2097152&r.flags&&67108864&gb(r)){const e=8650752&r.types[0].flags?0:1;r.types[e]===n&&kv(t,r.types[1-e])}if(kI(p_(n),(e=>Sv(t,e)))){let r=e.length;for(;r>0;){r--;const i=e[r];if(2097152&i.flags&&67108864&gb(i)){const o=8650752&i.types[0].flags?0:1;i.types[o]===n&&Sv(t,i.types[1-o])&&Mt(e,r)}}kv(e,n)}}}(s),2===t&&(s=function(e,t){var n;if(e.length<2)return e;const i=rA(e),o=ft.get(i);if(o)return o;const s=t&&J(e,(e=>!!(524288&e.flags)&&!Ef(e)&&WE(Sf(e)))),a=e.length;let c=a,l=0;for(;c>0;){c--;const t=e[c];if(s||469499904&t.flags){if(262144&t.flags&&1048576&f_(t).flags){ix(t,Pv(w(e,(e=>e===t?dn:e))),ho)&&Mt(e,c);continue}const i=61603840&t.flags?A(Uf(t),(e=>GS(wu(e)))):void 0,o=i&&_C(wu(i));for(const s of e)if(t!==s){if(1e5===l&&l/(a-c)*a>1e6)return null==(n=Hn)||n.instant(Hn.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:e.map((e=>e.id))}),void Oo(r,us.Expression_produces_a_union_type_that_is_too_complex_to_represent);if(l++,i&&61603840&s.flags){const e=Jc(s,i.escapedName);if(e&&GS(e)&&_C(e)!==o)continue}if(ix(t,s,ho)&&(!(1&gb(qu(t)))||!(1&gb(qu(s)))||TE(t,s))){Mt(e,c);break}}}}return ft.set(i,e),e}(s,!!(524288&a)),!s))return Tt;if(0===s.length)return 65536&a?4194304&a?jt:Ut:32768&a?4194304&a?Ot:qt:dn}if(!o&&1048576&a){const t=[];Fv(t,e);const r=[];for(const e of s)J(t,(t=>Sv(t.types,e)))||r.push(e);if(!n&&1===t.length&&0===r.length)return t[0];if(Se(t,((e,t)=>e+t.types.length),0)+r.length===s.length){for(const e of t)kv(r,e);o=Rv(1048576,r)}}return Ov(s,(36323331&a?0:32768)|(2097152&a?16777216:0),n,i,o)}function Bv(e,t){return e.kind===t.kind&&e.parameterIndex===t.parameterIndex}function Ov(e,t,n,r,i){if(0===e.length)return dn;if(1===e.length)return e[0];const o=(i?1048576&i.flags?`|${rA(i.types)}`:2097152&i.flags?`&${rA(i.types)}`:`#${i.type.id}|${rA(e)}`:rA(e))+iA(n,r);let s=nt.get(o);return s||(s=Da(1048576),s.objectFlags=t|oA(e,98304),s.types=e,s.origin=i,s.aliasSymbol=n,s.aliasTypeArguments=r,2===e.length&&512&e[0].flags&&512&e[1].flags&&(s.flags|=16,s.intrinsicName="boolean"),nt.set(o,s)),s}function qv(e,t,n){const r=n.flags;return 2097152&r?$v(e,t,n.types):(YE(n)?16777216&t||(t|=16777216,e.set(n.id.toString(),n)):(3&r?(n===wt&&(t|=8388608),Gc(n)&&(t|=1073741824)):!z&&98304&r||(n===$t&&(t|=262144,n=Ot),e.has(n.id.toString())||(109472&n.flags&&109472&t&&(t|=67108864),e.set(n.id.toString(),n))),t|=473694207&r),t)}function $v(e,t,n){for(const r of n)t=qv(e,t,_C(r));return t}function Qv(e,t){for(const n of e)if(!Sv(n.types,t)){if(t===$t)return Sv(n.types,Ot);if(t===Ot)return Sv(n.types,$t);const e=128&t.flags?Jt:288&t.flags?Vt:2048&t.flags?Ht:8192&t.flags?cn:void 0;if(!e||!Sv(n.types,e))return!1}return!0}function Lv(e,t){for(let n=0;n!(e.flags&t)))}function Mv(e,t=0,n,r){const i=new Map,o=$v(i,0,e),s=Pe(i.values());let a=0;if(131072&o)return C(s,pn)?pn:dn;if(z&&98304&o&&84410368&o||67108864&o&&402783228&o||402653316&o&&67238776&o||296&o&&469891796&o||2112&o&&469889980&o||12288&o&&469879804&o||49152&o&&469842940&o)return dn;if(402653184&o&&128&o&&function(e){let t=e.length;const n=S(e,(e=>!!(128&e.flags)));for(;t>0;){t--;const r=e[t];if(402653184&r.flags)for(const i of n){if(DE(i,r)){Mt(e,t);break}if(bb(r))return!0}}return!1}(s))return dn;if(1&o)return 8388608&o?wt:1073741824&o?Tt:kt;if(!z&&98304&o)return 16777216&o?dn:32768&o?Ot:jt;if((4&o&&402653312&o||8&o&&256&o||64&o&&2048&o||4096&o&&8192&o||16384&o&&32768&o||16777216&o&&470302716&o)&&(1&t||function(e,t){let n=e.length;for(;n>0;){n--;const r=e[n];(4&r.flags&&402653312&t||8&r.flags&&256&t||64&r.flags&&2048&t||4096&r.flags&&8192&t||16384&r.flags&&32768&t||YE(r)&&470302716&t)&&Mt(e,n)}}(s,o)),262144&o&&(s[s.indexOf(Ot)]=$t),0===s.length)return Bt;if(1===s.length)return s[0];if(2===s.length&&!(2&t)){const e=8650752&s[0].flags?0:1,t=s[e],n=s[1-e];if(8650752&t.flags&&(469893116&n.flags&&!Cb(n)||16777216&o)){const e=p_(t);if(e&&kI(e,(e=>!!(469893116&e.flags)||YE(e)))){if(wE(e,n))return t;if(!(1048576&e.flags&&xI(e,(e=>wE(e,n)))||wE(n,e)))return dn;a=67108864}}}const c=rA(s)+(2&t?"*":iA(n,r));let l=it.get(c);if(!l){if(1048576&o)if(function(e){let t;const n=v(e,(e=>!!(32768&gb(e))));if(n<0)return!1;let r=n+1;for(;r!!(1048576&e.flags&&32768&e.types[0].flags)))){const e=J(s,Dk)?$t:Ot;Lv(s,32768),l=Pv([Mv(s,t),e],1,n,r)}else if(g(s,(e=>!!(1048576&e.flags&&(65536&e.types[0].flags||65536&e.types[1].flags)))))Lv(s,65536),l=Pv([Mv(s,t),jt],1,n,r);else if(s.length>=3&&e.length>2){const e=Math.floor(s.length/2);l=Mv([Mv(s.slice(0,e),t),Mv(s.slice(e),t)],t,n,r)}else{if(!Uv(s))return Tt;const e=function(e,t){const n=jv(e),r=[];for(let i=0;i=0;t--)if(1048576&e[t].flags){const r=e[t].types,i=r.length;n[t]=r[o%i],o=Math.floor(o/i)}const s=Mv(n,t);131072&s.flags||r.push(s)}return r}(s,t);l=Pv(e,1,n,r,J(e,(e=>!!(2097152&e.flags)))&&Vv(e)>Vv(s)?Rv(2097152,s):void 0)}else l=function(e,t,n,r){const i=Da(2097152);return i.objectFlags=t|oA(e,98304),i.types=e,i.aliasSymbol=n,i.aliasTypeArguments=r,i}(s,a,n,r);it.set(c,l)}return l}function jv(e){return Se(e,((e,t)=>1048576&t.flags?e*t.types.length:131072&t.flags?0:e),1)}function Uv(e){var t;const n=jv(e);return!(n>=1e5)||(null==(t=Hn)||t.instant(Hn.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:e.map((e=>e.id)),size:n}),Oo(r,us.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1)}function Jv(e){return 3145728&e.flags&&!e.aliasSymbol?1048576&e.flags&&e.origin?Jv(e.origin):Vv(e.types):1}function Vv(e){return Se(e,((e,t)=>e+Jv(t)),0)}function Hv(e,t){const n=Da(4194304);return n.type=e,n.indexFlags=t,n}function Gv(e,t){return 1&t?e.resolvedStringIndexType||(e.resolvedStringIndexType=Hv(e,1)):e.resolvedIndexType||(e.resolvedIndexType=Hv(e,0))}function Wv(e,t){const n=nf(e),r=rf(e),i=of(e.target||e);if(!(i||2&t))return r;const o=[];if(wb(r)){if(Af(e))return Gv(e,t);EI(r,a)}else if(Af(e)){Zp(C_(yf(e)),8576,!!(1&t),a)}else EI(Yp(r),a);const s=2&t?II(Pv(o),(e=>!(5&e.flags))):Pv(o);return 1048576&s.flags&&1048576&r.flags&&rA(s.types)===rA(r.types)?r:s;function a(t){const r=i?_E(i,nE(e.mapper,n,t)):t;o.push(r===Jt?hn:r)}}function zv(e){if(JD(e))return dn;if(xD(e))return _C(Tq(e));if(ow(e))return _C(XR(e));const t=Lg(e);return void 0!==t?hC(mc(t)):Ju(e)?_C(Tq(e)):dn}function Yv(e,t,n){if(n||!(6&ob(e))){let n=is(hp(e)).nameType;if(!n){const t=Sc(e.valueDeclaration);n="default"===e.escapedName?hC("default"):t&&zv(t)||(Vg(e)?void 0:hC(Ac(e)))}if(n&&n.flags&t)return n}return dn}function Kv(e,t){return!!(e.flags&t||2097152&e.flags&&J(e.types,(e=>Kv(e,t))))}function Xv(e,t,n){const r=n&&(7&gb(e)||e.aliasSymbol)?function(e){const t=Ta(4194304);return t.type=e,t}(e):void 0,i=w(Uf(e),(e=>Yv(e,t))),o=w(Qm(e),(e=>e!==di&&Kv(e.keyType,t)?e.keyType===Jt&&8&t?hn:e.keyType:dn));return Pv(H(i,o),1,void 0,void 0,r)}function Zv(e,t=0){return!!(58982400&e.flags||sk(e)||Ef(e)&&(!function(e){const t=nf(e);return function e(n){return!!(470810623&n.flags)||(16777216&n.flags?n.root.isDistributive&&n.checkType===t:137363456&n.flags?g(n.types,e):8388608&n.flags?e(n.objectType)&&e(n.indexType):33554432&n.flags?e(n.baseType)&&e(n.constraint):!!(268435456&n.flags)&&e(n.type))}(of(e)||t)}(e)||2===xf(e))||1048576&e.flags&&!(4&t)&&H_(e)||2097152&e.flags&&JO(e,465829888)&&J(e.types,YE))}function eb(e,t=0){return xA(e=$_(e))?CA(eb(e.baseType,t)):Zv(e,t)?Gv(e,t):1048576&e.flags?Mv(w(e.types,(e=>eb(e,t)))):2097152&e.flags?Pv(w(e.types,(e=>eb(e,t)))):32&gb(e)?Wv(e,t):e===wt?wt:2&e.flags?dn:131073&e.flags?gn:Xv(e,(2&t?128:402653316)|(1&t?0:12584),0===t)}function tb(e){const t=(Mr||(Mr=JA("Extract",2,!0)||bt),Mr===bt?void 0:Mr);return t?mA(t,[e,Jt]):Jt}function nb(e,t){const n=v(t,(e=>!!(1179648&e.flags)));if(n>=0)return Uv(t)?qI(t[n],(r=>nb(e,Ce(t,n,r)))):Tt;if(C(t,wt))return wt;const r=[],i=[];let o=e[0];if(!function e(t,n){for(let s=0;s""===e))){if(g(r,(e=>!!(4&e.flags))))return Jt;if(1===r.length&&bb(r[0]))return r[0]}const s=`${rA(r)}|${w(i,(e=>e.length)).join(",")}|${i.join("")}`;let a=ut.get(s);return a||ut.set(s,a=function(e,t){const n=Da(134217728);return n.texts=e,n.types=t,n}(i,r)),a}function rb(e){return 128&e.flags?e.value:256&e.flags?""+e.value:2048&e.flags?hx(e.value):98816&e.flags?e.intrinsicName:void 0}function sb(e,t){return 1179648&t.flags?qI(t,(t=>sb(e,t))):128&t.flags?hC(ub(e,t.value)):134217728&t.flags?nb(...function(e,t,n){switch(MQ.get(e.escapedName)){case 0:return[t.map((e=>e.toUpperCase())),n.map((t=>sb(e,t)))];case 1:return[t.map((e=>e.toLowerCase())),n.map((t=>sb(e,t)))];case 2:return[""===t[0]?t:[t[0].charAt(0).toUpperCase()+t[0].slice(1),...t.slice(1)],""===t[0]?[sb(e,n[0]),...n.slice(1)]:n];case 3:return[""===t[0]?t:[t[0].charAt(0).toLowerCase()+t[0].slice(1),...t.slice(1)],""===t[0]?[sb(e,n[0]),...n.slice(1)]:n]}return[t,n]}(e,t.texts,t.types)):268435456&t.flags&&e===t.symbol?t:268435461&t.flags||wb(t)?db(e,t):vb(t)?db(e,nb(["",""],[t])):t}function ub(e,t){switch(MQ.get(e.escapedName)){case 0:return t.toUpperCase();case 1:return t.toLowerCase();case 2:return t.charAt(0).toUpperCase()+t.slice(1);case 3:return t.charAt(0).toLowerCase()+t.slice(1)}return t}function db(e,t){const n=`${VQ(e)},${xv(t)}`;let r=dt.get(n);return r||dt.set(n,r=function(e,t){const n=wa(268435456,e);return n.type=t,n}(e,t)),r}function pb(e){if(ie)return!1;if(4096&gb(e))return!0;if(1048576&e.flags)return g(e.types,pb);if(2097152&e.flags)return J(e.types,pb);if(465829888&e.flags){const t=m_(e);return t!==e&&pb(t)}return!1}function fb(e,t){return aS(e)?cS(e):t&&tu(t)?Lg(t):void 0}function _b(e,t){if(8208&t.flags){const n=dc(e.parent,(e=>!xb(e)))||e.parent;return Bu(n)?Ou(n)&&UD(e)&&GD(n,e):g(t.declarations,(e=>!ru(e)||Uo(e)))}return!0}function mb(e,t,n,r,i,o){const s=i&&212===i.kind?i:void 0,a=i&&JD(i)?void 0:fb(n,i);if(void 0!==a){if(256&o)return gR(t,a)||kt;const e=z_(t,a);if(e){if(64&o&&i&&e.declarations&&jo(e)&&_b(i,e)){Jo((null==s?void 0:s.argumentExpression)??($w(i)?i.indexType:i),e.declarations,a)}if(s){if(vN(e,s,bN(s.expression,t.symbol)),$O(s,e,Yh(s)))return void Oo(s.argumentExpression,us.Cannot_assign_to_0_because_it_is_a_read_only_property,oc(e));if(8&o&&(ss(i).resolvedSymbol=e),oN(s,e))return Dt}const n=4&o?Du(e):wu(e);return s&&1!==Yh(s)?NT(s,n):i&&$w(i)&&Dk(n)?Pv([n,Ot]):n}if(kI(t,ok)&&Lx(a)){const e=+a;if(i&&kI(t,(e=>!(12&e.target.combinedFlags)))&&!(16&o)){const n=yb(i);if(ok(t)){if(e<0)return Oo(n,us.A_tuple_type_cannot_be_indexed_with_a_negative_value),Ot;Oo(n,us.Tuple_type_0_of_length_1_has_no_element_at_index_2,cc(t),fA(t),mc(a))}else Oo(n,us.Property_0_does_not_exist_on_type_1,mc(a),cc(t))}if(e>=0)return c(Lm(t,Vt)),lk(t,e,1&o?$t:void 0)}}if(!(98304&n.flags)&&VO(n,402665900)){if(131073&t.flags)return t;const l=rh(t,n)||Lm(t,Jt);if(l){if(2&o&&l.keyType!==Vt)return void(s&&(4&o?Oo(s,us.Type_0_is_generic_and_can_only_be_indexed_for_reading,cc(e)):Oo(s,us.Type_0_cannot_be_used_to_index_type_1,cc(n),cc(e))));if(i&&l.keyType===Jt&&!VO(n,12)){return Oo(yb(i),us.Type_0_cannot_be_used_as_an_index_type,cc(n)),1&o?Pv([l.type,$t]):l.type}return c(l),1&o&&!(t.symbol&&384&t.symbol.flags&&n.symbol&&1024&n.flags&&Aa(n.symbol)===t.symbol)?Pv([l.type,$t]):l.type}if(131072&n.flags)return dn;if(pb(t))return kt;if(s&&!GO(t)){if(bD(t)){if(ie&&384&n.flags)return po.add($f(s,us.Property_0_does_not_exist_on_type_1,n.value,cc(t))),Ot;if(12&n.flags){return Pv(re(w(t.properties,(e=>wu(e))),Ot))}}if(t.symbol===Ie&&void 0!==a&&Ie.exports.has(a)&&418&Ie.exports.get(a).flags)Oo(s,us.Property_0_does_not_exist_on_type_1,mc(a),cc(t));else if(ie&&!(128&o))if(void 0!==a&&pN(a,t)){const e=cc(t);Oo(s,us.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,a,e,e+"["+zp(s.argumentExpression)+"]")}else if(jm(t,Vt))Oo(s.argumentExpression,us.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let e;if(void 0!==a&&(e=hN(a,t)))void 0!==e&&Oo(s.argumentExpression,us.Property_0_does_not_exist_on_type_1_Did_you_mean_2,a,cc(t),e);else{const e=function(e,t,n){function r(t){const r=Bf(e,t);if(r){const e=QN(wu(r));return!!e&&nO(e)>=1&&IE(n,KB(e,0))}return!1}const i=Kh(t)?"set":"get";if(!r(i))return;let o=dv(t.expression);void 0===o?o=i:o+="."+i;return o}(t,s,n);if(void 0!==e)Oo(s,us.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,cc(t),e);else{let e;if(1024&n.flags)e=eC(void 0,us.Property_0_does_not_exist_on_type_1,"["+cc(n)+"]",cc(t));else if(8192&n.flags){const r=Ws(n.symbol,s);e=eC(void 0,us.Property_0_does_not_exist_on_type_1,"["+r+"]",cc(t))}else 128&n.flags||256&n.flags?e=eC(void 0,us.Property_0_does_not_exist_on_type_1,n.value,cc(t)):12&n.flags&&(e=eC(void 0,us.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,cc(n),cc(t)));e=eC(e,us.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,cc(r),cc(t)),po.add(Mf(Ap(s),s,e))}}}return}}if(16&o&&bD(t))return Ot;if(pb(t))return kt;if(i){const e=yb(i);if(10!==e.kind&&384&n.flags)Oo(e,us.Property_0_does_not_exist_on_type_1,""+n.value,cc(t));else if(12&n.flags)Oo(e,us.Type_0_has_no_matching_index_signature_for_type_1,cc(t),cc(n));else{const t=10===e.kind?"bigint":cc(n);Oo(e,us.Type_0_cannot_be_used_as_an_index_type,t)}}return Hc(n)?n:void 0;function c(e){e&&e.isReadonly&&s&&(Kh(s)||ag(s))&&Oo(s,us.Index_signature_in_type_0_only_permits_reading,cc(t))}}function yb(e){return 212===e.kind?e.argumentExpression:199===e.kind?e.indexType:167===e.kind?e.expression:e}function vb(e){if(2097152&e.flags){let t=!1;for(const n of e.types)if(101248&n.flags||vb(n))t=!0;else if(!(524288&n.flags))return!1;return t}return!!(77&e.flags)||bb(e)}function bb(e){return!!(134217728&e.flags)&&g(e.types,vb)||!!(268435456&e.flags)&&vb(e.type)}function Cb(e){return!!(402653184&e.flags)&&!bb(e)}function Sb(e){return!!Ib(e)}function kb(e){return!!(4194304&Ib(e))}function wb(e){return!!(8388608&Ib(e))}function Ib(e){return 3145728&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|Se(e.types,((e,t)=>e|Ib(t)),0)),12582912&e.objectFlags):33554432&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|Ib(e.baseType)|Ib(e.constraint)),12582912&e.objectFlags):(58982400&e.flags||Ef(e)||sk(e)?4194304:0)|(63176704&e.flags||Cb(e)?8388608:0)}function Tb(e,t){return 8388608&e.flags?function(e,t){const n=t?"simplifiedForWriting":"simplifiedForReading";if(e[n])return e[n]===qn?e:e[n];e[n]=qn;const r=Tb(e.objectType,t),i=Tb(e.indexType,t),o=function(e,t,n){if(1048576&t.flags){const r=w(t.types,(t=>Tb(Nb(e,t),n)));return n?Mv(r):Pv(r)}}(r,i,t);if(o)return e[n]=o;if(!(465829888&i.flags)){const o=Fb(r,i,t);if(o)return e[n]=o}if(sk(r)&&296&i.flags){const o=uk(r,8&i.flags?0:r.target.fixedLength,0,t);if(o)return e[n]=o}if(Ef(r)&&2!==xf(r))return e[n]=qI(Pb(r,e.indexType),(e=>Tb(e,t)));return e[n]=e}(e,t):16777216&e.flags?function(e,t){const n=e.checkType,r=e.extendsType,i=Jb(e),o=Vb(e);if(131072&o.flags&&Lb(i)===Lb(n)){if(1&n.flags||IE(gE(n),gE(r)))return Tb(i,t);if(Rb(n,r))return dn}else if(131072&i.flags&&Lb(o)===Lb(n)){if(!(1&n.flags)&&IE(gE(n),gE(r)))return dn;if(1&n.flags||Rb(n,r))return Tb(o,t)}return e}(e,t):e}function Fb(e,t,n){if(1048576&e.flags||2097152&e.flags&&!Zv(e)){const r=w(e.types,(e=>Tb(Nb(e,t),n)));return 2097152&e.flags||n?Mv(r):Pv(r)}}function Rb(e,t){return!!(131072&Pv([qp(e,t),dn]).flags)}function Pb(e,t){const n=JC([nf(e)],[t]),r=eE(e.mapper,n),i=_E(uf(e.target||e),r),o=bf(e)>0||(Sb(e)?Cf(yf(e))>0:function(e,t){const n=p_(t);return!!n&&J(Uf(e),(e=>!!(16777216&e.flags)&&IE(Yv(e,8576),n)))}(e,t));return El(i,!0,o)}function Nb(e,t,n=0,r,i,o){return Ob(e,t,n,r,i,o)||(r?Tt:Bt)}function Bb(e,t){return kI(e,(e=>{if(384&e.flags){const n=cS(e);if(Lx(n)){const e=+n;return e>=0&&e0&&!J(e.elements,(e=>Iw(e)||Tw(e)||ww(e)&&!(!e.questionToken&&!e.dotDotDotToken)))}function jb(e,t){return Sb(e)||t&&ok(e)&&J(Ev(e),Sb)}function Ub(e,t,n,i,o){let s,a,c=0;for(;;){if(1e3===c)return Oo(r,us.Type_instantiation_is_excessively_deep_and_possibly_infinite),Tt;const d=_E(Lb(e.checkType),t),p=_E(e.extendsType,t);if(d===Tt||p===Tt)return Tt;if(d===wt||p===wt)return wt;const f=og(e.node.checkType),_=og(e.node.extendsType),m=Mb(f)&&Mb(_)&&l(f.elements)===l(_.elements),h=jb(d,m);let g;if(e.inferTypeParameters){const n=Gk(e.inferTypeParameters,void 0,0);t&&(n.nonFixingMapper=eE(n.nonFixingMapper,t)),h||AD(n.inferences,d,p,1536),g=t?eE(n.mapper,t):n.mapper}const A=g?_E(e.extendsType,g):p;if(!h&&!jb(A,m)){if(!(3&A.flags)&&(1&d.flags||!IE(hE(d),hE(A)))){(1&d.flags||n&&!(131072&A.flags)&&xI(hE(A),(e=>IE(e,hE(d)))))&&(a||(a=[])).push(_E(PC(e.node.trueType),g||t));const r=PC(e.node.falseType);if(16777216&r.flags){const n=r.root;if(n.node.parent===e.node&&(!n.isDistributive||n.checkType===e.checkType)){e=n;continue}if(u(r,t))continue}s=_E(r,t);break}if(3&A.flags||IE(gE(d),gE(A))){const n=PC(e.node.trueType),r=g||t;if(u(n,r))continue;s=_E(n,r);break}}s=Da(16777216),s.root=e,s.checkType=_E(e.checkType,t),s.extendsType=_E(e.extendsType,t),s.mapper=t,s.combinedMapper=g,s.aliasSymbol=i||e.aliasSymbol,s.aliasTypeArguments=i?o:QC(e.aliasTypeArguments,t);break}return a?Pv(re(a,s)):s;function u(n,r){if(16777216&n.flags&&r){const s=n.root;if(s.outerTypeParameters){const a=eE(n.mapper,r),l=w(s.outerTypeParameters,(e=>VC(e,a))),u=JC(s.outerTypeParameters,l),d=s.isDistributive?VC(s.checkType,u):void 0;if(!(d&&d!==s.checkType&&1179648&d.flags))return e=s,t=u,i=void 0,o=void 0,s.aliasSymbol&&c++,!0}}return!1}}function Jb(e){return e.resolvedTrueType||(e.resolvedTrueType=_E(PC(e.root.node.trueType),e.mapper))}function Vb(e){return e.resolvedFalseType||(e.resolvedFalseType=_E(PC(e.root.node.falseType),e.mapper))}function Gb(e){let t;return e.locals&&e.locals.forEach((e=>{262144&e.flags&&(t=re(t,Cd(e)))})),t}function Wb(e){return UD(e)?[e]:re(Wb(e.left),e.right)}function zb(e){var t;const n=ss(e);if(!n.resolvedType){if(!d_(e))return Oo(e.argument,us.String_literal_expected),n.resolvedSymbol=bt,n.resolvedType=Tt;const r=e.isTypeOf?111551:16777216&e.flags?900095:788968,i=Xs(e,e.argument.literal);if(!i)return n.resolvedSymbol=bt,n.resolvedType=Tt;const o=!!(null==(t=i.exports)?void 0:t.get("export=")),s=na(i,!1);if(kp(e.qualifier))if(s.flags&r)n.resolvedType=Zb(e,n,s,r);else{Oo(e,111551===r?us.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:us.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0,e.argument.literal.text),n.resolvedSymbol=bt,n.resolvedType=Tt}else{const t=Wb(e.qualifier);let i,a=s;for(;i=t.shift();){const s=t.length?1920:r,c=fa(Qs(a)),l=e.isTypeOf||Tm(e)&&o?z_(wu(c),i.escapedText,!1,!0):void 0,u=(e.isTypeOf?void 0:as(la(c),i.escapedText,s))??l;if(!u)return Oo(i,us.Namespace_0_has_no_exported_member_1,Ws(a),Rf(i)),n.resolvedType=Tt;ss(i).resolvedSymbol=u,ss(i.parent).resolvedSymbol=u,a=u}n.resolvedType=Zb(e,n,a,r)}}return n.resolvedType}function Zb(e,t,n,r){const i=Qs(n);return t.resolvedSymbol=i,111551===r?QB(wu(n),e):vA(e,i)}function nC(e){const t=ss(e);if(!t.resolvedType){const n=iC(e);if(!e.symbol||0===mp(e.symbol).size&&!n)t.resolvedType=Fn;else{let r=Na(16,e.symbol);r.aliasSymbol=n,r.aliasTypeArguments=oC(n),aF(e)&&e.isArrayType&&(r=Qy(r)),t.resolvedType=r}}return t.resolvedType}function iC(e){let t=e.parent;for(;Bw(t)||HT(t)||qw(t)&&148===t.operator;)t=t.parent;return Ih(t)?_a(t):void 0}function oC(e){return e?Uu(e):void 0}function sC(e){return!!(524288&e.flags)&&!Ef(e)}function aC(e){return zE(e)||!!(474058748&e.flags)}function cC(e,t){if(!(1048576&e.flags))return e;if(g(e.types,aC))return A(e.types,zE)||Dn;const n=A(e.types,(e=>!aC(e)));if(!n)return e;return A(e.types,(e=>e!==n&&!aC(e)))?e:function(e){const n=Wd();for(const r of Uf(e))if(6&ob(r));else if(uC(r)){const e=65536&r.flags&&!(32768&r.flags),i=Vo(16777220,r.escapedName,Xp(r)|(t?8:0));i.links.type=e?Ot:El(wu(r),!0),i.declarations=r.declarations,i.links.nameType=is(r).nameType,i.links.syntheticOrigin=r,n.set(r.escapedName,i)}const r=La(e.symbol,n,a,a,Qm(e));return r.objectFlags|=131200,r}(n)}function lC(e,t,n,r,i){if(1&e.flags||1&t.flags)return kt;if(2&e.flags||2&t.flags)return Bt;if(131072&e.flags)return t;if(131072&t.flags)return e;if(1048576&(e=cC(e,i)).flags)return Uv([e,t])?qI(e,(e=>lC(e,t,n,r,i))):Tt;if(1048576&(t=cC(t,i)).flags)return Uv([e,t])?qI(t,(t=>lC(e,t,n,r,i))):Tt;if(473960444&t.flags)return e;if(kb(e)||kb(t)){if(zE(e))return t;if(2097152&e.flags){const o=e.types,s=o[o.length-1];if(sC(s)&&sC(t))return Mv(H(o.slice(0,o.length-1),[lC(s,t,n,r,i)]))}return Mv([e,t])}const o=Wd(),s=new Set,c=e===Dn?Qm(t):Op([e,t]);for(const e of Uf(t))6&ob(e)?s.add(e.escapedName):uC(e)&&o.set(e.escapedName,dC(e,i));for(const t of Uf(e))if(!s.has(t.escapedName)&&uC(t))if(o.has(t.escapedName)){const e=o.get(t.escapedName),n=wu(e);if(16777216&e.flags){const r=H(t.declarations,e.declarations),i=Vo(4|16777216&t.flags,t.escapedName),s=wu(t),a=wk(s),c=wk(n);i.links.type=a===c?s:Pv([s,c],2),i.links.leftSpread=t,i.links.rightSpread=e,i.declarations=r,i.links.nameType=is(t).nameType,o.set(t.escapedName,i)}}else o.set(t.escapedName,dC(t,i));const l=La(n,o,a,a,T(c,(e=>function(e,t){return e.isReadonly!==t?Pg(e.keyType,e.type,t,e.declaration):e}(e,i))));return l.objectFlags|=2228352|r,l}function uC(e){var t;return!(J(e.declarations,Wl)||106496&e.flags&&(null==(t=e.declarations)?void 0:t.some((e=>du(e.parent)))))}function dC(e,t){const n=65536&e.flags&&!(32768&e.flags);if(!n&&t===qO(e))return e;const r=Vo(4|16777216&e.flags,e.escapedName,Xp(e)|(t?8:0));return r.links.type=n?Ot:wu(e),r.declarations=e.declarations,r.links.nameType=is(e).nameType,r.links.syntheticOrigin=e,r}function pC(e,t,n,r){const i=wa(e,n);return i.value=t,i.regularType=r||i,i}function fC(e){if(2976&e.flags){if(!e.freshType){const t=pC(e.flags,e.value,e.symbol,e);t.freshType=t,e.freshType=t}return e.freshType}return e}function _C(e){return 2976&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=qI(e,_C)):e}function mC(e){return!!(2976&e.flags)&&e.freshType===e}function hC(e){let t;return ot.get(e)||(ot.set(e,t=pC(128,e)),t)}function gC(e){let t;return st.get(e)||(st.set(e,t=pC(256,e)),t)}function AC(e){let t;const n=hx(e);return at.get(n)||(at.set(n,t=pC(2048,e)),t)}function CC(e,t,n){let r;const i=`${t}${"string"==typeof e?"@":"#"}${e}`,o=1024|("string"==typeof e?128:256);return ct.get(i)||(ct.set(i,r=pC(o,e,n)),r)}function kC(e){if(Tm(e)&&HT(e)){const t=Jh(e);t&&(e=Rh(t)||t)}if(B_(e)){const t=N_(e)?ga(e.left):ga(e);if(t){const e=is(t);return e.uniqueESSymbolType||(e.uniqueESSymbolType=function(e){const t=wa(8192,e);return t.escapedName=`__@${t.symbol.escapedName}@${VQ(t.symbol)}`,t}(t))}}return cn}function DC(e){const t=ss(e);return t.resolvedType||(t.resolvedType=function(e){const t=em(e,!1,!1),n=t&&t.parent;if(n&&(du(n)||264===n.kind)&&!Iy(t)&&(!_w(t)||cg(e,t.body)))return dd(_a(n)).thisType;if(n&&Ww(n)&&uI(n.parent)&&6===th(n.parent))return dd(ga(n.parent.left).parent).thisType;const r=16777216&e.flags?jh(e):void 0;return r&&nI(r)&&uI(r.parent)&&3===th(r.parent)?dd(ga(r.parent.left).parent).thisType:CB(t)&&cg(e,t.body)?dd(_a(t)).thisType:(Oo(e,us.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Tt)}(e)),t.resolvedType}function FC(e){return PC(RC(e.type)||e.type)}function RC(e){switch(e.kind){case 196:return RC(e.type);case 189:if(1===e.elements.length&&(191===(e=e.elements[0]).kind||202===e.kind&&e.dotDotDotToken))return RC(e.type);break;case 188:return e.elementType}}function PC(e){return function(e,t){let n,r=!0;for(;t&&!fd(t)&&320!==t.kind;){const i=t.parent;if(169===i.kind&&(r=!r),(r||8650752&e.flags)&&194===i.kind&&t===i.trueType){const t=FA(e,i.checkType,i.extendsType);t&&(n=re(n,t))}else if(262144&e.flags&&200===i.kind&&!i.nameType&&t===i.type){const t=PC(i);if(nf(t)===Lb(e)){const e=lE(t);if(e){const t=Gf(e);t&&kI(t,BS)&&(n=re(n,Pv([Vt,vn])))}}}t=i}return n?SA(e,Mv(n)):e}(qC(e),e)}function qC(e){switch(e.kind){case 133:case 312:case 313:return kt;case 159:return Bt;case 154:return Jt;case 150:return Vt;case 163:return Ht;case 136:return an;case 155:return cn;case 116:return ln;case 157:return Ot;case 106:return jt;case 146:return dn;case 151:return 524288&e.flags&&!ie?kt:mn;case 141:return Pt;case 197:case 110:return DC(e);case 201:return function(e){if(106===e.literal.kind)return jt;const t=ss(e);return t.resolvedType||(t.resolvedType=_C(Tq(e.literal))),t.resolvedType}(e);case 183:case 233:return $A(e);case 182:return e.assertsModifier?ln:an;case 186:return LA(e);case 188:case 189:return function(e){const t=ss(e);if(!t.resolvedType){const n=Uy(e);if(n===Nn)t.resolvedType=Dn;else if(189===e.kind&&J(e.elements,(e=>!!(8&My(e))))||!Vy(e)){const r=188===e.kind?[PC(e.elementType)]:w(e.elements,PC);t.resolvedType=nv(n,r)}else t.resolvedType=189===e.kind&&0===e.elements.length?n:dA(n,e,void 0)}return t.resolvedType}(e);case 190:return function(e){return El(PC(e.type),!0)}(e);case 192:return function(e){const t=ss(e);if(!t.resolvedType){const n=iC(e);t.resolvedType=Pv(w(e.types,PC),1,n,oC(n))}return t.resolvedType}(e);case 193:return function(e){const t=ss(e);if(!t.resolvedType){const n=iC(e),r=w(e.types,PC),i=2===r.length?r.indexOf(Fn):-1,o=i>=0?r[1-i]:Bt,s=!!(76&o.flags||134217728&o.flags&&bb(o));t.resolvedType=Mv(r,s?1:0,n,oC(n))}return t.resolvedType}(e);case 314:return function(e){const t=PC(e.type);return z?hk(t,65536):t}(e);case 316:return El(PC(e.type));case 202:return function(e){const t=ss(e);return t.resolvedType||(t.resolvedType=e.dotDotDotToken?FC(e):El(PC(e.type),!0,!!e.questionToken))}(e);case 196:case 315:case 309:return PC(e.type);case 191:return FC(e);case 318:return function(e){const t=PC(e.type),{parent:n}=e,r=e.parent.parent;if(HT(e.parent)&&CF(r)){const e=jh(r),n=pF(r.parent.parent);if(e||n){const i=ge(n?r.parent.parent.typeExpression.parameters:e.parameters),o=Qh(r);if(!i||o&&i.symbol===o&&Qd(i))return Qy(t)}}if(aw(n)&&rF(n.parent))return Qy(t);return El(t)}(e);case 184:case 185:case 187:case 322:case 317:case 323:return nC(e);case 198:return function(e){const t=ss(e);if(!t.resolvedType)switch(e.operator){case 143:t.resolvedType=eb(PC(e.type));break;case 158:t.resolvedType=155===e.type.kind?kC(ng(e.parent)):Tt;break;case 148:t.resolvedType=PC(e.type);break;default:un.assertNever(e.operator)}return t.resolvedType}(e);case 199:return qb(e);case 200:return Qb(e);case 194:return function(e){const t=ss(e);if(!t.resolvedType){const n=PC(e.checkType),r=iC(e),i=oC(r),o=Mu(e,!0),s=i?o:S(o,(t=>cE(t,e))),a={node:e,checkType:n,extendsType:PC(e.extendsType),isDistributive:!!(262144&n.flags),inferTypeParameters:Gb(e),outerTypeParameters:s,instantiations:void 0,aliasSymbol:r,aliasTypeArguments:i};t.resolvedType=Ub(a,void 0,!1),s&&(a.instantiations=new Map,a.instantiations.set(rA(s),t.resolvedType))}return t.resolvedType}(e);case 195:return function(e){const t=ss(e);return t.resolvedType||(t.resolvedType=yd(_a(e.typeParameter))),t.resolvedType}(e);case 203:return function(e){const t=ss(e);return t.resolvedType||(t.resolvedType=nb([e.head.text,...w(e.templateSpans,(e=>e.literal.text))],w(e.templateSpans,(e=>PC(e.type))))),t.resolvedType}(e);case 205:return zb(e);case 80:case 166:case 211:const t=dM(e);return t?Cd(t):Tt;default:return Tt}}function $C(e,t,n){if(e&&e.length)for(let r=0;rJ(n,(t=>cE(e,t))))):c,o.outerTypeParameters=c}if(c.length){const i=eE(e.mapper,t),o=w(c,(e=>VC(e,i))),a=n||e.aliasSymbol,l=n?r:QC(e.aliasTypeArguments,t),u=(134217728&e.objectFlags?"S":"")+rA(o)+iA(a,l);s.instantiations||(s.instantiations=new Map,s.instantiations.set(rA(c)+iA(s.aliasSymbol,s.aliasTypeArguments),s));let d=s.instantiations.get(u);if(!d){if(134217728&e.objectFlags)return d=pE(e,t),s.instantiations.set(u,d),d;const n=JC(c,o);d=4&s.objectFlags?dA(e.target,e.node,n,a,l):32&s.objectFlags?function(e,t,n,r){const i=lE(e);if(i){const e=_E(i,t);if(i!==e)return $I($_(e),o,n,r)}return _E(rf(e),t)===wt?wt:pE(e,t,n,r);function o(n){if(61603843&n.flags&&n!==wt&&!Gc(n)){if(!e.declaration.nameType){let r;if(PS(n)||1&n.flags&&Lc(i,4)<0&&(r=Gf(i))&&kI(r,BS))return function(e,t,n){const r=dE(t,Vt,!0,n);return Gc(r)?Tt:Qy(r,uE(NS(e),vf(t)))}(n,e,tE(i,n,t));if(ok(n))return function(e,t,n,r){const i=e.target.elementFlags,o=e.target.fixedLength,s=o?tE(n,e,r):r,a=w(Ev(e),((e,a)=>{const c=i[a];return a1&e?2:e)):8&c?w(i,(e=>2&e?1:e)):i,u=uE(e.target.readonly,vf(t));return C(a,Tt)?Tt:Ky(a,l,u,e.target.labeledElementDeclarations)}(n,e,i,t);if(v_(n))return Mv(w(n.types,o))}return pE(e,tE(i,n,t))}return n}}(s,n,a,l):pE(s,n,a,l),s.instantiations.set(u,d);const r=gb(d);if(3899393&d.flags&&!(524288&r)){const e=J(o,eD);524288&gb(d)||(d.objectFlags|=52&r?524288|(e?1048576:0):e?0:524288)}}return d}return e}function cE(e,t){if(e.symbol&&e.symbol.declarations&&1===e.symbol.declarations.length){const r=e.symbol.declarations[0].parent;for(let e=t;e!==r;e=e.parent)if(!e||241===e.kind||194===e.kind&&OP(e.extendsType,n))return!0;return n(t)}return!0;function n(t){switch(t.kind){case 197:return!!e.isThisType;case 80:return!e.isThisType&&S_(t)&&function(e){return!(183===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||205===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(t)&&qC(t)===e;case 186:const r=cv(t.exprName);if(!ly(r)){const i=FD(r),o=e.symbol.declarations[0],s=168===o.kind?o.parent:e.isThisType?o:void 0;if(i.declarations&&s)return J(i.declarations,(e=>cg(e,s)))||J(t.typeArguments,n)}return!0;case 174:case 173:return!t.type&&!!t.body||J(t.typeParameters,n)||J(t.parameters,n)||!!t.type&&n(t.type)}return!!OP(t,n)}}function lE(e){const t=rf(e);if(4194304&t.flags){const e=Lb(t.type);if(262144&e.flags)return e}}function uE(e,t){return!!(1&t)||!(2&t)&&e}function dE(e,t,n,r){const i=nE(r,nf(e),t),o=_E(uf(e.target||e),i),s=vf(e);return z&&4&s&&!JO(o,49152)?yk(o,!0):z&&8&s&&n?ew(o,524288):o}function pE(e,t,n,r){un.assert(e.symbol,"anonymous type must have symbol to be instantiated");const i=Na(-1572865&e.objectFlags|64,e.symbol);if(32&e.objectFlags){i.declaration=e.declaration;const n=nf(e),r=rE(n);i.typeParameter=r,t=eE(HC(n,r),t),r.mapper=t}return 8388608&e.objectFlags&&(i.node=e.node),134217728&e.objectFlags&&(i.outerTypeParameters=e.outerTypeParameters),i.target=e,i.mapper=t,i.aliasSymbol=n||e.aliasSymbol,i.aliasTypeArguments=n?r:QC(e.aliasTypeArguments,t),i.objectFlags|=i.aliasTypeArguments?oA(i.aliasTypeArguments):0,i}function fE(e,t,n,r,i){const o=e.root;if(o.outerTypeParameters){const e=w(o.outerTypeParameters,(e=>VC(e,t))),s=(n?"C":"")+rA(e)+iA(r,i);let a=o.instantiations.get(s);if(!a){const t=JC(o.outerTypeParameters,e),c=o.checkType,l=o.isDistributive?$_(VC(c,t)):void 0;a=l&&c!==l&&1179648&l.flags?$I(l,(e=>Ub(o,tE(c,e,t),n)),r,i):Ub(o,t,n,r,i),o.instantiations.set(s,a)}return a}return e}function _E(e,t){return e&&t?mE(e,t,void 0,void 0):e}function mE(e,t,n,i){var o;if(!eD(e))return e;if(100===k||E>=5e6)return null==(o=Hn)||o.instant(Hn.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:e.id,instantiationDepth:k,instantiationCount:E}),Oo(r,us.Type_instantiation_is_excessively_deep_and_possibly_infinite),Tt;h++,E++,k++;const s=function(e,t,n,r){const i=e.flags;if(262144&i)return VC(e,t);if(524288&i){const i=e.objectFlags;if(52&i){if(4&i&&!e.node){const n=e.resolvedTypeArguments,r=QC(n,t);return r!==n?nv(e.target,r):e}return 1024&i?function(e,t){const n=_E(e.mappedType,t);if(!(32&gb(n)))return e;const r=_E(e.constraintType,t);if(!(4194304&r.flags))return e;const i=rD(_E(e.source,t),n,r);if(i)return i;return e}(e,t):aE(e,t,n,r)}return e}if(3145728&i){const o=1048576&e.flags?e.origin:void 0,s=o&&3145728&o.flags?o.types:e.types,a=QC(s,t);if(a===s&&n===e.aliasSymbol)return e;const c=n||e.aliasSymbol,l=n?r:QC(e.aliasTypeArguments,t);return 2097152&i||o&&2097152&o.flags?Mv(a,0,c,l):Pv(a,1,c,l)}if(4194304&i)return eb(_E(e.type,t));if(134217728&i)return nb(e.texts,QC(e.types,t));if(268435456&i)return sb(e.symbol,_E(e.type,t));if(8388608&i){const i=n||e.aliasSymbol,o=n?r:QC(e.aliasTypeArguments,t);return Nb(_E(e.objectType,t),_E(e.indexType,t),e.accessFlags,void 0,i,o)}if(16777216&i)return fE(e,eE(e.mapper,t),!1,n,r);if(33554432&i){const n=_E(e.baseType,t);if(xA(e))return CA(n);const r=_E(e.constraint,t);return 8650752&n.flags&&Sb(r)?SA(n,r):3&r.flags||IE(gE(n),gE(r))?n:8650752&n.flags?SA(n,r):Mv([r,n])}return e}(e,t,n,i);return k--,s}function hE(e){return 402915327&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=_E(e,Cn))}function gE(e){return 402915327&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=_E(e,bn),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function AE(e,t){return Pg(e.keyType,_E(e.type,t),e.isReadonly,e.declaration)}function yE(e){switch(un.assert(174!==e.kind||Q_(e)),e.kind){case 218:case 219:case 174:case 262:return vE(e);case 210:return J(e.properties,yE);case 209:return J(e.elements,yE);case 227:return yE(e.whenTrue)||yE(e.whenFalse);case 226:return(57===e.operatorToken.kind||61===e.operatorToken.kind)&&(yE(e.left)||yE(e.right));case 303:return yE(e.initializer);case 217:return yE(e.expression);case 292:return J(e.properties,yE)||kT(e.parent)&&J(e.parent.parent.children,yE);case 291:{const{initializer:t}=e;return!!t&&yE(t)}case 294:{const{expression:t}=e;return!!t&&yE(t)}}return!1}function vE(e){return Bx(e)||function(e){if(e.typeParameters||hy(e)||!e.body)return!1;if(241!==e.body.kind)return yE(e.body);return!!D_(e.body,(e=>!!e.expression&&yE(e.expression)))}(e)}function bE(e){return($x(e)||Q_(e))&&vE(e)}function CE(e){if(524288&e.flags){const t=Sf(e);if(t.constructSignatures.length||t.callSignatures.length){const n=Na(16,e.symbol);return n.members=t.members,n.properties=t.properties,n.callSignatures=a,n.constructSignatures=a,n.indexInfos=a,n}}else if(2097152&e.flags)return Mv(w(e.types,CE));return e}function EE(e,t){return ix(e,t,yo)}function xE(e,t){return ix(e,t,yo)?-1:0}function SE(e,t){return ix(e,t,go)?-1:0}function kE(e,t){return ix(e,t,mo)?-1:0}function DE(e,t){return ix(e,t,mo)}function wE(e,t){return ix(e,t,ho)}function IE(e,t){return ix(e,t,go)}function TE(e,t){return 1048576&e.flags?g(e.types,(e=>TE(e,t))):1048576&t.flags?J(t.types,(t=>TE(e,t))):2097152&e.flags?J(e.types,(e=>TE(e,t))):58982400&e.flags?TE(p_(e)||Bt,t):YE(t)?!!(67633152&e.flags):t===zn?!!(67633152&e.flags)&&!YE(e):t===Yn?!!(524288&e.flags)&&YD(e):Qu(e,qu(t))||PS(t)&&!NS(t)&&TE(e,nr)}function FE(e,t){return ix(e,t,Ao)}function RE(e,t){return FE(e,t)||FE(t,e)}function PE(e,t,n,r,i,o){return gx(e,t,go,n,r,i,o)}function NE(e,t,n,r,i,o){return BE(e,t,go,n,r,i,o,void 0)}function BE(e,t,n,r,i,o,s,a){return!!ix(e,t,n)||(!r||!qE(i,e,t,n,o,s,a))&&gx(e,t,n,r,o,s,a)}function OE(e){return!!(16777216&e.flags||2097152&e.flags&&J(e.types,OE))}function qE(e,t,n,r,i,o,s){if(!e||OE(n))return!1;if(!gx(t,n,r,void 0)&&function(e,t,n,r,i,o,s){const a=_m(t,0),c=_m(t,1);for(const l of[c,a])if(J(l,(e=>{const t=Wh(e);return!(131073&t.flags)&&gx(t,n,r,void 0)}))){const r=s||{};PE(t,n,e,i,o,r);return sx(r.errors[r.errors.length-1],$f(e,l===c?us.Did_you_mean_to_use_new_with_this_expression:us.Did_you_mean_to_call_this_expression)),!0}return!1}(e,t,n,r,i,o,s))return!0;switch(e.kind){case 234:if(!gS(e))break;case 294:case 217:return qE(e.expression,t,n,r,i,o,s);case 226:switch(e.operatorToken.kind){case 64:case 28:return qE(e.right,t,n,r,i,o,s)}break;case 210:return function(e,t,n,r,i,o){return!(402915324&n.flags)&&LE(function*(e){if(!l(e.properties))return;for(const t of e.properties){if(jT(t))continue;const e=Yv(_a(t),8576);if(e&&!(131072&e.flags))switch(t.kind){case 178:case 177:case 174:case 304:yield{errorNode:t.name,innerExpression:void 0,nameType:e};break;case 303:yield{errorNode:t.name,innerExpression:t.initializer,nameType:e,errorMessage:Nf(t.name)?us.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0};break;default:un.assertNever(t)}}}(e),t,n,r,i,o)}(e,t,n,r,o,s);case 209:return function(e,t,n,r,i,o){if(402915324&n.flags)return!1;if(US(t))return LE(jE(e,n),t,n,r,i,o);OR(e,n,!1);const s=zR(e,1,!0);if(qR(),US(s))return LE(jE(e,n),s,n,r,i,o);return!1}(e,t,n,r,o,s);case 292:return function(e,t,n,r,i,o){let s,a=LE(function*(e){if(!l(e.properties))return;for(const t of e.properties)PT(t)||oP(nS(t.name))||(yield{errorNode:t.name,innerExpression:t.initializer,nameType:hC(nS(t.name))})}(e),t,n,r,i,o);if(kT(e.parent)&&xT(e.parent.parent)){const s=e.parent.parent,u=vP(AP(e)),d=void 0===u?"children":mc(u),p=hC(d),f=Nb(n,p),_=lA(s.children);if(!l(_))return a;const m=l(_)>1;let h,g;if(fy(!1)!==Nn){const e=$y(kt);h=II(f,(t=>IE(t,e))),g=II(f,(t=>!IE(t,e)))}else h=II(f,JS),g=II(f,(e=>!JS(e)));if(m){if(h!==dn){const e=Ky(fP(s,0)),t=function*(e,t){if(!l(e.children))return;let n=0;for(let r=0;r!JS(e))),c=a!==dn?fQ(13,0,a,void 0):void 0;let l=!1;for(let n=e.next();!n.done;n=e.next()){const{errorNode:e,innerExpression:a,nameType:u,errorMessage:d}=n.value;let p=c;const f=s!==dn?$E(t,s,u):void 0;if(!f||8388608&f.flags||(p=c?Pv([c,f]):f),!p)continue;let _=Ob(t,u);if(!_)continue;const m=fb(u,void 0);if(!gx(_,p,r,void 0)){if(l=!0,!(a&&qE(a,_,p,r,void 0,i,o))){const n=o||{},c=a?QE(a,_):_;if(ue&&kx(c,p)){const t=$f(e,us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,cc(c),cc(p));po.add(t),n.errors=[t]}else{const o=!!(m&&16777216&(z_(s,m)||bt).flags),a=!!(m&&16777216&(z_(t,m)||bt).flags);p=kk(p,o),_=kk(_,o&&a);gx(c,p,r,e,d,i,n)&&c!==_&&gx(_,p,r,e,d,i,n)}}}}return l}(t,e,h,r,i,o)||a}else if(!ix(Nb(t,p),f,r)){a=!0;const e=Oo(s.openingElement.tagName,us.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,d,cc(f));o&&o.skipLogging&&(o.errors||(o.errors=[])).push(e)}}else if(g!==dn){const e=ME(_[0],p,c);e&&(a=LE(function*(){yield e}(),t,n,r,i,o)||a)}else if(!ix(Nb(t,p),f,r)){a=!0;const e=Oo(s.openingElement.tagName,us.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,d,cc(f));o&&o.skipLogging&&(o.errors||(o.errors=[])).push(e)}}return a;function c(){if(!s){const t=zp(e.parent.tagName),r=vP(AP(e)),i=void 0===r?"children":mc(r),o=Nb(n,hC(i)),a=us._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;s={...a,key:"!!ALREADY FORMATTED!!",message:Kb(a,t,i,cc(o))}}return s}}(e,t,n,r,o,s);case 219:return function(e,t,n,r,i,o){if(DI(e.body))return!1;if(J(e.parameters,Id))return!1;const s=QN(t);if(!s)return!1;const a=_m(n,0);if(!l(a))return!1;const c=e.body,u=Wh(s),d=Pv(w(a,Wh));if(!gx(u,d,r,void 0)){const t=c&&qE(c,u,d,r,void 0,i,o);if(t)return t;const s=o||{};if(gx(u,d,r,c,void 0,i,s),s.errors)return n.symbol&&l(n.symbol.declarations)&&sx(s.errors[s.errors.length-1],$f(n.symbol.declarations[0],us.The_expected_type_comes_from_the_return_type_of_this_signature)),2&Ng(e)||Jc(u,"then")||!gx(EO(u),d,r,void 0)||sx(s.errors[s.errors.length-1],$f(e,us.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}(e,t,n,r,o,s)}return!1}function $E(e,t,n){const r=Ob(t,n);if(r)return r;if(1048576&t.flags){const r=Ix(e,t);if(r)return Ob(r,n)}}function QE(e,t){OR(e,t,!1);const n=gq(e,1);return qR(),n}function LE(e,t,n,r,i,o){let s=!1;for(const a of e){const{errorNode:e,innerExpression:c,nameType:u,errorMessage:d}=a;let p=$E(t,n,u);if(!p||8388608&p.flags)continue;let f=Ob(t,u);if(!f)continue;const _=fb(u,void 0);if(!gx(f,p,r,void 0)){if(s=!0,!(c&&qE(c,f,p,r,void 0,i,o))){const s=o||{},a=c?QE(c,f):f;if(ue&&kx(a,p)){const t=$f(e,us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,cc(a),cc(p));po.add(t),s.errors=[t]}else{const o=!!(_&&16777216&(z_(n,_)||bt).flags),c=!!(_&&16777216&(z_(t,_)||bt).flags);p=kk(p,o),f=kk(f,o&&c);gx(a,p,r,e,d,i,s)&&a!==f&&gx(f,p,r,e,d,i,s)}if(s.errors){const e=s.errors[s.errors.length-1],t=aS(u)?cS(u):void 0,r=void 0!==t?z_(n,t):void 0;let i=!1;if(!r){const t=rh(n,u);t&&t.declaration&&!Ap(t.declaration).hasNoDefaultLib&&(i=!0,sx(e,$f(t.declaration,us.The_expected_type_comes_from_this_index_signature)))}if(!i&&(r&&l(r.declarations)||n.symbol&&l(n.symbol.declarations))){const i=r&&l(r.declarations)?r.declarations[0]:n.symbol.declarations[0];Ap(i).hasNoDefaultLib||sx(e,$f(i,us.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!t||8192&u.flags?cc(u):mc(t),cc(n)))}}}}}return s}function ME(e,t,n){switch(e.kind){case 294:return{errorNode:e,innerExpression:e.expression,nameType:t};case 12:if(e.containsOnlyTriviaWhiteSpaces)break;return{errorNode:e,innerExpression:void 0,nameType:t,errorMessage:n()};case 284:case 285:case 288:return{errorNode:e,innerExpression:e,nameType:t};default:return un.assertNever(e,"Found invalid jsx child")}}function*jE(e,t){const n=l(e.elements);if(n)for(let r=0;rc:nO(e)>c))return!r||8&n||i(us.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,nO(e),c),0;e.typeParameters&&e.typeParameters!==t.typeParameters&&(e=jN(e,t=kg(t),void 0,s));const l=tO(e),u=oO(e),d=oO(t);(u||d)&&_E(u||d,a);const p=t.declaration?t.declaration.kind:0,f=!(3&n)&&K&&174!==p&&173!==p&&176!==p;let _=-1;const m=qh(e);if(m&&m!==ln){const e=qh(t);if(e){const t=!f&&s(m,e,!1)||s(e,m,r);if(!t)return r&&i(us.The_this_types_of_each_signature_are_incompatible),0;_&=t}}const h=u||d?Math.min(l,c):Math.max(l,c),g=u||d?h-1:-1;for(let c=0;c=nO(e)&&c=3&&32768&t[0].flags&&65536&t[1].flags&&J(t,YE)?67108864:0)}return!!(67108864&e.objectFlags)}return!1}(t))return!0}return!1}function ix(e,t,n){if(mC(e)&&(e=e.regularType),mC(t)&&(t=t.regularType),e===t)return!0;if(n!==yo){if(n===Ao&&!(131072&t.flags)&&rx(t,e,n)||rx(e,t,n))return!0}else if(!(61865984&(e.flags|t.flags))){if(e.flags!==t.flags)return!1;if(67358815&e.flags)return!0}if(524288&e.flags&&524288&t.flags){const r=n.get(pS(e,t,0,n,!1));if(void 0!==r)return!!(1&r)}return!!(469499904&e.flags||469499904&t.flags)&&gx(e,t,n,void 0)}function ox(e,t){return 2048&gb(e)&&oP(t.escapedName)}function dx(e,t){for(;;){const n=mC(e)?e.regularType:sk(e)?_x(e,t):4&gb(e)?e.node?aA(e.target,pA(e)):LS(e)||e:3145728&e.flags?px(e,t):33554432&e.flags?t?e.baseType:DA(e):25165824&e.flags?Tb(e,t):e;if(n===e)return n;e=n}}function px(e,t){const n=$_(e);if(n!==e)return n;if(2097152&e.flags&&function(e){let t=!1,n=!1;for(const r of e.types)if(t||(t=!!(465829888&r.flags)),n||(n=!!(98304&r.flags)||YE(r)),t&&n)return!0;return!1}(e)){const n=T(e.types,(e=>dx(e,t)));if(n!==e.types)return Mv(n)}return e}function _x(e,t){const n=Ev(e),r=T(n,(e=>25165824&e.flags?Tb(e,t):e));return n!==r?ov(e.target,r):e}function gx(e,t,n,i,o,s,c){var u;let d,p,f,_,m,h,g,A,y=0,b=0,E=0,x=0,S=!1,k=0,D=0,I=16e6-n.size>>3;un.assert(n!==yo||!i,"no error reporting in identity checking");const F=U(e,t,3,!!i,o);if(A&&B(),S){const o=pS(e,t,0,n,!1);n.set(o,2|(I<=0?32:64)),null==(u=Hn)||u.instant(Hn.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:e.id,targetId:t.id,depth:b,targetDepth:E});const s=I<=0?us.Excessive_complexity_comparing_types_0_and_1:us.Excessive_stack_depth_comparing_types_0_and_1,a=Oo(i||r,s,cc(e),cc(t));c&&(c.errors||(c.errors=[])).push(a)}else if(d){if(s){const e=s();e&&(tC(e,d),d=e)}let r;if(o&&i&&!F&&e.symbol){const i=is(e.symbol);if(i.originatingImport&&!l_(i.originatingImport)){if(gx(wu(i.target),t,n,void 0)){r=re(r,$f(i.originatingImport,us.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}}const a=Mf(Ap(i),i,d,r);p&&sx(a,...p),c&&(c.errors||(c.errors=[])).push(a),c&&c.skipLogging||po.add(a)}return i&&c&&c.skipLogging&&0===F&&un.assert(!!c.errors,"missed opportunity to interact with error."),0!==F;function R(e){d=e.errorInfo,g=e.lastSkippedInfo,A=e.incompatibleStack,k=e.overrideNextErrorInfo,D=e.skipParentCounter,p=e.relatedInfo}function P(){return{errorInfo:d,lastSkippedInfo:g,incompatibleStack:null==A?void 0:A.slice(),overrideNextErrorInfo:k,skipParentCounter:D,relatedInfo:null==p?void 0:p.slice()}}function N(e,...t){k++,g=void 0,(A||(A=[])).push([e,...t])}function B(){const e=A||[];A=void 0;const t=g;if(g=void 0,1===e.length)return q(...e[0]),void(t&&L(void 0,...t));let n="";const r=[];for(;e.length;){const[t,...i]=e.pop();switch(t.code){case us.Types_of_property_0_are_incompatible.code:{0===n.indexOf("new ")&&(n=`(${n})`);const e=""+i[0];n=0===n.length?`${e}`:ma(e,yC(O))?`${n}.${e}`:"["===e[0]&&"]"===e[e.length-1]?`${n}${e}`:`${n}[${e}]`;break}case us.Call_signature_return_types_0_and_1_are_incompatible.code:case us.Construct_signature_return_types_0_and_1_are_incompatible.code:case us.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case us.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:if(0===n.length){let e=t;t.code===us.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?e=us.Call_signature_return_types_0_and_1_are_incompatible:t.code===us.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(e=us.Construct_signature_return_types_0_and_1_are_incompatible),r.unshift([e,i[0],i[1]])}else{n=`${t.code===us.Construct_signature_return_types_0_and_1_are_incompatible.code||t.code===us.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":""}${n}(${t.code===us.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||t.code===us.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"..."})`}break;case us.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:r.unshift([us.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,i[0],i[1]]);break;case us.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:r.unshift([us.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,i[0],i[1],i[2]]);break;default:return un.fail(`Unhandled Diagnostic: ${t.code}`)}}n?q(")"===n[n.length-1]?us.The_types_returned_by_0_are_incompatible_between_these_types:us.The_types_of_0_are_incompatible_between_these_types,n):r.shift();for(const[e,...t]of r){const n=e.elidedInCompatabilityPyramid;e.elidedInCompatabilityPyramid=!1,q(e,...t),e.elidedInCompatabilityPyramid=n}t&&L(void 0,...t)}function q(e,...t){un.assert(!!i),A&&B(),e.elidedInCompatabilityPyramid||(0===D?d=eC(d,e,...t):D--)}function $(e,...t){q(e,...t),D++}function Q(e){un.assert(!!d),p?p.push(e):p=[e]}function L(e,t,r){A&&B();const[i,o]=lc(t,r);let s=t,a=i;131072&r.flags||!zS(t)||Ex(r)||(s=YS(t),un.assert(!IE(s,r),"generalized source shouldn't be assignable"),a=pc(s));if(262144&(8388608&r.flags&&!(8388608&t.flags)?r.objectType.flags:r.flags)&&r!==jn&&r!==Un){const e=p_(r);let n;e&&(IE(s,e)||(n=IE(t,e)))?q(us._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,n?i:a,o,cc(e)):(d=void 0,q(us._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,o,a))}if(e)e===us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&ue&&xx(t,r).length&&(e=us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(n===Ao)e=us.Type_0_is_not_comparable_to_type_1;else if(i===o)e=us.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(ue&&xx(t,r).length)e=us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if(128&t.flags&&1048576&r.flags){const e=function(e,t){const n=t.types.filter((e=>!!(128&e.flags)));return Nt(e.value,n,(e=>e.value))}(t,r);if(e)return void q(us.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,a,o,cc(e))}e=us.Type_0_is_not_assignable_to_type_1}q(e,a,o)}function M(e,t,n){return ok(e)?e.target.readonly&&OS(t)?(n&&q(us.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,cc(e),cc(t)),!1):BS(t):NS(e)&&OS(t)?(n&&q(us.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,cc(e),cc(t)),!1):!ok(t)||PS(e)}function j(e,t,n){return U(e,t,3,n)}function U(e,t,r=3,o=!1,s,a=0){if(e===t)return-1;if(524288&e.flags&&402784252&t.flags)return n===Ao&&!(131072&t.flags)&&rx(t,e,n)||rx(e,t,n,o?q:void 0)?-1:(o&&V(e,t,e,t,s),0);const c=dx(e,!1);let l=dx(t,!0);if(c===l)return-1;if(n===yo)return c.flags!==l.flags?0:67358815&c.flags?-1:(H(c,l),ee(c,l,!1,0,r));if(262144&c.flags&&Jf(c)===l)return-1;if(470302716&c.flags&&1048576&l.flags){const e=l.types,t=2===e.length&&98304&e[0].flags?e[1]:3===e.length&&98304&e[0].flags&&98304&e[1].flags?e[2]:void 0;if(t&&!(98304&t.flags)&&(l=dx(t,!0),c===l))return-1}if(n===Ao&&!(131072&l.flags)&&rx(l,c,n)||rx(c,l,n,o?q:void 0))return-1;if(469499904&c.flags||469499904&l.flags){if(!(2&a)&&bD(c)&&8192&gb(c)&&function(e,t,r){var o;if(!FP(t)||!ie&&4096&gb(t))return!1;const s=!!(2048&gb(e));if((n===go||n===Ao)&&(CI(zn,t)||!s&&zE(t)))return!1;let a,c=t;1048576&t.flags&&(c=Bj(e,t,U)||function(e){if(JO(e,67108864)){const t=II(e,(e=>!(402784252&e.flags)));if(!(131072&t.flags))return t}return e}(t),a=1048576&c.flags?c.types:[c]);for(const t of Uf(e))if(W(t,e.symbol)&&!ox(e,t)){if(!TP(c,t.escapedName,s)){if(r){const n=II(c,FP);if(!i)return un.fail();if(RT(i)||vd(i)||vd(i.parent)){t.valueDeclaration&&FT(t.valueDeclaration)&&Ap(i)===Ap(t.valueDeclaration.name)&&(i=t.valueDeclaration.name);const e=oc(t),r=mN(e,n),o=r?oc(r):void 0;o?q(us.Property_0_does_not_exist_on_type_1_Did_you_mean_2,e,cc(n),o):q(us.Property_0_does_not_exist_on_type_1,e,cc(n))}else{const r=(null==(o=e.symbol)?void 0:o.declarations)&&fe(e.symbol.declarations);let s;if(t.valueDeclaration&&dc(t.valueDeclaration,(e=>e===r))&&Ap(r)===Ap(i)){const e=t.valueDeclaration;un.assertNode(e,yu);const r=e.name;i=r,UD(r)&&(s=hN(r,n))}void 0!==s?$(us.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,oc(t),cc(n),s):$(us.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,oc(t),cc(n))}}return!0}if(a&&!U(wu(t),G(a,t.escapedName),3,r))return r&&N(us.Types_of_property_0_are_incompatible,oc(t)),!0}return!1}(c,l,o))return o&&L(s,c,t.aliasSymbol?t:l),0;const u=(n!==Ao||GS(c))&&!(2&a)&&405405692&c.flags&&c!==zn&&2621440&l.flags&&Fx(l)&&(Uf(c).length>0||AM(c)),d=!!(2048&gb(c));if(u&&!function(e,t,n){for(const r of Uf(e))if(TP(t,r.escapedName,n))return!0;return!1}(c,l,d)){if(o){const n=cc(e.aliasSymbol?e:c),r=cc(t.aliasSymbol?t:l),i=_m(c,0),o=_m(c,1);i.length>0&&U(Wh(i[0]),l,1,!1)||o.length>0&&U(Wh(o[0]),l,1,!1)?q(us.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,n,r):q(us.Type_0_has_no_properties_in_common_with_type_1,n,r)}return 0}H(c,l);const p=1048576&c.flags&&c.types.length<4&&!(1048576&l.flags)||1048576&l.flags&&l.types.length<4&&!(469499904&c.flags)?Y(c,l,o,a):ee(c,l,o,a,r);if(p)return p}return o&&V(e,t,c,l,s),0}function V(e,t,n,r,o){var s,a;const c=!!LS(e),l=!!LS(t);n=e.aliasSymbol||c?e:n,r=t.aliasSymbol||l?t:r;let u=k>0;if(u&&k--,524288&n.flags&&524288&r.flags){const e=d;M(n,r,!0),d!==e&&(u=!!d)}if(524288&n.flags&&402784252&r.flags)!function(e,t){const n=yc(e.symbol)?cc(e,e.symbol.valueDeclaration):cc(e),r=yc(t.symbol)?cc(t,t.symbol.valueDeclaration):cc(t);(rr===e&&Jt===t||ir===e&&Vt===t||or===e&&an===t||ey()===e&&cn===t)&&q(us._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,r,n)}(n,r);else if(n.symbol&&524288&n.flags&&zn===n)q(us.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(2048&gb(n)&&2097152&r.flags){const e=r.types,t=mP(DQ.IntrinsicAttributes,i),n=mP(DQ.IntrinsicClassAttributes,i);if(!Gc(t)&&!Gc(n)&&(C(e,t)||C(e,n)))return}else d=G_(d,t);if(!o&&u){const e=P();let t;return L(o,n,r),d&&d!==e.errorInfo&&(t={code:d.code,messageText:d.messageText}),R(e),t&&d&&(d.canonicalHead=t),void(g=[n,r])}if(L(o,n,r),262144&n.flags&&(null==(a=null==(s=n.symbol)?void 0:s.declarations)?void 0:a[0])&&!Jf(n)){const e=rE(n);if(e.constraint=_E(r,HC(n,e)),__(e)){const e=cc(r,n.symbol.declarations[0]);Q($f(n.symbol.declarations[0],us.This_type_parameter_might_need_an_extends_0_constraint,e))}}}function H(e,t){if(Hn&&3145728&e.flags&&3145728&t.flags){const n=e,r=t;if(n.objectFlags&r.objectFlags&32768)return;const o=n.types.length,s=r.types.length;o*s>1e6&&Hn.instant(Hn.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:e.id,sourceSize:o,targetId:t.id,targetSize:s,pos:null==i?void 0:i.pos,end:null==i?void 0:i.end})}}function G(e,t){return Pv(Se(e,((e,n)=>{var r;const i=3145728&(n=C_(n)).flags?q_(n,t):Bf(n,t);return re(e,i&&wu(i)||(null==(r=ih(n,t))?void 0:r.type)||Ot)}),void 0)||a)}function W(e,t){return e.valueDeclaration&&t.valueDeclaration&&e.valueDeclaration.parent===t.valueDeclaration}function Y(e,t,r,i){if(1048576&e.flags){if(1048576&t.flags){const n=e.origin;if(n&&2097152&n.flags&&t.aliasSymbol&&C(n.types,t))return-1;const r=t.origin;if(r&&1048576&r.flags&&e.aliasSymbol&&C(r.types,e))return-1}return n===Ao?Z(e,t,r&&!(402784252&e.flags),i):function(e,t,n,r){let i=-1;const o=e.types,s=function(e,t){if(1048576&e.flags&&1048576&t.flags&&!(32768&e.types[0].flags)&&32768&t.types[0].flags)return QI(t,-32769);return t}(e,t);for(let e=0;e=s.types.length&&o.length%s.types.length==0){const t=U(a,s.types[e%s.types.length],3,!1,void 0,r);if(t){i&=t;continue}}const c=U(a,t,1,n,void 0,r);if(!c)return 0;i&=c}return i}(e,t,r&&!(402784252&e.flags),i)}if(1048576&t.flags)return X(Fk(e),t,r&&!(402784252&e.flags)&&!(402784252&t.flags),i);if(2097152&t.flags)return function(e,t,n,r){let i=-1;const o=t.types;for(const t of o){const o=U(e,t,2,n,void 0,r);if(!o)return 0;i&=o}return i}(e,t,r,2);if(n===Ao&&402784252&t.flags){const n=T(e.types,(e=>465829888&e.flags?p_(e)||Bt:e));if(n!==e.types){if(131072&(e=Mv(n)).flags)return 0;if(!(2097152&e.flags))return U(e,t,1,!1)||U(t,e,1,!1)}}return Z(e,t,!1,1)}function K(e,t){let n=-1;const r=e.types;for(const e of r){const r=X(e,t,!1,0);if(!r)return 0;n&=r}return n}function X(e,t,r,i){const o=t.types;if(1048576&t.flags){if(Sv(o,e))return-1;if(n!==Ao&&32768&gb(t)&&!(1024&e.flags)&&(2688&e.flags||(n===mo||n===ho)&&256&e.flags)){const t=e===e.regularType?e.freshType:e.regularType,n=128&e.flags?Jt:256&e.flags?Vt:2048&e.flags?Ht:void 0;return n&&Sv(o,n)||t&&Sv(o,t)?-1:0}const r=VD(t,e);if(r){const t=U(e,r,2,!1,void 0,i);if(t)return t}}for(const t of o){const n=U(e,t,2,!1,void 0,i);if(n)return n}if(r){const n=Ix(e,t,U);n&&U(e,n,2,!0,void 0,i)}return 0}function Z(e,t,n,r){const i=e.types;if(1048576&e.flags&&Sv(i,t))return-1;const o=i.length;for(let e=0;e(D|=e?16:8,v(e))),3===x?(null==(s=Hn)||s.instant(Hn.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:e.id,sourceIdStack:m.map((e=>e.id)),targetId:t.id,targetIdStack:h.map((e=>e.id)),depth:b,targetDepth:E}),C=3):(null==(c=Hn)||c.push(Hn.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:e.id,targetId:t.id}),C=function(e,t,r,i){const o=P();let s=function(e,t,r,i,o){let s,c,l=!1,u=e.flags;const p=t.flags;if(n===yo){if(3145728&u){let n=K(e,t);return n&&(n&=K(t,e)),n}if(4194304&u)return U(e.type,t.type,3,!1);if(8388608&u&&(s=U(e.objectType,t.objectType,3,!1))&&(s&=U(e.indexType,t.indexType,3,!1)))return s;if(16777216&u&&e.root.isDistributive===t.root.isDistributive&&(s=U(e.checkType,t.checkType,3,!1))&&(s&=U(e.extendsType,t.extendsType,3,!1))&&(s&=U(Jb(e),Jb(t),3,!1))&&(s&=U(Vb(e),Vb(t),3,!1)))return s;if(33554432&u&&(s=U(e.baseType,t.baseType,3,!1))&&(s&=U(e.constraint,t.constraint,3,!1)))return s;if(!(524288&u))return 0}else if(3145728&u||3145728&p){if(s=Y(e,t,r,i))return s;if(!(465829888&u||524288&u&&1048576&p||2097152&u&&467402752&p))return 0}if(17301504&u&&e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===t.aliasSymbol&&!Wx(e)&&!Wx(t)){const n=Nx(e.aliasSymbol);if(n===a)return 1;const r=is(e.aliasSymbol).typeParameters,o=vh(r),s=_(xh(e.aliasTypeArguments,r,o,Tm(e.aliasSymbol.valueDeclaration)),xh(t.aliasTypeArguments,r,o,Tm(e.aliasSymbol.valueDeclaration)),n,i);if(void 0!==s)return s}if(ak(e)&&!e.target.readonly&&(s=U(pA(e)[0],t,1))||ak(t)&&(t.target.readonly||OS(p_(e)||e))&&(s=U(e,pA(t)[0],2)))return s;if(262144&p){if(32&gb(e)&&!e.declaration.nameType&&U(eb(t),rf(e),3)&&!(4&vf(e))){const n=uf(e),i=Nb(t,nf(e));if(s=U(n,i,3,r))return s}if(n===Ao&&262144&u){let n=Gf(e);if(n)for(;n&&xI(n,(e=>!!(262144&e.flags)));){if(s=U(n,t,1,!1))return s;n=Gf(n)}return 0}}else if(4194304&p){const n=t.type;if(4194304&u&&(s=U(n,e.type,3,!1)))return s;if(ok(n)){if(s=U(e,yv(n),2,r))return s}else{const i=i_(n);if(i){if(-1===U(e,eb(i,4|t.indexFlags),2,r))return-1}else if(Ef(n)){const t=of(n),i=rf(n);let o;if(t&&Af(n)){o=Pv([te(t,n),t])}else o=t||i;if(-1===U(e,o,2,r))return-1}}}else if(8388608&p){if(8388608&u){if((s=U(e.objectType,t.objectType,3,r))&&(s&=U(e.indexType,t.indexType,3,r)),s)return s;r&&(c=d)}if(n===go||n===Ao){const n=t.objectType,a=t.indexType,l=p_(n)||n,u=p_(a)||a;if(!kb(l)&&!wb(u)){const t=Ob(l,u,4|(l!==n?2:0));if(t){if(r&&c&&R(o),s=U(e,t,2,r,void 0,i))return s;r&&c&&d&&(d=f([c])<=f([d])?c:d)}}}r&&(c=void 0)}else if(Ef(t)&&n!==yo){const n=!!t.declaration.nameType,i=uf(t),a=vf(t);if(!(8&a)){if(!n&&8388608&i.flags&&i.objectType===e&&i.indexType===nf(t))return-1;if(!Ef(e)){const i=n?of(t):rf(t),l=eb(e,2),u=4&a,p=u?qp(i,l):void 0;if(u?!(131072&p.flags):U(i,l,3)){const o=uf(t),a=nf(t),c=QI(o,-98305);if(!n&&8388608&c.flags&&c.indexType===a){if(s=U(e,c.objectType,2,r))return s}else{const t=Nb(e,n?p||i:p?Mv([p,a]):a);if(s=U(t,o,3,r))return s}}c=d,R(o)}}}else if(16777216&p){if(SS(t,h,E,10))return 3;const n=t;if(!(n.root.inferTypeParameters||function(e){return e.isDistributive&&(cE(e.checkType,e.node.trueType)||cE(e.checkType,e.node.falseType))}(n.root)||16777216&e.flags&&e.root===n.root)){const t=!IE(hE(n.checkType),hE(n.extendsType)),r=!t&&IE(gE(n.checkType),gE(n.extendsType));if((s=t?-1:U(e,Jb(n),2,!1,void 0,i))&&(s&=r?-1:U(e,Vb(n),2,!1,void 0,i),s))return s}}else if(134217728&p){if(134217728&u){if(n===Ao)return function(e,t){const n=e.texts[0],r=t.texts[0],i=e.texts[e.texts.length-1],o=t.texts[t.texts.length-1],s=Math.min(n.length,r.length),a=Math.min(i.length,o.length);return n.slice(0,s)!==r.slice(0,s)||i.slice(i.length-a)!==o.slice(o.length-a)}(e,t)?0:-1;_E(e,Sn)}if(hD(e,t))return-1}else if(268435456&t.flags&&!(268435456&e.flags)&&fD(e,t))return-1;if(8650752&u){if(!(8388608&u&&8388608&p)){const n=Jf(e)||Bt;if(s=U(n,t,1,!1,void 0,i))return s;if(s=U(Cp(n,e),t,1,r&&n!==Bt&&!(p&u&262144),void 0,i))return s;if(b_(e)){const n=Jf(e.indexType);if(n&&(s=U(Nb(e.objectType,n),t,1,r)))return s}}}else if(4194304&u){const n=Zv(e.type,e.indexFlags)&&32&gb(e.type);if(s=U(gn,t,1,r&&!n))return s;if(n){const n=e.type,i=of(n),o=i&&Af(n)?te(i,n):i||rf(n);if(s=U(o,t,1,r))return s}}else if(134217728&u&&!(524288&p)){if(!(134217728&p)){const n=p_(e);if(n&&n!==e&&(s=U(n,t,1,r)))return s}}else if(268435456&u)if(268435456&p){if(e.symbol!==t.symbol)return 0;if(s=U(e.type,t.type,3,r))return s}else{const n=p_(e);if(n&&(s=U(n,t,1,r)))return s}else if(16777216&u){if(SS(e,m,b,10))return 3;if(16777216&p){const n=e.root.inferTypeParameters;let i,o=e.extendsType;if(n){const e=Gk(n,void 0,0,j);AD(e.inferences,t.extendsType,o,1536),o=_E(o,e.mapper),i=e.mapper}if(EE(o,t.extendsType)&&(U(e.checkType,t.checkType,3)||U(t.checkType,e.checkType,3))&&((s=U(_E(Jb(e),i),Jb(t),3,r))&&(s&=U(Vb(e),Vb(t),3,r)),s))return s}const n=o_(e);if(n&&(s=U(n,t,1,r)))return s;const i=16777216&p||!__(e)?void 0:s_(e);if(i&&(R(o),s=U(i,t,1,r)))return s}else{if(n!==mo&&n!==ho&&function(e){return!!(32&gb(e)&&4&vf(e))}(t)&&zE(e))return-1;if(Ef(t))return Ef(e)&&(s=function(e,t,r){const i=n===Ao||(n===yo?vf(e)===vf(t):Cf(e)<=Cf(t));if(i){let n;if(n=U(rf(t),_E(rf(e),Cf(e)<0?kn:Sn),3,r)){const i=JC([nf(e)],[nf(t)]);if(_E(of(e),i)===_E(of(t),i))return n&U(_E(uf(e),i),uf(t),3,r)}}return 0}(e,t,r))?s:0;const f=!!(402784252&u);if(n!==yo)u=(e=C_(e)).flags;else if(Ef(e))return 0;if(4&gb(e)&&4&gb(t)&&e.target===t.target&&!ok(e)&&!Wx(e)&&!Wx(t)){if(jS(e))return-1;const n=Px(e.target);if(n===a)return 1;const r=_(pA(e),pA(t),n,i);if(void 0!==r)return r}else{if(NS(t)?kI(e,BS):PS(t)&&kI(e,(e=>ok(e)&&!e.target.readonly)))return n!==yo?U(jm(e,Vt)||kt,jm(t,Vt)||kt,3,r):0;if(sk(e)&&ok(t)&&!sk(t)){const n=f_(e);if(n!==e)return U(n,t,1,r)}else if((n===mo||n===ho)&&zE(t)&&8192&gb(t)&&!zE(e))return 0}if(2621440&u&&524288&p){const n=r&&d===o.errorInfo&&!f;if(s=se(e,t,n,void 0,!1,i),s&&(s&=ce(e,t,0,n,i),s&&(s&=ce(e,t,1,n,i),s&&(s&=he(e,t,f,n,i)))),l&&s)d=c||d||o.errorInfo;else if(s)return s}if(2621440&u&&1048576&p){const r=QI(t,36175872);if(1048576&r.flags){const t=function(e,t){var r;const i=Uf(e),o=LD(i,t);if(!o)return 0;let s=1;for(const n of o)if(s*=PI(Iu(n)),s>25)return null==(r=Hn)||r.instant(Hn.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:e.id,targetId:t.id,numCombinations:s}),0;const a=new Array(o.length),c=new Set;for(let e=0;er[i]),!1,0,z||n===Ao))continue e}ae(u,s,_t),i=!0}if(!i)return 0}let d=-1;for(const t of u)if(d&=se(e,t,!1,c,!1,0),d&&(d&=ce(e,t,0,!1,0),d&&(d&=ce(e,t,1,!1,0),!d||ok(e)&&ok(t)||(d&=he(e,t,!1,!1,0)))),!d)return d;return d}(e,r);if(t)return t}}}return 0;function f(e){return e?Se(e,((e,t)=>e+1+f(t.next)),0):0}function _(e,t,i,u){if(s=function(e=a,t=a,r=a,i,o){if(e.length!==t.length&&n===yo)return 0;const s=e.length<=t.length?e.length:t.length;let c=-1;for(let a=0;a!!(24&e))))return c=void 0,void R(o);const p=t&&function(e,t){for(let n=0;n!(7&e)))))return 0;c=d,R(o)}}}(e,t,r,i,o);if(n!==yo){if(!s&&(2097152&e.flags||262144&e.flags&&1048576&t.flags)){const n=function(e,t){let n,r=!1;for(const i of e)if(465829888&i.flags){let e=Jf(i);for(;e&&21233664&e.flags;)e=Jf(e);e&&(n=re(n,e),t&&(n=re(n,i)))}else(469892092&i.flags||YE(i))&&(r=!0);if(n&&(t||r)){if(r)for(const t of e)(469892092&t.flags||YE(t))&&(n=re(n,t));return dx(Mv(n,2),!1)}}(2097152&e.flags?e.types:[e],!!(1048576&t.flags));n&&kI(n,(t=>t!==e))&&(s=U(n,t,1,!1,void 0,i))}s&&!(2&i)&&2097152&t.flags&&!kb(t)&&2621440&e.flags?(s&=se(e,t,r,void 0,!1,0),s&&bD(e)&&8192&gb(e)&&(s&=he(e,t,!1,r,0))):s&&sC(t)&&!BS(t)&&2097152&e.flags&&3670016&C_(e).flags&&!J(e.types,(e=>e===t||!!(262144&gb(e))))&&(s&=se(e,t,r,void 0,!0,i))}s&&R(o);return s}(e,t,r,i),null==(l=Hn)||l.pop()),sn&&(sn=v),1&o&&b--,2&o&&E--,x=A,C?(-1===C||0===b&&0===E)&&w(-1===C||3===C):(n.set(u,2|D),I--,w(!1)),C;function w(e){for(let t=g;t{r.push(_E(e,nE(t.mapper,nf(t),n)))})),Pv(r)}function ne(e,t){if(!t||0===e.length)return e;let n;for(let r=0;r{return!!(4&ob(t))&&(n=e,r=vS(t),!_S(n,(e=>{const t=vS(e);return!!t&&Qu(t,r)})));var n,r}))}(r,i))return s&&q(us.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,oc(i),cc(vS(r)||e),cc(vS(i)||t)),0}else if(4&l)return s&&q(us.Property_0_is_protected_in_type_1_but_public_in_type_2,oc(i),cc(e),cc(t)),0;if(n===ho&&qO(r)&&!qO(i))return 0;const d=function(e,t,n,r,i){const o=z&&!!(48&ib(t)),s=El(Iu(t),!1,o);return U(n(e),s,3,r,void 0,i)}(r,i,o,s,a);return d?!c&&16777216&r.flags&&106500&i.flags&&!(16777216&i.flags)?(s&&q(us.Property_0_is_optional_in_type_1_but_required_in_type_2,oc(i),cc(e),cc(t)),0):d:(s&&N(us.Types_of_property_0_are_incompatible,oc(i)),0)}function se(e,t,r,i,s,a){if(n===yo)return function(e,t,n){if(!(524288&e.flags&&524288&t.flags))return 0;const r=ne(wf(e),n),i=ne(wf(t),n);if(r.length!==i.length)return 0;let o=-1;for(const e of r){const n=Bf(t,e.escapedName);if(!n)return 0;const r=IS(e,n,U);if(!r)return 0;o&=r}return o}(e,t,i);let c=-1;if(ok(t)){if(BS(e)){if(!t.target.readonly&&(NS(e)||ok(e)&&e.target.readonly))return 0;const n=fA(e),o=fA(t),s=ok(e)?4&e.target.combinedFlags:4,l=!!(12&t.target.combinedFlags),u=ok(e)?e.target.minLength:0,d=t.target.minLength;if(!s&&n!(e&t)));return n>=0?n:e.elementFlags.length}(t.target,11),m=vv(t.target,11);let h=!!i;for(let s=0;s=_?o-1-Math.min(d,m):s,A=t.target.elementFlags[g];if(8&A&&!(8&u))return r&&q(us.Source_provides_no_match_for_variadic_element_at_position_0_in_target,g),0;if(8&u&&!(12&A))return r&&q(us.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,s,g),0;if(1&A&&!(1&u))return r&&q(us.Source_provides_no_match_for_required_element_at_position_0_in_target,g),0;if(h&&((12&u||12&A)&&(h=!1),h&&(null==i?void 0:i.has(""+s))))continue;const y=kk(p[s],!!(u&A&2)),v=f[g],b=U(y,8&u&&4&A?Qy(v):kk(v,!!(2&A)),3,r,void 0,a);if(!b)return r&&(o>1||n>1)&&(l&&s>=_&&d>=m&&_!==n-m-1?N(us.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,_,n-m-1,g):N(us.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,s,g)),0;c&=b}return c}if(12&t.target.combinedFlags)return 0}const u=!(n!==mo&&n!==ho||bD(e)||jS(e)||ok(e)),p=aD(e,t,u,!1);if(p)return r&&function(e,t){const n=fm(e,0),r=fm(e,1),i=wf(e);if((n.length||r.length)&&!i.length)return!!(_m(t,0).length&&n.length||_m(t,1).length&&r.length);return!0}(e,t)&&function(e,t,n,r){let i=!1;if(n.valueDeclaration&&Ec(n.valueDeclaration)&&JD(n.valueDeclaration.name)&&e.symbol&&32&e.symbol.flags){const r=n.valueDeclaration.name.escapedText,i=Jg(e.symbol,r);if(i&&z_(e,i)){const n=XS.getDeclarationName(e.symbol.valueDeclaration),i=XS.getDeclarationName(t.symbol.valueDeclaration);return void q(us.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,fs(r),fs(""===n.escapedText?FQ:n),fs(""===i.escapedText?FQ:i))}}const s=Pe(sD(e,t,r,!1));if((!o||o.code!==us.Class_0_incorrectly_implements_interface_1.code&&o.code!==us.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(i=!0),1===s.length){const r=oc(n,void 0,0,20);q(us.Property_0_is_missing_in_type_1_but_required_in_type_2,r,...lc(e,t)),l(n.declarations)&&Q($f(n.declarations[0],us._0_is_declared_here,r)),i&&d&&k++}else M(e,t,!1)&&(s.length>5?q(us.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,cc(e),cc(t),w(s.slice(0,4),(e=>oc(e))).join(", "),s.length-4):q(us.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,cc(e),cc(t),w(s,(e=>oc(e))).join(", ")),i&&d&&k++)}(e,t,p,u),0;if(bD(t))for(const n of ne(Uf(e),i))if(!Bf(t,n.escapedName)){if(!(32768&wu(n).flags))return r&&q(us.Property_0_does_not_exist_on_type_1,oc(n),cc(t)),0}const f=Uf(t),_=ok(e)&&ok(t);for(const o of ne(f,i)){const i=o.escapedName;if(!(4194304&o.flags)&&(!_||Lx(i)||"length"===i)&&(!s||16777216&o.flags)){const s=z_(e,i);if(s&&s!==o){const i=oe(e,t,s,o,Iu,r,a,n===Ao);if(!i)return 0;c&=i}}}return c}function ce(e,t,r,i,o){var s,a;if(n===yo)return function(e,t,n){const r=_m(e,n),i=_m(t,n);if(r.length!==i.length)return 0;let o=-1;for(let e=0;eac(e,void 0,262144,r);return q(us.Type_0_is_not_assignable_to_type_1,e(t),e(c)),q(us.Types_of_construct_signatures_are_incompatible),p}}else e:for(const t of d){const n=P();let s=i;for(const e of u){const r=pe(e,t,!0,s,o,f(e,t));if(r){p&=r,R(n);continue e}s=!1}return s&&q(us.Type_0_provides_no_match_for_the_signature_1,cc(e),ac(t,void 0,void 0,r)),0}return p}function le(e,t){return 0===e.parameters.length&&0===t.parameters.length?(e,t)=>N(us.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,cc(e),cc(t)):(e,t)=>N(us.Call_signature_return_types_0_and_1_are_incompatible,cc(e),cc(t))}function de(e,t){return 0===e.parameters.length&&0===t.parameters.length?(e,t)=>N(us.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,cc(e),cc(t)):(e,t)=>N(us.Construct_signature_return_types_0_and_1_are_incompatible,cc(e),cc(t))}function pe(e,t,r,i,o,s){const a=n===mo?16:n===ho?24:0;return HE(r?Sg(e):e,r?Sg(t):t,a,i,q,s,(function(e,t,n){return U(e,t,3,n,void 0,o)}),Sn)}function _e(e,t,n,r){const i=U(e.type,t.type,3,n,void 0,r);return!i&&n&&(e.keyType===t.keyType?q(us._0_index_signatures_are_incompatible,cc(e.keyType)):q(us._0_and_1_index_signatures_are_incompatible,cc(e.keyType),cc(t.keyType))),i}function he(e,t,r,i,o){if(n===yo)return function(e,t){const n=Qm(e),r=Qm(t);if(n.length!==r.length)return 0;for(const t of r){const n=Lm(e,t.keyType);if(!n||!U(n.type,t.type,3)||n.isReadonly!==t.isReadonly)return 0}return-1}(e,t);const s=Qm(t),a=J(s,(e=>e.keyType===Jt));let c=-1;for(const t of s){const s=n!==ho&&!r&&a&&1&t.type.flags?-1:Ef(e)&&a?U(uf(e),t.type,3,i):ge(e,t,i,o);if(!s)return 0;c&=s}return c}function ge(e,t,r,i){const o=rh(e,t.keyType);return o?_e(o,t,r,i):1&i||!(n!==ho||8192&gb(e))||!Ik(e)?(r&&q(us.Index_signature_for_type_0_is_missing_in_type_1,cc(t.keyType),cc(e)),0):function(e,t,n,r){let i=-1;const o=t.keyType,s=2097152&e.flags?Lf(e):wf(e);for(const a of s)if(!ox(e,a)&&Rm(Yv(a,8576),o)){const e=Iu(a),s=U(ue||32768&e.flags||o===Vt||!(16777216&a.flags)?e:ew(e,524288),t.type,3,n,void 0,r);if(!s)return n&&q(us.Property_0_is_incompatible_with_index_signature,oc(a)),0;i&=s}for(const s of Qm(e))if(Rm(s.keyType,o)){const e=_e(s,t,n,r);if(!e)return 0;i&=e}return i}(e,t,r,i)}}function Ex(e){if(16&e.flags)return!1;if(3145728&e.flags)return!!u(e.types,Ex);if(465829888&e.flags){const t=Jf(e);if(t&&t!==e)return Ex(t)}return GS(e)||!!(134217728&e.flags)||!!(268435456&e.flags)}function xx(e,t){return ok(e)&&ok(t)?a:Uf(t).filter((t=>kx(Jc(e,t.escapedName),wu(t))))}function kx(e,t){return!!e&&!!t&&JO(e,32768)&&!!Dk(t)}function Ix(e,t,n=SE){return Bj(e,t,n)||function(e,t){const n=gb(e);if(20&n&&1048576&t.flags)return A(t.types,(t=>{if(524288&t.flags){const r=n&gb(t);if(4&r)return e.target===t.target;if(16&r)return!!e.aliasSymbol&&e.aliasSymbol===t.aliasSymbol}return!1}))}(e,t)||function(e,t){if(128&gb(e)&&xI(t,$S))return A(t.types,(e=>!$S(e)))}(e,t)||function(e,t){let n=0;const r=_m(e,n).length>0||(n=1,_m(e,n).length>0);if(r)return A(t.types,(e=>_m(e,n).length>0))}(e,t)||function(e,t){let n;if(!(406978556&e.flags)){let r=0;for(const i of t.types)if(!(406978556&i.flags)){const t=Mv([eb(e),eb(i)]);if(4194304&t.flags)return i;if(GS(t)||1048576&t.flags){const e=1048576&t.flags?x(t.types,GS):1;e>=r&&(n=i,r=e)}}}return n}(e,t)}function Tx(e,t,n){const r=e.types,i=r.map((e=>402784252&e.flags?0:-1));for(const[e,o]of t){let t=!1;for(let s=0;s!!n(e,a)))?t=!0:i[s]=3}for(let e=0;ei[t])),0):e;return 131072&o.flags?e:o}function Fx(e){if(524288&e.flags){const t=Sf(e);return 0===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.indexInfos.length&&t.properties.length>0&&g(t.properties,(e=>!!(16777216&e.flags)))}return 33554432&e.flags?Fx(e.baseType):!!(2097152&e.flags)&&g(e.types,Fx)}function Px(e){return e===Zn||e===nr||8&e.objectFlags?B:Qx(e.symbol,e.typeParameters)}function Nx(e){return Qx(e,is(e).typeParameters)}function Qx(e,t=a){var n,r;const i=is(e);if(!i.variances){null==(n=Hn)||n.push(Hn.Phase.CheckTypes,"getVariancesWorker",{arity:t.length,id:xv(Cd(e))});const o=ji,s=Mi;ji||(ji=!0,Mi=$i.length),i.variances=a;const c=[];for(const n of t){const t=rS(n);let r=16384&t?8192&t?0:1:8192&t?2:void 0;if(void 0===r){let t=!1,i=!1;const o=sn;sn=e=>e?i=!0:t=!0;const s=Ux(e,n,Qn),a=Ux(e,n,Ln);r=(IE(a,s)?1:0)|(IE(s,a)?2:0),3===r&&IE(Ux(e,n,Mn),s)&&(r=4),sn=o,(t||i)&&(t&&(r|=8),i&&(r|=16))}c.push(r)}o||(ji=!1,Mi=s),i.variances=c,null==(r=Hn)||r.pop({variances:c.map(un.formatVariance)})}return i.variances}function Ux(e,t,n){const r=HC(t,n),i=Cd(e);if(Gc(i))return i;const o=524288&e.flags?mA(e,QC(is(e).typeParameters,r)):aA(i,QC(i.typeParameters,r));return vt.add(xv(o)),o}function Wx(e){return vt.has(xv(e))}function rS(e){var t;return 28672&Se(null==(t=e.symbol)?void 0:t.declarations,((e,t)=>e|Ly(t)),0)}function oS(e){return 262144&e.flags&&!Gf(e)}function dS(e){return function(e){return!!(4&gb(e))&&!e.node}(e)&&J(pA(e),(e=>!!(262144&e.flags)||dS(e)))}function pS(e,t,n,r,i){if(r===yo&&e.id>t.id){const n=e;e=t,t=n}const o=n?":"+n:"";return dS(e)&&dS(t)?function(e,t,n,r){const i=[];let o="";const s=c(e,0),a=c(t,0);return`${o}${s},${a}${n}`;function c(e,t=0){let n=""+e.target.id;for(const s of pA(e)){if(262144&s.flags){if(r||oS(s)){let e=i.indexOf(s);e<0&&(e=i.length,i.push(s)),n+="="+e;continue}o="*"}else if(t<4&&dS(s)){n+="<"+c(s,t+1)+">";continue}n+="-"+s.id}return n}}(e,t,o,i):`${e.id},${t.id}${o}`}function _S(e,t){if(!(6&ib(e)))return t(e);for(const n of e.links.containingType.types){const r=z_(n,e.escapedName),i=r&&_S(r,t);if(i)return i}}function vS(e){return e.parent&&32&e.parent.flags?Cd(Aa(e)):void 0}function bS(e){const t=vS(e),n=t&&id(t)[0];return n&&Jc(n,e.escapedName)}function xS(e,t,n){return _S(t,(t=>!!(4&ob(t,n))&&!Qu(e,vS(t))))?void 0:e}function SS(e,t,n,r=3){if(n>=r){if(96&~gb(e)||(e=kS(e)),2097152&e.flags)return J(e.types,(e=>SS(e,t,n,r)));const i=wS(e);let o=0,s=0;for(let e=0;e=s&&(o++,o>=r))return!0;s=n.id}}}return!1}function kS(e){let t;for(;!(96&~gb(e))&&(t=yf(e))&&(t.symbol||2097152&t.flags&&J(t.types,(e=>!!e.symbol)));)e=t;return e}function DS(e,t){return 96&~gb(e)||(e=kS(e)),2097152&e.flags?J(e.types,(e=>DS(e,t))):wS(e)===t}function wS(e){if(524288&e.flags&&!CD(e)){if(4&gb(e)&&e.node)return e.node;if(e.symbol&&!(16&gb(e)&&32&e.symbol.flags))return e.symbol;if(ok(e))return e.target}if(262144&e.flags)return e.symbol;if(8388608&e.flags){do{e=e.objectType}while(8388608&e.flags);return e}return 16777216&e.flags?e.root:e}function IS(e,t,n){if(e===t)return-1;const r=6&ob(e);if(r!==(6&ob(t)))return 0;if(r){if(yL(e)!==yL(t))return 0}else if((16777216&e.flags)!=(16777216&t.flags))return 0;return qO(e)!==qO(t)?0:n(wu(e),wu(t))}function TS(e,t,n,r,i,o){if(e===t)return-1;if(!function(e,t,n){const r=tO(e),i=tO(t),o=nO(e),s=nO(t),a=rO(e),c=rO(t);return r===i&&o===s&&a===c||!!(n&&o<=s)}(e,t,n))return 0;if(l(e.typeParameters)!==l(t.typeParameters))return 0;if(t.typeParameters){const n=JC(e.typeParameters,t.typeParameters);for(let r=0;re|(1048576&t.flags?FS(t.types):t.flags)),0)}function RS(e){if(1===e.length)return e[0];const t=z?T(e,(e=>II(e,(e=>!(98304&e.flags))))):e,n=function(e){let t;for(const n of e)if(!(131072&n.flags)){const e=YS(n);if(t??(t=e),e===n||e!==t)return!1}return!0}(t)?Pv(t):Se(t,((e,t)=>DE(e,t)?t:e));return t===e?n:hk(n,98304&FS(e))}function PS(e){return!!(4&gb(e))&&(e.target===Zn||e.target===nr)}function NS(e){return!!(4&gb(e))&&e.target===nr}function BS(e){return PS(e)||ok(e)}function OS(e){return PS(e)&&!NS(e)||ok(e)&&!e.target.readonly}function qS(e){return PS(e)?pA(e)[0]:void 0}function $S(e){return PS(e)||!(98304&e.flags)&&IE(e,ur)}function QS(e){return OS(e)||!(98305&e.flags)&&IE(e,cr)}function LS(e){if(!(4&gb(e)&&3&gb(e.target)))return;if(33554432&gb(e))return 67108864&gb(e)?e.cachedEquivalentBaseType:void 0;e.objectFlags|=33554432;const t=e.target;if(1&gb(t)){const e=Zu(t);if(e&&80!==e.expression.kind&&211!==e.expression.kind)return}const n=id(t);if(1!==n.length)return;if(mp(e.symbol).size)return;let r=l(t.typeParameters)?_E(n[0],JC(t.typeParameters,pA(e).slice(0,t.typeParameters.length))):n[0];return l(pA(e))>l(t.typeParameters)&&(r=Cp(r,Ae(pA(e)))),e.objectFlags|=67108864,e.cachedEquivalentBaseType=r}function MS(e){return z?e===fn:e===qt}function jS(e){const t=qS(e);return!!t&&MS(t)}function US(e){let t;return ok(e)||!!z_(e,"0")||$S(e)&&!!(t=Jc(e,"length"))&&kI(t,(e=>!!(256&e.flags)))}function JS(e){return $S(e)||US(e)}function VS(e,t){const n=Jc(e,""+t);return n||(kI(e,ok)?lk(e,t,O.noUncheckedIndexedAccess?Ot:void 0):void 0)}function HS(e){return!(240544&e.flags)}function GS(e){return!!(109472&e.flags)}function WS(e){const t=f_(e);return 2097152&t.flags?J(t.types,GS):GS(t)}function zS(e){return!!(16&e.flags)||(1048576&e.flags?!!(1024&e.flags)||g(e.types,GS):GS(e))}function YS(e){return 1056&e.flags?_d(e):402653312&e.flags?Jt:256&e.flags?Vt:2048&e.flags?Ht:512&e.flags?an:1048576&e.flags?function(e){const t=`B${xv(e)}`;return Do(t)??wo(t,qI(e,YS))}(e):e}function KS(e){return 402653312&e.flags?Jt:288&e.flags?Vt:2048&e.flags?Ht:512&e.flags?an:1048576&e.flags?qI(e,KS):e}function ZS(e){return 1056&e.flags&&mC(e)?_d(e):128&e.flags&&mC(e)?Jt:256&e.flags&&mC(e)?Vt:2048&e.flags&&mC(e)?Ht:512&e.flags&&mC(e)?an:1048576&e.flags?qI(e,ZS):e}function tk(e){return 8192&e.flags?cn:1048576&e.flags?qI(e,tk):e}function nk(e,t){return _q(e,t)||(e=tk(ZS(e))),_C(e)}function rk(e,t,n,r){if(e&&GS(e)){e=nk(e,t?QQ(n,t,r):void 0)}return e}function ok(e){return!!(4&gb(e)&&8&e.target.objectFlags)}function sk(e){return ok(e)&&!!(8&e.target.combinedFlags)}function ak(e){return sk(e)&&1===e.target.elementFlags.length}function ck(e){return uk(e,e.target.fixedLength)}function lk(e,t,n){return qI(e,(e=>{const r=e,i=ck(r);return i?n&&t>=Cv(r.target)?Pv([i,n]):i:Ot}))}function uk(e,t,n=0,r=!1,i=!1){const o=fA(e)-n;if(tXD(e,4194304)))}function fk(e){return qI(e,_k)}function _k(e){return 4&e.flags?Bi:8&e.flags?Oi:64&e.flags?qi:e===Kt||e===Yt||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&dk(e)?e:dn}function hk(e,t){const n=t&~e.flags&98304;return 0===n?e:Pv(32768===n?[e,Ot]:65536===n?[e,jt]:[e,Ot,jt])}function yk(e,t=!1){un.assert(z);const n=t?Qt:Ot;return e===n||1048576&e.flags&&e.types[0]===n?e:Pv([e,n])}function vk(e){return z?tw(e,2097152):e}function Ck(e){return z?Pv([e,Lt]):e}function Ek(e){return z?RI(e,Lt):e}function xk(e,t,n){return n?vl(t)?yk(e):Ck(e):e}function Sk(e,t){return yl(t)?vk(e):gl(t)?Ek(e):e}function kk(e,t){return ue&&t?RI(e,$t):e}function Dk(e){return e===$t||!!(1048576&e.flags)&&e.types[0]===$t}function wk(e){return ue?RI(e,$t):ew(e,524288)}function Ik(e){const t=gb(e);return 2097152&e.flags?g(e.types,Ik):!(!(e.symbol&&7040&e.symbol.flags)||32&e.symbol.flags||AM(e))||!!(4194304&t)||!!(1024&t&&Ik(e.source))}function Tk(e,t){const n=Vo(e.flags,e.escapedName,8&ib(e));n.declarations=e.declarations,n.parent=e.parent,n.links.type=t,n.links.target=e,e.valueDeclaration&&(n.valueDeclaration=e.valueDeclaration);const r=is(e).nameType;return r&&(n.links.nameType=r),n}function Fk(e){if(!(bD(e)&&8192&gb(e)))return e;const t=e.regularType;if(t)return t;const n=e,r=function(e,t){const n=Wd();for(const r of wf(e)){const e=wu(r),i=t(e);n.set(r.escapedName,i===e?r:Tk(r,i))}return n}(e,Fk),i=La(n.symbol,r,n.callSignatures,n.constructSignatures,n.indexInfos);return i.flags=n.flags,i.objectFlags|=-8193&n.objectFlags,e.regularType=i,i}function Rk(e,t,n){return{parent:e,propertyName:t,siblings:n,resolvedProperties:void 0}}function Pk(e){if(!e.siblings){const t=[];for(const n of Pk(e.parent))if(bD(n)){const r=Bf(n,e.propertyName);r&&EI(wu(r),(e=>{t.push(e)}))}e.siblings=t}return e.siblings}function Nk(e){if(!e.resolvedProperties){const t=new Map;for(const n of Pk(e))if(bD(n)&&!(2097152&gb(n)))for(const e of Uf(n))t.set(e.escapedName,e);e.resolvedProperties=Pe(t.values())}return e.resolvedProperties}function qk(e,t){if(!(4&e.flags))return e;const n=wu(e),r=Mk(n,t&&Rk(t,e.escapedName,void 0));return r===n?e:Tk(e,r)}function $k(e){const t=yt.get(e.escapedName);if(t)return t;const n=Tk(e,Qt);return n.flags|=16777216,yt.set(e.escapedName,n),n}function Qk(e){return Mk(e,void 0)}function Mk(e,t){if(196608&gb(e)){if(void 0===t&&e.widened)return e.widened;let n;if(98305&e.flags)n=kt;else if(bD(e))n=function(e,t){const n=Wd();for(const r of wf(e))n.set(r.escapedName,qk(r,t));if(t)for(const e of Nk(t))n.has(e.escapedName)||n.set(e.escapedName,$k(e));const r=La(e.symbol,n,a,a,T(Qm(e),(e=>Pg(e.keyType,Qk(e.type),e.isReadonly))));return r.objectFlags|=266240&gb(e),r}(e,t);else if(1048576&e.flags){const r=t||Rk(void 0,void 0,e.types),i=T(e.types,(e=>98304&e.flags?e:Mk(e,r)));n=Pv(i,J(i,zE)?2:1)}else 2097152&e.flags?n=Mv(T(e.types,Qk)):BS(e)&&(n=aA(e.target,T(pA(e),Qk)));return n&&void 0===t&&(e.widened=n),n||e}return e}function jk(e){var t;let n=!1;if(65536&gb(e))if(1048576&e.flags)if(J(e.types,zE))n=!0;else for(const t of e.types)n||(n=jk(t));else if(BS(e))for(const t of pA(e))n||(n=jk(t));else if(bD(e))for(const r of wf(e)){const i=wu(r);if(65536&gb(i)&&(n=jk(i),!n)){const o=null==(t=r.declarations)?void 0:t.find((t=>{var n;return(null==(n=t.symbol.valueDeclaration)?void 0:n.parent)===e.symbol.valueDeclaration}));o&&(Oo(o,us.Object_literal_s_property_0_implicitly_has_an_1_type,oc(r),cc(Qk(i))),n=!0)}}return n}function Uk(e,t,n){const r=cc(Qk(t));if(Tm(e)&&!nx(Ap(e),O))return;let i;switch(e.kind){case 226:case 172:case 171:i=ie?us.Member_0_implicitly_has_an_1_type:us.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 169:const t=e;if(UD(t.name)){const n=gc(t.name);if((gw(t.parent)||dw(t.parent)||Cw(t.parent))&&t.parent.parameters.includes(t)&&(Ue(t,t.name.escapedText,788968,void 0,!0)||n&&Eb(n))){const n="arg"+t.parent.parameters.indexOf(t),r=Rf(t.name)+(t.dotDotDotToken?"[]":"");return void $o(ie,e,us.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,n,r)}}i=e.dotDotDotToken?ie?us.Rest_parameter_0_implicitly_has_an_any_type:us.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:ie?us.Parameter_0_implicitly_has_an_1_type:us.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 208:if(i=us.Binding_element_0_implicitly_has_an_1_type,!ie)return;break;case 317:return void Oo(e,us.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,r);case 323:return void(ie&&AF(e.parent)&&Oo(e.parent.tagName,us.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,r));case 262:case 174:case 173:case 177:case 178:case 218:case 219:if(ie&&!e.name)return void Oo(e,3===n?us.Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation:us.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,r);i=ie?3===n?us._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:us._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:us._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 200:return void(ie&&Oo(e,us.Mapped_object_type_implicitly_has_an_any_template_type));default:i=ie?us.Variable_0_implicitly_has_an_1_type:us.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}$o(ie,e,i,Rf(Sc(e)),r)}function Jk(e,t,n){s((()=>{ie&&65536&gb(t)&&(!n||ou(e)&&function(e,t){const n=JR(e);if(!n)return!0;let r=Wh(n);const i=Ng(e);switch(t){case 1:return 1&i?r=QQ(1,r,!!(2&i))??r:2&i&&(r=d$(r)??r),Sb(r);case 3:const e=QQ(0,r,!!(2&i));return!!e&&Sb(e);case 2:const t=QQ(2,r,!!(2&i));return!!t&&Sb(t)}return!1}(e,n))&&(jk(t)||Uk(e,t,n))}))}function Vk(e,t,n){const r=tO(e),i=tO(t),o=iO(e),s=iO(t),a=s?i-1:i,c=o?a:Math.min(r,a),l=qh(e);if(l){const e=qh(t);e&&n(l,e)}for(let r=0;re.typeParameter)),w(e.inferences,((t,n)=>()=>(t.isFixed||(!function(e){if(e.intraExpressionInferenceSites){for(const{node:t,type:n}of e.intraExpressionInferenceSites){const r=174===t.kind?CR(t,2):NR(t,2);r&&AD(e.inferences,n,r)}e.intraExpressionInferenceSites=void 0}}(e),zk(e.inferences),t.isFixed=!0),DD(e,n)))))}(i),i.nonFixingMapper=function(e){return KC(w(e.inferences,(e=>e.typeParameter)),w(e.inferences,((t,n)=>()=>DD(e,n))))}(i),i}function zk(e){for(const t of e)t.isFixed||(t.inferredType=void 0)}function Yk(e,t,n){(e.intraExpressionInferenceSites??(e.intraExpressionInferenceSites=[])).push({node:t,type:n})}function Kk(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function Xk(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed,impliedArity:e.impliedArity}}function Zk(e){return e&&e.mapper}function eD(e){const t=gb(e);if(524288&t)return!!(1048576&t);const n=!!(465829888&e.flags||524288&e.flags&&!tD(e)&&(4&t&&(e.node||J(pA(e),eD))||134217728&t&&l(e.outerTypeParameters)||16&t&&e.symbol&&14384&e.symbol.flags&&e.symbol.declarations||12583968&t)||3145728&e.flags&&!(1024&e.flags)&&!tD(e)&&J(e.types,eD));return 3899393&e.flags&&(e.objectFlags|=524288|(n?1048576:0)),n}function tD(e){if(e.aliasSymbol&&!e.aliasTypeArguments){const t=Hd(e.aliasSymbol,265);return!(!t||!dc(t.parent,(e=>307===e.kind||267!==e.kind&&"quit")))}return!1}function nD(e,t,n=0){return!!(e===t||3145728&e.flags&&J(e.types,(e=>nD(e,t,n)))||n<3&&16777216&e.flags&&(nD(Jb(e),t,n+1)||nD(Vb(e),t,n+1)))}function rD(e,t,n){const r=e.id+","+t.id+","+n.id;if(yi.has(r))return yi.get(r);const i=function(e,t,n){if(!(Lm(e,Jt)||0!==Uf(e).length&&iD(e)))return;if(PS(e)){const r=oD(pA(e)[0],t,n);if(!r)return;return Qy(r,NS(e))}if(ok(e)){const r=w(Ev(e),(e=>oD(e,t,n)));if(!g(r,(e=>!!e)))return;return Ky(r,4&vf(t)?T(e.target.elementFlags,(e=>2&e?1:e)):e.target.elementFlags,e.target.readonly,e.target.labeledElementDeclarations)}const r=Na(1040,void 0);return r.source=e,r.mappedType=t,r.constraintType=n,r}(e,t,n);return yi.set(r,i),i}function iD(e){return!(262144&gb(e))||bD(e)&&J(Uf(e),(e=>iD(wu(e))))||ok(e)&&J(Ev(e),iD)}function oD(e,t,n){const r=e.id+","+t.id+","+n.id;if(Ai.has(r))return Ai.get(r)||Bt;co.push(e),lo.push(t);const i=uo;let o;return SS(e,co,co.length,2)&&(uo|=1),SS(t,lo,lo.length,2)&&(uo|=2),3!==uo&&(o=function(e,t,n){const r=Nb(n.type,nf(t)),i=uf(t),o=Kk(r);return AD([o],e,i),cD(o)||Bt}(e,t,n)),co.pop(),lo.pop(),uo=i,Ai.set(r,o),o}function*sD(e,t,n,r){const i=Uf(t);for(const t of i)if(!Kd(t)&&(n||!(16777216&t.flags||48&ib(t)))){const n=z_(e,t.escapedName);if(n){if(r){const e=wu(t);if(109472&e.flags){const r=wu(n);1&r.flags||_C(r)===_C(e)||(yield t)}}}else yield t}}function aD(e,t,n,r){return _e(sD(e,t,n,r))}function cD(e){return e.candidates?Pv(e.candidates,2):e.contraCandidates?Mv(e.contraCandidates):void 0}function lD(e){return!!ss(e).skipDirectInference}function uD(e){return!(!e.symbol||!J(e.symbol.declarations,lD))}function dD(e,t){if(""===e)return!1;const n=+e;return isFinite(n)&&(!t||""+n===e)}function pD(e){return AC(Ax(e))}function fD(e,t){if(1&t.flags)return!0;if(134217732&t.flags)return IE(e,t);if(268435456&t.flags){const n=[];for(;268435456&t.flags;)n.unshift(t.symbol),t=t.type;return Se(n,((e,t)=>sb(t,e)),e)===e&&fD(e,t)}return!1}function _D(e,t){if(2097152&t.flags)return g(t.types,(t=>t===Fn||_D(e,t)));if(4&t.flags||IE(e,t))return!0;if(128&e.flags){const n=e.value;return!!(8&t.flags&&dD(n,!1)||64&t.flags&&yx(n,!1)||98816&t.flags&&n===t.intrinsicName||268435456&t.flags&&fD(hC(n),t)||134217728&t.flags&&hD(e,t))}if(134217728&e.flags){const n=e.texts;return 2===n.length&&""===n[0]&&""===n[1]&&IE(e.types[0],t)}return!1}function mD(e,t){return 128&e.flags?gD([e.value],a,t):134217728&e.flags?ee(e.texts,t.texts)?w(e.types,((e,n)=>IE(f_(e),f_(t.types[n]))?e:function(e){return 402653317&e.flags?e:nb(["",""],[e])}(e))):gD(e.texts,e.types,t):void 0}function hD(e,t){const n=mD(e,t);return!!n&&g(n,((e,n)=>_D(e,t.types[n])))}function gD(e,t,n){const r=e.length-1,i=e[0],o=e[r],s=n.texts,a=s.length-1,c=s[0],l=s[a];if(0===r&&i.length0){let t=p,r=f;for(;r=_(t).indexOf(n,r),!(r>=0);){if(t++,t===e.length)return;r=0}m(t,r),f+=n.length}else if(f<_(p).length)m(p,f+1);else{if(!(p{if(!(128&e.flags))return;const n=_c(e.value),r=Vo(4,n);r.links.type=kt,e.symbol&&(r.declarations=e.symbol.declarations,r.valueDeclaration=e.symbol.valueDeclaration),t.set(n,r)}));const n=4&e.flags?[Pg(Jt,Dn,!1)]:a;return La(void 0,t,a,a,n)}(t);!function(e,t,n){const i=r;r|=n,v(e,t),r=i}(e,s.type,256)}else if(8388608&t.flags&&8388608&s.flags)f(t.objectType,s.objectType),f(t.indexType,s.indexType);else if(268435456&t.flags&&268435456&s.flags)t.symbol===s.symbol&&f(t.type,s.type);else if(33554432&t.flags)f(t.baseType,s),_(DA(t),s,4);else if(16777216&s.flags)m(t,s,D);else if(3145728&s.flags)x(t,s.types,s.flags);else if(1048576&t.flags){const e=t.types;for(const t of e)f(t,s)}else if(134217728&s.flags)!function(e,t){const n=mD(e,t),r=t.types;if(n||g(t.texts,(e=>0===e.length)))for(let e=0;ee|t.flags),0);if(!(4&r)){const n=t.value;296&r&&!dD(n,!0)&&(r&=-297),2112&r&&!yx(n,!0)&&(r&=-2113);const o=Se(e,((e,i)=>i.flags&r?4&e.flags?e:4&i.flags?t:134217728&e.flags?e:134217728&i.flags&&hD(t,i)?t:268435456&e.flags?e:268435456&i.flags&&n===ub(i.symbol,n)?t:128&e.flags?e:128&i.flags&&i.value===n?i:8&e.flags?e:8&i.flags?gC(+n):32&e.flags?e:32&i.flags?gC(+n):256&e.flags?e:256&i.flags&&i.value===+n?i:64&e.flags?e:64&i.flags?pD(n):2048&e.flags?e:2048&i.flags&&hx(i.value)===n?i:16&e.flags?e:16&i.flags?"true"===n?tn:"false"===n?Yt:an:512&e.flags?e:512&i.flags&&i.intrinsicName===n?i:32768&e.flags?e:32768&i.flags&&i.intrinsicName===n?i:65536&e.flags?e:65536&i.flags&&i.intrinsicName===n?i:e:e),dn);if(!(131072&o.flags)){f(o,i);continue}}}}f(t,i)}}(t,s);else{if(Ef(t=$_(t))&&Ef(s)&&m(t,s,I),!(512&r&&467927040&t.flags)){const e=C_(t);if(e!==t&&!(2621440&e.flags))return f(e,s);t=e}2621440&t.flags&&m(t,s,T)}else y(pA(t),pA(s),Px(t.target))}}}function _(e,t,n){const i=r;r|=n,f(e,t),r=i}function m(e,t,n){const r=e.id+","+t.id,i=s&&s.get(r);if(void 0!==i)return void(d=Math.min(d,i));(s||(s=new Map)).set(r,-1);const o=d;d=2048;const a=p;(c??(c=[])).push(e),(l??(l=[])).push(t),SS(e,c,c.length,2)&&(p|=1),SS(t,l,l.length,2)&&(p|=2),3!==p?n(e,t):d=-1,l.pop(),c.pop(),p=a,s.set(r,d),d=Math.min(d,o)}function h(e,t,n){let r,i;for(const o of t)for(const t of e)n(t,o)&&(f(t,o),r=ce(r,t),i=ce(i,o));return[r?S(e,(e=>!C(r,e))):e,i?S(t,(e=>!C(i,e))):t]}function y(e,t,n){const r=e.length!!E(e)));if(!e||t&&e!==t)return;t=e}return t}(t);return void(n&&_(e,n,1))}if(1===i&&!a){const e=R(o,((e,t)=>s[t]?void 0:e));if(e.length)return void f(Pv(e),n)}}else for(const n of t)E(n)?i++:f(e,n);if(2097152&n?1===i:i>0)for(const n of t)E(n)&&_(e,n,1)}function k(e,t,n){if(1048576&n.flags||2097152&n.flags){let r=!1;for(const i of n.types)r=k(e,t,i)||r;return r}if(4194304&n.flags){const r=E(n.type);if(r&&!r.isFixed&&!uD(e)){const i=rD(e,t,n);i&&_(i,r.typeParameter,262144&gb(e)?16:8)}return!0}if(262144&n.flags){_(eb(e,e.pattern?2:0),n,32);const r=Jf(n);if(r&&k(e,t,r))return!0;const i=w(Uf(e),wu),o=w(Qm(e),(e=>e!==di?e.type:dn));return f(Pv(H(i,o)),uf(t)),!0}return!1}function D(e,t){if(16777216&e.flags)f(e.checkType,t.checkType),f(e.extendsType,t.extendsType),f(Jb(e),Jb(t)),f(Vb(e),Vb(t));else{!function(e,t,n,i){const o=r;r|=i,x(e,t,n),r=o}(e,[Jb(t),Vb(t)],t.flags,i?64:0)}}function I(e,t){f(rf(e),rf(t)),f(uf(e),uf(t));const n=of(e),r=of(t);n&&r&&f(n,r)}function T(e,t){var n,r;if(4&gb(e)&&4&gb(t)&&(e.target===t.target||PS(e)&&PS(t)))y(pA(e),pA(t),Px(e.target));else{if(Ef(e)&&Ef(t)&&I(e,t),32&gb(t)&&!t.declaration.nameType){if(k(e,t,rf(t)))return}if(!function(e,t){return ok(e)&&ok(t)?function(e,t){return!(8&t.target.combinedFlags)&&t.target.minLength>e.target.minLength||!(12&t.target.combinedFlags)&&(!!(12&e.target.combinedFlags)||t.target.fixedLength(12&e)==(12&o.target.elementFlags[t]))))){for(let t=0;t0){const e=_m(t,n),o=e.length;for(let t=0;tDE(t,e)?t:e))}(e.contraCandidates)}function SD(e,t){const n=function(e){if(e.length>1){const t=S(e,CD);if(t.length){const n=Pv(t,2);return H(S(e,(e=>!CD(e))),[n])}}return e}(e.candidates),r=function(e){const t=Gf(e);return!!t&&JO(16777216&t.flags?o_(t):t,406978556)}(e.typeParameter)||r_(e.typeParameter),i=!r&&e.topLevel&&(e.isFixed||!function(e,t){const n=$h(e);return n?!!n.type&&nD(n.type,t):nD(Wh(e),t)}(t,e.typeParameter)),o=r?T(n,_C):i?T(n,ZS):n;return Qk(416&e.priority?Pv(o,2):RS(o))}function DD(e,t){const n=e.inferences[t];if(!n.inferredType){let o,s;if(e.signature){const a=n.candidates?SD(n,e.signature):void 0,c=n.contraCandidates?ED(n):void 0;if(a||c){const t=a&&(!c||!(131073&a.flags)&&J(n.contraCandidates,(e=>IE(a,e)))&&g(e.inferences,(e=>e!==n&&Gf(e.typeParameter)!==n.typeParameter||g(e.candidates,(e=>IE(e,a))))));o=t?a:c,s=t?c:a}else if(1&e.flags)o=pn;else{const s=g_(n.typeParameter);s&&(o=_E(s,(r=function(e,t){const n=e.inferences.slice(t);return JC(w(n,(e=>e.typeParameter)),w(n,(()=>Bt)))}(e,t),i=e.nonFixingMapper,r?XC(5,r,i):i)))}}else o=cD(n);n.inferredType=o||wD(!!(2&e.flags));const a=Gf(n.typeParameter);if(a){const t=_E(a,e.nonFixingMapper);o&&e.compareTypes(o,Cp(t,o))||(n.inferredType=s&&e.compareTypes(s,Cp(t,s))?s:t)}}var r,i;return n.inferredType}function wD(e){return e?kt:Bt}function ID(e){const t=[];for(let n=0;nYI(e)||KI(e)||Sw(e))))}function PD(e,t,n,r){switch(e.kind){case 80:if(!dy(e)){const i=FD(e);return i!==bt?`${r?JQ(r):"-1"}|${xv(t)}|${xv(n)}|${VQ(i)}`:void 0}case 110:return`0|${r?JQ(r):"-1"}|${xv(t)}|${xv(n)}`;case 235:case 217:return PD(e.expression,t,n,r);case 166:const i=PD(e.left,t,n,r);return i&&`${i}.${e.right.escapedText}`;case 211:case 212:const o=BD(e);if(void 0!==o){const i=PD(e.expression,t,n,r);return i&&`${i}.${o}`}if(Yw(e)&&UD(e.argumentExpression)){const i=FD(e.argumentExpression);if(ZT(i)||nF(i)&&!qT(i)){const o=PD(e.expression,t,n,r);return o&&`${o}.@${VQ(i)}`}}break;case 206:case 207:case 262:case 218:case 219:case 174:return`${JQ(e)}#${xv(t)}`}}function ND(e,t){switch(t.kind){case 217:case 235:return ND(e,t.expression);case 226:return iv(t)&&ND(e,t.left)||uI(t)&&28===t.operatorToken.kind&&ND(e,t.right)}switch(e.kind){case 236:return 236===t.kind&&e.keywordToken===t.keywordToken&&e.name.escapedText===t.name.escapedText;case 80:case 81:return dy(e)?110===t.kind:80===t.kind&&FD(e)===FD(t)||(HI(t)||Hw(t))&&xa(FD(e))===_a(t);case 110:return 110===t.kind;case 108:return 108===t.kind;case 235:case 217:return ND(e.expression,t);case 211:case 212:const n=BD(e);if(void 0!==n){const r=xb(t)?BD(t):void 0;if(void 0!==r)return r===n&&ND(e.expression,t.expression)}if(Yw(e)&&Yw(t)&&UD(e.argumentExpression)&&UD(t.argumentExpression)){const n=FD(e.argumentExpression);if(n===FD(t.argumentExpression)&&(ZT(n)||nF(n)&&!qT(n)))return ND(e.expression,t.expression)}break;case 166:return xb(t)&&e.right.escapedText===BD(t)&&ND(e.left,t.expression);case 226:return uI(e)&&28===e.operatorToken.kind&&ND(e.right,t)}return!1}function BD(e){if(zw(e))return e.name.escapedText;if(Yw(e))return function(e){return Og(e.argumentExpression)?_c(e.argumentExpression.text):av(e.argumentExpression)?function(e){const t=zs(e,111551,!0);if(!t||!(ZT(t)||8&t.flags))return;const n=t.valueDeclaration;if(void 0===n)return;const r=Xl(n);if(r){const e=OD(r);if(void 0!==e)return e}if(Fd(n)&&cs(n,e)){const e=Jm(n);if(e){const t=Cu(n.parent)?pl(n):Dq(e);return t&&OD(t)}if(UT(n))return Of(n.name)}return}(e.argumentExpression):void 0}(e);if(Hw(e)){const t=sl(e);return t?_c(t):void 0}return aw(e)?""+e.parent.parameters.indexOf(e):void 0}function OD(e){return 8192&e.flags?e.escapedName:384&e.flags?_c(""+e.value):void 0}function qD(e,t){for(;xb(e);)if(ND(e=e.expression,t))return!0;return!1}function $D(e,t){for(;gl(e);)if(ND(e=e.expression,t))return!0;return!1}function QD(e,t){if(e&&1048576&e.flags){const n=k_(e,t);if(n&&2&ib(n))return void 0===n.links.isDiscriminantProperty&&(n.links.isDiscriminantProperty=!(192&~n.links.checkFlags||Sb(wu(n)))),!!n.links.isDiscriminantProperty}return!1}function LD(e,t){let n;for(const r of e)if(QD(t,r.escapedName)){if(n){n.push(r);continue}n=[r]}return n}function MD(e){const t=e.types;if(!(t.length<10||32768&gb(e)||x(t,(e=>!!(59506688&e.flags)))<10)){if(void 0===e.keyPropertyName){const n=u(t,(e=>59506688&e.flags?u(Uf(e),(e=>GS(wu(e))?e.escapedName:void 0)):void 0)),r=n&&function(e,t){const n=new Map;let r=0;for(const i of e)if(61603840&i.flags){const e=Jc(i,t);if(e){if(!zS(e))return;let t=!1;EI(e,(e=>{const r=xv(_C(e)),o=n.get(r);o?o!==Bt&&(n.set(r,Bt),t=!0):n.set(r,i)})),t||r++}}return r>=10&&2*r>=e.length?n:void 0}(t,n);e.keyPropertyName=r?n:"",e.constituentMap=r}return e.keyPropertyName.length?e.keyPropertyName:void 0}}function jD(e,t){var n;const r=null==(n=e.constituentMap)?void 0:n.get(xv(_C(t)));return r!==Bt?r:void 0}function VD(e,t){const n=MD(e),r=n&&Jc(t,n);return r&&jD(e,r)}function HD(e,t){return ND(e,t)||qD(e,t)}function GD(e,t){if(e.arguments)for(const n of e.arguments)if(HD(t,n)||$D(n,t))return!0;return!(211!==e.expression.kind||!HD(t,e.expression.expression))}function WD(e){return e.id<=0&&(e.id=BQ,BQ++),e.id}function zD(e,t){if(e===t)return e;if(131072&t.flags)return t;const n=`A${xv(e)},${xv(t)}`;return Do(n)??wo(n,function(e,t){const n=II(e,(e=>function(e,t){if(!(1048576&e.flags))return IE(e,t);for(const n of e.types)if(IE(n,t))return!0;return!1}(t,e))),r=512&t.flags&&mC(t)?qI(n,fC):n;return IE(t,r)?r:e}(e,t))}function YD(e){if(256&gb(e))return!1;const t=Sf(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&DE(e,Yn))}function KD(e,t){return ZD(e,t)&t}function XD(e,t){return 0!==KD(e,t)}function ZD(e,t){467927040&e.flags&&(e=p_(e)||Bt);const n=e.flags;if(268435460&n)return z?16317953:16776705;if(134217856&n){const t=128&n&&""===e.value;return z?t?12123649:7929345:t?12582401:16776705}if(40&n)return z?16317698:16776450;if(256&n){const t=0===e.value;return z?t?12123394:7929090:t?12582146:16776450}if(64&n)return z?16317188:16775940;if(2048&n){const t=dk(e);return z?t?12122884:7928580:t?12581636:16775940}if(16&n)return z?16316168:16774920;if(528&n)return z?e===Yt||e===Kt?12121864:7927560:e===Yt||e===Kt?12580616:16774920;if(524288&n){return t&(z?83427327:83886079)?16&gb(e)&&zE(e)?z?83427327:83886079:YD(e)?z?7880640:16728e3:z?7888800:16736160:0}return 16384&n?9830144:32768&n?26607360:65536&n?42917664:12288&n?z?7925520:16772880:67108864&n?z?7888800:16736160:131072&n?0:1048576&n?Se(e.types,((e,n)=>e|ZD(n,t)),0):2097152&n?function(e,t){const n=JO(e,402784252);let r=0,i=134217727;for(const o of e.types)if(!(n&&524288&o.flags)){const e=ZD(o,t);r|=e,i&=e}return 8256&r|134209471&i}(e,t):83886079}function ew(e,t){return II(e,(e=>XD(e,t)))}function tw(e,t){const n=kw(ew(z&&2&e.flags?Pn:e,t));if(z)switch(t){case 524288:return rw(n,65536,131072,33554432,jt);case 1048576:return rw(n,131072,65536,16777216,Ot);case 2097152:case 4194304:return qI(n,(e=>XD(e,262144)?function(e){return dr||(dr=VA("NonNullable",524288,void 0)||bt),dr!==bt?mA(dr,[e]):Mv([e,Dn])}(e):e))}return n}function rw(e,t,n,r,i){const o=KD(e,50528256);if(!(o&t))return e;const s=Pv([Dn,i]);return qI(e,(e=>XD(e,t)?Mv([e,o&r||!XD(e,n)?Dn:s]):e))}function kw(e){return e===Pn?Bt:e}function Fw(e,t){return t?Pv([el(e),Dq(t)]):e}function Rw(e,t){var n;const r=zv(t);if(!aS(r))return Tt;const i=cS(r);return Jc(e,i)||Ow(null==(n=ih(e,i))?void 0:n.type)||Tt}function Nw(e,t){return kI(e,US)&&VS(e,t)||Ow(dQ(65,e,Ot,void 0))||Tt}function Ow(e){return e&&O.noUncheckedIndexedAccess?Pv([e,$t]):e}function Qw(e){return Qy(dQ(65,e,Ot,void 0)||Tt)}function jw(e){return 226===e.parent.kind&&e.parent.left===e||250===e.parent.kind&&e.parent.initializer===e}function Uw(e){return Rw(eI(e.parent),e.name)}function eI(e){const{parent:t}=e;switch(t.kind){case 249:return Jt;case 250:return uQ(t)||Tt;case 226:return function(e){return 209===e.parent.kind&&jw(e.parent)||303===e.parent.kind&&jw(e.parent.parent)?Fw(eI(e),e.right):Dq(e.right)}(t);case 220:return Ot;case 209:return function(e,t){return Nw(eI(e),e.elements.indexOf(t))}(t,e);case 230:return function(e){return Qw(eI(e.parent))}(t);case 303:return Uw(t);case 304:return function(e){return Fw(Uw(e),e.objectAssignmentInitializer)}(t)}return Tt}function iI(e){return ss(e).resolvedType||Dq(e)}function sI(e){return 260===e.kind?function(e){return e.initializer?iI(e.initializer):249===e.parent.parent.kind?Jt:250===e.parent.parent.kind&&uQ(e.parent.parent)||Tt}(e):function(e){const t=e.parent,n=sI(t.parent);return Fw(206===t.kind?Rw(n,e.propertyName||e.name):e.dotDotDotToken?Qw(n):Nw(n,t.elements.indexOf(e)),e.initializer)}(e)}function lI(e){switch(e.kind){case 217:return lI(e.expression);case 226:switch(e.operatorToken.kind){case 64:case 76:case 77:case 78:return lI(e.left);case 28:return lI(e.right)}}return e}function dI(e){const{parent:t}=e;return 217===t.kind||226===t.kind&&64===t.operatorToken.kind&&t.left===e||226===t.kind&&28===t.operatorToken.kind&&t.right===e?dI(t):e}function pI(e){return 296===e.kind?_C(Dq(e.expression)):dn}function fI(e){const t=ss(e);if(!t.switchTypes){t.switchTypes=[];for(const n of e.caseBlock.clauses)t.switchTypes.push(pI(n))}return t.switchTypes}function AI(e){if(J(e.caseBlock.clauses,(e=>296===e.kind&&!Od(e.expression))))return;const t=[];for(const n of e.caseBlock.clauses){const e=296===n.kind?n.expression.text:void 0;t.push(e&&!C(t,e)?e:void 0)}return t}function CI(e,t){return!!(e===t||131072&e.flags||1048576&t.flags&&function(e,t){if(1048576&e.flags){for(const n of e.types)if(!Sv(t.types,n))return!1;return!0}if(1056&e.flags&&_d(e)===t)return!0;return Sv(t.types,e)}(e,t))}function EI(e,t){return 1048576&e.flags?u(e.types,t):t(e)}function xI(e,t){return 1048576&e.flags?J(e.types,t):t(e)}function kI(e,t){return 1048576&e.flags?g(e.types,t):t(e)}function II(e,t){if(1048576&e.flags){const n=e.types,r=S(n,t);if(r===n)return e;const i=e.origin;let o;if(i&&1048576&i.flags){const e=i.types,s=S(e,(e=>!!(1048576&e.flags)||t(e)));if(e.length-s.length==n.length-r.length){if(1===s.length)return s[0];o=Rv(1048576,s)}}return Ov(r,16809984&e.objectFlags,void 0,void 0,o)}return 131072&e.flags||t(e)?e:dn}function RI(e,t){return II(e,(e=>e!==t))}function PI(e){return 1048576&e.flags?e.types.length:1}function qI(e,t,n){if(131072&e.flags)return e;if(!(1048576&e.flags))return t(e);const r=e.origin,i=r&&1048576&r.flags?r.types:e.types;let o,s=!1;for(const e of i){const r=1048576&e.flags?qI(e,t,n):t(e);s||(s=e!==r),r&&(o?o.push(r):o=[r])}return s?o&&Pv(o,n?0:1):e}function $I(e,t,n,r){return 1048576&e.flags&&n?Pv(w(e.types,t),1,n,r):qI(e,t)}function QI(e,t){return II(e,(e=>!!(e.flags&t)))}function LI(e,t){return JO(e,134217804)&&JO(t,402655616)?qI(e,(e=>4&e.flags?QI(t,402653316):bb(e)&&!JO(t,402653188)?QI(t,128):8&e.flags?QI(t,264):64&e.flags?QI(t,2112):e)):e}function MI(e){return 0===e.flags}function jI(e){return 0===e.flags?e.type:e}function UI(e,t){return t?{flags:0,type:131072&e.flags?pn:e}:e}function JI(e){return gt[e.id]||(gt[e.id]=function(e){const t=Na(256);return t.elementType=e,t}(e))}function VI(e,t){const n=Fk(YS(Iq(t)));return CI(n,e.elementType)?e:JI(Pv([e.elementType,n]))}function tT(e){return e.finalArrayType||(e.finalArrayType=131072&(t=e.elementType).flags?lr:Qy(1048576&t.flags?Pv(t.types,2):t));var t}function sT(e){return 256&gb(e)?tT(e):e}function aT(e){return 256&gb(e)?e.elementType:dn}function cT(e){const t=dI(e),n=t.parent,r=zw(n)&&("length"===n.name.escapedText||213===n.parent.kind&&UD(n.name)&&Yg(n.name)),i=212===n.kind&&n.expression===t&&226===n.parent.kind&&64===n.parent.operatorToken.kind&&n.parent.left===n&&!Kh(n.parent)&&VO(Dq(n.argumentExpression),296);return r||i}function uT(e,t){if(8752&(e=Qs(e)).flags)return wu(e);if(7&e.flags){if(262144&ib(e)){const t=e.links.syntheticOrigin;if(t&&uT(t))return wu(e)}const n=e.valueDeclaration;if(n){if(function(e){return(HI(e)||uw(e)||lw(e)||aw(e))&&!!(_y(e)||Tm(e)&&Td(e)&&e.initializer&&$x(e.initializer)&&hy(e.initializer))}(n))return wu(e);if(HI(n)&&250===n.parent.parent.kind){const e=n.parent.parent,t=dT(e.expression,void 0);if(t){return dQ(e.awaitModifier?15:13,t,Ot,void 0)}}t&&sx(t,$f(n,us._0_needs_an_explicit_type_annotation,oc(e)))}}}function dT(e,t){if(!(67108864&e.flags))switch(e.kind){case 80:return uT(xa(FD(e)),t);case 110:return function(e){const t=em(e,!1,!1);if(ru(t)){const e=Sh(t);if(e.thisParameter)return uT(e.thisParameter)}if(du(t.parent)){const e=_a(t.parent);return Iy(t)?wu(e):Cd(e).thisType}}(e);case 108:return WF(e);case 211:{const n=dT(e.expression,t);if(n){const r=e.name;let i;if(JD(r)){if(!n.symbol)return;i=z_(n,Jg(n.symbol,r.escapedText))}else i=z_(n,r.escapedText);return i&&uT(i,t)}return}case 217:return dT(e.expression,t)}}function fT(e){const t=ss(e);let n=t.effectsSignature;if(void 0===n){let r;if(uI(e)){r=zO(LP(e.right))}else 244===e.parent.kind?r=dT(e.expression,void 0):108!==e.expression.kind&&(r=gl(e)?WP(Sk(Tq(e.expression),e.expression),e.expression):LP(e.expression));const i=_m(r&&C_(r)||Bt,0),o=1!==i.length||i[0].typeParameters?J(i,yT)?bB(e):void 0:i[0];n=t.effectsSignature=o&&yT(o)?o:ci}return n===ci?void 0:n}function yT(e){return!!($h(e)||e.declaration&&131072&(zh(e.declaration)||Bt).flags)}function vT(e){const t=CT(e,!1);return ti=e,ni=t,t}function bT(e){const t=sg(e,!0);return 97===t.kind||226===t.kind&&(56===t.operatorToken.kind&&(bT(t.left)||bT(t.right))||57===t.operatorToken.kind&&bT(t.left)&&bT(t.right))}function CT(e,t){for(;;){if(e===ti)return ni;const n=e.flags;if(4096&n){if(!t){const t=WD(e),n=eo[t];return void 0!==n?n:eo[t]=CT(e,!0)}t=!1}if(368&n)e=e.antecedent;else if(512&n){const t=fT(e.node);if(t){const n=$h(t);if(n&&3===n.kind&&!n.type){const t=e.node.arguments[n.parameterIndex];if(t&&bT(t))return!1}if(131072&Wh(t).flags)return!1}e=e.antecedent}else{if(4&n)return J(e.antecedent,(e=>CT(e,!1)));if(8&n){const t=e.antecedent;if(void 0===t||0===t.length)return!1;e=t[0]}else{if(!(128&n)){if(1024&n){ti=void 0;const t=e.node.target,n=t.antecedent;t.antecedent=e.node.antecedents;const r=CT(e.antecedent,!1);return t.antecedent=n,r}return!(1&n)}{const t=e.node;if(t.clauseStart===t.clauseEnd&&TO(t.switchStatement))return!1;e=e.antecedent}}}}}function DT(e,t){for(;;){const n=e.flags;if(4096&n){if(!t){const t=WD(e),n=to[t];return void 0!==n?n:to[t]=DT(e,!0)}t=!1}if(496&n)e=e.antecedent;else if(512&n){if(108===e.node.expression.kind)return!0;e=e.antecedent}else{if(4&n)return g(e.antecedent,(e=>DT(e,!1)));if(!(8&n)){if(1024&n){const t=e.node.target,n=t.antecedent;t.antecedent=e.node.antecedents;const r=DT(e.antecedent,!1);return t.antecedent=n,r}return!!(1&n)}e=e.antecedent[0]}}}function TT(e){switch(e.kind){case 110:return!0;case 80:if(!dy(e)){const t=FD(e);return ZT(t)||nF(t)&&!qT(t)||!!t.valueDeclaration&&nI(t.valueDeclaration)}break;case 211:case 212:return TT(e.expression)&&qO(ss(e).resolvedSymbol||bt);case 206:case 207:const t=Xg(e.parent);return aw(t)||qx(t)?!zT(t):HI(t)&&Qj(t)}return!1}function NT(e,t,n=t,r,i=(t=>null==(t=et(e,Nh))?void 0:t.flowNode)()){let o,s=!1,a=0;if(xi)return Tt;if(!i)return t;Si++;const c=Ei,l=jI(p(i));Ei=c;const u=256&gb(l)&&cT(e)?lr:sT(l);return u===_n||e.parent&&235===e.parent.kind&&!(131072&u.flags)&&131072&ew(u,2097152).flags?t:u;function d(){return s?o:(s=!0,o=PD(e,t,n,r))}function p(i){var o;if(2e3===a)return null==(o=Hn)||o.instant(Hn.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:i.id}),xi=!0,function(e){const t=dc(e,lu),n=Ap(e),r=zf(n,t.statements.pos);po.add(Yb(n,r.start,r.length,us.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}(e),Tt;let s;for(a++;;){const o=i.flags;if(4096&o){for(let e=c;e=0&&n.parameterIndex297===e.kind));if(n===r||o>=n&&oKD(e,t)===t))}return Pv(w(i.slice(n,r),(t=>t?J(e,t):dn)))}(i,t.node);else if(112===n.kind)i=function(e,{switchStatement:t,clauseStart:n,clauseEnd:r}){const i=v(t.caseBlock.clauses,(e=>297===e.kind)),o=n===r||i>=n&&i296===t.kind?X(e,t.expression,!0):dn)))}(i,t.node);else{z&&($D(n,e)?i=j(i,t.node,(e=>!(163840&e.flags))):221===n.kind&&$D(n.expression,e)&&(i=j(i,t.node,(e=>!(131072&e.flags||128&e.flags&&"undefined"===e.value)))));const r=D(n,i);r&&(i=function(e,t,n){if(n.clauseStartjD(e,t)||Bt)));if(t!==Bt)return t}return F(e,t,(e=>U(e,n)))}(i,r,t.node))}return UI(i,MI(r))}function x(e){const r=[];let i,o=!1,s=!1;for(const a of e.antecedent){if(!i&&128&a.flags&&a.node.clauseStart===a.node.clauseEnd){i=a;continue}const e=p(a),c=jI(e);if(c===t&&t===n)return c;ae(r,c),CI(c,n)||(o=!0),MI(e)&&(s=!0)}if(i){const e=p(i),a=jI(e);if(!(131072&a.flags||C(r,a)||TO(i.node.switchStatement))){if(a===t&&t===n)return a;r.push(a),CI(a,n)||(o=!0),MI(e)&&(s=!0)}}return UI(k(r,o?2:1),s)}function S(e){const r=WD(e),i=Wi[r]||(Wi[r]=new Map),o=d();if(!o)return t;const s=i.get(o);if(s)return s;for(let t=bi;t{const t=Vc(e,r)||Bt;return!(131072&t.flags)&&!(131072&a.flags)&&RE(a,t)}))}function R(e,t,n,r,i){if((37===n||38===n)&&1048576&e.flags){const o=MD(e);if(o&&o===BD(t)){const t=jD(e,Dq(r));if(t)return n===(i?37:38)?t:GS(Jc(t,o)||Bt)?RI(e,t):e}}return F(e,t,(e=>Q(e,n,r,i)))}function P(t,n,r){if(ND(e,n))return tw(t,r?4194304:8388608);z&&r&&$D(n,e)&&(t=tw(t,2097152));const i=D(n,t);return i?F(t,i,(e=>ew(e,r?4194304:8388608))):t}function N(e,t,n){const r=z_(e,t);return r?!!(16777216&r.flags||48&ib(r))||n:!!ih(e,t)||!n}function B(e,t,n){const r=cS(t);if(xI(e,(e=>N(e,r,!0))))return II(e,(e=>N(e,r,n)));if(n){const n=(Hr||(Hr=JA("Record",2,!0)||bt),Hr===bt?void 0:Hr);if(n)return Mv([e,mA(n,[t,Bt])])}return e}function O(e,t,n,r,i){return X(e,t,i=i!==(112===n.kind)!=(38!==r&&36!==r))}function q(t,n,r){switch(n.operatorToken.kind){case 64:case 76:case 77:case 78:return P(X(t,n.right,r),n.left,r);case 35:case 36:case 37:case 38:const i=n.operatorToken.kind,o=lI(n.left),s=lI(n.right);if(221===o.kind&&Od(s))return L(t,o,i,s,r);if(221===s.kind&&Od(o))return L(t,s,i,o,r);if(ND(e,o))return Q(t,i,s,r);if(ND(e,s))return Q(t,i,o,r);z&&($D(o,e)?t=$(t,i,s,r):$D(s,e)&&(t=$(t,i,o,r)));const a=D(o,t);if(a)return R(t,a,i,s,r);const c=D(s,t);if(c)return R(t,c,i,o,r);if(H(o))return G(t,i,s,r);if(H(s))return G(t,i,o,r);if(su(s)&&!xb(o))return O(t,o,s,i,r);if(su(o)&&!xb(s))return O(t,s,o,i,r);break;case 104:return function(t,n,r){const i=lI(n.left);if(!ND(e,i))return r&&z&&$D(i,e)?tw(t,2097152):t;const o=n.right,s=Dq(o);if(!TE(s,zn))return t;const a=fT(n),c=a&&$h(a);if(c&&1===c.kind&&0===c.parameterIndex)return Y(t,c.type,r,!0);if(!TE(s,Yn))return t;const l=qI(s,W);if(Hc(t)&&(l===zn||l===Yn)||!r&&(!(524288&l.flags)||YE(l)))return t;return Y(t,l,r,!0)}(t,n,r);case 103:if(JD(n.left))return function(t,n,r){const i=lI(n.right);if(!ND(e,i))return t;un.assertNode(n.left,JD);const o=rN(n.left);if(void 0===o)return t;const s=o.parent,a=Ty(un.checkDefined(o.valueDeclaration,"should always have a declaration"))?wu(s):Cd(s);return Y(t,a,r,!0)}(t,n,r);const l=lI(n.right);if(Dk(t)&&xb(e)&&ND(e.expression,l)){const i=Dq(n.left);if(aS(i)&&BD(e)===cS(i))return ew(t,r?524288:65536)}if(ND(e,l)){const e=Dq(n.left);if(aS(e))return B(t,e,r)}break;case 28:return X(t,n.right,r);case 56:return r?X(X(t,n.left,!0),n.right,!0):Pv([X(t,n.left,!1),X(t,n.right,!1)]);case 57:return r?Pv([X(t,n.left,!0),X(t,n.right,!0)]):X(X(t,n.left,!1),n.right,!1)}return t}function $(e,t,n,r){const i=35===t||37===t,o=35===t||36===t?98304:32768,s=Dq(n);return i!==r&&kI(s,(e=>!!(e.flags&o)))||i===r&&kI(s,(e=>!(e.flags&(3|o))))?tw(e,2097152):e}function Q(e,t,n,r){if(1&e.flags)return e;36!==t&&38!==t||(r=!r);const i=Dq(n),o=35===t||36===t;if(98304&i.flags){if(!z)return e;return tw(e,o?r?262144:2097152:65536&i.flags?r?131072:1048576:r?65536:524288)}if(r){if(!o&&(2&e.flags||xI(e,YE))){if(469893116&i.flags||YE(i))return i;if(524288&i.flags)return mn}const t=II(e,(e=>RE(e,i)||o&&function(e,t){return!!(524&e.flags)&&!!(28&t.flags)}(e,i)));return LI(t,i)}return GS(i)?II(e,(e=>!(WS(e)&&RE(e,i)))):e}function L(t,n,r,i,o){36!==r&&38!==r||(o=!o);const s=lI(n.expression);if(!ND(e,s)){z&&$D(s,e)&&o===("undefined"!==i.text)&&(t=tw(t,2097152));const n=D(s,t);return n?F(t,n,(e=>M(e,i,o))):t}return M(t,i,o)}function M(e,t,n){return n?J(e,t.text):tw(e,qQ.get(t.text)||32768)}function j(e,{switchStatement:t,clauseStart:n,clauseEnd:r},i){return n!==r&&g(fI(t).slice(n,r),i)?ew(e,2097152):e}function U(e,{switchStatement:t,clauseStart:n,clauseEnd:r}){const i=fI(t);if(!i.length)return e;const o=i.slice(n,r),s=n===r||C(o,dn);if(2&e.flags&&!s){let t;for(let n=0;nRE(a,e))),a);if(!s)return c;const l=II(e,(e=>!(WS(e)&&C(i,32768&e.flags?Ot:_C(function(e){return 2097152&e.flags&&A(e.types,GS)||e}(e))))));return 131072&c.flags?l:Pv([c,l])}function J(e,t){switch(t){case"string":return V(e,Jt,1);case"number":return V(e,Vt,2);case"bigint":return V(e,Ht,4);case"boolean":return V(e,an,8);case"symbol":return V(e,cn,16);case"object":return 1&e.flags?e:Pv([V(e,mn,32),V(e,jt,131072)]);case"function":return 1&e.flags?e:V(e,Yn,64);case"undefined":return V(e,Ot,65536)}return V(e,mn,128)}function V(e,t,n){return qI(e,(e=>ix(e,t,ho)?XD(e,n)?e:dn:DE(t,e)?t:XD(e,n)?Mv([e,t]):dn))}function H(t){return(zw(t)&&"constructor"===hc(t.name)||Yw(t)&&Od(t.argumentExpression)&&"constructor"===t.argumentExpression.text)&&ND(e,t.expression)}function G(e,t,n,r){if(r?35!==t&&37!==t:36!==t&&38!==t)return e;const i=Dq(n);if(!QM(i)&&!Xu(i))return e;const o=z_(i,"prototype");if(!o)return e;const s=wu(o),a=Hc(s)?void 0:s;return a&&a!==zn&&a!==Yn?Hc(e)?a:II(e,(e=>function(e,t){if(524288&e.flags&&1&gb(e)||524288&t.flags&&1&gb(t))return e.symbol===t.symbol;return DE(e,t)}(e,a))):e}function W(e){const t=Jc(e,"prototype");if(t&&!Hc(t))return t;const n=_m(e,1);return n.length?Pv(w(n,(e=>Wh(Sg(e))))):Dn}function Y(e,t,n,r){const i=1048576&e.flags?`N${xv(e)},${xv(t)},${(n?1:0)|(r?2:0)}`:void 0;return Do(i)??wo(i,function(e,t,n,r){if(!n){if(e===t)return dn;if(r)return II(e,(e=>!TE(e,t)));const n=Y(e,t,!0,!1);return II(e,(e=>!CI(e,n)))}if(3&e.flags)return t;if(e===t)return t;const i=r?TE:DE,o=1048576&e.flags?MD(e):void 0,s=qI(t,(t=>{const n=o&&Jc(t,o),s=qI(n&&jD(e,n)||e,r?e=>TE(e,t)?e:TE(t,e)?t:dn:e=>wE(e,t)?e:wE(t,e)?t:DE(e,t)?e:DE(t,e)?t:dn);return 131072&s.flags?qI(e,(e=>JO(e,465829888)&&i(t,p_(e)||Bt)?Mv([e,t]):dn)):s}));return 131072&s.flags?DE(t,e)?t:IE(e,t)?e:IE(t,e)?t:Mv([e,t]):s}(e,t,n,r))}function K(t,n,r,i){if(n.type&&(!Hc(t)||n.type!==zn&&n.type!==Yn)){const o=function(e,t){if(1===e.kind||3===e.kind)return t.arguments[e.parameterIndex];const n=sg(t.expression);return xb(n)?sg(n.expression):void 0}(n,r);if(o){if(ND(e,o))return Y(t,n.type,i,!1);z&&$D(o,e)&&(i&&!XD(n.type,65536)||!i&&kI(n.type,jP))&&(t=tw(t,2097152));const r=D(o,t);if(r)return F(t,r,(e=>Y(e,n.type,i,!1)))}}return t}function X(t,n,r){if(yl(n)||uI(n.parent)&&(61===n.parent.operatorToken.kind||78===n.parent.operatorToken.kind)&&n.parent.left===n)return function(t,n,r){if(ND(e,n))return tw(t,r?2097152:262144);const i=D(n,t);if(i)return F(t,i,(e=>ew(e,r?2097152:262144)));return t}(t,n,r);switch(n.kind){case 80:if(!ND(e,n)&&I<5){const i=FD(n);if(ZT(i)){const n=i.valueDeclaration;if(n&&HI(n)&&!n.type&&n.initializer&&TT(e)){I++;const e=X(t,n.initializer,r);return I--,e}}}case 110:case 108:case 211:case 212:return P(t,n,r);case 213:return function(t,n,r){if(GD(n,e)){const e=r||!hl(n)?fT(n):void 0,i=e&&$h(e);if(i&&(0===i.kind||1===i.kind))return K(t,i,n,r)}if(Dk(t)&&xb(e)&&zw(n.expression)){const i=n.expression;if(ND(e.expression,lI(i.expression))&&UD(i.name)&&"hasOwnProperty"===i.name.escapedText&&1===n.arguments.length){const i=n.arguments[0];if(Od(i)&&BD(e)===_c(i.text))return ew(t,r?524288:65536)}}return t}(t,n,r);case 217:case 235:return X(t,n.expression,r);case 226:return q(t,n,r);case 224:if(54===n.operator)return X(t,n.operand,!r)}return t}}function OT(e){return dc(e.parent,(e=>ru(e)&&!om(e)||268===e.kind||307===e.kind||172===e.kind))}function qT(e){return!VT(e,void 0)}function VT(e,t){const n=dc(e.valueDeclaration,KT);if(!n)return!1;const r=ss(n);return 131072&r.flags||(r.flags|=131072,function(e){return!!dc(e.parent,(e=>KT(e)&&!!(131072&ss(e).flags)))}(n)||XT(n)),!e.lastAssignmentPos||t&&Math.abs(e.lastAssignmentPos)232!==e.kind&&YT(e.name)))}function KT(e){return ou(e)||JT(e)}function XT(e){switch(e.kind){case 80:const t=Yh(e);if(0!==t){const n=FD(e),r=1===t||void 0!==n.lastAssignmentPos&&n.lastAssignmentPos<0;if(nF(n)){if(void 0===n.lastAssignmentPos||Math.abs(n.lastAssignmentPos)!==Number.MAX_VALUE){const t=dc(e,KT),r=dc(n.valueDeclaration,KT);n.lastAssignmentPos=t===r?function(e,t){let n=e.pos;for(;e&&e.pos>t.pos;){switch(e.kind){case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 258:case 263:n=e.end}e=e.parent}return n}(e,n.valueDeclaration):Number.MAX_VALUE}r&&n.lastAssignmentPos>0&&(n.lastAssignmentPos*=-1)}}return;case 281:const n=e.parent.parent,r=e.propertyName||e.name;if(!e.isTypeOnly&&!n.isTypeOnly&&!n.moduleSpecifier&&11!==r.kind){const e=zs(r,111551,!0,!0);if(e&&nF(e)){const t=void 0!==e.lastAssignmentPos&&e.lastAssignmentPos<0?-1:1;e.lastAssignmentPos=t*Number.MAX_VALUE}}return;case 264:case 265:case 266:return}vu(e)||OP(e,XT)}function ZT(e){return 3&e.flags&&!!(6&PP(e))}function nF(e){const t=e.valueDeclaration&&Xg(e.valueDeclaration);return!!t&&(aw(t)||HI(t)&&(QT(t.parent)||oF(t)))}function oF(e){return!!(1&e.parent.flags)&&!(32&ic(e)||243===e.parent.parent.kind&&Xf(e.parent.parent.parent))}function sF(e,t){const n=z&&169===t.kind&&t.initializer&&XD(e,16777216)&&!function(e){const t=ss(e);if(void 0===t.parameterInitializerContainsUndefined){if(!Qc(e,8))return Su(e.symbol),!0;const n=!!XD(uq(e,0),16777216);if(!jc())return Su(e.symbol),!0;t.parameterInitializerContainsUndefined??(t.parameterInitializerContainsUndefined=n)}return t.parameterInitializerContainsUndefined}(t);return n?ew(e,524288):e}function uF(e){return 2097152&e.flags?J(e.types,uF):!!(465829888&e.flags&&1146880&f_(e).flags)}function dF(e){return 2097152&e.flags?J(e.types,dF):!(!(465829888&e.flags)||JO(f_(e),98304))}function fF(e,t,n){xA(e)&&(e=e.baseType);const r=!(n&&2&n)&&xI(e,uF)&&(function(e,t){const n=t.parent;return 211===n.kind||166===n.kind||213===n.kind&&n.expression===t||214===n.kind&&n.expression===t||212===n.kind&&n.expression===t&&!(xI(e,dF)&&wb(Dq(n.argumentExpression)))}(e,t)||function(e,t){const n=(UD(e)||zw(e)||Yw(e))&&!((kT(e.parent)||ST(e.parent))&&e.parent.tagName===e)&&NR(e,t&&32&t?8:void 0);return n&&!Sb(n)}(t,n));return r?qI(e,f_):e}function _F(e){return!!dc(e,(e=>{const t=e.parent;return void 0===t?"quit":mT(t)?t.expression===e&&av(e):!!AT(t)&&(t.name===e||t.propertyName===e)}))}function mF(e,t,n,r){if(Le&&(!(33554432&e.flags)||lw(e)||uw(e)))switch(t){case 1:return hF(e);case 2:return gF(e,n,r);case 3:return yF(e);case 4:return vF(e);case 5:return bF(e);case 6:return EF(e);case 7:return SF(e);case 8:return wF(e);case 0:if(UD(e)&&(vm(e)||MT(e.parent)||rT(e.parent)&&e.parent.moduleReference===e)&&QF(e)){if(Pu(e.parent)){if((zw(e.parent)?e.parent.expression:e.parent.left)!==e)return}return void hF(e)}if(Pu(e)){let t=e;for(;Pu(t);){if(S_(t))return;t=t.parent}return gF(e)}if(mT(e))return yF(e);if(vd(e)||IT(e))return vF(e);if(rT(e))return Dm(e)||RL(e)?EF(e):void 0;if(AT(e))return SF(e);if((ou(e)||dw(e))&&bF(e),!O.emitDecoratorMetadata)return;if(!(lP(e)&&Oy(e)&&e.modifiers&&pm(j,e,e.parent,e.parent.parent)))return;return wF(e);default:un.assertNever(t,`Unhandled reference hint: ${t}`)}}function hF(e){const t=FD(e);t&&t!==Be&&t!==bt&&!dy(e)&&TF(t,e)}function gF(e,t,n){const r=zw(e)?e.expression:e.left;if(ly(r)||!UD(r))return;const i=FD(r);if(!i||i===bt)return;if(EC(O)||TC(O)&&_F(e))return void TF(i,e);const o=n||cq(r);if(Hc(o)||o===pn)return void TF(i,e);let s=t;if(!s&&!n){const t=zw(e)?e.name:e.right,n=JD(t)&&tN(t.escapedText,t),r=C_(0!==Yh(e)||eN(e)?Qk(o):o);s=JD(t)?n&&iN(r,n)||void 0:z_(r,t.escapedText)}s&&(wM(s)||8&s.flags&&306===e.parent.kind)||TF(i,e)}function yF(e){if(UD(e.expression)){const t=e.expression,n=xa(zs(t,-1,!0,!0,e));n&&TF(n,t)}}function vF(e){if(!gP(e)){const t=po&&2===O.jsx?us.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found:void 0,n=To(e),r=vd(e)?e.tagName:e;let i;if(IT(e)&&"null"===n||(i=Ue(r,n,1===O.jsx?111167:111551,t,!0)),i&&(i.isReferenced=-1,Le&&2097152&i.flags&&!Hs(i)&&RF(i)),IT(e)){const n=Fo(Ap(e));n&&Ue(r,n,1===O.jsx?111167:111551,t,!0)}}}function bF(e){if($<2&&2&Ng(e)){!function(e){BF(e&&um(e),!1)}(hy(e))}}function EF(e){wy(e,32)&&NF(e)}function SF(e){if(e.parent.parent.moduleSpecifier||e.isTypeOnly||e.parent.parent.isTypeOnly);else{const t=e.propertyName||e.name;if(11===t.kind)return;const n=Ue(t,t.escapedText,2998271,void 0,!0);if(n&&(n===we||n===Ie||n.declarations&&Xf(Uc(n.declarations[0]))));else{const r=n&&(2097152&n.flags?Ls(n):n);(!r||111551&js(r))&&(NF(e),hF(t))}}}function wF(e){if(O.emitDecoratorMetadata){const t=A(e.modifiers,cw);if(!t)return;switch(tj(t,16),e.kind){case 263:const t=iy(e);if(t)for(const e of t.parameters)OF(y$(e));break;case 177:case 178:const n=177===e.kind?178:177,r=Hd(_a(e),n);OF(au(e)||r&&au(r));break;case 174:for(const t of e.parameters)OF(y$(t));OF(hy(e));break;case 172:OF(_y(e));break;case 169:OF(y$(e));const i=e.parent;for(const e of i.parameters)OF(y$(e));OF(hy(i))}}}function TF(e,t){if(Le&&$s(e,111551)&&!uy(t)){const n=Ls(e);1160127&js(e,!0)&&(EC(O)||TC(O)&&_F(t)||!wM(xa(n)))&&RF(e)}}function RF(e){un.assert(Le);const t=is(e);if(!t.referenced){t.referenced=!0;const n=vs(e);if(!n)return un.fail();if(Dm(n)&&111551&js(Qs(e))){hF(cv(n.moduleReference))}}}function NF(e){const t=_a(e),n=Ls(t);if(n){(n===bt||111551&js(t,!0)&&!wM(n))&&RF(t)}}function BF(e,t){if(!e)return;const n=cv(e),r=2097152|(80===e.kind?788968:1920),i=Ue(n,n.escapedText,r,void 0,!0);if(i&&2097152&i.flags)if(Le&&ka(i)&&!wM(Ls(i))&&!Hs(i))RF(i);else if(t&&EC(O)&&vC(O)>=5&&!ka(i)&&!J(i.declarations,Ml)){const t=Oo(e,us.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),r=A(i.declarations||a,bs);r&&sx(t,$f(r,us._0_was_imported_here,hc(n)))}}function OF(e){const t=g$(e);t&&eu(t)&&BF(t,!0)}function qF(e,t){if(dy(e))return;if(t===Be){if(lN(e))return void Oo(e,us.arguments_cannot_be_referenced_in_property_initializers);let t=W_(e);if(t)for($<2&&(219===t.kind?Oo(e,us.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression):wy(t,1024)&&Oo(e,us.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method)),ss(t).flags|=512;t&&rI(t);)t=W_(t),t&&(ss(t).flags|=512);return}const n=xa(t),r=BL(n,e);jo(r)&&_b(e,r)&&r.declarations&&Jo(e,r.declarations,e.escapedText);const i=n.valueDeclaration;if(i&&32&n.flags&&du(i)&&i.name!==e){let t=em(e,!1,!1);for(;307!==t.kind&&t.parent!==i;)t=em(t,!1,!1);307!==t.kind&&(ss(i).flags|=262144,ss(t).flags|=262144,ss(e).flags|=536870912)}!function(e,t){if($>=2||!(34&t.flags)||!t.valueDeclaration||JT(t.valueDeclaration)||299===t.valueDeclaration.parent.kind)return;const n=Tf(t.valueDeclaration),r=function(e,t){return!!dc(e,(e=>e===t?"quit":ru(e)||e.parent&&uw(e.parent)&&!Ty(e.parent)&&e.parent.initializer===e))}(e,n),i=LF(n);if(i){if(r){let r=!0;if(NI(n)){const i=xg(t.valueDeclaration,261);if(i&&i.parent===n){const i=function(e,t){return dc(e,(e=>e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement))}(e.parent,n);if(i){const e=ss(i);e.flags|=8192;ae(e.capturedBlockScopeBindings||(e.capturedBlockScopeBindings=[]),t),i===n.initializer&&(r=!1)}}}r&&(ss(i).flags|=4096)}if(NI(n)){const r=xg(t.valueDeclaration,261);r&&r.parent===n&&function(e,t){let n=e;for(;217===n.parent.kind;)n=n.parent;let r=!1;if(Kh(n))r=!0;else if(224===n.parent.kind||225===n.parent.kind){const e=n.parent;r=46===e.operator||47===e.operator}if(!r)return!1;return!!dc(n,(e=>e===t?"quit":e===t.statement))}(e,n)&&(ss(t.valueDeclaration).flags|=65536)}ss(t.valueDeclaration).flags|=32768}r&&(ss(t.valueDeclaration).flags|=16384)}(e,t)}function $F(e,t){if(dy(e))return HF(e);const n=FD(e);if(n===bt)return Tt;if(qF(e,n),n===Be)return lN(e)?Tt:wu(n);QF(e)&&mF(e,1);const r=xa(n);let i=r.valueDeclaration;const o=i;if(i&&208===i.kind&&C(Fi,i.parent)&&dc(e,(e=>e===i.parent)))return Rt;let s=function(e,t){var n;const r=wu(e),i=e.valueDeclaration;if(i){if(Hw(i)&&!i.initializer&&!i.dotDotDotToken&&i.parent.elements.length>=2){const e=i.parent.parent,n=Xg(e);if(260===n.kind&&6&$j(n)||169===n.kind){const r=ss(e);if(!(4194304&r.flags)){r.flags|=4194304;const o=zc(e,0),s=o&&qI(o,f_);if(r.flags&=-4194305,s&&1048576&s.flags&&(169!==n.kind||!zT(n))){const e=NT(i.parent,s,s,void 0,t.flowNode);return 131072&e.flags?dn:_l(i,e,!0)}}}}if(aw(i)&&!i.type&&!i.initializer&&!i.dotDotDotToken){const e=i.parent;if(e.parameters.length>=2&&bE(e)){const r=VR(e);if(r&&1===r.parameters.length&&KQ(r)){const o=E_(_E(wu(r.parameters[0]),null==(n=QR(e))?void 0:n.nonFixingMapper));if(1048576&o.flags&&kI(o,ok)&&!J(e.parameters,zT))return Nb(NT(e,o,o,void 0,t.flowNode),gC(e.parameters.indexOf(i)-(ay(e)?1:0)))}}}}return r}(r,e);const a=Yh(e);if(a){if(!(3&r.flags||Tm(e)&&512&r.flags)){return Oo(e,384&r.flags?us.Cannot_assign_to_0_because_it_is_an_enum:32&r.flags?us.Cannot_assign_to_0_because_it_is_a_class:1536&r.flags?us.Cannot_assign_to_0_because_it_is_a_namespace:16&r.flags?us.Cannot_assign_to_0_because_it_is_a_function:2097152&r.flags?us.Cannot_assign_to_0_because_it_is_an_import:us.Cannot_assign_to_0_because_it_is_not_a_variable,oc(n)),Tt}if(qO(r))return 3&r.flags?Oo(e,us.Cannot_assign_to_0_because_it_is_a_constant,oc(n)):Oo(e,us.Cannot_assign_to_0_because_it_is_a_read_only_property,oc(n)),Tt}const c=2097152&r.flags;if(3&r.flags){if(1===a)return Xh(e)?YS(s):s}else{if(!c)return s;i=vs(n)}if(!i)return s;s=fF(s,e,t);const l=169===Xg(i).kind,u=OT(i);let d=OT(e);const p=d!==u,f=e.parent&&e.parent.parent&&jT(e.parent)&&jw(e.parent.parent),_=134217728&n.flags,m=s===Dt||s===lr,h=m&&235===e.parent.kind;for(;d!==u&&(218===d.kind||219===d.kind||L_(d))&&(ZT(r)&&s!==lr||nF(r)&&VT(r,e));)d=OT(d);const g=o&&HI(o)&&!o.initializer&&!o.exclamationToken&&oF(o)&&!function(e){return(void 0!==e.lastAssignmentPos||qT(e)&&void 0!==e.lastAssignmentPos)&&e.lastAssignmentPos<0}(n),A=l||c||p&&!g||f||_||function(e,t){if(Hw(t)){const n=dc(e,Hw);return n&&Xg(n)===Xg(t)}}(e,i)||s!==Dt&&s!==lr&&(!z||!!(16387&s.flags)||uy(e)||RD(e)||281===e.parent.kind)||235===e.parent.kind||260===i.kind&&i.exclamationToken||33554432&i.flags,y=h?Ot:A?l?sF(s,i):s:m?Ot:yk(s),v=h?vk(NT(e,s,y,d)):NT(e,s,y,d);if(cT(e)||s!==Dt&&s!==lr){if(!A&&!KE(s)&&KE(v))return Oo(e,us.Variable_0_is_used_before_being_assigned,oc(n)),s}else if(v===Dt||v===lr)return ie&&(Oo(Sc(i),us.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,oc(n),cc(v)),Oo(e,us.Variable_0_implicitly_has_an_1_type,oc(n),cc(v))),z$(v);return a?YS(v):v}function QF(e){var t;const n=e.parent;if(n){if(zw(n)&&n.expression===e)return!1;if(AT(n)&&n.isTypeOnly)return!1;const r=null==(t=n.parent)?void 0:t.parent;if(r&&hT(r)&&r.isTypeOnly)return!1}return!0}function LF(e){return dc(e,(e=>!e||Zg(e)?"quit":Hu(e,!1)))}function jF(e,t){if(ss(e).flags|=2,172===t.kind||176===t.kind){ss(t.parent).flags|=4}else ss(t).flags|=4}function UF(e){return c_(e)?e:ru(e)?void 0:OP(e,UF)}function JF(e){return nd(Cd(_a(e)))===Ut}function VF(e,t,n){const r=t.parent;yg(r)&&!JF(r)&&Nh(e)&&e.flowNode&&!DT(e.flowNode,!1)&&Oo(e,n)}function HF(e){const t=uy(e);let n=em(e,!0,!0),r=!1,i=!1;for(176===n.kind&&VF(e,n,us.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);219===n.kind&&(n=em(n,!1,!i),r=!0),167===n.kind;)n=em(n,!r,!1),i=!0;if(function(e,t){uw(t)&&Ty(t)&&j&&t.initializer&&Ra(t.initializer,e.pos)&&Oy(t.parent)&&Oo(e,us.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}(e,n),i)Oo(e,us.this_cannot_be_referenced_in_a_computed_property_name);else switch(n.kind){case 267:Oo(e,us.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 266:Oo(e,us.this_cannot_be_referenced_in_current_location)}!t&&r&&$<2&&jF(e,n);const o=GF(e,!0,n);if(oe){const t=wu(Ie);if(o===t&&r)Oo(e,us.The_containing_arrow_function_captures_the_global_value_of_this);else if(!o){const r=Oo(e,us.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!JT(n)){const e=GF(n);e&&e!==t&&sx(r,$f(n,us.An_outer_value_of_this_is_shadowed_by_this_container))}}}return o||kt}function GF(e,t=!0,n=em(e,!1,!1)){const r=Tm(e);if(ru(n)&&(!nR(e)||ay(n))){let t=qh(Sh(n))||r&&function(e){const t=Kc(e);if(t&&t.typeExpression)return PC(t.typeExpression);const n=Th(e);if(n)return qh(n)}(n);if(!t){const e=function(e){if(218===e.kind&&uI(e.parent)&&3===th(e.parent))return e.parent.left.expression.expression;if(174===e.kind&&210===e.parent.kind&&uI(e.parent.parent)&&6===th(e.parent.parent))return e.parent.parent.left.expression;if(218===e.kind&&303===e.parent.kind&&210===e.parent.parent.kind&&uI(e.parent.parent.parent)&&6===th(e.parent.parent.parent))return e.parent.parent.parent.left.expression;if(218===e.kind&<(e.parent)&&UD(e.parent.name)&&("value"===e.parent.name.escapedText||"get"===e.parent.name.escapedText||"set"===e.parent.name.escapedText)&&Ww(e.parent.parent)&&Kw(e.parent.parent.parent)&&e.parent.parent.parent.arguments[2]===e.parent.parent&&9===th(e.parent.parent.parent))return e.parent.parent.parent.arguments[0].expression;if(pw(e)&&UD(e.name)&&("value"===e.name.escapedText||"get"===e.name.escapedText||"set"===e.name.escapedText)&&Ww(e.parent)&&Kw(e.parent.parent)&&e.parent.parent.arguments[2]===e.parent&&9===th(e.parent.parent))return e.parent.parent.arguments[0].expression}(n);if(r&&e){const n=Tq(e).symbol;n&&n.members&&16&n.flags&&(t=Cd(n).thisType)}else CB(n)&&(t=Cd(fa(n.symbol)).thisType);t||(t=ZF(n))}if(t)return NT(e,t)}if(du(n.parent)){const t=_a(n.parent);return NT(e,Iy(n)?wu(t):Cd(t).thisType)}if(JT(n)){if(n.commonJsModuleIndicator){const e=_a(n);return e&&wu(e)}if(n.externalModuleIndicator)return Ot;if(t)return wu(Ie)}}function WF(e){const t=213===e.parent.kind&&e.parent.expression===e,n=im(e,!0);let r=n,i=!1,o=!1;if(!t){for(;r&&219===r.kind;)wy(r,1024)&&(o=!0),r=im(r,!0),i=$<2;r&&wy(r,1024)&&(o=!0)}let s=0;if(!r||!function(e){if(t)return 176===e.kind;if(du(e.parent)||210===e.parent.kind)return Iy(e)?174===e.kind||173===e.kind||177===e.kind||178===e.kind||172===e.kind||175===e.kind:174===e.kind||173===e.kind||177===e.kind||178===e.kind||172===e.kind||171===e.kind||176===e.kind;return!1}(r)){const n=dc(e,(e=>e===r?"quit":167===e.kind));return n&&167===n.kind?Oo(e,us.super_cannot_be_referenced_in_a_computed_property_name):t?Oo(e,us.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(du(r.parent)||210===r.parent.kind)?Oo(e,us.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):Oo(e,us.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Tt}if(t||176!==n.kind||VF(e,r,us.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),Iy(r)||t?(s=32,!t&&$>=2&&$<=8&&(uw(r)||fw(r))&&Ff(e.parent,(e=>{JT(e)&&!Zf(e)||(ss(e).flags|=2097152)}))):s=16,ss(e).flags|=s,174===r.kind&&o&&(sm(e.parent)&&Kh(e.parent)?ss(r).flags|=256:ss(r).flags|=128),i&&jF(e.parent,r),210===r.parent.kind)return $<2?(Oo(e,us.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Tt):kt;const a=r.parent;if(!yg(a))return Oo(e,us.super_can_only_be_referenced_in_a_derived_class),Tt;if(JF(a))return t?Tt:Ut;const c=Cd(_a(a)),l=c&&id(c)[0];return l?176===r.kind&&function(e,t){return!!dc(e,(e=>ou(e)?"quit":169===e.kind&&e.parent===t))}(e,r)?(Oo(e,us.super_cannot_be_referenced_in_constructor_arguments),Tt):32===s?nd(c):Cp(l,c.thisType):Tt}function zF(e){return 174!==e.kind&&177!==e.kind&&178!==e.kind||210!==e.parent.kind?218===e.kind&&303===e.parent.kind?e.parent.parent:void 0:e.parent}function YF(e){return 4&gb(e)&&e.target===ar?pA(e)[0]:void 0}function KF(e){return qI(e,(e=>2097152&e.flags?u(e.types,YF):YF(e)))}function XF(e,t){let n=e,r=t;for(;r;){const e=KF(r);if(e)return e;if(303!==n.parent.kind)break;n=n.parent.parent,r=FR(n,void 0)}}function ZF(e){if(219===e.kind)return;if(bE(e)){const t=VR(e);if(t){const e=t.thisParameter;if(e)return wu(e)}}const t=Tm(e);if(oe||t){const n=zF(e);if(n){const e=FR(n,void 0),t=XF(n,e);return t?_E(t,Zk(QR(n))):Qk(e?vk(e):cq(n))}const r=rg(e.parent);if(iv(r)){const e=r.left;if(xb(e)){const{expression:n}=e;if(t&&UD(n)){const e=Ap(r);if(e.commonJsModuleIndicator&&FD(n)===e.symbol)return}return Qk(cq(n))}}}}function eR(e){const t=e.parent;if(!bE(t))return;const n=om(t);if(n&&n.arguments){const r=ZN(n),i=t.parameters.indexOf(e);if(e.dotDotDotToken)return HN(r,i,r.length,kt,void 0,0);const o=ss(n),s=o.resolvedSignature;o.resolvedSignature=ai;const a=i!!(58998787&e.flags)||Bq(e,n,void 0))):2&n?II(t,(e=>!!(58998787&e.flags)||!!n$(e))):t}const i=om(e);return i?NR(i,t):void 0}function lR(e,t){const n=ZN(e).indexOf(t);return-1===n?void 0:pR(e,n)}function pR(e,t){if(l_(e))return 0===t?Jt:1===t?KA(!1):kt;const n=ss(e).resolvedSignature===li?li:bB(e);if(vd(e)&&0===t)return LR(n,e);const r=n.parameters.length-1;return KQ(n)&&t>=r?Nb(wu(n.parameters[r]),gC(t-r),256):KB(n,t)}function fR(e,t){const n=e.parent,{left:r,operatorToken:i,right:o}=n;switch(i.kind){case 64:case 77:case 76:case 78:return e===o?function(e){var t,n;const r=th(e);switch(r){case 0:case 4:const i=function(e){if(sd(e)&&e.symbol)return e.symbol;if(UD(e))return FD(e);if(zw(e)){const n=Dq(e.expression);return JD(e.name)?t(n,e.name):z_(n,e.name.escapedText)}if(Yw(e)){const t=cq(e.argumentExpression);if(!aS(t))return;return z_(Dq(e.expression),cS(t))}return;function t(e,t){const n=tN(t.escapedText,t);return n&&iN(e,n)}}(e.left),o=i&&i.valueDeclaration;if(o&&(uw(o)||lw(o))){const t=_y(o);return t&&_E(PC(t),is(i).mapper)||(uw(o)?o.initializer&&Dq(e.left):void 0)}return 0===r?Dq(e.left):mR(e);case 5:if(_R(e,r))return mR(e);if(sd(e.left)&&e.left.symbol){const t=e.left.symbol.valueDeclaration;if(!t)return;const n=tt(e.left,xb),r=_y(t);if(r)return PC(r);if(UD(n.expression)){const e=n.expression,t=Ue(e,e.escapedText,111551,void 0,!0);if(t){const e=t.valueDeclaration&&_y(t.valueDeclaration);if(e){const t=uh(n);if(void 0!==t)return gR(PC(e),t)}return}}return Tm(t)||t===e.left?void 0:Dq(e.left)}return Dq(e.left);case 1:case 6:case 3:case 2:let s;2!==r&&(s=sd(e.left)?null==(t=e.left.symbol)?void 0:t.valueDeclaration:void 0),s||(s=null==(n=e.symbol)?void 0:n.valueDeclaration);const a=s&&_y(s);return a?PC(a):void 0;case 7:case 8:case 9:return un.fail("Does not apply");default:return un.assertNever(r)}}(n):void 0;case 57:case 61:const i=NR(n,t);return e===o&&(i&&i.pattern||!i&&!Wm(n))?Dq(r):i;case 56:case 28:return e===o?NR(n,t):void 0;default:return}}function _R(e,t=th(e)){if(4===t)return!0;if(!Tm(e)||5!==t||!UD(e.left.expression))return!1;const n=e.left.expression.escapedText,r=Ue(e.left,n,111551,void 0,!0,!0);return cm(null==r?void 0:r.valueDeclaration)}function mR(e){if(!e.symbol)return Dq(e.left);if(e.symbol.valueDeclaration){const t=_y(e.symbol.valueDeclaration);if(t){const e=PC(t);if(e)return e}}const t=tt(e.left,xb);if(!Q_(em(t.expression,!1,!1)))return;const n=HF(t.expression),r=uh(t);return void 0!==r&&gR(n,r)||void 0}function hR(e,t){if(16777216&e.flags){const n=e;return!!(131072&$_(Jb(n)).flags)&&Lb(Vb(n))===Lb(n.checkType)&&IE(t,n.extendsType)}return!!(2097152&e.flags)&&J(e.types,(e=>hR(e,t)))}function gR(e,t,n){return qI(e,(e=>{if(2097152&e.flags){let r,i,o=!1;for(const s of e.types){if(!(524288&s.flags))continue;if(Ef(s)&&2!==xf(s)){r=AR(r,yR(s,t,n));continue}const e=vR(s,t);e?(o=!0,i=void 0,r=AR(r,e)):o||(i=re(i,s))}if(i)for(const e of i){r=AR(r,bR(e,t,n))}if(!r)return;return 1===r.length?r[0]:Mv(r)}if(524288&e.flags)return Ef(e)&&2!==xf(e)?yR(e,t,n):vR(e,t)??bR(e,t,n)}),!0)}function AR(e,t){return t?re(e,1&t.flags?Bt:t):e}function yR(e,t,n){const r=n||hC(mc(t)),i=rf(e);if(e.nameType&&hR(e.nameType,r)||hR(i,r))return;return IE(r,p_(i)||i)?Pb(e,r):void 0}function vR(e,t){const n=z_(e,t);var r;if(n&&!(262144&ib(r=n)&&!r.links.type&&Lc(r,0)>=0))return kk(wu(n),!!(16777216&n.flags))}function bR(e,t,n){var r;if(ok(e)&&Lx(t)&&+t>=0){const t=uk(e,e.target.fixedLength,0,!1,!0);if(t)return t}return null==(r=wm(Om(e),n||hC(mc(t))))?void 0:r.type}function CR(e,t){if(un.assert(Q_(e)),!(67108864&e.flags))return ER(e,t)}function ER(e,t){const n=e.parent,r=LT(e)&&tR(e,t);if(r)return r;const i=FR(n,t);if(i){if(lp(e)){const t=_a(e);return gR(i,t.escapedName,is(t).nameType)}if($g(e)){const t=Sc(e);if(t&&ow(t)){const e=Tq(t.expression),n=aS(e)&&gR(i,cS(e));if(n)return n}}if(e.name){const t=zv(e.name);return qI(i,(e=>{var n;return null==(n=wm(Om(e),t))?void 0:n.type}),!0)}}}function xR(e,t,n,r,i){return e&&qI(e,(e=>{if(ok(e)){if((void 0===r||ti)?n-t:0,s=o>0&&12&e.target.combinedFlags?vv(e.target,3):0;return o>0&&o<=s?pA(e)[fA(e)-o]:uk(e,void 0===r?e.target.fixedLength:Math.min(e.target.fixedLength,r),void 0===n||void 0===i?s:Math.min(s,n-i),!1,!0)}return(!r||t$S(e)?Nb(e,gC(s)):e),!0))}(n,e,t):void 0}function kR(e,t){if(FT(e)){const n=FR(e.parent,t);if(!n||Hc(n))return;return gR(n,tS(e.name))}return NR(e.parent,t)}function DR(e){switch(e.kind){case 11:case 9:case 10:case 15:case 228:case 112:case 97:case 106:case 80:case 157:return!0;case 211:case 217:return DR(e.expression);case 294:return!e.expression||DR(e.expression)}return!1}function wR(e,t){const n=`D${JQ(e)},${xv(t)}`;return Do(n)??wo(n,function(e,t){const n=MD(e),r=n&&A(t.properties,(e=>e.symbol&&303===e.kind&&e.symbol.escapedName===n&&DR(e.initializer))),i=r&&Iq(r.initializer);return i&&jD(e,i)}(t,e)??Tx(t,H(w(S(e.properties,(e=>!!e.symbol&&(303===e.kind?DR(e.initializer)&&QD(t,e.symbol.escapedName):304===e.kind&&QD(t,e.symbol.escapedName)))),(e=>[()=>Iq(303===e.kind?e.initializer:e.name),e.symbol.escapedName])),w(S(Uf(t),(n=>{var r;return!!(16777216&n.flags)&&!!(null==(r=null==e?void 0:e.symbol)?void 0:r.members)&&!e.symbol.members.has(n.escapedName)&&QD(t,n.escapedName)})),(e=>[()=>Ot,e.escapedName]))),IE))}function FR(e,t){const n=RR(Q_(e)?CR(e,t):NR(e,t),e,t);if(n&&!(t&&2&t&&8650752&n.flags)){const t=qI(n,(e=>32&gb(e)?e:C_(e)),!0);return 1048576&t.flags&&Ww(e)?wR(e,t):1048576&t.flags&&RT(e)?function(e,t){const n=`D${JQ(e)},${xv(t)}`,r=Do(n);if(r)return r;const i=vP(AP(e));return wo(n,Tx(t,H(w(S(e.properties,(e=>!!e.symbol&&291===e.kind&&QD(t,e.symbol.escapedName)&&(!e.initializer||DR(e.initializer)))),(e=>[e.initializer?()=>Iq(e.initializer):()=>tn,e.symbol.escapedName])),w(S(Uf(t),(n=>{var r;if(!(16777216&n.flags&&(null==(r=null==e?void 0:e.symbol)?void 0:r.members)))return!1;const o=e.parent.parent;return(n.escapedName!==i||!xT(o)||!lA(o.children).length)&&!e.symbol.members.has(n.escapedName)&&QD(t,n.escapedName)})),(e=>[()=>Ot,e.escapedName]))),IE))}(e,t):t}}function RR(e,t,n){if(e&&JO(e,465829888)){const r=QR(t);if(r&&1&n&&J(r.inferences,Eq))return PR(e,r.nonFixingMapper);if(null==r?void 0:r.returnMapper){const t=PR(e,r.returnMapper);return 1048576&t.flags&&Sv(t.types,Kt)&&Sv(t.types,rn)?II(t,(e=>e!==Kt&&e!==rn)):t}}return e}function PR(e,t){return 465829888&e.flags?_E(e,t):1048576&e.flags?Pv(w(e.types,(e=>PR(e,t))),0):2097152&e.flags?Mv(w(e.types,(e=>PR(e,t)))):e}function NR(e,t){var n;if(67108864&e.flags)return;const r=$R(e,!t);if(r>=0)return wi[r];const{parent:i}=e;switch(i.kind){case 260:case 169:case 172:case 171:case 208:return function(e,t){const n=e.parent;if(Td(n)&&e===n.initializer){const e=tR(n,t);if(e)return e;if(!(8&t)&&Cu(n.name)&&n.name.elements.length>0)return Ul(n.name,!0,!1)}}(e,t);case 219:case 253:return function(e,t){const n=W_(e);if(n){let e=oR(n,t);if(e){const t=Ng(n);if(1&t){const n=!!(2&t);1048576&e.flags&&(e=II(e,(e=>!!QQ(1,e,n))));const r=QQ(1,e,!!(2&t));if(!r)return;e=r}if(2&t){const t=qI(e,d$);return t&&Pv([t,xO(t)])}return e}}}(e,t);case 229:return function(e,t){const n=W_(e);if(n){const r=Ng(n);let i=oR(n,t);if(i){const n=!!(2&r);if(!e.asteriskToken&&1048576&i.flags&&(i=II(i,(e=>!!QQ(1,e,n)))),e.asteriskToken){const r=GQ(i,n),o=(null==r?void 0:r.yieldType)??pn,s=NR(e,t)??pn,a=(null==r?void 0:r.nextType)??Bt,c=DO(o,s,a,!1);return n?Pv([c,DO(o,s,a,!0)]):c}return QQ(0,i,n)}}}(i,t);case 223:return function(e,t){const n=NR(e,t);if(n){const e=d$(n);return e&&Pv([e,xO(e)])}}(i,t);case 213:case 214:return lR(i,e);case 170:return function(e){const t=CO(e);return t?Ig(t):void 0}(i);case 216:case 234:return Cl(i.type)?NR(i,t):PC(i.type);case 226:return fR(e,t);case 303:case 304:return ER(i,t);case 305:return NR(i.parent,t);case 209:{const r=i,o=FR(r,t),s=Kp(r.elements,e),a=(n=ss(r)).spreadIndices??(n.spreadIndices=function(e){let t,n;for(let r=0;r=0)return wi[n]}return pR(e,0)}(i,t);case 301:return function(e){return gR(XA(!1),fS(e))}(i)}}function BR(e){OR(e,NR(e,void 0),!0)}function OR(e,t,n){ki[Ti]=e,wi[Ti]=t,Ii[Ti]=n,Ti++}function qR(){Ti--}function $R(e,t){for(let n=Ti-1;n>=0;n--)if(e===ki[n]&&(t||!Ii[n]))return n;return-1}function QR(e){for(let t=Ni-1;t>=0;t--)if(cg(e,Ri[t]))return Pi[t]}function LR(e,t){return IT(t)||0!==WN(t)?function(e,t){let n=aO(e,Bt);n=MR(t,AP(t),n);const r=mP(DQ.IntrinsicAttributes,t);Gc(r)||(n=qp(r,n));return n}(e,t):function(e,t){const n=AP(t),r=(i=n,yP(DQ.ElementAttributesPropertyNameContainer,i));var i;let o=void 0===r?aO(e,Bt):""===r?Wh(e):function(e,t){if(e.compositeSignatures){const n=[];for(const r of e.compositeSignatures){const e=Wh(r);if(Hc(e))return e;const i=Jc(e,t);if(!i)return;n.push(i)}return Mv(n)}const n=Wh(e);return Hc(n)?n:Jc(n,t)}(e,r);if(!o)return r&&l(t.attributes.properties)&&Oo(t,us.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,mc(r)),Bt;if(o=MR(t,n,o),Hc(o))return o;{let n=o;const r=mP(DQ.IntrinsicClassAttributes,t);if(!Gc(r)){const i=Uu(r.symbol),o=Wh(e);let s;if(i){s=_E(r,JC(i,xh([o],i,vh(i),Tm(t))))}else s=r;n=qp(s,n)}const i=mP(DQ.IntrinsicAttributes,t);return Gc(i)||(n=qp(i,n)),n}}(e,t)}function MR(e,t,n){const r=(i=t)&&as(i.exports,DQ.LibraryManagedAttributes,788968);var i;if(r){const t=function(e){if(IT(e))return AB(e);if(sP(e.tagName))return Ig(gB(e,EP(e)));const t=cq(e.tagName);if(128&t.flags){const n=CP(t,e);return n?Ig(gB(e,n)):Tt}return t}(e),i=wP(r,Tm(e),t,n);if(i)return i}return n}function jR(e){return LC(O,"noImplicitAny")?Se(e,((e,t)=>e!==t&&e?Np(e.typeParameters,t.typeParameters)?function(e,t){const n=e.typeParameters||t.typeParameters;let r;e.typeParameters&&t.typeParameters&&(r=JC(t.typeParameters,e.typeParameters));let i=166&(e.flags|t.flags);const o=e.declaration,s=function(e,t,n){const r=tO(e),i=tO(t),o=r>=i?e:t,s=o===e?t:e,a=o===e?r:i,c=rO(e)||rO(t),l=c&&!rO(o),u=new Array(a+(l?1:0));for(let d=0;d=nO(o)&&d>=nO(s),g=d>=r?void 0:GB(e,d),A=d>=i?void 0:GB(t,d),y=Vo(1|(h&&!m?16777216:0),(g===A?g:g?A?void 0:g:A)||`arg${d}`,m?32768:h?16384:0);y.links.type=m?Qy(_):_,u[d]=y}if(l){const e=Vo(1,"args",32768);e.links.type=Qy(KB(s,a)),s===t&&(e.links.type=_E(e.links.type,n)),u[a]=e}return u}(e,t,r),a=ge(s);a&&32768&ib(a)&&(i|=1);const c=function(e,t,n){if(!e||!t)return e||t;const r=Pv([wu(e),_E(wu(t),n)]);return Tk(e,r)}(e.thisParameter,t.thisParameter,r),l=Math.max(e.minArgumentCount,t.minArgumentCount),u=xp(o,n,c,s,void 0,void 0,l,i);u.compositeKind=2097152,u.compositeSignatures=H(2097152===e.compositeKind&&e.compositeSignatures||[e],[t]),r&&(u.mapper=2097152===e.compositeKind&&e.mapper&&e.compositeSignatures?eE(e.mapper,r):r);return u}(e,t):void 0:e)):void 0}function UR(e,t){const n=S(_m(e,0),(e=>!function(e,t){let n=0;for(;nfunction(e){const t=Ap(e);if(!kj(t)&&!e.isUnterminated){let r;n??(n=ha(99,!0)),n.setScriptTarget(t.languageVersion),n.setLanguageVariant(t.languageVariant),n.setOnError(((e,i,o)=>{const s=n.getTokenEnd();if(3===e.category&&r&&s===r.start&&i===r.length){const n=Hb(t.fileName,t.text,s,i,e,o);sx(r,n)}else r&&s===r.start||(r=Yb(t,s,i,e,o),po.add(r))})),n.setText(t.text,e.pos,e.end-e.pos);try{return n.scan(),un.assert(14===n.reScanSlashToken(!0),"Expected scanner to rescan RegularExpressionLiteral"),!!r}finally{n.setText(""),n.setOnError(void 0)}}return!1}(e)))),sr}function WR(e){return 208===e.kind&&!!e.initializer||303===e.kind&&WR(e.initializer)||304===e.kind&&!!e.objectAssignmentInitializer||226===e.kind&&64===e.operatorToken.kind}function zR(e,t,n){const r=e.elements,i=r.length,o=[],s=[];BR(e);const a=Kh(e),c=mq(e),l=FR(e,void 0),u=function(e){const t=rg(e.parent);return _I(t)&&Ou(t.parent)}(e)||!!l&&xI(l,(e=>US(e)||Ef(e)&&!e.nameType&&!!lE(e.target||e)));let d=!1;for(let c=0;c8&s[t]?Ob(e,Vt)||kt:e)),2):z?fn:qt,c))}function YR(e){if(!(4&gb(e)))return e;let t=e.literalType;return t||(t=e.literalType=cA(e),t.objectFlags|=147456),t}function KR(e){switch(e.kind){case 167:return function(e){return VO(XR(e),296)}(e);case 80:return Lx(e.escapedText);case 9:case 11:return Lx(e.text);default:return!1}}function XR(e){const t=ss(e.expression);if(!t.resolvedType){if((Sw(e.parent.parent)||du(e.parent.parent)||YI(e.parent.parent))&&uI(e.expression)&&103===e.expression.operatorToken.kind&&177!==e.parent.kind&&178!==e.parent.kind)return t.resolvedType=Tt;if(t.resolvedType=Tq(e.expression),uw(e.parent)&&!Ty(e.parent)&&mI(e.parent.parent)){const t=LF(Tf(e.parent.parent));t&&(ss(t).flags|=4096,ss(e).flags|=32768,ss(e.parent.parent).flags|=32768)}(98304&t.resolvedType.flags||!VO(t.resolvedType,402665900)&&!IE(t.resolvedType,gn))&&Oo(e,us.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return t.resolvedType}function ZR(e){var t;const n=null==(t=e.declarations)?void 0:t[0];return Lx(e.escapedName)||n&&Ec(n)&&KR(n.name)}function eP(e){var t;const n=null==(t=e.declarations)?void 0:t[0];return Vg(e)||n&&Ec(n)&&ow(n.name)&&VO(XR(n.name),4096)}function tP(e,t,n,r){const i=[];for(let e=t;e0&&(s=lC(s,b(),e.symbol,m,u),o=[],i=Wd(),g=!1,A=!1,y=!1);const n=$_(Tq(a.expression,2&t));if(iP(n)){const t=cC(n,u);if(r&&_P(t,r,a),v=o.length,Gc(s))continue;s=lC(s,t,e.symbol,m,u)}else Oo(a,us.Spread_types_may_only_be_created_from_object_types),s=Tt;continue}un.assert(177===a.kind||178===a.kind),WL(a)}!C||8576&C.flags?i.set(_.escapedName,_):IE(C,gn)&&(IE(C,Vt)?A=!0:IE(C,cn)?y=!0:g=!0,n&&(h=!0)),o.push(_)}return qR(),Gc(s)?Tt:s!==Dn?(o.length>0&&(s=lC(s,b(),e.symbol,m,u),o=[],i=Wd(),g=!1,A=!1),qI(s,(e=>e===Dn?b():e))):b();function b(){const t=[],r=mq(e);g&&t.push(tP(r,v,o,Jt)),A&&t.push(tP(r,v,o,Vt)),y&&t.push(tP(r,v,o,cn));const s=La(e.symbol,i,a,a,t);return s.objectFlags|=131200|m,_&&(s.objectFlags|=4096),h&&(s.objectFlags|=512),n&&(s.pattern=e),s}}function iP(e){const t=pk(qI(e,f_));return!!(126615553&t.flags||3145728&t.flags&&g(t.types,iP))}function oP(e){return e.includes("-")}function sP(e){return UD(e)&&TA(e.escapedText)||BT(e)}function uP(e,t){return e.initializer?gq(e.initializer,t):tn}function pP(e,t=0){const n=z?Wd():void 0;let r,i=Wd(),o=wn,s=!1,c=!1,l=2048;const u=vP(AP(e));let d,p=e;if(!IT(e)){const a=e.attributes;d=a.symbol,p=a;const f=NR(a,0);for(const e of a.properties){const d=e.symbol;if(FT(e)){const r=uP(e,t);l|=458752&gb(r);const o=Vo(4|d.flags,d.escapedName);if(o.declarations=d.declarations,o.parent=d.parent,d.valueDeclaration&&(o.valueDeclaration=d.valueDeclaration),o.links.type=r,o.links.target=d,i.set(o.escapedName,o),null==n||n.set(o.escapedName,o),tS(e.name)===u&&(c=!0),f){const t=z_(f,d.escapedName);t&&t.declarations&&jo(t)&&UD(e.name)&&Jo(e.name,t.declarations,e.name.escapedText)}if(f&&2&t&&!(4&t)&&yE(e)){const t=QR(a);un.assert(t);Yk(t,e.initializer.expression,r)}}else{un.assert(293===e.kind),i.size>0&&(o=lC(o,_(),a.symbol,l,!1),i=Wd());const c=$_(Tq(e.expression,2&t));Hc(c)&&(s=!0),iP(c)?(o=lC(o,c,a.symbol,l,!1),n&&_P(c,n,e)):(Oo(e.expression,us.Spread_types_may_only_be_created_from_object_types),r=r?Mv([r,c]):c)}}s||i.size>0&&(o=lC(o,_(),a.symbol,l,!1))}const f=e.parent;if((xT(f)&&f.openingElement===e||wT(f)&&f.openingFragment===e)&&lA(f.children).length>0){const n=fP(f,t);if(!s&&u&&""!==u){c&&Oo(p,us._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,mc(u));const t=kT(e)?FR(e.attributes,void 0):void 0,r=t&&gR(t,u),i=Vo(4,u);i.links.type=1===n.length?n[0]:r&&xI(r,US)?Ky(n):Qy(Pv(n)),i.valueDeclaration=XS.createPropertySignature(void 0,mc(u),void 0,void 0),wx(i.valueDeclaration,p),i.valueDeclaration.symbol=i;const s=Wd();s.set(u,i),o=lC(o,La(d,s,a,a,a),d,l,!1)}}return s?kt:r&&o!==wn?Mv([r,o]):r||(o===wn?_():o);function _(){return l|=8192,function(e,t,n){const r=La(t,n,a,a,a);return r.objectFlags|=139392|e,r}(l,d,i)}}function fP(e,t){const n=[];for(const r of e.children)if(12===r.kind)r.containsOnlyTriviaWhiteSpaces||n.push(Jt);else{if(294===r.kind&&!r.expression)continue;n.push(gq(r,t))}return n}function _P(e,t,n){for(const r of Uf(e))if(!(16777216&r.flags)){const e=t.get(r.escapedName);if(e){sx(Oo(e.valueDeclaration,us._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,mc(e.escapedName)),$f(n,us.This_spread_always_overwrites_this_property))}}}function mP(e,t){const n=AP(t),r=n&&la(n),i=r&&as(r,e,788968);return i?Cd(i):Tt}function hP(e){const t=ss(e);if(!t.resolvedSymbol){const n=mP(DQ.IntrinsicElements,e);if(Gc(n))return ie&&Oo(e,us.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,mc(DQ.IntrinsicElements)),t.resolvedSymbol=bt;{if(!UD(e.tagName)&&!BT(e.tagName))return un.fail();const r=BT(e.tagName)?iS(e.tagName):e.tagName.escapedText,i=z_(n,r);if(i)return t.jsxFlags|=1,t.resolvedSymbol=i;const o=lM(n,hC(mc(r)));return o?(t.jsxFlags|=2,t.resolvedSymbol=o):Vc(n,r)?(t.jsxFlags|=2,t.resolvedSymbol=n.symbol):(Oo(e,us.Property_0_does_not_exist_on_type_1,sS(e.tagName),"JSX."+DQ.IntrinsicElements),t.resolvedSymbol=bt)}}return t.resolvedSymbol}function gP(e){const t=e&&Ap(e),n=t&&ss(t);if(n&&!1===n.jsxImplicitImportContainer)return;if(n&&n.jsxImplicitImportContainer)return n.jsxImplicitImportContainer;const r=zC(WC(O,t),O);if(!r)return;const i=1===bC(O)?us.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:us.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed,o=function(e,t){const n=O.importHelpers?1:0,r=null==e?void 0:e.imports[n];r&&un.assert(eA(r)&&r.text===t,`Expected sourceFile.imports[${n}] to be the synthesized JSX runtime import`);return r}(t,r),s=ea(o||e,r,i,e),a=s&&s!==bt?fa(Qs(s)):void 0;return n&&(n.jsxImplicitImportContainer=a||!1),a}function AP(e){const t=e&&ss(e);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||!1!==t.jsxNamespace){let n=gP(e);if(!n||n===bt){const t=To(e);n=Ue(e,t,1920,void 0,!1)}if(n){const e=Qs(as(la(Qs(n)),DQ.JSX,1920));if(e&&e!==bt)return t&&(t.jsxNamespace=e),e}t&&(t.jsxNamespace=!1)}const n=Qs(VA(DQ.JSX,1920,void 0));return n!==bt?n:void 0}function yP(e,t){const n=t&&as(t.exports,e,788968),r=n&&Cd(n),i=r&&Uf(r);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&n.declarations&&Oo(n.declarations[0],us.The_global_type_JSX_0_may_not_have_more_than_one_property,mc(e))}}function vP(e){return yP(DQ.ElementChildrenAttributeNameContainer,e)}function bP(e,t){if(4&e.flags)return[ai];if(128&e.flags){const n=CP(e,t);if(n){return[gB(t,n)]}return Oo(t,us.Property_0_does_not_exist_on_type_1,e.value,"JSX."+DQ.IntrinsicElements),a}const n=C_(e);let r=_m(n,1);return 0===r.length&&(r=_m(n,0)),0===r.length&&1048576&n.flags&&(r=Pp(w(n.types,(e=>bP(e,t))))),r}function CP(e,t){const n=mP(DQ.IntrinsicElements,t);if(!Gc(n)){const t=z_(n,_c(e.value));if(t)return wu(t);const r=jm(n,Jt);return r||void 0}return kt}function EP(e){var t;un.assert(sP(e.tagName));const n=ss(e);if(!n.resolvedJsxElementAttributesType){const r=hP(e);if(1&n.jsxFlags)return n.resolvedJsxElementAttributesType=wu(r)||Tt;if(2&n.jsxFlags){const r=BT(e.tagName)?iS(e.tagName):e.tagName.escapedText;return n.resolvedJsxElementAttributesType=(null==(t=ih(mP(DQ.IntrinsicElements,e),r))?void 0:t.type)||Tt}return n.resolvedJsxElementAttributesType=Tt}return n.resolvedJsxElementAttributesType}function xP(e){const t=mP(DQ.ElementClass,e);if(!Gc(t))return t}function SP(e){return mP(DQ.Element,e)}function kP(e){const t=SP(e);if(t)return Pv([t,jt])}function DP(e){const t=AP(e);if(!t)return;const n=(r=t)&&as(r.exports,DQ.ElementType,788968);var r;if(!n)return;const i=wP(n,Tm(e));return i&&!Gc(i)?i:void 0}function wP(e,t,...n){const r=Cd(e);if(524288&e.flags){const i=is(e).typeParameters;if(l(i)>=n.length){const o=xh(n,i,n.length,t);return 0===l(o)?r:mA(e,o)}}if(l(r.typeParameters)>=n.length){return aA(r,xh(n,r.typeParameters,n.length,t))}}function IP(e){const t=vd(e);var n;t&&function(e){(function(e){if(zw(e)&&BT(e.expression))return Ij(e.expression,us.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(BT(e)&&GC(O)&&!TA(e.namespace.escapedText))Ij(e,us.React_components_cannot_include_JSX_namespace_names)})(e.tagName),lj(e,e.typeArguments);const t=new Map;for(const n of e.attributes.properties){if(293===n.kind)continue;const{name:e,initializer:r}=n,i=tS(e);if(t.get(i))return Ij(e,us.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(t.set(i,!0),r&&294===r.kind&&!r.expression)return Ij(r,us.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}(e),n=e,0===(O.jsx||0)&&Oo(n,us.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===SP(n)&&ie&&Oo(n,us.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),vF(e);const r=bB(e);if(SB(r,e),t){const t=e,n=DP(t);if(void 0!==n){const e=t.tagName;gx(sP(e)?hC(sS(e)):Tq(e),n,go,e,us.Its_type_0_is_not_a_valid_JSX_element_type,(()=>{const t=zp(e);return eC(void 0,us._0_cannot_be_used_as_a_JSX_component,t)}))}else!function(e,t,n){if(1===e){const e=kP(n);e&&gx(t,e,go,n.tagName,us.Its_return_type_0_is_not_a_valid_JSX_element,r)}else if(0===e){const e=xP(n);e&&gx(t,e,go,n.tagName,us.Its_instance_type_0_is_not_a_valid_JSX_element,r)}else{const e=kP(n),i=xP(n);if(!e||!i)return;gx(t,Pv([e,i]),go,n.tagName,us.Its_element_type_0_is_not_a_valid_JSX_element,r)}function r(){const e=zp(n.tagName);return eC(void 0,us._0_cannot_be_used_as_a_JSX_component,e)}}(WN(t),Wh(r),t)}}function TP(e,t,n){if(524288&e.flags&&(Bf(e,t)||ih(e,t)||sp(t)&&Lm(e,Jt)||n&&oP(t)))return!0;if(33554432&e.flags)return TP(e.baseType,t,n);if(3145728&e.flags&&FP(e))for(const r of e.types)if(TP(r,t,n))return!0;return!1}function FP(e){return!!(524288&e.flags&&!(512&gb(e))||67108864&e.flags||33554432&e.flags&&FP(e.baseType)||1048576&e.flags&&J(e.types,FP)||2097152&e.flags&&g(e.types,FP))}function RP(e,t){if(function(e){if(e.expression&&sR(e.expression))Ij(e.expression,us.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(e),e.expression){const n=Tq(e.expression,t);return e.dotDotDotToken&&n!==kt&&!PS(n)&&Oo(e,us.JSX_spread_child_must_be_an_array_type),n}return Tt}function PP(e){return e.valueDeclaration?$j(e.valueDeclaration):0}function NP(e){if(8192&e.flags||4&ib(e))return!0;if(Tm(e.valueDeclaration)){const t=e.valueDeclaration.parent;return t&&uI(t)&&3===th(t)}}function BP(e,t,n,r,i,o=!0){return $P(e,t,n,r,i,o?166===e.kind?e.right:205===e.kind?e:208===e.kind&&e.propertyName?e.propertyName:e.name:void 0)}function $P(e,t,n,r,i,o){var s;const a=ob(i,n);if(t){if($<2&&QP(i))return o&&Oo(o,us.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(64&a)return o&&Oo(o,us.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,oc(i),cc(vS(i))),!1;if(!(256&a)&&(null==(s=i.declarations)?void 0:s.some(_u)))return o&&Oo(o,us.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super,oc(i)),!1}if(64&a&&QP(i)&&(am(e)||lm(e)||Jw(e.parent)&&cm(e.parent.parent))){const t=hb(Aa(i));if(t&&function(e){return!!dc(e,(e=>!!(_w(e)&&Dp(e.body)||uw(e))||!(!du(e)&&!ou(e))&&"quit"))}(e))return o&&Oo(o,us.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,oc(i),jg(t.name)),!1}if(!(6&a))return!0;if(2&a){return!!sM(e,hb(Aa(i)))||(o&&Oo(o,us.Property_0_is_private_and_only_accessible_within_class_1,oc(i),cc(vS(i))),!1)}if(t)return!0;let c=oM(e,(e=>xS(Cd(_a(e)),i,n)));return!c&&(c=function(e){const t=function(e){const t=em(e,!1,!1);return t&&ru(t)?ay(t):void 0}(e);let n=(null==t?void 0:t.type)&&PC(t.type);if(n)262144&n.flags&&(n=Gf(n));else{const t=em(e,!1,!1);ru(t)&&(n=ZF(t))}if(n&&7&gb(n))return qu(n);return}(e),c=c&&xS(c,i,n),256&a||!c)?(o&&Oo(o,us.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,oc(i),cc(vS(i)||r)),!1):!!(256&a)||(262144&r.flags&&(r=r.isThisType?Gf(r):p_(r)),!(!r||!Qu(r,c))||(o&&Oo(o,us.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,oc(i),cc(c),cc(r)),!1))}function QP(e){return!!_S(e,(e=>!(8192&e.flags)))}function LP(e){return WP(Tq(e),e)}function jP(e){return XD(e,50331648)}function JP(e){return jP(e)?vk(e):e}function VP(e,t){const n=av(e)?qf(e):void 0;if(106!==e.kind)if(void 0!==n&&n.length<100){if(UD(e)&&"undefined"===n)return void Oo(e,us.The_value_0_cannot_be_used_here,"undefined");Oo(e,16777216&t?33554432&t?us._0_is_possibly_null_or_undefined:us._0_is_possibly_undefined:us._0_is_possibly_null,n)}else Oo(e,16777216&t?33554432&t?us.Object_is_possibly_null_or_undefined:us.Object_is_possibly_undefined:us.Object_is_possibly_null);else Oo(e,us.The_value_0_cannot_be_used_here,"null")}function HP(e,t){Oo(e,16777216&t?33554432&t?us.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:us.Cannot_invoke_an_object_which_is_possibly_undefined:us.Cannot_invoke_an_object_which_is_possibly_null)}function GP(e,t,n){if(z&&2&e.flags){if(av(t)){const e=qf(t);if(e.length<100)return Oo(t,us._0_is_of_type_unknown,e),Tt}return Oo(t,us.Object_is_of_type_unknown),Tt}const r=KD(e,50331648);if(50331648&r){n(t,r);const i=vk(e);return 229376&i.flags?Tt:i}return e}function WP(e,t){return GP(e,t,VP)}function zP(e,t){const n=WP(e,t);if(16384&n.flags){if(av(t)){const e=qf(t);if(UD(t)&&"undefined"===e)return Oo(t,us.The_value_0_cannot_be_used_here,e),n;if(e.length<100)return Oo(t,us._0_is_possibly_undefined,e),n}Oo(t,us.Object_is_possibly_undefined)}return n}function YP(e,t,n){return 64&e.flags?function(e,t){const n=Tq(e.expression),r=Sk(n,e.expression);return xk(sN(e,e.expression,WP(r,e.expression),e.name,t),e,r!==n)}(e,t):sN(e,e.expression,LP(e.expression),e.name,t,n)}function ZP(e,t){const n=Cm(e)&&ly(e.left)?WP(HF(e.left),e.left):LP(e.left);return sN(e,e.left,n,e.right,t)}function eN(e){for(;217===e.parent.kind;)e=e.parent;return Ou(e.parent)&&e.parent.expression===e}function tN(e,t){for(let n=Z_(t);n;n=Y_(n)){const{symbol:t}=n,r=Jg(t,e),i=t.members&&t.members.get(r)||t.exports&&t.exports.get(r);if(i)return i}}function nN(e){!function(e){if(!Y_(e))return Ij(e,us.Private_identifiers_are_not_allowed_outside_class_bodies);if(!BI(e.parent)){if(!vm(e))return Ij(e,us.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);const t=uI(e.parent)&&103===e.parent.operatorToken.kind;if(!rN(e)&&!t)return Ij(e,us.Cannot_find_name_0,hc(e))}}(e);const t=rN(e);return t&&vN(t,void 0,!1),kt}function rN(e){if(!vm(e))return;const t=ss(e);return void 0===t.resolvedSymbol&&(t.resolvedSymbol=tN(e.escapedText,e)),t.resolvedSymbol}function iN(e,t){return z_(e,t.escapedName)}function oN(e,t){return(Sl(t)||am(e)&&kl(t))&&em(e,!0,!1)===wl(t)}function sN(e,t,n,r,i,o){const s=ss(t).resolvedSymbol,a=Yh(e),c=C_(0!==a||eN(e)?Qk(n):n),l=Hc(c)||c===pn;let d,p;if(JD(r)){(${const n=e.valueDeclaration;if(n&&Ec(n)&&JD(n.name)&&n.name.escapedText===t.escapedText)return r=e,!0}));const o=fs(t);if(r){const i=un.checkDefined(r.valueDeclaration),s=un.checkDefined(Y_(i));if(null==n?void 0:n.valueDeclaration){const r=n.valueDeclaration,a=Y_(r);if(un.assert(!!a),dc(a,(e=>s===e)))return sx(Oo(t,us.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,o,cc(e)),$f(r,us.The_shadowing_declaration_of_0_is_defined_here,o),$f(i,us.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,o)),!0}return Oo(t,us.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,o,fs(s.name||FQ)),!0}return!1}(n,r,t))return Tt;const e=Z_(r);e&&vp(Ap(e),O.checkJs)&&Ij(r,us.Private_field_0_must_be_declared_in_an_enclosing_class,hc(r))}else{65536&d.flags&&!(32768&d.flags)&&1!==a&&Oo(e,us.Private_accessor_was_defined_without_a_getter)}}else{if(l)return UD(t)&&s&&mF(e,2,void 0,n),Gc(c)?Tt:c;d=z_(c,r.escapedText,GO(c),166===e.kind)}if(mF(e,2,d,n),d){const n=BL(d,r);if(jo(n)&&_b(e,n)&&n.declarations&&Jo(r,n.declarations,r.escapedText),function(e,t,n){const{valueDeclaration:r}=e;if(!r||Ap(t).isDeclarationFile)return;let i;const o=hc(n);!lN(t)||function(e){return uw(e)&&!Ny(e)&&e.questionToken}(r)||xb(t)&&xb(t.expression)||cs(r,n)||pw(r)&&256&qj(r)||!U&&function(e){if(!(32&e.parent.flags))return!1;let t=wu(e.parent);for(;;){if(t=t.symbol&&uN(t),!t)return!1;const n=z_(t,e.escapedName);if(n&&n.valueDeclaration)return!0}}(e)?263!==r.kind||183===t.parent.kind||33554432&r.flags||cs(r,n)||(i=Oo(n,us.Class_0_used_before_its_declaration,o)):i=Oo(n,us.Property_0_is_used_before_its_initialization,o);i&&sx(i,$f(r,us._0_is_declared_here,o))}(d,e,r),vN(d,e,bN(t,s)),ss(e).resolvedSymbol=d,BP(e,108===t.kind,lb(e),c,d),$O(e,d,a))return Oo(r,us.Cannot_assign_to_0_because_it_is_a_read_only_property,hc(r)),Tt;p=oN(e,d)?Dt:o||cb(e)?Du(d):wu(d)}else{const t=JD(r)||0!==a&&kb(n)&&!jx(n)?void 0:ih(c,r.escapedText);if(!t||!t.type){const t=aN(e,n.symbol,!0);return!t&&pb(n)?kt:n.symbol===Ie?(Ie.exports.has(r.escapedText)&&418&Ie.exports.get(r.escapedText).flags?Oo(r,us.Property_0_does_not_exist_on_type_1,mc(r.escapedText),cc(n)):ie&&Oo(r,us.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,cc(n)),kt):(r.escapedText&&!ms(e)&&dN(r,jx(n)?c:n,t),Tt)}t.isReadonly&&(Kh(e)||ag(e))&&Oo(e,us.Index_signature_in_type_0_only_permits_reading,cc(c)),p=t.type,O.noUncheckedIndexedAccess&&1!==Yh(e)&&(p=Pv([p,$t])),O.noPropertyAccessFromIndexSignature&&zw(e)&&Oo(r,us.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,mc(r.escapedText)),t.declaration&&Uo(t.declaration)&&Jo(r,[t.declaration],r.escapedText)}return cN(e,d,p,r,i)}function aN(e,t,n){var r;const i=Ap(e);if(i&&void 0===O.checkJs&&void 0===i.checkJsDirective&&(1===i.scriptKind||2===i.scriptKind)){const o=u(null==t?void 0:t.declarations,Ap),s=!(null==t?void 0:t.valueDeclaration)||!du(t.valueDeclaration)||(null==(r=t.valueDeclaration.heritageClauses)?void 0:r.length)||hm(!1,t.valueDeclaration);return!(i!==o&&o&&Xf(o)||n&&t&&32&t.flags&&s||e&&n&&zw(e)&&110===e.expression.kind&&s)}return!1}function cN(e,t,n,r,i){const o=Yh(e);if(1===o)return kk(n,!!(t&&16777216&t.flags));if(t&&!(98311&t.flags)&&!(8192&t.flags&&1048576&n.flags)&&!UL(t.declarations))return n;if(n===Dt)return Tl(e,t);n=fF(n,e,i);let s=!1;if(z&&Z&&xb(e)&&110===e.expression.kind){const n=t&&t.valueDeclaration;if(n&&bL(n)&&!Iy(n)){const t=OT(e);176!==t.kind||t.parent!==n.parent||33554432&n.flags||(s=!0)}}else z&&t&&t.valueDeclaration&&zw(t.valueDeclaration)&&dh(t.valueDeclaration)&&OT(e)===OT(t.valueDeclaration)&&(s=!0);const a=NT(e,n,s?yk(n):n);return s&&!KE(n)&&KE(a)?(Oo(r,us.Property_0_is_used_before_being_assigned,oc(t)),n):o?YS(a):a}function lN(e){return!!dc(e,(e=>{switch(e.kind){case 172:return!0;case 303:case 174:case 177:case 178:case 305:case 167:case 239:case 294:case 291:case 292:case 293:case 286:case 233:case 298:return!1;case 219:case 244:return!(!DI(e.parent)||!fw(e.parent.parent))||"quit";default:return!vm(e)&&"quit"}}))}function uN(e){const t=id(e);if(0!==t.length)return Mv(t)}function dN(e,t,n){let r,i;if(!JD(e)&&1048576&t.flags&&!(402784252&t.flags))for(const n of t.types)if(!z_(n,e.escapedText)&&!ih(n,e.escapedText)){r=eC(r,us.Property_0_does_not_exist_on_type_1,Rf(e),cc(n));break}if(pN(e.escapedText,t)){const n=Rf(e),i=cc(t);r=eC(r,us.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,n,i,i+"."+n)}else{const o=r$(t);if(o&&z_(o,e.escapedText))r=eC(r,us.Property_0_does_not_exist_on_type_1,Rf(e),cc(t)),i=$f(e,us.Did_you_forget_to_use_await);else{const o=Rf(e),s=cc(t),a=function(e,t){const n=C_(t).symbol;if(!n)return;const r=Ac(n),i=ef().get(r);if(i)for(const[t,n]of i)if(C(n,e))return t}(o,t);if(void 0!==a)r=eC(r,us.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,o,s,a);else{const a=_N(e,t);if(void 0!==a){const e=Ac(a);r=eC(r,n?us.Property_0_may_not_exist_on_type_1_Did_you_mean_2:us.Property_0_does_not_exist_on_type_1_Did_you_mean_2,o,s,e),i=a.valueDeclaration&&$f(a.valueDeclaration,us._0_is_declared_here,e)}else{const e=function(e){return O.lib&&!O.lib.includes("dom")&&function(e,t){return 3145728&e.flags?g(e.types,t):t(e)}(e,(e=>e.symbol&&/^(?:EventTarget|Node|(?:HTML[a-zA-Z]*)?Element)$/.test(mc(e.symbol.escapedName))))&&zE(e)}(t)?us.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:us.Property_0_does_not_exist_on_type_1;r=eC(G_(r,t),e,o,s)}}}}const o=Mf(Ap(e),e,r);i&&sx(o,i),qo(!n||r.code!==us.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,o)}function pN(e,t){const n=t.symbol&&z_(wu(t.symbol),e);return void 0!==n&&!!n.valueDeclaration&&Iy(n.valueDeclaration)}function fN(e,t){return yN(e,Uf(t),106500)}function _N(e,t){let n=Uf(t);if("string"!=typeof e){const r=e.parent;zw(r)&&(n=S(n,(e=>CN(r,t,e)))),e=hc(e)}return yN(e,n,111551)}function mN(e,t){const n=Xe(e)?e:hc(e),r=Uf(t);return("for"===n?A(r,(e=>"htmlFor"===Ac(e))):"class"===n?A(r,(e=>"className"===Ac(e))):void 0)??yN(n,r,111551)}function hN(e,t){const n=_N(e,t);return n&&Ac(n)}function gN(e,t,n){un.assert(void 0!==t,"outername should always be defined");return He(e,t,n,void 0,!1,!1)}function AN(e,t){return t.exports&&yN(hc(e),sa(t),2623475)}function yN(e,t,n){return Nt(e,t,(function(e){const t=Ac(e);if(Wt(t,'"'))return;if(e.flags&n)return t;if(2097152&e.flags){const r=function(e){if(is(e).aliasTarget!==Ct)return Ls(e)}(e);if(r&&r.flags&n)return t}return}))}function vN(e,t,n){const r=e&&106500&e.flags&&e.valueDeclaration;if(!r)return;const i=Dy(r,2),o=e.valueDeclaration&&Ec(e.valueDeclaration)&&JD(e.valueDeclaration.name);if((i||o)&&(!t||!cb(t)||65536&e.flags)){if(n){const n=dc(t,ou);if(n&&n.symbol===e)return}(1&ib(e)?is(e).target:e).isReferenced=-1}}function bN(e,t){return 110===e.kind||!!t&&av(e)&&t===FD(cv(e))}function CN(e,t,n){return xN(e,211===e.kind&&108===e.expression.kind,!1,t,n)}function EN(e,t,n,r){if(Hc(r))return!0;const i=z_(r,n);return!!i&&xN(e,t,!1,r,i)}function xN(e,t,n,r,i){if(Hc(r))return!0;if(i.valueDeclaration&&Wl(i.valueDeclaration)){const t=Y_(i.valueDeclaration);return!gl(e)&&!!dc(e,(e=>e===t))}return $P(e,t,n,r,i)}function SN(e){const t=e.initializer;if(261===t.kind){const e=t.declarations[0];if(e&&!Cu(e.name))return _a(e)}else if(80===t.kind)return FD(t)}function kN(e){return 1===Qm(e).length&&!!Lm(e,Vt)}function DN(e,t){return 64&e.flags?function(e,t){const n=Tq(e.expression),r=Sk(n,e.expression);return xk(wN(e,WP(r,e.expression),t),e,r!==n)}(e,t):wN(e,LP(e.expression),t)}function wN(e,t,n){const r=0!==Yh(e)||eN(e)?Qk(t):t,i=e.argumentExpression,o=Tq(i);if(Gc(r)||r===pn)return r;if(GO(r)&&!Od(i))return Oo(i,us.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Tt;const s=function(e){const t=sg(e);if(80===t.kind){const n=FD(t);if(3&n.flags){let t=e,r=e.parent;for(;r;){if(249===r.kind&&t===r.statement&&SN(r)===n&&kN(Dq(r.expression)))return!0;t=r,r=r.parent}}}return!1}(i)?Vt:o,a=Yh(e);let c;0===a?c=32:(c=4|(kb(r)&&!jx(r)?2:0),2===a&&(c|=32));const l=Ob(r,s,c,e)||Tt;return zq(cN(e,ss(e).resolvedSymbol,l,i,n),e)}function IN(e){return Ou(e)||Zw(e)||vd(e)}function TN(e){return IN(e)&&u(e.typeArguments,JL),215===e.kind?Tq(e.template):vd(e)?Tq(e.attributes):uI(e)?Tq(e.left):Ou(e)&&u(e.arguments,(e=>{Tq(e)})),ai}function FN(e){return TN(e),ci}function RN(e){return!!e&&(230===e.kind||237===e.kind&&e.isSpread)}function PN(e){return v(e,RN)}function NN(e){return!!(16384&e.flags)}function BN(e){return!!(49155&e.flags)}function ON(e,t,n,r=!1){if(IT(e))return!0;let i,o=!1,s=tO(n),a=nO(n);if(215===e.kind)if(i=t.length,228===e.template.kind){const t=Ae(e.template.templateSpans);o=kp(t.literal)||!!t.literal.isUnterminated}else{const t=e.template;un.assert(15===t.kind),o=!!t.isUnterminated}else if(170===e.kind)i=eB(e,n);else if(226===e.kind)i=1;else if(vd(e)){if(o=e.attributes.end===e.end,o)return!0;i=0===a?t.length:1,s=0===t.length?s:1,a=Math.min(a,1)}else{if(!e.arguments)return un.assert(214===e.kind),0===nO(n);{i=r?t.length+1:t.length,o=e.arguments.end===e.end;const s=PN(t);if(s>=0)return s>=nO(n)&&(rO(n)||ss)return!1;if(o||i>=a)return!0;for(let t=i;t=r&&t.length<=n}function $N(e,t){let n;return!!(e.target&&(n=XB(e.target,t))&&Sb(n))}function QN(e){return MN(e,0,!1)}function LN(e){return MN(e,0,!1)||MN(e,1,!1)}function MN(e,t,n){if(524288&e.flags){const r=Sf(e);if(n||0===r.properties.length&&0===r.indexInfos.length){if(0===t&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===t&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function jN(e,t,n,r){const i=Gk(Eg(e),e,0,r),o=iO(t),s=n&&(o&&262144&o.flags?n.nonFixingMapper:n.mapper);return Vk(s?oE(t,s):t,e,((e,t)=>{AD(i.inferences,e,t)})),n||Hk(t,e,((e,t)=>{AD(i.inferences,e,t,128)})),ug(e,ID(i),Tm(t.declaration))}function UN(e){if(!e)return ln;const t=Tq(e);return gv(e)?t:Al(e.parent)?vk(t):gl(e.parent)?Ek(t):t}function JN(e,t,n,r,i){if(vd(e))return function(e,t,n,r){const i=LR(t,e),o=aq(e.attributes,i,r,n);return AD(r.inferences,o,i),ID(r)}(e,t,r,i);if(170!==e.kind&&226!==e.kind){const n=g(t.typeParameters,(e=>!!g_(e))),r=NR(e,n?8:0);if(r){const o=Wh(t);if(eD(o)){const s=QR(e);if(!(!n&&NR(e,8)!==r)){const e=Zk(function(e,t=0){return e&&Wk(w(e.inferences,Xk),e.signature,e.flags|t,e.compareTypes)}(s,1)),t=_E(r,e),n=QN(t),a=n&&n.typeParameters?Ig(pg(n,n.typeParameters)):t;AD(i.inferences,a,o,128)}const a=Gk(t.typeParameters,t,i.flags),c=_E(r,s&&s.returnMapper);AD(a.inferences,c,o),i.returnMapper=J(a.inferences,Cq)?Zk(function(e){const t=S(e.inferences,Cq);return t.length?Wk(w(t,Xk),e.signature,e.flags,e.compareTypes):void 0}(a)):void 0}}}const o=oO(t),s=o?Math.min(tO(t)-1,n.length):n.length;if(o&&262144&o.flags){const e=A(i.inferences,(e=>e.typeParameter===o));e&&(e.impliedArity=v(n,RN,s)<0?n.length-s:void 0)}const a=qh(t);if(a&&eD(a)){const t=KN(e);AD(i.inferences,UN(t),a)}for(let e=0;e=n-1){const t=e[n-1];if(RN(t)){const e=237===t.kind?t.type:aq(t.expression,r,i,o);return $S(e)?VN(e):Qy(dQ(33,e,Ot,230===t.kind?t.expression:t),s)}}const a=[],c=[],l=[];for(let u=t;ueC(void 0,us.Type_0_does_not_satisfy_the_constraint_1):void 0,l=r||us.Type_0_does_not_satisfy_the_constraint_1;a||(a=JC(o,s));const u=s[e];if(!PE(u,Cp(_E(i,a),u),n?t[e]:void 0,l,c))return}}return s}function WN(e){if(sP(e.tagName))return 2;const t=C_(Tq(e.tagName));return l(_m(t,1))?0:l(_m(t,0))?1:2}function zN(e){return yI(e=sg(e))?sg(e.expression):e}function YN(e,t,n,r,i,o,s,c){const u={errors:void 0,skipLogging:!0};if(bd(e))return function(e,t,n,r,i,o,s){const a=LR(t,e),c=IT(e)?pP(e):aq(e.attributes,a,void 0,r),u=4&r?Fk(c):c;return function(){var t;if(gP(e))return!0;const n=!kT(e)&&!ST(e)||sP(e.tagName)||BT(e.tagName)?void 0:Tq(e.tagName);if(!n)return!0;const r=_m(n,0);if(!l(r))return!0;const o=KM(e);if(!o)return!0;const a=zs(o,111551,!0,!1,e);if(!a)return!0;const c=_m(wu(a),0);if(!l(c))return!0;let u=!1,d=0;for(const e of c){const t=_m(KB(e,0),0);if(l(t))for(const e of t){if(u=!0,rO(e))return!0;const t=tO(e);t>d&&(d=t)}}if(!u)return!0;let p=1/0;for(const e of r){const t=nO(e);t{n.push(e.expression)})),n}if(170===e.kind)return function(e){const t=e.expression,n=CO(e);if(n){const e=[];for(const r of n.parameters){const n=wu(r);e.push(XN(t,n))}return e}return un.fail()}(e);if(226===e.kind)return[e.left];if(vd(e))return e.attributes.properties.length>0||kT(e)&&e.parent.children.length>0?[e.attributes]:a;const t=e.arguments||a,n=PN(t);if(n>=0){const e=t.slice(0,n);for(let r=n;r{var o;const s=i.target.elementFlags[r],a=XN(n,4&s?Qy(t):t,!!(12&s),null==(o=i.target.labeledElementDeclarations)?void 0:o[r]);e.push(a)})):e.push(n)}return e}return t}function eB(e,t){return O.experimentalDecorators?function(e,t){switch(e.parent.kind){case 263:case 231:return 1;case 172:return Ny(e.parent)?3:2;case 174:case 177:case 178:return t.parameters.length<=2?2:3;case 169:return 3;default:return un.fail()}}(e,t):Math.min(Math.max(tO(t),1),2)}function tB(e){const t=Ap(e),{start:n,length:r}=Kf(t,zw(e.expression)?e.expression.name:e.expression);return{start:n,length:r,sourceFile:t}}function nB(e,t,...n){if(Kw(e)){const{sourceFile:r,start:i,length:o}=tB(e);return"message"in t?Yb(r,i,o,t,...n):Vf(r,t)}return"message"in t?$f(e,t,...n):Mf(Ap(e),e,t)}function rB(e,t,n,r){var i;const o=PN(n);if(o>-1)return $f(n[o],us.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let s,a=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;for(const e of t){const t=nO(e),r=tO(e);tl&&(l=t),n.length1&&(v=N(E,mo,k,D)),v||(v=N(E,go,k,D)),v)return v;if(v=function(e,t,n,r,i){return un.assert(t.length>0),WL(e),r||1===t.length||t.some((e=>!!e.typeParameters))?function(e,t,n,r){const i=function(e,t){let n=-1,r=-1;for(let i=0;i=t)return i;s>r&&(r=s,n=i)}return n}(t,void 0===Te?n.length:Te),o=t[i],{typeParameters:s}=o;if(!s)return o;const a=IN(e)?e.typeArguments:void 0,c=a?bg(o,function(e,t,n){const r=e.map(pM);for(;r.length>t.length;)r.pop();for(;r.lengthe.thisParameter));let n;t.length&&(n=sB(t,t.map(JB)));const{min:r,max:i}=ax(e,oB),o=[];for(let t=0;tKQ(e)?tXB(e,t)))))}const s=q(e,(e=>KQ(e)?Ae(e.parameters):void 0));let a=128;if(0!==s.length){const t=Qy(Pv(q(e,tg),2));o.push(aB(s,t)),a|=1}e.some(XQ)&&(a|=2);return xp(e[0].declaration,void 0,n,o,Mv(e.map(Wh)),void 0,r,a)}(t)}(e,E,x,!!n,r),ss(e).resolvedSignature=v,_)if(!o&&f&&(o=us.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method),m)if(1===m.length||m.length>3){const t=m[m.length-1];let n;m.length>3&&(n=eC(n,us.The_last_overload_gave_the_following_error),n=eC(n,us.No_overload_matches_this_call)),o&&(n=eC(n,o));const r=YN(e,x,t,go,0,!0,(()=>n),void 0);if(r)for(const e of r)t.declaration&&m.length>3&&sx(e,$f(t.declaration,us.The_last_overload_is_declared_here)),T(t,e),po.add(e);else un.fail("No error for last overload signature")}else{const t=[];let n=0,r=Number.MAX_VALUE,i=0,s=0;for(const o of m){const a=YN(e,x,o,go,0,!0,(()=>eC(void 0,us.Overload_0_of_1_2_gave_the_following_error,s+1,E.length,ac(o))),void 0);a?(a.length<=r&&(r=a.length,i=s),n=Math.max(n,a.length),t.push(a)):un.fail("No error for 3 or fewer overload signatures"),s++}const a=n>1?t[i]:F(t);un.assert(a.length>0,"No errors reported for 3 or fewer overload signatures");let c=eC(w(a,Hf),us.No_overload_matches_this_call);o&&(c=eC(c,o));const l=[...R(a,(e=>e.relatedInformation))];let u;if(g(a,(e=>e.start===a[0].start&&e.length===a[0].length&&e.file===a[0].file))){const{file:e,start:t,length:n}=a[0];u={file:e,start:t,length:n,code:c.code,category:c.category,messageText:c,relatedInformation:l}}else u=Mf(Ap(e),Ou(I=e)?zw(I.expression)?I.expression.name:I.expression:Zw(I)?zw(I.tag)?I.tag.name:I.tag:vd(I)?I.tagName:I,c,l);T(m[0],u),po.add(u)}else if(h)po.add(rB(e,[h],x,o));else if(y)GN(y,e.typeArguments,!0,o);else if(!p){const n=S(t,(e=>qN(e,b)));0===n.length?po.add(function(e,t,n,r){const i=n.length;if(1===t.length){const o=t[0],s=vh(o.typeParameters),a=l(o.typeParameters);if(r){let t=eC(void 0,us.Expected_0_type_arguments_but_got_1,si?s=Math.min(s,t):n1?A(c,(e=>ou(e)&&Dp(e.body))):void 0;if(l){const e=Sh(l),n=!e.typeParameters;N([e],go,n)&&sx(t,$f(l,us.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}m=i,h=o,y=s}function N(t,n,r,i=!1){var o,s;if(m=void 0,h=void 0,y=void 0,r){const r=t[0];if(J(b)||!ON(e,x,r,i))return;return YN(e,x,r,n,0,!1,void 0,void 0)?void(m=[r]):r}for(let r=0;re===t))&&(l=Dg(l)),J(b)){if(n=GN(l,b,!1),!n){y=l;continue}}else c=Gk(l.typeParameters,l,Tm(e)?2:0),n=QC(JN(e,l,x,8|C,c),c.nonFixingMapper),C|=4&c.flags?8:0;if(a=ug(l,n,Tm(l.declaration),c&&c.inferredTypeParameters),oO(l)&&!ON(e,x,a,i)){h=a;continue}}else a=l;if(!YN(e,x,a,n,C,!1,void 0,c)){if(C){if(C=0,c){if(a=ug(l,QC(JN(e,l,x,C,c),c.mapper),Tm(l.declaration),c.inferredTypeParameters),oO(l)&&!ON(e,x,a,i)){h=a;continue}}if(YN(e,x,a,n,C,!1,void 0,c)){(m||(m=[])).push(a);continue}}return t[r]=a,a}(m||(m=[])).push(a)}}}}function oB(e){const t=e.parameters.length;return KQ(e)?t-1:t}function sB(e,t){return aB(e,Pv(t,2))}function aB(e,t){return Tk(me(e),t)}function cB(e){return!(!e.typeParameters||!QM(Wh(e)))}function lB(e,t,n,r){return Hc(e)||Hc(t)&&!!(262144&e.flags)||!n&&!r&&!(1048576&t.flags)&&!(131072&$_(t).flags)&&IE(e,Yn)}function uB(e,t,n){let r=LP(e.expression);if(r===pn)return ui;if(r=C_(r),Gc(r))return FN(e);if(Hc(r))return e.typeArguments&&Oo(e,us.Untyped_function_calls_may_not_accept_type_arguments),TN(e);const i=_m(r,1);if(i.length){if(!function(e,t){if(!t||!t.declaration)return!0;const n=t.declaration,r=qy(n,6);if(!r||176!==n.kind)return!0;const i=hb(n.parent.symbol),o=Cd(n.parent.symbol);if(!sM(e,i)){const t=Y_(e);if(t&&4&r){const e=pM(t);if(pB(n.parent.symbol,e))return!0}return 2&r&&Oo(e,us.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,cc(o)),4&r&&Oo(e,us.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,cc(o)),!1}return!0}(e,i[0]))return FN(e);if(dB(i,(e=>!!(4&e.flags))))return Oo(e,us.Cannot_create_an_instance_of_an_abstract_class),FN(e);const o=r.symbol&&hb(r.symbol);return o&&wy(o,64)?(Oo(e,us.Cannot_create_an_instance_of_an_abstract_class),FN(e)):iB(e,i,t,n,0)}const o=_m(r,0);if(o.length){const r=iB(e,o,t,n,0);return ie||(r.declaration&&!CB(r.declaration)&&Wh(r)!==ln&&Oo(e,us.Only_a_void_function_can_be_called_with_the_new_keyword),qh(r)===ln&&Oo(e,us.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),r}return _B(e.expression,r,1),FN(e)}function dB(e,t){return Ye(e)?J(e,(e=>dB(e,t))):1048576===e.compositeKind?J(e.compositeSignatures,t):t(e)}function pB(e,t){const n=id(t);if(!l(n))return!1;const r=n[0];if(2097152&r.flags){const t=$p(r.types);let n=0;for(const i of r.types){if(!t[n]&&3&gb(i)){if(i.symbol===e)return!0;if(pB(e,i))return!0}n++}return!1}return r.symbol===e||pB(e,r)}function fB(e,t,n){let r;const i=0===n,o=u$(t),s=o&&_m(o,n).length>0;if(1048576&t.flags){const e=t.types;let o=!1;for(const s of e){if(0!==_m(s,n).length){if(o=!0,r)break}else if(r||(r=eC(r,i?us.Type_0_has_no_call_signatures:us.Type_0_has_no_construct_signatures,cc(s)),r=eC(r,i?us.Not_all_constituents_of_type_0_are_callable:us.Not_all_constituents_of_type_0_are_constructable,cc(t))),o)break}o||(r=eC(void 0,i?us.No_constituent_of_type_0_is_callable:us.No_constituent_of_type_0_is_constructable,cc(t))),r||(r=eC(r,i?us.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:us.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,cc(t)))}else r=eC(r,i?us.Type_0_has_no_call_signatures:us.Type_0_has_no_construct_signatures,cc(t));let a=i?us.This_expression_is_not_callable:us.This_expression_is_not_constructable;if(Kw(e.parent)&&0===e.parent.arguments.length){const{resolvedSymbol:t}=ss(e);t&&32768&t.flags&&(a=us.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:eC(r,a),relatedMessage:s?us.Did_you_forget_to_use_await:void 0}}function _B(e,t,n,r){const{messageChain:i,relatedMessage:o}=fB(e,t,n),s=Mf(Ap(e),e,i);if(o&&sx(s,$f(e,o)),Kw(e.parent)){const{start:t,length:n}=tB(e.parent);s.start=t,s.length=n}po.add(s),mB(t,n,r?sx(s,r):s)}function mB(e,t,n){if(!e.symbol)return;const r=is(e.symbol).originatingImport;if(r&&!l_(r)){const i=_m(wu(is(e.symbol).target),t);if(!i||!i.length)return;sx(n,$f(r,us.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function hB(e,t,n){const r=Tq(e.expression),i=C_(r);if(Gc(i))return FN(e);const o=_m(i,0),s=_m(i,1).length;if(lB(r,i,o.length,s))return TN(e);if(a=e,(c=o).length&&g(c,(e=>0===e.minArgumentCount&&!KQ(e)&&e.parameters.lengthTm(e.declaration)&&!!$c(e.declaration)))?(Oo(e,us.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,cc(i)),FN(e)):iB(e,s,t,n,r)}(e,t,n);case 214:return uB(e,t,n);case 215:return function(e,t,n){const r=Tq(e.tag),i=C_(r);if(Gc(i))return FN(e);const o=_m(i,0),s=_m(i,1).length;if(lB(r,i,o.length,s))return TN(e);if(!o.length){if(Gw(e.parent)){const t=$f(e.tag,us.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);return po.add(t),FN(e)}return _B(e.tag,i,0),FN(e)}return iB(e,o,t,n,0)}(e,t,n);case 170:return hB(e,t,n);case 289:case 286:case 285:return yB(e,t,n);case 226:return function(e,t,n){const r=Tq(e.right);if(!Hc(r)){const i=zO(r);if(i){const r=C_(i);if(Gc(r))return FN(e);const o=_m(r,0),s=_m(r,1);if(lB(i,r,o.length,s.length))return TN(e);if(o.length)return iB(e,o,t,n,0)}else if(!AM(r)&&!DE(r,Yn))return Oo(e.right,us.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method),FN(e)}return ai}(e,t,n)}un.assertNever(e,"Branch in 'resolveSignature' should be unreachable.")}function bB(e,t,n){const r=ss(e),i=r.resolvedSignature;if(i&&i!==li&&!t)return i;const o=Mi;i||(Mi=$i.length),r.resolvedSignature=li;let s=vB(e,t,n||0);return Mi=o,s!==li&&(r.resolvedSignature!==li&&(s=r.resolvedSignature),r.resolvedSignature=bi===Ci?s:i),s}function CB(e){var t;if(!e||!Tm(e))return!1;const n=WI(e)||nI(e)?e:(HI(e)||LT(e))&&e.initializer&&nI(e.initializer)?e.initializer:void 0;if(n){if($c(e))return!0;if(LT(rg(n.parent)))return!1;const r=_a(n);return!!(null==(t=null==r?void 0:r.members)?void 0:t.size)}return!1}function EB(e,t){var n,r;if(t){const i=is(t);if(!i.inferredClassSymbol||!i.inferredClassSymbol.has(VQ(e))){const o=zd(e)?e:Yo(e);return o.exports=o.exports||Wd(),o.members=o.members||Wd(),o.flags|=32&t.flags,(null==(n=t.exports)?void 0:n.size)&&ts(o.exports,t.exports),(null==(r=t.members)?void 0:r.size)&&ts(o.members,t.members),(i.inferredClassSymbol||(i.inferredClassSymbol=new Map)).set(VQ(o),o),o}return i.inferredClassSymbol.get(VQ(e))}}function xB(e,t){if(!e.parent)return;let n,r;if(HI(e.parent)&&e.parent.initializer===e){if(!(Tm(e)||Qj(e.parent)&&ou(e)))return;n=e.parent.name,r=e.parent}else if(uI(e.parent)){const i=e.parent,o=e.parent.operatorToken.kind;if(64!==o||!t&&i.right!==e){if(!(57!==o&&61!==o||(HI(i.parent)&&i.parent.initializer===i?(n=i.parent.name,r=i.parent):uI(i.parent)&&64===i.parent.operatorToken.kind&&(t||i.parent.right===i)&&(n=i.parent.left,r=n),n&&ah(n)&&Ym(n,i.left))))return}else n=i.left,r=n}else t&&WI(e)&&(n=e.name,r=e);return r&&n&&(t||Gm(e,pv(n)))?ga(r):void 0}function SB(e,t){if(!(128&e.flags)&&e.declaration&&536870912&e.declaration.flags){const n=kB(t),r=dv(dm(t));!function(e,t,n,r){Mo(t,n?$f(e,us.The_signature_0_of_1_is_deprecated,r,n):$f(e,us._0_is_deprecated,r))}(n,e.declaration,r,ac(e))}}function kB(e){switch((e=sg(e)).kind){case 213:case 170:case 214:return kB(e.expression);case 215:return kB(e.tag);case 286:case 285:return kB(e.tagName);case 212:return e.argumentExpression;case 211:return e.name;case 183:const t=e;return iw(t.typeName)?t.typeName.right:t;default:return e}}function DB(e){if(!Kw(e))return!1;let t=e.expression;if(zw(t)&&"for"===t.name.escapedText&&(t=t.expression),!UD(t)||"Symbol"!==t.escapedText)return!1;const n=ZA(!1);return!!n&&n===Ue(t,"Symbol",111551,void 0,!1)}function wB(e){if(function(e){if(O.verbatimModuleSyntax&&1===M)return Ij(e,us.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(5===M)return Ij(e,us.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(e.typeArguments)return Ij(e,us.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const t=e.arguments;if(99!==M&&199!==M&&100!==M&&200!==M&&(oj(t),t.length>1)){return Ij(t[1],us.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve)}if(0===t.length||t.length>2)return Ij(e,us.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments);const n=A(t,_I);if(n)return Ij(n,us.Argument_of_dynamic_import_cannot_be_spread_element)}(e),0===e.arguments.length)return SO(e,kt);const t=e.arguments[0],n=cq(t),r=e.arguments.length>1?cq(e.arguments[1]):void 0;for(let t=2;t!!e.typeParameters&&qN(e,n))),(e=>{const t=GN(e,n,!0);return t?ug(e,t,Tm(e.declaration)):e}))}}function LB(e,t,n){const r=Tq(e,n),i=PC(t);if(Gc(i))return i;return NE(r,i,dc(t.parent,(e=>238===e.kind||350===e.kind)),e,us.Type_0_does_not_satisfy_the_expected_type_1),r}function MB(e){return function(e){const t=e.name.escapedText;switch(e.keywordToken){case 105:if("target"!==t)return Ij(e.name,us._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,mc(e.name.escapedText),Is(e.keywordToken),"target");break;case 102:if("meta"!==t)Ij(e.name,us._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,mc(e.name.escapedText),Is(e.keywordToken),"meta")}}(e),105===e.keywordToken?UB(e):102===e.keywordToken?function(e){100===M||199===M?99!==Ap(e).impliedNodeFormat&&Oo(e,us.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):M<6&&4!==M&&Oo(e,us.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const t=Ap(e);return un.assert(!!(8388608&t.flags),"Containing file is missing import meta node flag."),"meta"===e.name.escapedText?WA():Tt}(e):un.assertNever(e.keywordToken)}function jB(e){switch(e.keywordToken){case 102:return zA();case 105:const t=UB(e);return Gc(t)?Tt:function(e){const t=Vo(0,"NewTargetExpression"),n=Vo(4,"target",8);n.parent=t,n.links.type=e;const r=Wd([n]);return t.members=r,La(t,r,a,a,a)}(t);default:un.assertNever(e.keywordToken)}}function UB(e){const t=rm(e);if(t){if(176===t.kind){return wu(_a(t.parent))}return wu(_a(t))}return Oo(e,us.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Tt}function JB(e){const t=e.valueDeclaration;return El(wu(e),!1,!!t&&(Td(t)||Yx(t)))}function VB(e,t,n){switch(e.name.kind){case 80:{const r=e.name.escapedText;return e.dotDotDotToken?12&n?r:`${r}_${t}`:3&n?r:`${r}_n`}case 207:if(e.dotDotDotToken){const r=e.name.elements,i=et(ge(r),Hw),o=r.length-((null==i?void 0:i.dotDotDotToken)?1:0);if(t=r-1)return t===r-1?o:Qy(Nb(o,Vt));const s=[],a=[],c=[];for(let n=t;n!(1&e))),i=r<0?n.target.fixedLength:r;i>0&&(t=e.parameters.length-1+i)}}if(void 0===t){if(!n&&32&e.flags)return 0;t=e.minArgumentCount}if(r)return t;for(let n=t-1;n>=0;n--){if(131072&II(KB(e,n),NN).flags)break;t=n}e.resolvedMinArgumentCount=t}return e.resolvedMinArgumentCount}function rO(e){if(KQ(e)){const t=wu(e.parameters[e.parameters.length-1]);return!ok(t)||!!(12&t.target.combinedFlags)}return!1}function iO(e){if(KQ(e)){const t=wu(e.parameters[e.parameters.length-1]);if(!ok(t))return Hc(t)?cr:t;if(12&t.target.combinedFlags)return Av(t,t.target.fixedLength)}}function oO(e){const t=iO(e);return!t||PS(t)||Hc(t)?void 0:t}function sO(e){return aO(e,dn)}function aO(e,t){return e.parameters.length>0?KB(e,0):t}function cO(e,t,n){const r=e.parameters.length-(KQ(e)?1:0);for(let i=0;i=0);const i=_w(e.parent)?wu(_a(e.parent.parent)):mM(e.parent),o=_w(e.parent)?Ot:hM(e.parent),s=gC(r),a=Ho("target",i),c=Ho("propertyKey",o),l=Ho("parameterIndex",s);n.decoratorSignature=f$(void 0,void 0,[a,c,l],ln);break}case 174:case 177:case 178:case 172:{const e=t;if(!du(e.parent))break;const r=Ho("target",mM(e)),i=Ho("propertyKey",hM(e)),o=uw(e)?ln:xy(pM(e));if(!uw(t)||Ny(t)){const t=Ho("descriptor",xy(pM(e)));n.decoratorSignature=f$(void 0,void 0,[r,i,t],Pv([o,ln]))}else n.decoratorSignature=f$(void 0,void 0,[r,i],Pv([o,ln]));break}}return n.decoratorSignature===ai?void 0:n.decoratorSignature}(e):bO(e)}function EO(e){const t=ty(!0);return t!==Nn?aA(t,[e=d$(a$(e))||Bt]):Bt}function xO(e){const t=ny(!0);return t!==Nn?aA(t,[e=d$(a$(e))||Bt]):Bt}function SO(e,t){const n=EO(t);return n===Bt?(Oo(e,l_(e)?us.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:us.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Tt):(ry(!0)||Oo(e,l_(e)?us.A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:us.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),n)}function kO(e,t){if(!e.body)return Tt;const n=Ng(e),r=!!(2&n),i=!!(1&n);let o,s,a,c=ln;if(241!==e.body.kind)o=cq(e.body,t&&-9&t),r&&(o=a$(i$(o,!1,e,us.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(i){const n=RO(e,t);n?n.length>0&&(o=Pv(n,2)):c=dn;const{yieldTypes:r,nextTypes:i}=function(e,t){const n=[],r=[],i=!!(2&Ng(e));return w_(e.body,(e=>{const o=e.expression?Tq(e.expression,t):qt;let s;if(ae(n,wO(e,o,kt,i)),e.asteriskToken){const t=AQ(o,i?19:17,e.expression);s=t&&t.nextType}else s=NR(e,void 0);s&&ae(r,s)})),{yieldTypes:n,nextTypes:r}}(e,t);s=J(r)?Pv(r,2):void 0,a=J(i)?Mv(i):void 0}else{const r=RO(e,t);if(!r)return 2&n?SO(e,dn):dn;if(0===r.length){const t=oR(e,void 0),r=t&&32768&(rL(t,n)||ln).flags?Ot:ln;return 2&n?SO(e,r):r}o=Pv(r,2)}if(o||s||a){if(s&&Jk(e,s,3),o&&Jk(e,o,1),a&&Jk(e,a,2),o&&GS(o)||s&&GS(s)||a&&GS(a)){const t=JR(e),n=t?t===Sh(e)?i?void 0:o:RR(Wh(t),e,void 0):void 0;i?(s=rk(s,n,0,r),o=rk(o,n,1,r),a=rk(a,n,2,r)):o=function(e,t,n){e&&GS(e)&&(e=nk(e,t?n?r$(t):t:void 0));return e}(o,n,r)}s&&(s=Qk(s)),o&&(o=Qk(o)),a&&(a=Qk(a))}return i?DO(s||dn,o||c,a||iR(2,e)||Bt,r):r?EO(o||c):o||c}function DO(e,t,n,r){const i=r?hi:gi,o=i.getGlobalGeneratorType(!1);if(e=i.resolveIterationType(e,void 0)||Bt,t=i.resolveIterationType(t,void 0)||Bt,o===Nn){const r=i.getGlobalIterableIteratorType(!1);return r!==Nn?Ey(r,[e,t,n]):(i.getGlobalIterableIteratorType(!0),Dn)}return Ey(o,[e,t,n])}function wO(e,t,n,r){const i=e.expression||e,o=e.asteriskToken?dQ(r?19:17,t,n,i):t;return r?u$(o,i,e.asteriskToken?us.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:us.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o}function IO(e,t,n){let r=0;for(let i=0;i=t?n[i]:void 0;r|=void 0!==o?qQ.get(o)||32768:0}return r}function TO(e){const t=ss(e);if(void 0===t.isExhaustive){t.isExhaustive=0;const n=function(e){if(221===e.expression.kind){const t=AI(e);if(!t)return!1;const n=f_(cq(e.expression.expression)),r=IO(0,0,t);return 3&n.flags?!(556800&~r):!xI(n,(e=>KD(e,r)===r))}const t=cq(e.expression);if(!zS(t))return!1;const n=fI(e);if(!n.length||J(n,HS))return!1;return function(e,t){return 1048576&e.flags?!u(e.types,(e=>!C(t,e))):C(t,e)}(qI(t,_C),n)}(e);0===t.isExhaustive&&(t.isExhaustive=n)}else 0===t.isExhaustive&&(t.isExhaustive=!1);return t.isExhaustive}function FO(e){return e.endFlowNode&&vT(e.endFlowNode)}function RO(e,t){const n=Ng(e),r=[];let i=FO(e),o=!1;if(D_(e.body,(s=>{let a=s.expression;if(a){if(a=sg(a,!0),2&n&&223===a.kind&&(a=sg(a.expression,!0)),213===a.kind&&80===a.expression.kind&&cq(a.expression).symbol===fa(e.symbol)&&(!$x(e.symbol.valueDeclaration)||TT(a.expression)))return void(o=!0);let i=cq(a,t&&-9&t);2&n&&(i=a$(i$(i,!1,e,us.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),131072&i.flags&&(o=!0),ae(r,i)}else i=!0})),0!==r.length||i||!o&&!function(e){switch(e.kind){case 218:case 219:return!0;case 174:return 210===e.parent.kind;default:return!1}}(e))return!(z&&r.length&&i)||CB(e)&&r.some((t=>t.symbol===e.symbol))||ae(r,Ot),r}function PO(e,t){return void s((function(){const n=Ng(e),r=t&&rL(t,n);if(r&&(JO(r,16384)||32769&r.flags))return;if(173===e.kind||kp(e.body)||241!==e.body.kind||!FO(e))return;const i=1024&e.flags,o=hy(e)||e;if(r&&131072&r.flags)Oo(o,us.A_function_returning_never_cannot_have_a_reachable_end_point);else if(r&&!i)Oo(o,us.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(r&&z&&!IE(Ot,r))Oo(o,us.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(O.noImplicitReturns){if(!r){if(!i)return;const t=Wh(Sh(e));if(iL(e,t))return}Oo(o,us.Not_all_code_paths_return_a_value)}}))}function NO(e,t){if(un.assert(174!==e.kind||Q_(e)),WL(e),nI(e)&&W$(e,e.name),t&&4&t&&yE(e)){if(!hy(e)&&!Bx(e)){const n=VR(e);if(n&&eD(Wh(n))){const n=ss(e);if(n.contextFreeType)return n.contextFreeType;const r=kO(e,t),i=xp(void 0,void 0,void 0,a,r,void 0,0,64),o=La(e.symbol,N,[i],a,a);return o.objectFlags|=262144,n.contextFreeType=o}}return Bn}return cj(e)||218!==e.kind||fj(e),function(e,t){const n=ss(e);if(!(64&n.flags)){const r=VR(e);if(!(64&n.flags)){n.flags|=64;const i=fe(_m(wu(_a(e)),0));if(!i)return;if(yE(e))if(r){const n=QR(e);let o;if(t&&2&t){cO(i,r,n);const e=iO(r);e&&262144&e.flags&&(o=oE(r,n.nonFixingMapper))}o||(o=n?oE(r,n.mapper):r),function(e,t){if(t.typeParameters){if(e.typeParameters)return;e.typeParameters=t.typeParameters}if(t.thisParameter){const n=e.thisParameter;(!n||n.valueDeclaration&&!n.valueDeclaration.type)&&(n||(e.thisParameter=Tk(t.thisParameter,void 0)),lO(e.thisParameter,wu(t.thisParameter)))}const n=e.parameters.length-(KQ(e)?1:0);for(let r=0;re.parameters.length){const n=QR(e);t&&2&t&&cO(i,r,n)}if(r&&!zh(e)&&!i.resolvedReturnType){const n=kO(e,t);i.resolvedReturnType||(i.resolvedReturnType=n)}Nq(e)}}}(e,t),wu(_a(e))}function BO(e,t,n,r=!1){if(!IE(t,An)){const i=r&&n$(t);return Qo(e,!!i&&IE(i,An),n),!1}return!0}function OO(e){if(!Kw(e))return!1;if(!nh(e))return!1;const t=cq(e.arguments[2]);if(Jc(t,"value")){const e=z_(t,"writable"),n=e&&wu(e);if(!n||n===Yt||n===Kt)return!0;if(e&&e.valueDeclaration&<(e.valueDeclaration)){const t=Tq(e.valueDeclaration.initializer);if(t===Yt||t===Kt)return!0}return!1}return!z_(t,"set")}function qO(e){return!!(8&ib(e)||4&e.flags&&8&ob(e)||3&e.flags&&6&PP(e)||98304&e.flags&&!(65536&e.flags)||8&e.flags||J(e.declarations,OO))}function $O(e,t,n){var r,i;if(0===n)return!1;if(qO(t)){if(4&t.flags&&xb(e)&&110===e.expression.kind){const n=W_(e);if(!n||176!==n.kind&&!CB(n))return!0;if(t.valueDeclaration){const e=uI(t.valueDeclaration),o=n.parent===t.valueDeclaration.parent,s=n===t.valueDeclaration.parent,a=e&&(null==(r=t.parent)?void 0:r.valueDeclaration)===n.parent,c=e&&(null==(i=t.parent)?void 0:i.valueDeclaration)===n;return!(o||s||a||c)}}return!0}if(xb(e)){const t=sg(e.expression);if(80===t.kind){const e=ss(t).resolvedSymbol;if(2097152&e.flags){const t=vs(e);return!!t&&274===t.kind}}}return!1}function QO(e,t,n){const r=uR(e,7);return 80===r.kind||xb(r)?!(64&r.flags)||(Oo(e,n),!1):(Oo(e,t),!1)}function LO(e){Tq(e.expression);const t=sg(e.expression);if(!xb(t))return Oo(t,us.The_operand_of_a_delete_operator_must_be_a_property_reference),an;zw(t)&&JD(t.name)&&Oo(t,us.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const n=xa(ss(t).resolvedSymbol);return n&&(qO(n)?Oo(t,us.The_operand_of_a_delete_operator_cannot_be_a_read_only_property):function(e,t){const n=wu(t);!z||131075&n.flags||(ue?16777216&t.flags:XD(n,16777216))||Oo(e,us.The_operand_of_a_delete_operator_must_be_optional)}(t,n)),an}function MO(e){let t=!1;const n=X_(e);if(n&&fw(n)){Oo(e,aI(e)?us.await_expression_cannot_be_used_inside_a_class_static_block:us.await_using_statements_cannot_be_used_inside_a_class_static_block),t=!0}else if(!(65536&e.flags))if(nm(e)){const n=Ap(e);if(!kj(n)){let r;if(!gf(n,O)){r??(r=zf(n,e.pos));const i=aI(e)?us.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:us.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module,o=Yb(n,r.start,r.length,i);po.add(o),t=!0}switch(M){case 100:case 199:if(1===n.impliedNodeFormat){r??(r=zf(n,e.pos)),po.add(Yb(n,r.start,r.length,us.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),t=!0;break}case 7:case 99:case 200:case 4:if($>=4)break;default:r??(r=zf(n,e.pos));const i=aI(e)?us.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:us.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher;po.add(Yb(n,r.start,r.length,i)),t=!0}}}else{const r=Ap(e);if(!kj(r)){const i=zf(r,e.pos),o=aI(e)?us.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:us.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,s=Yb(r,i.start,i.length,o);if(n&&176!==n.kind&&!(2&Ng(n))){sx(s,$f(n,us.Did_you_mean_to_mark_this_function_as_async))}po.add(s),t=!0}}return aI(e)&&nR(e)&&(Oo(e,us.await_expressions_cannot_be_used_in_a_parameter_initializer),t=!0),t}function jO(e){return JO(e,2112)?VO(e,3)||JO(e,296)?An:Ht:Vt}function UO(e,t){if(JO(e,t))return!0;const n=f_(e);return!!n&&JO(n,t)}function JO(e,t){if(e.flags&t)return!0;if(3145728&e.flags){const n=e.types;for(const e of n)if(JO(e,t))return!0}return!1}function VO(e,t,n){return!!(e.flags&t)||!(n&&114691&e.flags)&&(!!(296&t)&&IE(e,Vt)||!!(2112&t)&&IE(e,Ht)||!!(402653316&t)&&IE(e,Jt)||!!(528&t)&&IE(e,an)||!!(16384&t)&&IE(e,ln)||!!(131072&t)&&IE(e,dn)||!!(65536&t)&&IE(e,jt)||!!(32768&t)&&IE(e,Ot)||!!(4096&t)&&IE(e,cn)||!!(67108864&t)&&IE(e,mn))}function HO(e,t,n){return 1048576&e.flags?g(e.types,(e=>HO(e,t,n))):VO(e,t,n)}function GO(e){return!!(16&gb(e))&&!!e.symbol&&WO(e.symbol)}function WO(e){return!!(128&e.flags)}function zO(e){const t=EQ("hasInstance");if(HO(e,67108864)){const n=z_(e,t);if(n){const e=wu(n);if(e&&0!==_m(e,0).length)return e}}}function YO(e,t,n,r){if(n===pn||r===pn)return pn;if(JD(e)){if(($e===Rn||!!(2097152&e.flags)&&YE(f_(e))))}(r)&&Oo(t,us.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,cc(r)),an}function KO(e,t,n,r,i=!1){const o=e.properties,s=o[n];if(303===s.kind||304===s.kind){const e=s.name,n=zv(e);if(aS(n)){const e=z_(t,cS(n));e&&(vN(e,s,i),BP(s,!1,!0,t,e))}const r=rl(s,Nb(t,n,32|(WR(s)?16:0),e));return ZO(304===s.kind?s:s.initializer,r)}if(305===s.kind){if(!(nAv(e,n))):Qy(r),i)}Oo(o.operatorToken,us.A_rest_element_cannot_have_an_initializer)}}}function ZO(e,t,n,r){let i;if(304===e.kind){const r=e;r.objectAssignmentInitializer&&(z&&!XD(Tq(r.objectAssignmentInitializer),16777216)&&(t=ew(t,524288)),function(e,t,n,r,i){const o=t.kind;if(64===o&&(210===e.kind||209===e.kind))return ZO(e,Tq(n,r),r,110===n.kind);let s;s=zy(o)?aQ(e,r):Tq(e,r);const a=Tq(n,r);rq(e,t,n,s,a,r,i)}(r.name,r.equalsToken,r.objectAssignmentInitializer,n)),i=e.name}else i=e;return 226===i.kind&&64===i.operatorToken.kind&&(ye(i,n),i=i.left,z&&(t=ew(t,524288))),210===i.kind?function(e,t,n){const r=e.properties;if(z&&0===r.length)return WP(t,e);for(let i=0;i=32&&$o(UT(rg(n.parent.parent)),a||t,us.This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2,zp(e),Is(c),r.value%32)}return u}case 40:case 65:if(r===pn||i===pn)return pn;let m;if(VO(r,402653316)||VO(i,402653316)||(r=WP(r,e),i=WP(i,n)),VO(r,296,!0)&&VO(i,296,!0)?m=Vt:VO(r,2112,!0)&&VO(i,2112,!0)?m=Ht:VO(r,402653316,!0)||VO(i,402653316,!0)?m=Jt:(Hc(r)||Hc(i))&&(m=Gc(r)||Gc(i)?Tt:kt),m&&!u(c))return m;if(!m){const e=402655727;return f(((t,n)=>VO(t,e)&&VO(n,e))),kt}return 65===c&&d(m),m;case 30:case 32:case 33:case 34:return u(c)&&(r=KS(WP(r,e)),i=KS(WP(i,n)),p(((e,t)=>{if(Hc(e)||Hc(t))return!0;const n=IE(e,An),r=IE(t,An);return n&&r||!n&&!r&&RE(e,t)}))),an;case 35:case 36:case 37:case 38:if(!(o&&64&o)){if((Nl(e)||Nl(n))&&(!Tm(e)||37===c||38===c)){const e=35===c||37===c;Oo(a,us.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,e?"false":"true")}!function(e,t,n,r){const i=_(sg(n)),o=_(sg(r));if(i||o){const s=Oo(e,us.This_condition_will_always_return_0,Is(37===t||35===t?97:112));if(i&&o)return;const a=38===t||36===t?Is(54):"",c=i?r:n,l=sg(c);sx(s,$f(c,us.Did_you_mean_0,`${a}Number.isNaN(${av(l)?qf(l):"..."})`))}}(a,c,e,n),p(((e,t)=>tq(e,t)||tq(t,e)))}return an;case 104:return function(e,t,n,r,i){if(n===pn||r===pn)return pn;!Hc(n)&&HO(n,402784252)&&Oo(e,us.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),un.assert(hv(e.parent));const o=bB(e.parent,void 0,i);return o===li?pn:(PE(Wh(o),an,t,us.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression),an)}(e,n,r,i,o);case 103:return YO(e,n,r,i);case 56:case 77:{const e=XD(r,4194304)?Pv([fk(z?r:YS(i)),i]):r;return 77===c&&d(i),e}case 57:case 76:{const e=XD(r,8388608)?Pv([vk(pk(r)),i],2):r;return 76===c&&d(i),e}case 61:case 78:{const e=XD(r,262144)?Pv([vk(r),i],2):r;return 78===c&&d(i),e}case 64:const h=uI(e.parent)?th(e.parent):0;return function(e,t){if(2===e)for(const e of wf(t)){const t=wu(e);if(t.symbol&&32&t.symbol.flags){const t=e.escapedName,n=Ue(e.valueDeclaration,t,788968,void 0,!1);(null==n?void 0:n.declarations)&&n.declarations.some(DF)&&(Xo(n,us.Duplicate_identifier_0,mc(t),e),Xo(e,us.Duplicate_identifier_0,mc(t),n))}}}(h,i),function(t){var r;switch(t){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const t=ga(e),i=Hm(n);return!!i&&Ww(i)&&!!(null==(r=null==t?void 0:t.exports)?void 0:r.size);default:return!1}}(h)?(524288&i.flags&&(2===h||6===h||zE(i)||YD(i)||1&gb(i))||d(i),r):(d(i),i);case 28:if(!O.allowUnreachableCode&&eq(e)&&!function(e){return 217===e.parent.kind&&xD(e.left)&&"0"===e.left.text&&(Kw(e.parent.parent)&&e.parent.parent.expression===e.parent||215===e.parent.parent.kind)&&(xb(e.right)||UD(e.right)&&"eval"===e.right.escapedText)}(e.parent)){const t=Ap(e),n=Ks(t.text,e.pos);t.parseDiagnostics.some((e=>e.code===us.JSX_expressions_must_have_one_parent_element.code&&Fa(e,n)))||Oo(e,us.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return i;default:return un.fail()}function l(e,t){return VO(e,2112)&&VO(t,2112)}function u(t){const o=UO(r,12288)?e:UO(i,12288)?n:void 0;return!o||(Oo(o,us.The_0_operator_cannot_be_applied_to_type_symbol,Is(t)),!1)}function d(i){tv(c)&&s((function(){let o=r;HL(t.kind)&&211===e.kind&&(o=YP(e,void 0,!0));if(QO(e,us.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,us.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let t;if(ue&&zw(e)&&JO(i,32768)){const n=Jc(Dq(e.expression),e.name.escapedText);kx(i,n)&&(t=us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}NE(i,o,e,n,t)}}))}function p(e){return!e(r,i)&&(f(e),!0)}function f(e){let n=!1;const o=a||t;if(e){const t=d$(r),o=d$(i);n=!(t===r&&o===i)&&!(!t||!o)&&e(t,o)}let s=r,c=i;!n&&e&&([s,c]=function(e,t,n){let r=e,i=t;const o=YS(e),s=YS(t);n(o,s)||(r=o,i=s);return[r,i]}(r,i,e));const[l,u]=lc(s,c);(function(e,n,r,i){switch(t.kind){case 37:case 35:case 38:case 36:return Qo(e,n,us.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,r,i);default:return}})(o,n,l,u)||Qo(o,n,us.Operator_0_cannot_be_applied_to_types_1_and_2,Is(t.kind),l,u)}function _(e){if(UD(e)&&"NaN"===e.escapedText){const t=Vr||(Vr=jA("NaN",!1));return!!t&&t===FD(e)}return!1}}function iq(e){const t=e.parent;return tI(t)&&iq(t)||Yw(t)&&t.argumentExpression===e}function oq(e){const t=[e.head.text],n=[];for(const r of e.templateSpans){const e=Tq(r.expression);UO(e,12288)&&Oo(r.expression,us.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),t.push(r.literal.text),n.push(IE(e,yn)?e:Jt)}const r=215!==e.parent.kind&&ke(e).value;return r?fC(hC(r)):mq(e)||iq(e)||xI(NR(e,void 0)||Bt,sq)?nb(t,n):Jt}function sq(e){return!!(134217856&e.flags||58982400&e.flags&&JO(p_(e)||Bt,402653316))}function aq(e,t,n,r){const i=function(e){return RT(e)&&!ST(e.parent)?e.parent.parent:e}(e);OR(i,t,!1),function(e,t){Ri[Ni]=e,Pi[Ni]=t,Ni++}(i,n);const o=Tq(e,1|r|(n?2:0));n&&n.intraExpressionInferenceSites&&(n.intraExpressionInferenceSites=void 0);const s=JO(o,2944)&&_q(o,RR(t,e,void 0))?_C(o):o;return Ni--,qR(),s}function cq(e,t){if(t)return Tq(e,t);const n=ss(e);if(!n.resolvedType){const r=bi,i=ri;bi=Ci,ri=void 0,n.resolvedType=Tq(e,t),ri=i,bi=r}return n.resolvedType}function lq(e){return 216===(e=sg(e,!0)).kind||234===e.kind||aR(e)}function uq(e,t,n){const r=Jm(e);if(Tm(e)){const n=eS(e);if(n)return LB(r,n,t)}const i=wq(r)||(n?aq(r,n,void 0,t||0):cq(r,t));if(aw(Hw(e)?nc(e):e)){if(206===e.name.kind&&bD(i))return function(e,t){let n;for(const r of t.elements)if(r.initializer){const t=dq(r);t&&!z_(e,t)&&(n=re(n,r))}if(!n)return e;const r=Wd();for(const t of wf(e))r.set(t.escapedName,t);for(const e of n){const t=Vo(16777220,dq(e));t.links.type=Ll(e,!1,!1),r.set(t.escapedName,t)}const i=La(e.symbol,r,a,a,Qm(e));return i.objectFlags=e.objectFlags,i}(i,e.name);if(207===e.name.kind&&ok(i))return function(e,t){if(12&e.target.combinedFlags||fA(e)>=t.elements.length)return e;const n=t.elements,r=Ev(e).slice(),i=e.target.elementFlags.slice();for(let t=fA(e);t_q(e,t)))}if(58982400&t.flags){const n=p_(t)||Bt;return JO(n,4)&&JO(e,128)||JO(n,8)&&JO(e,256)||JO(n,64)&&JO(e,2048)||JO(n,4096)&&JO(e,8192)||_q(e,n)}return!!(406847616&t.flags&&JO(e,128)||256&t.flags&&JO(e,256)||2048&t.flags&&JO(e,2048)||512&t.flags&&JO(e,512)||8192&t.flags&&JO(e,8192))}return!1}function mq(e){const t=e.parent;return Vu(t)&&Cl(t.type)||aR(t)&&Cl(cR(t))||NB(e)&&r_(NR(e,0))||(tI(t)||Gw(t)||_I(t))&&mq(t)||(LT(t)||MT(t)||SI(t))&&mq(t.parent)}function gq(e,t,n){const r=Tq(e,t,n);return mq(e)||P_(e)?_C(r):lq(e)?r:nk(r,RR(NR(e,void 0),e,void 0))}function Aq(e,t){return 167===e.name.kind&&XR(e.name),gq(e.initializer,t)}function yq(e,t){yj(e),167===e.name.kind&&XR(e.name);return vq(e,NO(e,t),t)}function vq(e,t,n){if(n&&10&n){const r=MN(t,0,!0),i=MN(t,1,!0),o=r||i;if(o&&o.typeParameters){const t=FR(e,2);if(t){const i=MN(vk(t),r?0:1,!1);if(i&&!i.typeParameters){if(8&n)return bq(e,n),Bn;const t=QR(e),r=t.signature&&Wh(t.signature),s=r&&LN(r);if(s&&!s.typeParameters&&!g(t.inferences,Cq)){const e=function(e,t){const n=[];let r,i;for(const o of t){const t=o.symbol.escapedName;if(xq(e.inferredTypeParameters,t)||xq(n,t)){const s=Ba(Vo(262144,Sq(H(e.inferredTypeParameters,n),t)));s.target=o,r=re(r,o),i=re(i,s),n.push(s)}else n.push(o)}if(i){const e=JC(r,i);for(const t of i)t.mapper=e}return n}(t,o.typeParameters),n=pg(o,e),r=w(t.inferences,(e=>Kk(e.typeParameter)));if(Vk(n,i,((e,t)=>{AD(r,e,t,0,!0)})),J(r,Cq)&&(Hk(n,i,((e,t)=>{AD(r,e,t)})),!function(e,t){for(let n=0;ne&&w(e.inferences,(e=>e.typeParameter)))).slice())}}}}return t}function bq(e,t){if(2&t){QR(e).flags|=4}}function Cq(e){return!(!e.candidates&&!e.contraCandidates)}function Eq(e){return!!(e.candidates||e.contraCandidates||A_(e.typeParameter))}function xq(e,t){return J(e,(e=>e.symbol.escapedName===t))}function Sq(e,t){let n=t.length;for(;n>1&&t.charCodeAt(n-1)>=48&&t.charCodeAt(n-1)<=57;)n--;const r=t.slice(0,n);for(let t=1;;t++){const n=r+t;if(!xq(e,n))return n}}function kq(e){const t=QN(e);if(t&&!t.typeParameters)return Wh(t)}function Dq(e){const t=wq(e);if(t)return t;if(268435456&e.flags&&ri){const t=ri[JQ(e)];if(t)return t}const n=Si,r=Tq(e,64);if(Si!==n){(ri||(ri=[]))[JQ(e)]=r,Dx(e,268435456|e.flags)}return r}function wq(e){let t=sg(e,!0);if(aR(t)){const e=cR(t);if(!Cl(e))return PC(e)}if(t=sg(e),aI(t)){const e=wq(t.expression);return e?u$(e):void 0}return!Kw(t)||108===t.expression.kind||Bm(t,!0)||DB(t)?Vu(t)&&!Cl(t.type)?PC(t.type):Pl(e)||su(e)?Tq(e):void 0:hl(t)?function(e){const t=Tq(e.expression),n=Sk(t,e.expression),r=kq(t);return r&&xk(r,e,n!==t)}(t):kq(LP(t.expression))}function Iq(e){const t=ss(e);if(t.contextFreeType)return t.contextFreeType;OR(e,kt,!1);const n=t.contextFreeType=Tq(e,4);return qR(),n}function Tq(n,i,o){var c,l;null==(c=Hn)||c.push(Hn.Phase.Check,"checkExpression",{kind:n.kind,pos:n.pos,end:n.end,path:n.tracingPath});const u=r;r=n,E=0;const d=function(e,n,r){const i=e.kind;if(t)switch(i){case 231:case 218:case 219:t.throwIfCancellationRequested()}switch(i){case 80:return $F(e,n);case 81:return nN(e);case 110:return HF(e);case 108:return WF(e);case 106:return Ut;case 15:case 11:return lD(e)?It:fC(hC(e.text));case 9:return Pj(e),fC(gC(+e.text));case 10:return function(e){const t=Lw(e.parent)||cI(e.parent)&&Lw(e.parent.parent);if(!t&&$<7&&Ij(e,us.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))return!0}(e),fC(AC({negative:!1,base10Value:mx(e.text)}));case 112:return tn;case 97:return Yt;case 228:return oq(e);case 14:return HR(e);case 209:return zR(e,n,r);case 210:return rP(e,n);case 211:return YP(e,n);case 166:return ZP(e,n);case 212:return DN(e,n);case 213:if(102===e.expression.kind)return wB(e);case 214:return function(e,t){var n,r,i;lj(e,e.typeArguments);const o=bB(e,void 0,t);if(o===li)return pn;if(SB(o,e),108===e.expression.kind)return ln;if(214===e.kind){const t=o.declaration;if(t&&176!==t.kind&&180!==t.kind&&185!==t.kind&&(!cF(t)||176!==(null==(r=null==(n=Vh(t))?void 0:n.parent)?void 0:r.kind))&&!Dh(t)&&!CB(t))return ie&&Oo(e,us.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),kt}if(Tm(e)&&RB(e))return Oh(e.arguments[0]);const s=Wh(o);if(12288&s.flags&&DB(e))return kC(rg(e.parent));if(213===e.kind&&!e.questionDotToken&&244===e.parent.kind&&16384&s.flags&&$h(o))if(lv(e.expression)){if(!fT(e)){const t=Oo(e.expression,us.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);dT(e.expression,t)}}else Oo(e.expression,us.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(Tm(e)){const t=xB(e,!1);if(null==(i=null==t?void 0:t.exports)?void 0:i.size){const e=La(t,t.exports,a,a,a);return e.objectFlags|=4096,Mv([s,e])}}return s}(e,n);case 215:return PB(e);case 217:return function(e,t){if(wd(e)){if(Xx(e))return LB(e.expression,Zx(e),t);if(aR(e))return BB(e,t)}return Tq(e.expression,t)}(e,n);case 231:return function(e){return mL(e),WL(e),function(e){if(e.name)return;const t=dR(e);if(!Wg(t))return;let n;n=!j&&$MO(e)));const t=Tq(e.expression),n=i$(t,!0,e,us.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return n!==t||Gc(n)||3&t.flags||qo(!1,$f(e,us.await_has_no_effect_on_the_type_of_this_expression)),n}(e);case 224:return function(e){const t=Tq(e.operand);if(t===pn)return pn;switch(e.operand.kind){case 9:switch(e.operator){case 41:return fC(gC(-e.operand.text));case 40:return fC(gC(+e.operand.text))}break;case 10:if(41===e.operator)return fC(AC({negative:!0,base10Value:mx(e.operand.text)}))}switch(e.operator){case 40:case 41:case 55:return WP(t,e.operand),UO(t,12288)&&Oo(e.operand,us.The_0_operator_cannot_be_applied_to_type_symbol,Is(e.operator)),40===e.operator?(UO(t,2112)&&Oo(e.operand,us.Operator_0_cannot_be_applied_to_type_1,Is(e.operator),cc(YS(t))),Vt):jO(t);case 54:oQ(t,e.operand);const n=KD(t,12582912);return 4194304===n?Yt:8388608===n?tn:an;case 46:case 47:return BO(e.operand,WP(t,e.operand),us.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&QO(e.operand,us.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,us.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),jO(t)}return Tt}(e);case 225:return function(e){const t=Tq(e.operand);return t===pn?pn:(BO(e.operand,WP(t,e.operand),us.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&QO(e.operand,us.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,us.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),jO(t))}(e);case 226:return ye(e,n);case 227:return function(e,t){const n=aQ(e.condition,t);return iQ(e.condition,n,e.whenTrue),Pv([Tq(e.whenTrue,t),Tq(e.whenFalse,t)],2)}(e,n);case 230:return function(e,t){return $Bq(e,n,void 0))));const o=i&&GQ(i,r),a=o&&o.yieldType||kt,c=o&&o.nextType||kt,l=e.expression?Tq(e.expression):qt,u=wO(e,l,c,r);if(i&&u&&NE(u,a,e.expression||e,e.expression),e.asteriskToken)return fQ(r?19:17,1,l,e.expression)||kt;if(i)return QQ(2,i,r)||kt;let d=iR(2,t);return d||(d=kt,s((()=>{if(ie&&!Rx(e)){const t=NR(e,void 0);t&&!Hc(t)||Oo(e,us.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}}))),d}(e);case 237:return function(e){return e.isSpread?Nb(e.type,Vt):e.type}(e);case 294:return RP(e,n);case 284:case 285:return function(e){return WL(e),SP(e)||kt}(e);case 288:return function(e){IP(e.openingFragment);const t=Ap(e);!GC(O)||!O.jsxFactory&&!t.pragmas.has("jsx")||O.jsxFragmentFactory||t.pragmas.has("jsxfrag")||Oo(e,O.jsxFactory?us.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:us.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),fP(e);const n=SP(e);return Gc(n)?kt:n}(e);case 292:return function(e,t){return pP(e.parent,t)}(e,n);case 286:un.fail("Shouldn't ever directly check a JsxOpeningElement")}return Tt}(n,i,o),p=vq(n,d,i);return GO(p)&&function(t,n){const r=211===t.parent.kind&&t.parent.expression===t||212===t.parent.kind&&t.parent.expression===t||(80===t.kind||166===t.kind)&&aM(t)||186===t.parent.kind&&t.parent.exprName===t||281===t.parent.kind;r||Oo(t,us.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);if(O.isolatedModules||O.verbatimModuleSyntax&&r&&!Ue(t,cv(t),2097152,void 0,!1,!0)){un.assert(!!(128&n.symbol.flags));const r=n.symbol.valueDeclaration,i=e.getRedirectReferenceForResolutionFromSourceOfProject(Ap(r).resolvedPath);!(33554432&r.flags)||vx(t)||i&&TC(i.commandLine.options)||Oo(t,us.Cannot_access_ambient_const_enums_when_0_is_enabled,qe)}}(n,p),r=u,null==(l=Hn)||l.pop(),p}function Fq(e){rj(e),e.expression&&Dj(e.expression,us.Type_expected),JL(e.constraint),JL(e.default);const t=yd(_a(e));p_(t),function(e){return h_(e)!==qn}(t)||Oo(e.default,us.Type_parameter_0_has_a_circular_default,cc(t));const n=Gf(t),r=g_(t);n&&r&&PE(r,Cp(_E(n,HC(t,r)),r),e.default,us.Type_0_does_not_satisfy_the_constraint_1),WL(e),s((()=>lL(e.name,us.Type_parameter_name_cannot_be_0)))}function Rq(e){rj(e),Y$(e);const t=W_(e);wy(e,31)&&(176===t.kind&&Dp(t.body)||Oo(e,us.A_parameter_property_is_only_allowed_in_a_constructor_implementation),176===t.kind&&UD(e.name)&&"constructor"===e.name.escapedText&&Oo(e.name,us.constructor_cannot_be_used_as_a_parameter_property_name)),!e.initializer&&Yx(e)&&Cu(e.name)&&t.body&&Oo(e,us.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),e.name&&UD(e.name)&&("this"===e.name.escapedText||"new"===e.name.escapedText)&&(0!==t.parameters.indexOf(e)&&Oo(e,us.A_0_parameter_must_be_the_first_parameter,e.name.escapedText),176!==t.kind&&180!==t.kind&&185!==t.kind||Oo(e,us.A_constructor_cannot_have_a_this_parameter),219===t.kind&&Oo(e,us.An_arrow_function_cannot_have_a_this_parameter),177!==t.kind&&178!==t.kind||Oo(e,us.get_and_set_accessors_cannot_declare_this_parameters)),!e.dotDotDotToken||Cu(e.name)||IE($_(wu(e.symbol)),ur)||Oo(e,us.A_rest_parameter_must_be_of_an_array_type)}function Pq(e,t,n){for(const r of e.elements){if(hI(r))continue;const e=r.name;if(80===e.kind&&e.escapedText===n)return Oo(t,us.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,n),!0;if((207===e.kind||206===e.kind)&&Pq(e,t,n))return!0}}function Nq(e){181===e.kind?function(e){rj(e)||function(e){const t=e.parameters[0];if(1!==e.parameters.length)return Ij(t?t.name:e,us.An_index_signature_must_have_exactly_one_parameter);if(oj(e.parameters,us.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return Ij(t.dotDotDotToken,us.An_index_signature_cannot_have_a_rest_parameter);if(Sy(t))return Ij(t.name,us.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return Ij(t.questionToken,us.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return Ij(t.name,us.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return Ij(t.name,us.An_index_signature_parameter_must_have_a_type_annotation);const n=PC(t.type);if(xI(n,(e=>!!(8576&e.flags)))||Sb(n))return Ij(t.name,us.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead);if(!kI(n,Hg))return Ij(t.name,us.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type);if(!e.type)return Ij(e,us.An_index_signature_must_have_a_type_annotation)}(e)}(e):184!==e.kind&&262!==e.kind&&185!==e.kind&&179!==e.kind&&176!==e.kind&&180!==e.kind||cj(e);const t=Ng(e);4&t||(!(3&~t)&&${UD(e)&&r.add(e.escapedText),Cu(e)&&i.add(t)}));const o=Fh(e);if(o){const e=t.length-1,o=t[e];n&&o&&UD(o.name)&&o.typeExpression&&o.typeExpression.type&&!r.has(o.name.escapedText)&&!i.has(e)&&!PS(PC(o.typeExpression.type))&&Oo(o.name,us.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,hc(o.name))}else u(t,(({name:e,isNameFirst:t},o)=>{i.has(o)||UD(e)&&r.has(e.escapedText)||(iw(e)?n&&Oo(e,us.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,qf(e),qf(e.left)):t||$o(n,e,us.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,hc(e)))}))}(e),u(e.parameters,Rq),e.type&&JL(e.type),s((function(){!function(e){if($>=2||!$d(e)||33554432&e.flags||kp(e.body))return;u(e.parameters,(e=>{e.name&&!Cu(e.name)&&e.name.escapedText===Be.escapedName&&No("noEmit",e,us.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(e);let t=hy(e),n=t;if(Tm(e)){const r=tl(e);if(r&&r.typeExpression&&bw(r.typeExpression.type)){const e=QN(PC(r.typeExpression));e&&e.declaration&&(t=hy(e.declaration),n=r.typeExpression.type)}}if(ie&&!t)switch(e.kind){case 180:Oo(e,us.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 179:Oo(e,us.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(t&&n){const r=Ng(e);if(1==(5&r)){const e=PC(t);e===ln?Oo(n,us.A_generator_cannot_have_a_void_type_annotation):Bq(e,r,n)}else 2==(3&r)&&function(e,t,n){const r=PC(t);if($>=2){if(Gc(r))return;const e=ty(!0);if(e!==Nn&&!Fu(r,e))return void o(us.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,t,n,cc(d$(r)||ln))}else{if(mF(e,5),Gc(r))return;const s=um(t);if(void 0===s)return void o(us.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,t,n,cc(r));const a=zs(s,111551,!0),c=a?wu(a):Tt;if(Gc(c))return void(80===s.kind&&"Promise"===s.escapedText&&qu(r)===ty(!1)?Oo(n,us.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):o(us.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,t,n,qf(s)));const l=(i=!0,yr||(yr=HA("PromiseConstructorLike",0,i))||Dn);if(l===Dn)return void o(us.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,t,n,qf(s));const u=us.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value;if(!PE(c,l,n,u,(()=>t===n?void 0:eC(void 0,us.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type))))return;const d=s&&cv(s),p=as(e.locals,d.escapedText,111551);if(p)return void Oo(p.valueDeclaration,us.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,hc(d),qf(s))}var i;function o(e,t,n,r){if(t===n)Oo(n,e,r);else{sx(Oo(n,us.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),$f(t,e,r))}}i$(r,!1,e,us.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(e,t,n)}181!==e.kind&&317!==e.kind&&E$(e)}))}function Bq(e,t,n){const r=QQ(0,e,!!(2&t))||kt;return PE(DO(r,QQ(1,e,!!(2&t))||r,QQ(2,e,!!(2&t))||Bt,!!(2&t)),e,n)}function Oq(e){const t=new Map;for(const n of e.members)if(171===n.kind){let e;const r=n.name;switch(r.kind){case 11:case 9:e=r.text;break;case 80:e=hc(r);break;default:continue}t.get(e)?(Oo(Sc(n.symbol.valueDeclaration),us.Duplicate_identifier_0,e),Oo(n.name,us.Duplicate_identifier_0,e)):t.set(e,!0)}}function qq(e){if(264===e.kind){const t=_a(e);if(t.declarations&&t.declarations.length>0&&t.declarations[0]!==e)return}const t=Fg(_a(e));if(null==t?void 0:t.declarations){const e=new Map;for(const n of t.declarations)yw(n)&&1===n.parameters.length&&n.parameters[0].type&&EI(PC(n.parameters[0].type),(t=>{const r=e.get(xv(t));r?r.declarations.push(n):e.set(xv(t),{type:t,declarations:[n]})}));e.forEach((e=>{if(e.declarations.length>1)for(const t of e.declarations)Oo(t,us.Duplicate_index_signature_for_type_0,cc(e.type))}))}}function $q(e){rj(e)||function(e){if(ow(e.name)&&uI(e.name.expression)&&103===e.name.expression.operatorToken.kind)return Ij(e.parent.members[0],us.A_mapped_type_may_not_declare_properties_or_methods);if(du(e.parent)){if(kD(e.name)&&"constructor"===e.name.text)return Ij(e.name,us.Classes_may_not_have_a_field_named_constructor);if(Aj(e.name,us.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if($<2&&JD(e.name))return Ij(e.name,us.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if($<2&&fu(e))return Ij(e.name,us.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(fu(e)&&_j(e.questionToken,us.An_accessor_property_cannot_be_declared_optional))return!0}else if(264===e.parent.kind){if(Aj(e.name,us.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(un.assertNode(e,lw),e.initializer)return Ij(e.initializer,us.An_interface_property_cannot_have_an_initializer)}else if(Sw(e.parent)){if(Aj(e.name,us.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(un.assertNode(e,lw),e.initializer)return Ij(e.initializer,us.A_type_literal_property_cannot_have_an_initializer)}33554432&e.flags&&bj(e);if(uw(e)&&e.exclamationToken&&(!du(e.parent)||!e.type||e.initializer||33554432&e.flags||Iy(e)||Ry(e))){const t=e.initializer?us.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?us.A_definite_assignment_assertion_is_not_permitted_in_this_context:us.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Ij(e.exclamationToken,t)}}(e)||pj(e.name),Y$(e),Qq(e),wy(e,64)&&172===e.kind&&e.initializer&&Oo(e,us.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,Rf(e.name))}function Qq(e){if(JD(e.name)&&($wy(e,31)))))if(function(e,t){const n=rg(e.parent);return TI(n)&&n.parent===t}(i,e.body)){let t;for(const n of e.body.statements){if(TI(n)&&c_(uR(n.expression))){t=n;break}if(Mq(n))break}void 0===t&&Oo(e,us.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}else Oo(i,us.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers)}else n||Oo(e,us.Constructors_for_derived_classes_must_contain_a_super_call)}}))}function Mq(e){return 108===e.kind||110===e.kind||!tm(e)&&!!OP(e,Mq)}function jq(e){UD(e.name)&&"constructor"===hc(e.name)&&du(e.parent)&&Oo(e.name,us.Class_constructor_may_not_be_an_accessor),s((function(){cj(e)||function(e){if(!(33554432&e.flags)&&187!==e.parent.kind&&264!==e.parent.kind){if($<2&&JD(e.name))return Ij(e.name,us.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(void 0===e.body&&!wy(e,64))return wj(e,e.end-1,1,us._0_expected,"{")}if(e.body){if(wy(e,64))return Ij(e,us.An_abstract_accessor_cannot_have_an_implementation);if(187===e.parent.kind||264===e.parent.kind)return Ij(e.body,us.An_implementation_cannot_be_declared_in_ambient_contexts)}if(e.typeParameters)return Ij(e.name,us.An_accessor_cannot_have_type_parameters);if(!function(e){return gj(e)||e.parameters.length===(177===e.kind?0:1)}(e))return Ij(e.name,177===e.kind?us.A_get_accessor_cannot_have_parameters:us.A_set_accessor_must_have_exactly_one_parameter);if(178===e.kind){if(e.type)return Ij(e.name,us.A_set_accessor_cannot_have_a_return_type_annotation);const t=un.checkDefined(oy(e),"Return value does not match parameter count assertion.");if(t.dotDotDotToken)return Ij(t.dotDotDotToken,us.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return Ij(t.questionToken,us.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return Ij(e.name,us.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(e)||pj(e.name);v$(e),Nq(e),177===e.kind&&!(33554432&e.flags)&&Dp(e.body)&&512&e.flags&&(1024&e.flags||Oo(e.name,us.A_get_accessor_must_return_a_value));167===e.name.kind&&XR(e.name);if(lp(e)){const t=_a(e),n=Hd(t,177),r=Hd(t,178);if(n&&r&&!(1&NM(n))){ss(n).flags|=1;const e=Ly(n),t=Ly(r);(64&e)!=(64&t)&&(Oo(n.name,us.Accessors_must_both_be_abstract_or_non_abstract),Oo(r.name,us.Accessors_must_both_be_abstract_or_non_abstract)),(4&e&&!(6&t)||2&e&&!(2&t))&&(Oo(n.name,us.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),Oo(r.name,us.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))}}const t=mu(_a(e));177===e.kind&&PO(e,t)})),JL(e.body),Qq(e)}function Uq(e,t,n){return e.typeArguments&&n{const t=Hq(e);t&&Vq(e,t)}));const t=ss(e).resolvedSymbol;t&&J(t.declarations,(e=>Jx(e)&&!!(536870912&e.flags)))&&Jo(kB(e),t.declarations,t.escapedName)}}function zq(e,t){if(!(8388608&e.flags))return e;const n=e.objectType,r=e.indexType,i=Ef(n)&&2===xf(n)?Wv(n,0):eb(n,0),o=!!Lm(n,Vt);if(kI(r,(e=>IE(e,i)||o&&Rm(e,Vt))))return 212===t.kind&&Kh(t)&&32&gb(n)&&1&vf(n)&&Oo(t,us.Index_signature_in_type_0_only_permits_reading,cc(n)),e;if(kb(n)){const e=fb(r,t);if(e){const r=EI(C_(n),(t=>z_(t,e)));if(r&&6&ob(r))return Oo(t,us.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,mc(e)),Tt}}return Oo(t,us.Type_0_cannot_be_used_to_index_type_1,cc(r),cc(n)),Tt}function Yq(e){!function(e){var t;if(null==(t=e.members)?void 0:t.length)Ij(e.members[0],us.A_mapped_type_may_not_declare_properties_or_methods)}(e),JL(e.typeParameter),JL(e.nameType),JL(e.type),e.type||Uk(e,kt);const t=Qb(e),n=of(t);if(n)PE(n,gn,e.nameType);else{PE(rf(t),gn,dl(e.typeParameter))}}function Kq(e){!function(e){if(158===e.operator){if(155!==e.type.kind)return Ij(e.type,us._0_expected,Is(155));let t=ng(e.parent);if(Tm(t)&&HT(t)){const e=Jh(t);e&&(t=Rh(e)||e)}switch(t.kind){case 260:const n=t;if(80!==n.name.kind)return Ij(e,us.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!R_(n))return Ij(e,us.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&n.parent.flags))return Ij(t.name,us.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 172:if(!Iy(t)||!By(t))return Ij(t.name,us.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 171:if(!wy(t,8))return Ij(t.name,us.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:Ij(e,us.unique_symbol_types_are_not_allowed_here)}}else if(148===e.operator&&188!==e.type.kind&&189!==e.type.kind)Dj(e,us.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,Is(155))}(e),JL(e.type)}function Xq(e){return(Dy(e,2)||Wl(e))&&!!(33554432&e.flags)}function Zq(e,t){let n=qj(e);if(264!==e.parent.kind&&263!==e.parent.kind&&231!==e.parent.kind&&33554432&e.flags){const t=If(e);!(t&&128&t.flags)||128&n||eT(e.parent)&&ZI(e.parent.parent)&&ff(e.parent.parent)||(n|=32),n|=128}return n&t}function e$(e){s((()=>function(e){function t(e,t){return void 0!==t&&t.parent===e[0].parent?t:e[0]}function n(e,n,r,i,o){if(0!==(i^o)){const i=Zq(t(e,n),r);Qe(e,(e=>Ap(e).fileName)).forEach((e=>{const o=Zq(t(e,n),r);for(const t of e){const e=Zq(t,r)^i,n=Zq(t,r)^o;32&n?Oo(Sc(t),us.Overload_signatures_must_all_be_exported_or_non_exported):128&n?Oo(Sc(t),us.Overload_signatures_must_all_be_ambient_or_non_ambient):6&e?Oo(Sc(t)||t,us.Overload_signatures_must_all_be_public_private_or_protected):64&e&&Oo(Sc(t),us.Overload_signatures_must_all_be_abstract_or_non_abstract)}}))}}function r(e,n,r,i){if(r!==i){const r=kh(t(e,n));u(e,(e=>{kh(e)!==r&&Oo(Sc(e),us.Overload_signatures_must_all_be_optional_or_required)}))}}const i=230;let o,s,a,c=0,d=i,p=!1,f=!0,_=!1;const m=e.declarations,h=!!(16384&e.flags);function g(e){if(e.name&&kp(e.name))return;let t=!1;const n=OP(e.parent,(n=>{if(t)return n;t=n===e}));if(n&&n.pos===e.end&&n.kind===e.kind){const t=n.name||n,r=n.name;if(e.name&&r&&(JD(e.name)&&JD(r)&&e.name.escapedText===r.escapedText||ow(e.name)&&ow(r)&&EE(XR(e.name),XR(r))||Mg(e.name)&&Mg(r)&&Ug(e.name)===Ug(r))){if((174===e.kind||173===e.kind)&&Iy(e)!==Iy(n)){Oo(t,Iy(e)?us.Function_overload_must_be_static:us.Function_overload_must_not_be_static)}return}if(Dp(n.body))return void Oo(t,us.Function_implementation_name_must_be_0,Rf(e.name))}const r=e.name||e;h?Oo(r,us.Constructor_implementation_is_missing):wy(e,64)?Oo(r,us.All_declarations_of_an_abstract_method_must_be_consecutive):Oo(r,us.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let A=!1,y=!1,v=!1;const b=[];if(m)for(const e of m){const t=e,n=33554432&t.flags,r=t.parent&&(264===t.parent.kind||187===t.parent.kind)||n;if(r&&(a=void 0),263!==t.kind&&231!==t.kind||n||(v=!0),262===t.kind||174===t.kind||173===t.kind||176===t.kind){b.push(t);const e=Zq(t,i);c|=e,d&=e,p=p||kh(t),f=f&&kh(t);const n=Dp(t.body);n&&o?h?y=!0:A=!0:(null==a?void 0:a.parent)===t.parent&&a.end!==t.pos&&g(a),n?o||(o=t):_=!0,a=t,r||(s=t)}Tm(e)&&ru(e)&&e.jsDoc&&(_=l(Mh(e))>0)}y&&u(b,(e=>{Oo(e,us.Multiple_constructor_implementations_are_not_allowed)}));A&&u(b,(e=>{Oo(Sc(e)||e,us.Duplicate_function_implementation)}));if(v&&!h&&16&e.flags&&m){const t=S(m,(e=>263===e.kind)).map((e=>$f(e,us.Consider_adding_a_declare_modifier_to_this_class)));u(m,(n=>{const r=263===n.kind?us.Class_declaration_cannot_implement_overload_list_for_0:262===n.kind?us.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;r&&sx(Oo(Sc(n)||n,r,Ac(e)),...t)}))}!s||s.body||wy(s,64)||s.questionToken||g(s);if(_&&(m&&(n(m,o,i,c,d),r(m,o,p,f)),o)){const t=Ph(e),n=Sh(o);for(const e of t)if(!GE(n,e)){sx(Oo(e.declaration&&cF(e.declaration)?e.declaration.parent.tagName:e.declaration,us.This_overload_signature_is_not_compatible_with_its_implementation_signature),$f(o,us.The_implementation_signature_is_declared_here));break}}}(e)))}function t$(e){s((()=>function(e){let t=e.localSymbol;if(!t&&(t=_a(e),!t.exportSymbol))return;if(Hd(t,e.kind)!==e)return;let n=0,r=0,i=0;for(const e of t.declarations){const t=a(e),o=Zq(e,2080);32&o?2048&o?i|=t:n|=t:r|=t}const o=n&r,s=i&(n|r);if(o||s)for(const e of t.declarations){const t=a(e),n=Sc(e);t&s?Oo(n,us.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,Rf(n)):t&o&&Oo(n,us.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,Rf(n))}function a(e){let t=e;switch(t.kind){case 264:case 265:case 346:case 338:case 340:return 2;case 267:return cf(t)||0!==N$(t)?5:4;case 263:case 266:case 306:return 3;case 307:return 7;case 277:case 226:const e=t,n=mT(e)?e.expression:e.right;if(!av(n))return 1;t=n;case 271:case 274:case 273:let r=0;return u(Ls(_a(t)).declarations,(e=>{r|=a(e)})),r;case 260:case 208:case 262:case 276:case 80:return 1;case 173:case 171:return 2;default:return un.failBadSyntaxKind(t)}}}(e)))}function n$(e,t,n,...r){const i=r$(e,t);return i&&u$(i,t,n,...r)}function r$(e,t,n){if(Hc(e))return;const r=e;if(r.promisedTypeOfPromise)return r.promisedTypeOfPromise;if(Fu(e,ty(!1)))return r.promisedTypeOfPromise=pA(e)[0];if(HO(f_(e),402915324))return;const i=Jc(e,"then");if(Hc(i))return;const o=i?_m(i,0):a;if(0===o.length)return void(t&&Oo(t,us.A_promise_must_have_a_then_method));let s,c;for(const t of o){const n=qh(t);n&&n!==ln&&!ix(e,n,mo)?s=n:c=re(c,t)}if(!c)return un.assertIsDefined(s),n&&(n.value=s),void(t&&Oo(t,us.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,cc(e),cc(s)));const l=ew(Pv(w(c,sO)),2097152);if(Hc(l))return;const u=_m(l,0);if(0!==u.length)return r.promisedTypeOfPromise=Pv(w(u,sO),2);t&&Oo(t,us.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}function i$(e,t,n,r,...i){return(t?u$(e,n,r,...i):d$(e,n,r,...i))||Tt}function o$(e){if(HO(f_(e),402915324))return!1;const t=Jc(e,"then");return!!t&&_m(ew(t,2097152),0).length>0}function s$(e){var t;if(16777216&e.flags){const n=Cy(!1);return!!n&&e.aliasSymbol===n&&1===(null==(t=e.aliasTypeArguments)?void 0:t.length)}return!1}function a$(e){return 1048576&e.flags?qI(e,a$):s$(e)?e.aliasTypeArguments[0]:e}function c$(e){if(Hc(e)||s$(e))return!1;if(kb(e)){const t=p_(e);if(t?3&t.flags||zE(t)||xI(t,o$):JO(e,8650752))return!0}return!1}function l$(e){return c$(e)?function(e){const t=Cy(!0);if(t)return mA(t,[a$(e)])}(e)??e:(un.assert(s$(e)||void 0===r$(e),"type provided should not be a non-generic 'promise'-like."),e)}function u$(e,t,n,...r){const i=d$(e,t,n,...r);return i&&l$(i)}function d$(e,t,n,...r){if(Hc(e))return e;if(s$(e))return e;const i=e;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;if(1048576&e.flags){if(ao.lastIndexOf(e.id)>=0)return void(t&&Oo(t,us.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));const o=t?e=>d$(e,t,n,...r):d$;ao.push(e.id);const s=qI(e,o);return ao.pop(),i.awaitedTypeOfType=s}if(c$(e))return i.awaitedTypeOfType=e;const o={value:void 0},s=r$(e,void 0,o);if(s){if(e.id===s.id||ao.lastIndexOf(s.id)>=0)return void(t&&Oo(t,us.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));ao.push(e.id);const o=d$(s,t,n,...r);if(ao.pop(),!o)return;return i.awaitedTypeOfType=o}if(!o$(e))return i.awaitedTypeOfType=e;if(t){let i;un.assertIsDefined(n),o.value&&(i=eC(i,us.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,cc(e),cc(o.value))),i=eC(i,n,...r),po.add(Mf(Ap(t),t,i))}}function p$(e){!function(e){if(!kj(Ap(e))){let t=e.expression;if(tI(t))return!1;let n,r=!0;for(;;)if(gI(t)||vI(t))t=t.expression;else if(Kw(t))r||(n=t),t.questionDotToken&&(n=t.questionDotToken),t=t.expression,r=!1;else{if(!zw(t)){UD(t)||(n=t);break}t.questionDotToken&&(n=t.questionDotToken),t=t.expression,r=!1}if(n)return sx(Oo(e.expression,us.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator),$f(n,us.Invalid_syntax_in_decorator)),!0}}(e);const t=bB(e);SB(t,e);const n=Wh(t);if(1&n.flags)return;const r=CO(e);if(!(null==r?void 0:r.resolvedReturnType))return;let i;const o=r.resolvedReturnType;switch(e.parent.kind){case 263:case 231:i=us.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 172:if(!j){i=us.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 169:i=us.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 174:case 177:case 178:i=us.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return un.failBadSyntaxKind(e.parent)}PE(n,o,e.expression,i)}function f$(e,t,n,r,i,o=n.length,s=0){return xp(XS.createFunctionTypeNode(void 0,a,XS.createKeywordTypeNode(133)),e,t,n,r,i,o,s)}function _$(e,t,n,r,i,o,s){return Ig(f$(e,t,n,r,i,o,s))}function m$(e){return _$(void 0,void 0,a,e)}function h$(e){return _$(void 0,void 0,[Ho("value",e)],ln)}function g$(e){if(e)switch(e.kind){case 193:case 192:return A$(e.types);case 194:return A$([e.trueType,e.falseType]);case 196:case 202:return g$(e.type);case 183:return e.typeName}}function A$(e){let t;for(let n of e){for(;196===n.kind||202===n.kind;)n=n.type;if(146===n.kind)continue;if(!z&&(201===n.kind&&106===n.literal.kind||157===n.kind))continue;const e=g$(n);if(!e)return;if(t){if(!UD(t)||!UD(e)||t.escapedText!==e.escapedText)return}else t=e}return t}function y$(e){const t=_y(e);return Qd(e)?I_(t):t}function v$(e){if(!(lP(e)&&Oy(e)&&e.modifiers&&pm(j,e,e.parent,e.parent.parent)))return;const t=A(e.modifiers,cw);if(t){if(j)tj(t,8),169===e.kind&&tj(t,32);else if($t.kind===e.kind&&!(524288&t.flags)));e===i&&e$(r),n.parent&&e$(n)}const r=173===e.kind?void 0:e.body;if(JL(r),PO(e,zh(e)),s((function(){hy(e)||(kp(r)&&!Xq(e)&&Uk(e,kt),1&n&&Dp(r)&&Wh(Sh(e)))})),Tm(e)){const t=tl(e);t&&t.typeExpression&&!UR(PC(t.typeExpression),e)&&Oo(t.typeExpression.type,us.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function E$(e){s((function(){const t=Ap(e);let n=vi.get(t.path);n||(n=[],vi.set(t.path,n));n.push(e)}))}function x$(e,t){for(const n of e)switch(n.kind){case 263:case 231:D$(n,t),T$(n,t);break;case 307:case 267:case 241:case 269:case 248:case 249:case 250:O$(n,t);break;case 176:case 218:case 262:case 219:case 174:case 177:case 178:n.body&&O$(n,t),T$(n,t);break;case 173:case 179:case 180:case 184:case 185:case 265:case 264:T$(n,t);break;case 195:I$(n,t);break;default:un.assertNever(n,"Node should not have been registered for unused identifiers check")}}function S$(e,t,n){n(e,0,$f(Sc(e)||e,Jx(e)?us._0_is_declared_but_never_used:us._0_is_declared_but_its_value_is_never_read,t))}function k$(e){return UD(e)&&95===hc(e).charCodeAt(0)}function D$(e,t){for(const n of e.members)switch(n.kind){case 174:case 172:case 177:case 178:if(178===n.kind&&32768&n.symbol.flags)break;const e=_a(n);e.isReferenced||!(Dy(n,2)||Ec(n)&&JD(n.name))||33554432&n.flags||t(n,0,$f(n.name,us._0_is_declared_but_its_value_is_never_read,oc(e)));break;case 176:for(const e of n.parameters)!e.symbol.isReferenced&&wy(e,2)&&t(e,0,$f(e.name,us.Property_0_is_declared_but_its_value_is_never_read,Ac(e.symbol)));break;case 181:case 240:case 175:break;default:un.fail("Unexpected class member")}}function I$(e,t){const{typeParameter:n}=e;F$(n)&&t(e,1,$f(e,us._0_is_declared_but_its_value_is_never_read,hc(n.name)))}function T$(e,t){const n=_a(e).declarations;if(!n||Ae(n)!==e)return;const r=ul(e),i=new Set;for(const e of r){if(!F$(e))continue;const n=hc(e.name),{parent:r}=e;if(195!==r.kind&&r.typeParameters.every(F$)){if(L(i,r)){const i=Ap(r),o=kF(r)?cx(r):lx(i,r.typeParameters),s=1===r.typeParameters.length?[us._0_is_declared_but_its_value_is_never_read,n]:[us.All_type_parameters_are_unused];t(e,1,Yb(i,o.pos,o.end-o.pos,...s))}}else t(e,1,$f(e,us._0_is_declared_but_its_value_is_never_read,n))}}function F$(e){return!(262144&fa(e.symbol).isReferenced||k$(e.name))}function R$(e,t,n,r){const i=String(r(t)),o=e.get(i);o?o[1].push(n):e.set(i,[t,[n]])}function P$(e){return et(Xg(e),aw)}function B$(e){return Hw(e)?Jw(e.parent)?!(!e.propertyName||!k$(e.name)):k$(e.name):cf(e)||(HI(e)&&Ku(e.parent.parent)||Q$(e))&&k$(e.name)}function O$(e,t){const n=new Map,r=new Map,i=new Map;e.locals.forEach((e=>{var o;if(!(262144&e.flags?!(3&e.flags)||3&e.isReferenced:e.isReferenced||e.exportSymbol)&&e.declarations)for(const s of e.declarations)if(!B$(s))if(Q$(s))R$(n,273===(o=s).kind?o:274===o.kind?o.parent:o.parent.parent,s,JQ);else if(Hw(s)&&Jw(s.parent)){s!==Ae(s.parent.elements)&&Ae(s.parent.elements).dotDotDotToken||R$(r,s.parent,s,JQ)}else if(HI(s)){const e=7&$j(s),t=Sc(s);(4===e||6===e)&&t&&k$(t)||R$(i,s.parent,s,JQ)}else{const n=e.valueDeclaration&&P$(e.valueDeclaration),i=e.valueDeclaration&&Sc(e.valueDeclaration);n&&i?Za(n,n.parent)||cy(n)||k$(i)||(Hw(s)&&Vw(s.parent)?R$(r,s.parent,s,JQ):t(n,1,$f(i,us._0_is_declared_but_its_value_is_never_read,Ac(e)))):S$(s,Ac(e),t)}})),n.forEach((([e,n])=>{const r=e.parent;if((e.name?1:0)+(e.namedBindings?274===e.namedBindings.kind?1:e.namedBindings.elements.length:0)===n.length)t(r,0,1===n.length?$f(r,us._0_is_declared_but_its_value_is_never_read,hc(me(n).name)):$f(r,us.All_imports_in_import_declaration_are_unused));else for(const e of n)S$(e,hc(e.name),t)})),r.forEach((([e,n])=>{const r=P$(e.parent)?1:0;if(e.elements.length===n.length)1===n.length&&260===e.parent.kind&&261===e.parent.parent.kind?R$(i,e.parent.parent,e.parent,JQ):t(e,r,1===n.length?$f(e,us._0_is_declared_but_its_value_is_never_read,q$(me(n).name)):$f(e,us.All_destructured_elements_are_unused));else for(const e of n)t(e,r,$f(e,us._0_is_declared_but_its_value_is_never_read,q$(e.name)))})),i.forEach((([e,n])=>{if(e.declarations.length===n.length)t(e,0,1===n.length?$f(me(n).name,us._0_is_declared_but_its_value_is_never_read,q$(me(n).name)):$f(243===e.parent.kind?e.parent:e,us.All_variables_are_unused));else for(const e of n)t(e,0,$f(e,us._0_is_declared_but_its_value_is_never_read,q$(e.name)))}))}function q$(e){switch(e.kind){case 80:return hc(e);case 207:case 206:return q$(tt(me(e.elements),Hw).name);default:return un.assertNever(e)}}function Q$(e){return 273===e.kind||276===e.kind||274===e.kind}function M$(e){if(241===e.kind&&Rj(e),lu(e)){const t=xi;u(e.statements,JL),xi=t}else u(e.statements,JL);e.locals&&E$(e)}function j$(e,t,n){if((null==t?void 0:t.escapedText)!==n)return!1;if(172===e.kind||171===e.kind||174===e.kind||173===e.kind||177===e.kind||178===e.kind||303===e.kind)return!1;if(33554432&e.flags)return!1;if((oT(e)||rT(e)||_T(e))&&Ml(e))return!1;const r=Xg(e);return!aw(r)||!kp(r.parent.body)}function U$(e){dc(e,(t=>{if(4&NM(t)){return 80!==e.kind?Oo(Sc(e),us.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Oo(e,us.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1}))}function J$(e){dc(e,(t=>{if(8&NM(t)){return 80!==e.kind?Oo(Sc(e),us.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Oo(e,us.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1}))}function V$(e){1048576&NM(Tf(e))&&(un.assert(Ec(e)&&UD(e.name)&&"string"==typeof e.name.escapedText,"The target of a WeakMap/WeakSet collision check should be an identifier"),No("noEmit",e,us.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,e.name.escapedText))}function G$(e){let t=!1;if(mI(e)){for(const n of e.members)if(2097152&NM(n)){t=!0;break}}else if(nI(e))2097152&NM(e)&&(t=!0);else{const n=Tf(e);n&&2097152&NM(n)&&(t=!0)}t&&(un.assert(Ec(e)&&UD(e.name),"The target of a Reflect collision check should be an identifier"),No("noEmit",e,us.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,Rf(e.name),"Reflect"))}function W$(t,n){n&&(function(t,n){if(e.getEmitModuleFormatOfFile(Ap(t))>=5)return;if(!n||!j$(t,n,"require")&&!j$(t,n,"exports"))return;if(ZI(t)&&1!==N$(t))return;const r=Uc(t);307===r.kind&&Zf(r)&&No("noEmit",n,us.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,Rf(n),Rf(n))}(t,n),function(e,t){if(!t||$>=4||!j$(e,t,"Promise"))return;if(ZI(e)&&1!==N$(e))return;const n=Uc(e);307===n.kind&&Zf(n)&&4096&n.flags&&No("noEmit",t,us.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,Rf(t),Rf(t))}(t,n),function(e,t){$<=8&&(j$(e,t,"WeakMap")||j$(e,t,"WeakSet"))&&io.push(e)}(t,n),function(e,t){t&&$>=2&&$<=8&&j$(e,t,"Reflect")&&oo.push(e)}(t,n),du(t)?(lL(n,us.Class_name_cannot_be_0),33554432&t.flags||function(t){$>=1&&"Object"===t.escapedText&&e.getEmitModuleFormatOfFile(Ap(t))<5&&Oo(t,us.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,fi[M])}(n)):XI(t)&&lL(n,us.Enum_name_cannot_be_0))}function z$(e){return e===Dt?kt:e===lr?cr:e}function Y$(e){var t;if(v$(e),Hw(e)||JL(e.type),!e.name)return;if(167===e.name.kind&&(XR(e.name),Fd(e)&&e.initializer&&cq(e.initializer)),Hw(e)){if(e.propertyName&&UD(e.name)&&Kg(e)&&kp(W_(e).body))return void so.push(e);Jw(e.parent)&&e.dotDotDotToken&&$1&&J(n.declarations,(t=>t!==e&&F_(t)&&!X$(t,e)))&&Oo(e.name,us.All_declarations_of_0_must_have_identical_modifiers,Rf(e.name))}else{const t=z$(Jl(e));Gc(r)||Gc(t)||EE(r,t)||67108864&n.flags||K$(n.valueDeclaration,r,e,t),Fd(e)&&e.initializer&&NE(cq(e.initializer),t,e,e.initializer,void 0),n.valueDeclaration&&!X$(e,n.valueDeclaration)&&Oo(e.name,us.All_declarations_of_0_must_have_identical_modifiers,Rf(e.name))}var i;172!==e.kind&&171!==e.kind&&(t$(e),260!==e.kind&&208!==e.kind||function(e){if(7&$j(e)||Kg(e))return;const t=_a(e);if(1&t.flags){if(!UD(e.name))return un.fail();const n=Ue(e,e.name.escapedText,3,void 0,!1);if(n&&n!==t&&2&n.flags&&7&PP(n)){const t=xg(n.valueDeclaration,261),r=243===t.parent.kind&&t.parent.parent?t.parent.parent:void 0;if(!r||!(241===r.kind&&ru(r.parent)||268===r.kind||267===r.kind||307===r.kind)){const t=oc(n);Oo(e,us.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,t,t)}}}}(e),W$(e,e.name))}function K$(e,t,n,r){const i=Sc(n),o=172===n.kind||171===n.kind?us.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:us.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,s=Rf(i),a=Oo(i,o,s,cc(t),cc(r));e&&sx(a,$f(e,us._0_was_also_declared_here,s))}function X$(e,t){if(169===e.kind&&260===t.kind||260===e.kind&&169===t.kind)return!0;if(kh(e)!==kh(t))return!1;return qy(e,1358)===qy(t,1358)}function Z$(t){var n,r;null==(n=Hn)||n.push(Hn.Phase.Check,"checkVariableDeclaration",{kind:t.kind,pos:t.pos,end:t.end,path:t.tracingPath}),function(t){const n=$j(t),r=7&n;if(Cu(t.name))switch(r){case 6:return Ij(t,us._0_declarations_may_not_have_binding_patterns,"await using");case 4:return Ij(t,us._0_declarations_may_not_have_binding_patterns,"using")}if(249!==t.parent.parent.kind&&250!==t.parent.parent.kind)if(33554432&n)bj(t);else if(!t.initializer){if(Cu(t.name)&&!Cu(t.parent))return Ij(t,us.A_destructuring_declaration_must_have_an_initializer);switch(r){case 6:return Ij(t,us._0_declarations_must_be_initialized,"await using");case 4:return Ij(t,us._0_declarations_must_be_initialized,"using");case 2:return Ij(t,us._0_declarations_must_be_initialized,"const")}}if(t.exclamationToken&&(243!==t.parent.parent.kind||!t.type||t.initializer||33554432&n)){const e=t.initializer?us.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t.type?us.A_definite_assignment_assertion_is_not_permitted_in_this_context:us.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Ij(t.exclamationToken,e)}e.getEmitModuleFormatOfFile(Ap(t))<4&&!(33554432&t.parent.parent.flags)&&wy(t.parent.parent,32)&&Cj(t.name);!!r&&Ej(t.name)}(t),Y$(t),null==(r=Hn)||r.pop()}function eQ(e){return function(e){if(e.dotDotDotToken){const t=e.parent.elements;if(e!==Ae(t))return Ij(e,us.A_rest_element_must_be_last_in_a_destructuring_pattern);if(oj(t,us.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),e.propertyName)return Ij(e.name,us.A_rest_element_cannot_have_a_property_name)}if(e.dotDotDotToken&&e.initializer)wj(e,e.initializer.pos-1,1,us.A_rest_element_cannot_have_an_initializer)}(e),Y$(e)}function tQ(e){const t=7&sc(e);(4===t||6===t)&&$=2,a=!s&&O.downlevelIteration,c=O.noUncheckedIndexedAccess&&!!(128&e);if(s||a||o){const o=AQ(t,e,s?r:void 0);if(i&&o){const t=8&e?us.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&e?us.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&e?us.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&e?us.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;t&&PE(n,o.nextType,r,t)}if(o||s)return c?Ow(o&&o.yieldType):o&&o.yieldType}let l=t,u=!1;if(4&e){if(1048576&l.flags){const e=t.types,n=S(e,(e=>!(402653316&e.flags)));n!==e&&(l=Pv(n,2))}else 402653316&l.flags&&(l=dn);if(u=l!==t,u&&131072&l.flags)return c?Ow(Jt):Jt}if(!$S(l)){if(r){const n=!!(4&e)&&!u,[i,o]=function(n,r){var i;if(r)return n?[us.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[us.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0];if(fQ(e,0,t,void 0))return[us.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1];if(function(e){switch(e){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}(null==(i=t.symbol)?void 0:i.escapedName))return[us.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0];return n?[us.Type_0_is_not_an_array_type_or_a_string_type,!0]:[us.Type_0_is_not_an_array_type,!0]}(n,a);Qo(r,o&&!!n$(l),i,cc(l))}return u?c?Ow(Jt):Jt:void 0}const d=jm(l,Vt);return u&&d?402653316&d.flags&&!O.noUncheckedIndexedAccess?Jt:Pv(c?[d,Jt,Ot]:[d,Jt],2):128&e?Ow(d):d}function fQ(e,t,n,r){if(Hc(n))return;const i=AQ(n,e,r);return i&&i[YQ(t)]}function _Q(e=dn,t=dn,n=Bt){if(67359327&e.flags&&180227&t.flags&&180227&n.flags){const r=rA([e,t,n]);let i=pi.get(r);return i||(i={yieldType:e,returnType:t,nextType:n},pi.set(r,i)),i}return{yieldType:e,returnType:t,nextType:n}}function mQ(e){let t,n,r;for(const i of e)if(void 0!==i&&i!==_i){if(i===mi)return mi;t=re(t,i.yieldType),n=re(n,i.returnType),r=re(r,i.nextType)}return t||n||r?_Q(t&&Pv(t),n&&Pv(n),r&&Mv(r)):_i}function hQ(e,t){return e[t]}function gQ(e,t,n){return e[t]=n}function AQ(e,t,n){var r,i;if(Hc(e))return mi;if(!(1048576&e.flags)){const i=n?{errors:void 0,skipLogging:!0}:void 0,o=vQ(e,t,n,i);if(o===_i){if(n){const r=SQ(n,e,!!(2&t));(null==i?void 0:i.errors)&&sx(r,...i.errors)}return}if(null==(r=null==i?void 0:i.errors)?void 0:r.length)for(const e of i.errors)po.add(e);return o}const o=2&t?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",s=hQ(e,o);if(s)return s===_i?void 0:s;let a;for(const r of e.types){const s=n?{errors:void 0}:void 0,c=vQ(r,t,n,s);if(c===_i){if(n){const r=SQ(n,e,!!(2&t));(null==s?void 0:s.errors)&&sx(r,...s.errors)}return void gQ(e,o,_i)}if(null==(i=null==s?void 0:s.errors)?void 0:i.length)for(const e of s.errors)po.add(e);a=re(a,c)}const c=a?mQ(a):_i;return gQ(e,o,c),c===_i?void 0:c}function yQ(e,t){if(e===_i)return _i;if(e===mi)return mi;const{yieldType:n,returnType:r,nextType:i}=e;return t&&Cy(!0),_Q(u$(n,t)||kt,u$(r,t)||kt,i)}function vQ(e,t,n,r){if(Hc(e))return mi;let i=!1;if(2&t){const r=bQ(e,hi)||CQ(e,hi);if(r){if(r!==_i||!n)return 8&t?yQ(r,n):r;i=!0}}if(1&t){let r=bQ(e,gi)||CQ(e,gi);if(r)if(r===_i&&n)i=!0;else{if(!(2&t))return r;if(r!==_i)return r=yQ(r,n),i?r:gQ(e,"iterationTypesOfAsyncIterable",r)}}if(2&t){const t=xQ(e,hi,n,r,i);if(t!==_i)return t}if(1&t){let o=xQ(e,gi,n,r,i);if(o!==_i)return 2&t?(o=yQ(o,n),i?o:gQ(e,"iterationTypesOfAsyncIterable",o)):o}return _i}function bQ(e,t){return hQ(e,t.iterableCacheKey)}function CQ(e,t){if(Fu(e,t.getGlobalIterableType(!1))||Fu(e,t.getGlobalIteratorObjectType(!1))||Fu(e,t.getGlobalIterableIteratorType(!1))||Fu(e,t.getGlobalGeneratorType(!1))){const[n,r,i]=pA(e);return gQ(e,t.iterableCacheKey,_Q(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(r,void 0)||r,i))}if(Tu(e,t.getGlobalBuiltinIteratorTypes())){const[n]=pA(e),r=yy(),i=Bt;return gQ(e,t.iterableCacheKey,_Q(t.resolveIterationType(n,void 0)||n,t.resolveIterationType(r,void 0)||r,i))}}function EQ(e){const t=ZA(!1),n=t&&Jc(wu(t),_c(e));return n&&aS(n)?cS(n):`__@${e}`}function xQ(e,t,n,r,i){const o=z_(e,EQ(t.iteratorSymbolName)),s=!o||16777216&o.flags?void 0:wu(o);if(Hc(s))return i?mi:gQ(e,t.iterableCacheKey,mi);const a=s?_m(s,0):void 0,c=S(a,(e=>0===nO(e)));if(!J(c))return n&&J(a)&&PE(e,t.getGlobalIterableType(!0),n,void 0,void 0,r),i?_i:gQ(e,t.iterableCacheKey,_i);const l=kQ(Mv(w(c,Wh)),t,n,r,i)??_i;return i?l:gQ(e,t.iterableCacheKey,l)}function SQ(e,t,n){const r=n?us.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:us.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;return Qo(e,!!n$(t)||!n&&OI(e.parent)&&e.parent.expression===e&&sy(!1)!==Nn&&IE(t,Ey(sy(!1),[kt,kt,kt])),r,cc(t))}function kQ(e,t,n,r,i){if(Hc(e))return mi;let o=function(e,t){return hQ(e,t.iteratorCacheKey)}(e,t)||function(e,t){if(Fu(e,t.getGlobalIterableIteratorType(!1))||Fu(e,t.getGlobalIteratorType(!1))||Fu(e,t.getGlobalIteratorObjectType(!1))||Fu(e,t.getGlobalGeneratorType(!1))){const[n,r,i]=pA(e);return gQ(e,t.iteratorCacheKey,_Q(n,r,i))}if(Tu(e,t.getGlobalBuiltinIteratorTypes())){const[n]=pA(e),r=yy(),i=Bt;return gQ(e,t.iteratorCacheKey,_Q(n,r,i))}}(e,t);return o===_i&&n&&(o=void 0,i=!0),o??(o=function(e,t,n,r,i){const o=mQ([$Q(e,t,"next",n,r),$Q(e,t,"return",n,r),$Q(e,t,"throw",n,r)]);return i?o:gQ(e,t.iteratorCacheKey,o)}(e,t,n,r,i)),o===_i?void 0:o}function wQ(e,t){const n=Jc(e,"done")||Yt;return IE(0===t?Yt:tn,n)}function RQ(e){return wQ(e,0)}function PQ(e){return wQ(e,1)}function OQ(e){if(Hc(e))return mi;const t=hQ(e,"iterationTypesOfIteratorResult");if(t)return t;if(Fu(e,(n=!1,Sr||(Sr=HA("IteratorYieldResult",1,n))||Nn))){return gQ(e,"iterationTypesOfIteratorResult",_Q(pA(e)[0],void 0,void 0))}var n;if(Fu(e,function(e){return kr||(kr=HA("IteratorReturnResult",1,e))||Nn}(!1))){return gQ(e,"iterationTypesOfIteratorResult",_Q(void 0,pA(e)[0],void 0))}const r=II(e,RQ),i=r!==dn?Jc(r,"value"):void 0,o=II(e,PQ),s=o!==dn?Jc(o,"value"):void 0;return gQ(e,"iterationTypesOfIteratorResult",i||s?_Q(i,s||ln,void 0):_i)}function $Q(e,t,n,r,i){var o,s,c,l;const u=z_(e,n);if(!u&&"next"!==n)return;const d=!u||"next"===n&&16777216&u.flags?void 0:"next"===n?wu(u):ew(wu(u),2097152);if(Hc(d))return mi;const p=d?_m(d,0):a;if(0===p.length){if(r){const e="next"===n?t.mustHaveANextMethodDiagnostic:t.mustBeAMethodDiagnostic;i?(i.errors??(i.errors=[]),i.errors.push($f(r,e,n))):Oo(r,e,n)}return"next"===n?_i:void 0}if((null==d?void 0:d.symbol)&&1===p.length){const e=t.getGlobalGeneratorType(!1),r=t.getGlobalIteratorType(!1),i=(null==(s=null==(o=e.symbol)?void 0:o.members)?void 0:s.get(n))===d.symbol,a=!i&&(null==(l=null==(c=r.symbol)?void 0:c.members)?void 0:l.get(n))===d.symbol;if(i||a){const t=i?e:r,{mapper:o}=d;return _Q(VC(t.typeParameters[0],o),VC(t.typeParameters[1],o),"next"===n?VC(t.typeParameters[2],o):void 0)}}let f,_,m,h,g;for(const e of p)"throw"!==n&&J(e.parameters)&&(f=re(f,KB(e,0))),_=re(_,Wh(e));if("throw"!==n){const e=f?Pv(f):Bt;if("next"===n)h=e;else if("return"===n){m=re(m,t.resolveIterationType(e,r)||kt)}}const A=_?Mv(_):dn,y=OQ(t.resolveIterationType(A,r)||kt);return y===_i?(r&&(i?(i.errors??(i.errors=[]),i.errors.push($f(r,t.mustHaveAValueDiagnostic,n))):Oo(r,t.mustHaveAValueDiagnostic,n)),g=kt,m=re(m,kt)):(g=y.yieldType,m=re(m,y.returnType)),_Q(g,Pv(m),h)}function QQ(e,t,n){if(Hc(t))return;const r=GQ(t,n);return r&&r[YQ(e)]}function GQ(e,t){if(Hc(e))return mi;const n=t?hi:gi;return AQ(e,t?2:1,void 0)||function(e,t,n,r){return kQ(e,t,n,r,!1)}(e,n,void 0,void 0)}function nL(e){Rj(e)||function(e){let t=e;for(;t;){if(iu(t))return Ij(e,us.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 256:if(e.label&&t.label.escapedText===e.label.escapedText){return!!(251===e.kind&&!Hu(t.statement,!0))&&Ij(e,us.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}break;case 255:if(252===e.kind&&!e.label)return!1;break;default:if(Hu(t,!1)&&!e.label)return!1}t=t.parent}if(e.label){return Ij(e,252===e.kind?us.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:us.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}Ij(e,252===e.kind?us.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:us.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement)}(e)}function rL(e,t){const n=!!(2&t);if(!!(1&t)){const t=QQ(1,e,n);return t?n?d$(a$(t)):t:Tt}return n?d$(e)||Tt:e}function iL(e,t){const n=rL(t,Ng(e));return!(!n||!(JO(n,16384)||32769&n.flags))}function oL(e){Rj(e)||UD(e.expression)&&!e.expression.escapedText&&function(e,t,...n){const r=Ap(e);if(!kj(r)){const i=zf(r,e.pos);return po.add(Yb(r,Ia(i),0,t,...n)),!0}}(e,us.Line_break_not_permitted_here),e.expression&&Tq(e.expression)}function sL(e,t,n){const r=Qm(e);if(0===r.length)return;for(const t of wf(e))n&&4194304&t.flags||aL(e,t,Yv(t,8576,!0),Iu(t));const i=t.valueDeclaration;if(i&&du(i))for(const t of i.members)if(!Iy(t)&&!lp(t)){const n=_a(t);aL(e,n,Dq(t.name.expression),Iu(n))}if(r.length>1)for(const t of r)cL(e,t)}function aL(e,t,n,r){const i=t.valueDeclaration,o=Sc(i);if(o&&JD(o))return;const s=Km(e,n),a=2&gb(e)?Hd(e.symbol,264):void 0,c=i&&226===i.kind||o&&167===o.kind?i:void 0,l=Aa(t)===e.symbol?i:void 0;for(const n of s){const i=n.declaration&&Aa(_a(n.declaration))===e.symbol?n.declaration:void 0,o=l||i||(a&&!J(id(e),(e=>!!Bf(e,t.escapedName)&&!!jm(e,n.keyType)))?a:void 0);if(o&&!IE(r,n.type)){const e=Bo(o,us.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,oc(t),cc(r),cc(n.keyType),cc(n.type));c&&o!==c&&sx(e,$f(c,us._0_is_declared_here,oc(t))),po.add(e)}}}function cL(e,t){const n=t.declaration,r=Km(e,t.keyType),i=2&gb(e)?Hd(e.symbol,264):void 0,o=n&&Aa(_a(n))===e.symbol?n:void 0;for(const n of r){if(n===t)continue;const r=n.declaration&&Aa(_a(n.declaration))===e.symbol?n.declaration:void 0,s=o||r||(i&&!J(id(e),(e=>!!Lm(e,t.keyType)&&!!jm(e,n.keyType)))?i:void 0);s&&!IE(t.type,n.type)&&Oo(s,us._0_index_type_1_is_not_assignable_to_2_index_type_3,cc(t.keyType),cc(t.type),cc(n.keyType),cc(n.type))}}function lL(e,t){switch(e.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":case"undefined":Oo(e,t,e.escapedText)}}function dL(e){let t=!1;if(e)for(let t=0;t{n.default?(t=!0,function(e,t,n){function r(e){if(183===e.kind){const r=$A(e);if(262144&r.flags)for(let i=n;i263===e.kind||264===e.kind))}(e);if(!n||n.length<=1)return;if(!fL(n,Cd(e).localTypeParameters,ul)){const t=oc(e);for(const e of n)Oo(e.name,us.All_declarations_of_0_must_have_identical_type_parameters,t)}}}function fL(e,t,n){const r=l(t),i=vh(t);for(const o of e){const e=n(o),s=e.length;if(sr)return!1;for(let n=0;n1)return Dj(r.types[1],us.Classes_can_only_extend_a_single_class);t=!0}else{if(un.assert(119===r.token),n)return Dj(r,us.implements_clause_already_seen);n=!0}uj(r)}})(e)||sj(e.typeParameters,t)}(e),v$(e),W$(e,e.name),dL(ul(e)),t$(e);const t=_a(e),n=Cd(t),r=Cp(n),i=wu(t);pL(t),e$(t),function(e){const t=new Map,n=new Map,r=new Map;for(const o of e.members)if(176===o.kind)for(const e of o.parameters)Za(e,o)&&!Cu(e.name)&&i(t,e.name,e.name.escapedText,3);else{const e=Iy(o),s=o.name;if(!s)continue;const a=JD(s),c=a&&e?16:0,l=a?r:e?n:t,u=s&&Oj(s);if(u)switch(o.kind){case 177:i(l,s,u,1|c);break;case 178:i(l,s,u,2|c);break;case 172:i(l,s,u,3|c);break;case 174:i(l,s,u,8|c)}}function i(e,t,n,r){const i=e.get(n);if(i)if((16&i)!=(16&r))Oo(t,us.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,zp(t));else{const o=!!(8&i),s=!!(8&r);o||s?o!==s&&Oo(t,us.Duplicate_identifier_0,zp(t)):i&r&-17?Oo(t,us.Duplicate_identifier_0,zp(t)):e.set(n,i|r)}else e.set(n,r)}}(e);!!(33554432&e.flags)||function(e){for(const t of e.members){const n=t.name;if(Iy(t)&&n){const t=Oj(n);switch(t){case"name":case"length":case"caller":case"arguments":if(U)break;case"prototype":Oo(n,us.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,t,Nc(_a(e)))}}}}(e);const o=Ag(e);if(o){u(o.typeArguments,JL),${const t=a[0],s=nd(n),c=C_(s);if(function(e,t){const n=_m(e,1);if(n.length){const r=n[0].declaration;if(r&&Dy(r,2)){sM(t,hb(e.symbol))||Oo(t,us.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,Ws(e.symbol))}}}(c,o),JL(o.expression),J(o.typeArguments)){u(o.typeArguments,JL);for(const e of ed(c,o.typeArguments,o))if(!Vq(o,e.typeParameters))break}const d=Cp(t,n.thisType);if(PE(r,d,void 0)?PE(i,CE(c),e.name||e,us.Class_static_side_0_incorrectly_extends_base_class_static_side_1):AL(e,r,d,us.Class_0_incorrectly_extends_base_class_1),8650752&s.flags)if(Gu(i)){_m(s,1).some((e=>4&e.flags))&&!wy(e,64)&&Oo(e.name||e,us.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract)}else Oo(e.name||e,us.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any);if(!(c.symbol&&32&c.symbol.flags||8650752&s.flags)){u(td(c,o.typeArguments,o),(e=>!CB(e.declaration)&&!EE(Wh(e),t)))&&Oo(o.expression,us.Base_constructors_must_all_have_the_same_return_type)}!function(e,t){var n,r,i,o,s;const a=Uf(t),c=new Map;e:for(const l of a){const a=yL(l);if(4194304&a.flags)continue;const u=Bf(e,a.escapedName);if(!u)continue;const d=yL(u),p=ob(a);if(un.assert(!!d,"derived should point to something, even if it is the base class' declaration."),d===a){const r=hb(e.symbol);if(64&p&&(!r||!wy(r,64))){for(const n of id(e)){if(n===t)continue;const e=Bf(n,a.escapedName),r=e&&yL(e);if(r&&r!==a)continue e}const i=cc(t),o=cc(e),s=oc(l),u=re(null==(n=c.get(r))?void 0:n.missedProperties,s);c.set(r,{baseTypeName:i,typeName:o,missedProperties:u})}}else{const n=ob(d);if(2&p||2&n)continue;let c;const l=98308&a.flags,u=98308&d.flags;if(l&&u){if((6&ib(a)?null==(r=a.declarations)?void 0:r.some((e=>vL(e,p))):null==(i=a.declarations)?void 0:i.every((e=>vL(e,p))))||262144&ib(a)||d.valueDeclaration&&uI(d.valueDeclaration))continue;const c=4!==l&&4===u;if(c||4===l&&4!==u){const n=c?us._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:us._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;Oo(Sc(d.valueDeclaration)||d.valueDeclaration,n,oc(a),cc(t),cc(e))}else if(U){const r=null==(o=d.declarations)?void 0:o.find((e=>172===e.kind&&!e.initializer));if(r&&!(33554432&d.flags)&&!(64&p)&&!(64&n)&&!(null==(s=d.declarations)?void 0:s.some((e=>!!(33554432&e.flags))))){const n=AS(hb(e.symbol)),i=r.name;if(r.exclamationToken||!n||!UD(i)||!z||!CL(i,e,n)){const e=us.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;Oo(Sc(d.valueDeclaration)||d.valueDeclaration,e,oc(a),cc(t))}}}continue}if(NP(a)){if(NP(d)||4&d.flags)continue;un.assert(!!(98304&d.flags)),c=us.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else c=98304&a.flags?us.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:us.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;Oo(Sc(d.valueDeclaration)||d.valueDeclaration,c,cc(t),oc(a),cc(e))}}for(const[e,t]of c)if(1===l(t.missedProperties))mI(e)?Oo(e,us.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,me(t.missedProperties),t.baseTypeName):Oo(e,us.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,t.typeName,me(t.missedProperties),t.baseTypeName);else if(l(t.missedProperties)>5){const n=w(t.missedProperties.slice(0,4),(e=>`'${e}'`)).join(", "),r=l(t.missedProperties)-4;mI(e)?Oo(e,us.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more,t.baseTypeName,n,r):Oo(e,us.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more,t.typeName,t.baseTypeName,n,r)}else{const n=w(t.missedProperties,(e=>`'${e}'`)).join(", ");mI(e)?Oo(e,us.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1,t.baseTypeName,n):Oo(e,us.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2,t.typeName,t.baseTypeName,n)}}(n,t)}))}!function(e,t,n,r){const i=Ag(e),o=i&&id(t),s=(null==o?void 0:o.length)?Cp(me(o),t.thisType):void 0,a=nd(t);for(const i of e.members)Py(i)||(_w(i)&&u(i.parameters,(o=>{Za(o,i)&&hL(e,r,a,s,t,n,o,!0)})),hL(e,r,a,s,t,n,i,!1))}(e,n,r,i);const a=vg(e);if(a)for(const e of a)av(e.expression)&&!gl(e.expression)||Oo(e.expression,us.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),Gq(e),s(c(e));function c(t){return()=>{const i=$_(PC(t));if(!Gc(i))if(ld(i)){const t=i.symbol&&32&i.symbol.flags?us.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:us.Class_0_incorrectly_implements_interface_1,o=Cp(i,n.thisType);PE(r,o,void 0)||AL(e,r,o,t)}else Oo(t,us.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}s((()=>{sL(n,t),sL(i,t,!0),qq(e),function(e){if(!z||!Z||33554432&e.flags)return;const t=AS(e);for(const n of e.members)if(!(128&Ly(n))&&!Iy(n)&&bL(n)){const e=n.name;if(UD(e)||JD(e)||ow(e)){const r=wu(_a(n));3&r.flags||KE(r)||t&&CL(e,r,t)||Oo(n.name,us.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,Rf(e))}}}(e)}))}function hL(e,t,n,r,i,o,s,a,c=!0){const l=s.name&&dM(s.name)||dM(s);return l?gL(e,t,n,r,i,o,Fy(s),Ry(s),Iy(s),a,l,c?s:void 0):0}function gL(e,t,n,r,i,o,s,a,c,l,u,d){const p=Tm(e),f=!!(33554432&e.flags);if(r&&(s||O.noImplicitOverride)){const e=c?n:r,i=z_(c?t:o,u.escapedName),_=z_(e,u.escapedName),m=cc(r);if(i&&!_&&s){if(d){const t=fN(Ac(u),e);t?Oo(d,p?us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:us.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,m,oc(t)):Oo(d,p?us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:us.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,m)}return 2}if(i&&(null==_?void 0:_.declarations)&&O.noImplicitOverride&&!f){const e=J(_.declarations,Ry);if(s)return 0;if(!e){if(d){Oo(d,l?p?us.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:us.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:p?us.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:us.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0,m)}return 1}if(a&&e)return d&&Oo(d,us.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,m),1}}else if(s){if(d){const e=cc(i);Oo(d,p?us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:us.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,e)}return 2}return 0}function AL(e,t,n,r){let i=!1;for(const r of e.members){if(Iy(r))continue;const e=r.name&&dM(r.name)||dM(r);if(e){const o=z_(t,e.escapedName),s=z_(n,e.escapedName);if(o&&s){const a=()=>eC(void 0,us.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,oc(e),cc(t),cc(n));PE(wu(o),wu(s),r.name||r,void 0,a)||(i=!0)}}}i||PE(t,n,e.name||e,r)}function yL(e){return 1&ib(e)?e.links.target:e}function vL(e,t){return 64&t&&(!uw(e)||!e.initializer)||YI(e.parent)}function bL(e){return 172===e.kind&&!Ry(e)&&!e.exclamationToken&&!e.initializer}function CL(e,t,n){const r=ow(e)?XS.createElementAccessExpression(XS.createThis(),e.expression):XS.createPropertyAccessExpression(XS.createThis(),e);wx(r.expression,r),wx(r,n),r.flowNode=n.returnFlowNode;return!KE(NT(r,t,yk(t)))}function EL(e){rj(e)||function(e){let t=!1;if(e.heritageClauses)for(const n of e.heritageClauses){if(96!==n.token)return un.assert(119===n.token),Dj(n,us.Interface_declaration_cannot_have_implements_clause);if(t)return Dj(n,us.extends_clause_already_seen);t=!0,uj(n)}}(e),Sj(e.parent)||Ij(e,us._0_declarations_can_only_be_declared_inside_a_block,"interface"),dL(e.typeParameters),s((()=>{lL(e.name,us.Interface_name_cannot_be_0),t$(e);const t=_a(e);pL(t);const n=Hd(t,264);if(e===n){const n=Cd(t),r=Cp(n);if(function(e,t){const n=id(e);if(n.length<2)return!0;const r=new Map;u(Xd(e).declaredProperties,(t=>{r.set(t.escapedName,{prop:t,containingType:e})}));let i=!0;for(const o of n){const n=Uf(Cp(o,e.thisType));for(const s of n){const n=r.get(s.escapedName);if(n){if(n.containingType!==e&&0===IS(n.prop,s,xE)){i=!1;const r=cc(n.containingType),a=cc(o);let c=eC(void 0,us.Named_property_0_of_types_1_and_2_are_not_identical,oc(s),r,a);c=eC(c,us.Interface_0_cannot_simultaneously_extend_types_1_and_2,cc(e),r,a),po.add(Mf(Ap(t),t,c))}}else r.set(s.escapedName,{prop:s,containingType:o})}}return i}(n,e.name)){for(const t of id(n))PE(r,Cp(t,n.thisType),e.name,us.Interface_0_incorrectly_extends_interface_1);sL(n,t)}}Oq(e)})),u(Cg(e),(e=>{av(e.expression)&&!gl(e.expression)||Oo(e.expression,us.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),Gq(e)})),u(e.members,JL),s((()=>{qq(e),E$(e)}))}function xL(e){const t=ss(e);if(!(1024&t.flags)){t.flags|=1024;let n,r=0;for(const t of e.members){const e=SL(t,r,n);ss(t).enumMemberValue=e,r="number"==typeof e.value?e.value+1:void 0,n=t}}}function SL(e,t,n){if(Nf(e.name))Oo(e.name,us.Computed_property_names_are_not_allowed_in_enums);else{const t=Of(e.name);Lx(t)&&!Ox(t)&&Oo(e.name,us.An_enum_member_cannot_have_a_numeric_name)}if(e.initializer)return function(e){const t=t_(e.parent),n=e.initializer,r=ke(n,e);void 0!==r.value?t&&"number"==typeof r.value&&!isFinite(r.value)?Oo(n,isNaN(r.value)?us.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:us.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):EC(O)&&"string"==typeof r.value&&!r.isSyntacticallyString&&Oo(n,us._0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled,`${hc(e.parent.name)}.${Of(e.name)}`):t?Oo(n,us.const_enum_member_initializers_must_be_constant_expressions):33554432&e.parent.flags?Oo(n,us.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):PE(Tq(n),Vt,n,us.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values);return r}(e);if(33554432&e.parent.flags&&!t_(e.parent))return mS(void 0);if(void 0===t)return Oo(e.name,us.Enum_member_must_have_initializer),mS(void 0);if(EC(O)&&(null==n?void 0:n.initializer)){const t=OM(n);("number"!=typeof t.value||t.resolvedOtherFiles)&&Oo(e.name,us.Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled)}return mS(t)}function kL(e,t){const n=zs(e,111551,!0);if(!n)return mS(void 0);if(80===e.kind){const t=e;if(Ox(t.escapedText)&&n===VA(t.escapedText,111551,void 0))return mS(+t.escapedText,!1)}if(8&n.flags)return t?DL(e,n,t):OM(n.valueDeclaration);if(ZT(n)){const e=n.valueDeclaration;if(e&&HI(e)&&!e.type&&e.initializer&&(!t||e!==t&&cs(e,t))){const n=ke(e.initializer,e);return t&&Ap(t)!==Ap(e)?mS(n.value,!1,!0,!0):mS(n.value,n.isSyntacticallyString,n.resolvedOtherFiles,!0)}}return mS(void 0)}function DL(e,t,n){const r=t.valueDeclaration;if(!r||r===n)return Oo(e,us.Property_0_is_used_before_being_assigned,oc(t)),mS(void 0);if(!cs(r,n))return Oo(e,us.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),mS(0);const i=OM(r);return n.parent!==r.parent?mS(i.value,i.isSyntacticallyString,i.resolvedOtherFiles,!0):i}function wL(e){s((()=>function(e){rj(e),W$(e,e.name),t$(e),e.members.forEach(IL),xL(e);const t=_a(e),n=Hd(t,e.kind);if(e===n){if(t.declarations&&t.declarations.length>1){const n=t_(e);u(t.declarations,(e=>{XI(e)&&t_(e)!==n&&Oo(Sc(e),us.Enum_declarations_must_all_be_const_or_non_const)}))}let n=!1;u(t.declarations,(e=>{if(266!==e.kind)return!1;const t=e;if(!t.members.length)return!1;const r=t.members[0];r.initializer||(n?Oo(r.name,us.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):n=!0)}))}}(e)))}function IL(e){JD(e.name)&&Oo(e,us.An_enum_member_cannot_be_named_with_a_private_identifier),e.initializer&&Tq(e.initializer)}function TL(t){t.body&&(JL(t.body),ff(t)||E$(t)),s((function(){var n,r;const i=ff(t),o=33554432&t.flags;i&&!o&&Oo(t.name,us.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const s=cf(t),a=s?us.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:us.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(LL(t,a))return;rj(t)||o||11!==t.name.kind||Ij(t.name,us.Only_ambient_modules_can_use_quoted_names);if(UD(t.name)&&(W$(t,t.name),!(2080&t.flags))){const e=Ap(t),n=zf(e,jp(t));fo.add(Yb(e,n.start,n.length,us.A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead))}t$(t);const c=_a(t);if(512&c.flags&&!o&&HQ(t,TC(O))){if(EC(O)&&!Ap(t).externalModuleIndicator&&Oo(t.name,us.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,qe),(null==(n=c.declarations)?void 0:n.length)>1){const e=function(e){const t=e.declarations;if(t)for(const e of t)if((263===e.kind||262===e.kind&&Dp(e.body))&&!(33554432&e.flags))return e}(c);e&&(Ap(t)!==Ap(e)?Oo(t.name,us.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos95===e.kind));e&&Oo(e,us.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(s)if(_f(t)){if((i||33554432&_a(t).flags)&&t.body)for(const e of t.body.statements)FL(e,i)}else Xf(t.parent)?i?Oo(t.name,us.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Sa(jg(t.name))&&Oo(t.name,us.Ambient_module_declaration_cannot_specify_relative_module_name):Oo(t.name,i?us.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:us.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}))}function FL(e,t){switch(e.kind){case 243:for(const n of e.declarationList.declarations)FL(n,t);break;case 277:case 278:Dj(e,us.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 271:if(Dm(e))break;case 272:Dj(e,us.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 208:case 260:const n=e.name;if(Cu(n)){for(const e of n.elements)FL(e,t);break}case 263:case 266:case 262:case 264:case 267:case 265:if(t)return}}function RL(e){const t=Ch(e);if(!t||kp(t))return!1;if(!kD(t))return Oo(t,us.String_literal_expected),!1;const n=268===e.parent.kind&&cf(e.parent.parent);if(307!==e.parent.kind&&!n)return Oo(t,278===e.kind?us.Export_declarations_are_not_permitted_in_a_namespace:us.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(n&&Sa(t.text)&&!Fc(e))return Oo(e,us.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!rT(e)&&e.attributes){const t=118===e.attributes.token?us.Import_attribute_values_must_be_string_literal_expressions:us.Import_assertion_values_must_be_string_literal_expressions;let n=!1;for(const r of e.attributes.elements)kD(r.value)||(n=!0,Oo(r.value,t));return!n}return!0}function PL(e,t=!0){void 0!==e&&11===e.kind&&(t?5!==M&&6!==M||Ij(e,us.String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020):Ij(e,us.Identifier_expected))}function NL(t){var n,r,i,o;let s=_a(t);const a=Ls(s);if(a!==bt){if(s=fa(s.exportSymbol||s),Tm(t)&&!(111551&a.flags)&&!Ml(t)){const e=$l(t)?t.propertyName||t.name:Ec(t)?t.name:t;if(un.assert(280!==t.kind),281===t.kind){const o=Oo(e,us.Types_cannot_appear_in_export_declarations_in_JavaScript_files),s=null==(r=null==(n=Ap(t).symbol)?void 0:n.exports)?void 0:r.get(Hp(t.propertyName||t.name));if(s===a){const e=null==(i=s.declarations)?void 0:i.find(Ed);e&&sx(o,$f(e,us._0_is_automatically_exported_here,mc(s.escapedName)))}}else{un.assert(260!==t.kind);const n=dc(t,Zt(iT,rT)),r=(n&&(null==(o=Ah(n))?void 0:o.text))??"...",i=mc(UD(e)?e.escapedText:s.escapedName);Oo(e,us._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,i,`import("${r}").${i}`)}return}const c=js(a);if(c&((1160127&s.flags?111551:0)|(788968&s.flags?788968:0)|(1920&s.flags?1920:0))){Oo(t,281===t.kind?us.Export_declaration_conflicts_with_exported_declaration_of_0:us.Import_declaration_conflicts_with_local_declaration_of_0,oc(s))}else if(281!==t.kind){O.isolatedModules&&!dc(t,Ml)&&1160127&s.flags&&Oo(t,us.Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled,oc(s),qe)}if(EC(O)&&!Ml(t)&&!(33554432&t.flags)){const n=Hs(s),r=!(111551&c);if(r||n)switch(t.kind){case 273:case 276:case 271:if(O.verbatimModuleSyntax){un.assertIsDefined(t.name,"An ImportClause with a symbol should have a name");const e=O.verbatimModuleSyntax&&Dm(t)?us.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:r?us._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:us._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled,i=Vp(276===t.kind&&t.propertyName||t.name);ps(Oo(t,e,i),r?void 0:n,i)}r&&271===t.kind&&Dy(t,32)&&Oo(t,us.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,qe);break;case 281:if(O.verbatimModuleSyntax||Ap(n)!==Ap(t)){const e=Vp(t.propertyName||t.name);ps(r?Oo(t,us.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,qe):Oo(t,us._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,e,qe),r?void 0:n,e);break}}if(O.verbatimModuleSyntax&&271!==t.kind&&!Tm(t)&&1===e.getEmitModuleFormatOfFile(Ap(t))?Oo(t,us.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled):200===M&&271!==t.kind&&260!==t.kind&&1===e.getEmitModuleFormatOfFile(Ap(t))&&Oo(t,us.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve),O.verbatimModuleSyntax&&!Ml(t)&&!(33554432&t.flags)&&128&c){const n=a.valueDeclaration,r=e.getRedirectReferenceForResolutionFromSourceOfProject(Ap(n).resolvedPath);!(33554432&n.flags)||r&&TC(r.commandLine.options)||Oo(t,us.Cannot_access_ambient_const_enums_when_0_is_enabled,qe)}}if(_T(t)){const e=BL(s,t);jo(e)&&e.declarations&&Jo(t,e.declarations,e.escapedName)}}}function BL(e,t){if(!(2097152&e.flags)||jo(e)||!vs(e))return e;const n=Ls(e);if(n===bt)return n;for(;2097152&e.flags;){const r=nP(e);if(!r)break;if(r===n)break;if(r.declarations&&l(r.declarations)){if(jo(r)){Jo(t,r.declarations,r.escapedName);break}if(e===n)break;e=r}}return n}function OL(t){W$(t,t.name),NL(t),276===t.kind&&(PL(t.propertyName),Gp(t.propertyName||t.name)&&xC(O)&&e.getEmitModuleFormatOfFile(Ap(t))<4&&tj(t,131072))}function qL(e){var t;const n=e.attributes;if(n){const r=XA(!0);r!==Dn&&PE(Hl(n),hk(r,32768),n);const i=ZU(e),o=rJ(n,i?Ij:void 0),s=118===e.attributes.token;if(i&&o)return;if(99!==(199===M&&e.moduleSpecifier&&ks(e.moduleSpecifier))&&99!==M&&200!==M){return Ij(n,s?199===M?us.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:us.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve:199===M?us.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:us.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve)}if(PF(e)||(iT(e)?null==(t=e.importClause)?void 0:t.isTypeOnly:e.isTypeOnly))return Ij(n,s?us.Import_attributes_cannot_be_used_with_type_only_imports_or_exports:us.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(o)return Ij(n,us.resolution_mode_can_only_be_set_for_type_only_imports)}}function $L(t){if(!LL(t,Tm(t)?us.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:us.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!rj(t)&&t.modifiers&&Dj(t,us.An_import_declaration_cannot_have_modifiers),RL(t)){let n;const r=t.importClause;r&&!function(e){var t;if(e.isTypeOnly&&e.name&&e.namedBindings)return Ij(e,us.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);if(e.isTypeOnly&&275===(null==(t=e.namedBindings)?void 0:t.kind))return Nj(e.namedBindings);return!1}(r)?(r.name&&OL(r),r.namedBindings&&(274===r.namedBindings.kind?(OL(r.namedBindings),e.getEmitModuleFormatOfFile(Ap(t))<4&&xC(O)&&tj(t,65536)):(n=Xs(t,t.moduleSpecifier),n&&u(r.namedBindings.elements,OL))),Ds(t.moduleSpecifier,n)&&!function(e){return!!e.attributes&&e.attributes.elements.some((e=>{var t;return"type"===jg(e.name)&&"json"===(null==(t=et(e.value,Od))?void 0:t.text)}))}(t)&&Oo(t.moduleSpecifier,us.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0,fi[M])):pe&&!r&&Xs(t,t.moduleSpecifier)}qL(t)}}function QL(t){if(!LL(t,Tm(t)?us.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:us.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!rj(t)&&ky(t)&&Dj(t,us.An_export_declaration_cannot_have_modifiers),function(e){var t;if(e.isTypeOnly&&279===(null==(t=e.exportClause)?void 0:t.kind))return Nj(e.exportClause)}(t),!t.moduleSpecifier||RL(t))if(t.exportClause&&!pT(t.exportClause)){u(t.exportClause.elements,ML);const e=268===t.parent.kind&&cf(t.parent.parent),n=!e&&268===t.parent.kind&&!t.moduleSpecifier&&33554432&t.flags;307===t.parent.kind||e||n||Oo(t,us.Export_declarations_are_not_permitted_in_a_namespace)}else{const n=Xs(t,t.moduleSpecifier);n&&oa(n)?Oo(t.moduleSpecifier,us.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,oc(n)):t.exportClause&&(NL(t.exportClause),PL(t.exportClause.name)),e.getEmitModuleFormatOfFile(Ap(t))<4&&(t.exportClause?xC(O)&&tj(t,65536):tj(t,32768))}qL(t)}}function LL(e,t){const n=307===e.parent.kind||268===e.parent.kind||267===e.parent.kind;return n||Dj(e,t),!n}function ML(t){NL(t);const n=void 0!==t.parent.parent.moduleSpecifier;if(PL(t.propertyName,n),PL(t.name),IC(O)&&qc(t.propertyName||t.name,!0),n)xC(O)&&e.getEmitModuleFormatOfFile(Ap(t))<4&&Gp(t.propertyName||t.name)&&tj(t,131072);else{const e=t.propertyName||t.name;if(11===e.kind)return;const n=Ue(e,e.escapedText,2998271,void 0,!0);n&&(n===we||n===Ie||n.declarations&&Xf(Uc(n.declarations[0])))?Oo(e,us.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,hc(e)):mF(t,7)}}function jL(e){const t=_a(e),n=is(t);if(!n.exportsChecked){const e=t.exports.get("export=");if(e&&function(e){return np(e.exports,((e,t)=>"export="!==t))}(t)){const t=vs(e)||e.valueDeclaration;!t||Fc(t)||Tm(t)||Oo(t,us.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const r=ua(t);r&&r.forEach((({declarations:e,flags:t},n)=>{if("__export"===n)return;if(1920&t)return;const r=x(e,Xt(LQ,en(YI)));if(!(524288&t&&r<=2)&&r>1&&!UL(e))for(const t of e)WQ(t)&&po.add($f(t,us.Cannot_redeclare_exported_variable_0,mc(n)))})),n.exportsChecked=!0}}function UL(e){return e&&e.length>1&&e.every((e=>Tm(e)&&xb(e)&&(Xm(e.expression)||eh(e.expression))))}function JL(n){if(n){const i=r;r=n,E=0,function(n){if(8388608&NM(n))return;Bh(n)&&u(n.jsDoc,(({comment:e,tags:t})=>{VL(e),u(t,(e=>{VL(e.comment),Tm(n)&&JL(e)}))}));const r=n.kind;if(t)switch(r){case 267:case 263:case 264:case 262:t.throwIfCancellationRequested()}r>=243&&r<=259&&Nh(n)&&n.flowNode&&!vT(n.flowNode)&&$o(!1===O.allowUnreachableCode,n,us.Unreachable_code_detected);switch(r){case 168:return Fq(n);case 169:return Rq(n);case 172:return $q(n);case 171:return function(e){return JD(e.name)&&Oo(e,us.Private_identifiers_are_not_allowed_outside_class_bodies),$q(e)}(n);case 185:case 184:case 179:case 180:case 181:return Nq(n);case 174:case 173:return function(e){yj(e)||pj(e.name),pw(e)&&e.asteriskToken&&UD(e.name)&&"constructor"===hc(e.name)&&Oo(e.name,us.Class_constructor_may_not_be_a_generator),C$(e),wy(e,64)&&174===e.kind&&e.body&&Oo(e,us.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,Rf(e.name)),JD(e.name)&&!Y_(e)&&Oo(e,us.Private_identifiers_are_not_allowed_outside_class_bodies),Qq(e)}(n);case 175:return function(e){rj(e),OP(e,JL)}(n);case 176:return Lq(n);case 177:case 178:return jq(n);case 183:return Gq(n);case 182:return function(e){const t=function(e){switch(e.parent.kind){case 219:case 179:case 262:case 218:case 184:case 174:case 173:const t=e.parent;if(e===t.type)return t}}(e);if(!t)return void Oo(e,us.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);const n=Sh(t),r=$h(n);if(!r)return;JL(e.type);const{parameterName:i}=e;if(0!==r.kind&&2!==r.kind)if(r.parameterIndex>=0){if(KQ(n)&&r.parameterIndex===n.parameters.length-1)Oo(i,us.A_type_predicate_cannot_reference_a_rest_parameter);else if(r.type){const t=()=>eC(void 0,us.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);PE(r.type,wu(n.parameters[r.parameterIndex]),e.type,void 0,t)}}else if(i){let n=!1;for(const{name:e}of t.parameters)if(Cu(e)&&Pq(e,i,r.parameterName)){n=!0;break}n||Oo(e.parameterName,us.Cannot_find_parameter_0,r.parameterName)}}(n);case 186:return function(e){LA(e)}(n);case 187:return function(e){u(e.members,JL),s((function(){const t=nC(e);sL(t,t.symbol),qq(e),Oq(e)}))}(n);case 188:return function(e){JL(e.elementType)}(n);case 189:return function(e){let t=!1,n=!1;for(const r of e.elements){let e=My(r);if(8&e){const t=PC(r.type);if(!$S(t)){Oo(r,us.A_rest_element_type_must_be_an_array_type);break}(PS(t)||ok(t)&&4&t.target.combinedFlags)&&(e|=4)}if(4&e){if(n){Ij(r,us.A_rest_element_cannot_follow_another_rest_element);break}n=!0}else if(2&e){if(n){Ij(r,us.An_optional_element_cannot_follow_a_rest_element);break}t=!0}else if(1&e&&t){Ij(r,us.A_required_element_cannot_follow_an_optional_element);break}}u(e.elements,JL),PC(e)}(n);case 192:case 193:return function(e){u(e.types,JL),PC(e)}(n);case 196:case 190:case 191:return JL(n.type);case 197:return function(e){DC(e)}(n);case 198:return Kq(n);case 194:return function(e){OP(e,JL)}(n);case 195:return function(e){dc(e,(e=>e.parent&&194===e.parent.kind&&e.parent.extendsType===e))||Ij(e,us.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),JL(e.typeParameter);const t=_a(e.typeParameter);if(t.declarations&&t.declarations.length>1){const e=is(t);if(!e.typeParametersChecked){e.typeParametersChecked=!0;const n=yd(t),r=Gd(t,168);if(!fL(r,[n],(e=>[e]))){const e=oc(t);for(const t of r)Oo(t.name,us.All_declarations_of_0_must_have_identical_constraints,e)}}}E$(e)}(n);case 203:return function(e){for(const t of e.templateSpans)JL(t.type),PE(PC(t.type),yn,t.type);PC(e)}(n);case 205:return function(e){JL(e.argument),e.attributes&&rJ(e.attributes,Ij),Wq(e)}(n);case 202:return function(e){e.dotDotDotToken&&e.questionToken&&Ij(e,us.A_tuple_member_cannot_be_both_optional_and_rest),190===e.type.kind&&Ij(e.type,us.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),191===e.type.kind&&Ij(e.type,us.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),JL(e.type),PC(e)}(n);case 328:return function(e){const t=Uh(e);if(!t||!zI(t)&&!mI(t))return void Oo(t,us.JSDoc_0_is_not_attached_to_a_class,hc(e.tagName));const n=ol(t).filter(lF);un.assert(n.length>0),n.length>1&&Oo(n[1],us.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const r=b$(e.class.expression),i=yg(t);if(i){const t=b$(i.expression);t&&r.escapedText!==t.escapedText&&Oo(r,us.JSDoc_0_1_does_not_match_the_extends_2_clause,hc(e.tagName),hc(r),hc(t))}}(n);case 329:return function(e){const t=Uh(e);t&&(zI(t)||mI(t))||Oo(t,us.JSDoc_0_is_not_attached_to_a_class,hc(e.tagName))}(n);case 346:case 338:case 340:return function(e){e.typeExpression||Oo(e.name,us.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),e.name&&lL(e.name,us.Type_alias_name_cannot_be_0),JL(e.typeExpression),dL(ul(e))}(n);case 345:return function(e){JL(e.constraint);for(const t of e.typeParameters)JL(t)}(n);case 344:return function(e){JL(e.typeExpression)}(n);case 324:case 325:case 326:return function(e){e.name&&uM(e.name,!0)}(n);case 341:case 348:return function(e){JL(e.typeExpression)}(n);case 317:!function(e){s((function(){e.type||Dh(e)||Uk(e,kt)})),Nq(e)}(n);case 315:case 314:case 312:case 313:case 322:return GL(n),void OP(n,JL);case 318:return void function(e){GL(e),JL(e.type);const{parent:t}=e;if(aw(t)&&rF(t.parent))return void(Ae(t.parent.parameters)!==t&&Oo(e,us.A_rest_parameter_must_be_last_in_a_parameter_list));HT(t)||Oo(e,us.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const n=e.parent.parent;if(!CF(n))return void Oo(e,us.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const r=Qh(n);if(!r)return;const i=jh(n);i&&Ae(i.parameters).symbol===r||Oo(e,us.A_rest_parameter_must_be_last_in_a_parameter_list)}(n);case 309:return JL(n.type);case 333:case 335:case 334:return function(e){const t=Jh(e);t&&Wl(t)&&Oo(e,us.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}(n);case 350:return function(e){JL(e.typeExpression);const t=Uh(e);if(t){const e=al(t,FF);if(l(e)>1)for(let t=1;t{var i;297!==e.kind||n||(void 0===t?t=e:(Ij(e,us.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),n=!0)),296===e.kind&&s((i=e,()=>{const e=Tq(i.expression);tq(r,e)||UE(e,r,i.expression,void 0)})),u(e.statements,JL),O.noFallthroughCasesInSwitch&&e.fallthroughFlowNode&&vT(e.fallthroughFlowNode)&&Oo(e,us.Fallthrough_case_in_switch)})),e.caseBlock.locals&&E$(e.caseBlock)}(n);case 256:return function(e){Rj(e)||dc(e.parent,(t=>ru(t)?"quit":256===t.kind&&t.label.escapedText===e.label.escapedText&&(Ij(e.label,us.Duplicate_label_0,zp(e.label)),!0))),JL(e.statement)}(n);case 257:return oL(n);case 258:return function(e){Rj(e),M$(e.tryBlock);const t=e.catchClause;if(t){if(t.variableDeclaration){const e=t.variableDeclaration;Y$(e);const n=_y(e);if(n){const e=PC(n);!e||3&e.flags||Dj(n,us.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(e.initializer)Dj(e.initializer,us.Catch_clause_variable_cannot_have_an_initializer);else{const e=t.block.locals;e&&rp(t.locals,(t=>{const n=e.get(t);(null==n?void 0:n.valueDeclaration)&&2&n.flags&&Ij(n.valueDeclaration,us.Cannot_redeclare_identifier_0_in_catch_clause,mc(t))}))}}M$(t.block)}e.finallyBlock&&M$(e.finallyBlock)}(n);case 260:return Z$(n);case 208:return eQ(n);case 263:return function(e){const t=A(e.modifiers,cw);j&&t&&J(e.members,(e=>Ty(e)&&Wl(e)))&&Ij(t,us.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),e.name||wy(e,2048)||Dj(e,us.A_class_declaration_without_the_default_modifier_must_have_a_name),mL(e),u(e.members,JL),E$(e)}(n);case 264:return EL(n);case 265:return function(e){if(rj(e),lL(e.name,us.Type_alias_name_cannot_be_0),Sj(e.parent)||Ij(e,us._0_declarations_can_only_be_declared_inside_a_block,"type"),t$(e),dL(e.typeParameters),141===e.type.kind){const t=l(e.typeParameters);(0===t?"BuiltinIteratorReturn"===e.name.escapedText:1===t&&MQ.has(e.name.escapedText))||Oo(e.type,us.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types)}else JL(e.type),E$(e)}(n);case 266:return wL(n);case 267:return TL(n);case 272:return $L(n);case 271:return function(e){if(!LL(e,Tm(e)?us.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:us.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(rj(e),Dm(e)||RL(e)))if(OL(e),mF(e,6),283!==e.moduleReference.kind){const t=Ls(_a(e));if(t!==bt){const n=js(t);if(111551&n){const t=cv(e.moduleReference);1920&zs(t,112575).flags||Oo(t,us.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,Rf(t))}788968&n&&lL(e.name,us.Import_name_cannot_be_0)}e.isTypeOnly&&Ij(e,us.An_import_alias_cannot_use_import_type)}else!(5<=M&&M<=99)||e.isTypeOnly||33554432&e.flags||Ij(e,us.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}(n);case 278:return QL(n);case 277:return function(t){if(LL(t,t.isExportEquals?us.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:us.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration))return;const n=307===t.parent.kind?t.parent:t.parent.parent;if(267===n.kind&&!cf(n))return void(t.isExportEquals?Oo(t,us.An_export_assignment_cannot_be_used_in_a_namespace):Oo(t,us.A_default_export_can_only_be_used_in_an_ECMAScript_style_module));!rj(t)&&Sy(t)&&Dj(t,us.An_export_assignment_cannot_have_modifiers);const r=_y(t);r&&PE(cq(t.expression),PC(r),t.expression);const i=!t.isExportEquals&&!(33554432&t.flags)&&O.verbatimModuleSyntax&&1===e.getEmitModuleFormatOfFile(Ap(t));if(80===t.expression.kind){const e=t.expression,n=xa(zs(e,-1,!0,!0,t));if(n){mF(t,3);const r=Hs(n,111551);if(111551&js(n)?(cq(e),i||33554432&t.flags||!O.verbatimModuleSyntax||!r||Oo(e,t.isExportEquals?us.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:us.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,hc(e))):i||33554432&t.flags||!O.verbatimModuleSyntax||Oo(e,t.isExportEquals?us.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:us.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,hc(e)),!i&&!(33554432&t.flags)&&EC(O)&&!(111551&n.flags)){const i=js(n,!1,!0);!(2097152&n.flags&&788968&i)||111551&i||r&&Ap(r)===Ap(t)?r&&Ap(r)!==Ap(t)&&ps(Oo(e,t.isExportEquals?us._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:us._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default,hc(e),qe),r,hc(e)):Oo(e,t.isExportEquals?us._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:us._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default,hc(e),qe)}}else cq(e);IC(O)&&qc(e,!0)}else cq(t.expression);i&&Oo(t,us.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),jL(n),33554432&t.flags&&!av(t.expression)&&Ij(t.expression,us.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),t.isExportEquals&&(M>=5&&200!==M&&(33554432&t.flags&&99===e.getImpliedNodeFormatForEmit(Ap(t))||!(33554432&t.flags)&&1!==e.getImpliedNodeFormatForEmit(Ap(t)))?Ij(t,us.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):4!==M||33554432&t.flags||Ij(t,us.Export_assignment_is_not_supported_when_module_flag_is_system))}(n);case 242:case 259:return void Rj(n);case 282:(function(e){v$(e)})(n)}}(n),r=i}}function VL(e){Ye(e)&&u(e,(e=>{qd(e)&&JL(e)}))}function GL(e){if(!Tm(e))if(tF(e)||eF(e)){const t=Is(tF(e)?54:58),n=e.postfix?us._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:us._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,r=PC(e.type);Ij(e,n,t,cc(eF(e)&&r!==dn&&r!==ln?Pv(re([r,Ot],e.postfix?void 0:jt)):r))}else Ij(e,us.JSDoc_types_can_only_be_used_inside_documentation_comments)}function WL(e){const t=ss(Ap(e));1&t.flags?un.assert(!t.deferredNodes,"A type-checked file should have no deferred nodes."):(t.deferredNodes||(t.deferredNodes=new Set),t.deferredNodes.add(e))}function zL(e){const t=ss(e);t.deferredNodes&&t.deferredNodes.forEach(YL),t.deferredNodes=void 0}function YL(e){var t,n;null==(t=Hn)||t.push(Hn.Phase.Check,"checkDeferredNode",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});const o=r;switch(r=e,E=0,e.kind){case 213:case 214:case 215:case 170:case 286:TN(e);break;case 218:case 219:case 174:case 173:!function(e){un.assert(174!==e.kind||Q_(e));const t=Ng(e),n=zh(e);if(PO(e,n),e.body)if(hy(e)||Wh(Sh(e)),241===e.body.kind)JL(e.body);else{const r=Tq(e.body),i=n&&rL(n,t);if(i){const n=zN(e.body);NE(2==(3&t)?i$(r,!1,n,us.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):r,i,n,n)}}}(e);break;case 177:case 178:jq(e);break;case 231:!function(e){u(e.members,JL),E$(e)}(e);break;case 168:!function(e){var t,n;if(YI(e.parent)||du(e.parent)||KI(e.parent)){const r=yd(_a(e)),o=24576&rS(r);if(o){const s=_a(e.parent);if(!KI(e.parent)||48&gb(Cd(s))){if(8192===o||16384===o){null==(t=Hn)||t.push(Hn.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:xv(Cd(s)),id:xv(r)});const a=Ux(s,r,16384===o?Un:jn),c=Ux(s,r,16384===o?jn:Un),l=r;i=r,PE(a,c,e,us.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),i=l,null==(n=Hn)||n.pop()}}else Oo(e,us.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types)}}}(e);break;case 285:!function(e){IP(e)}(e);break;case 284:!function(e){IP(e.openingElement),sP(e.closingElement.tagName)?hP(e.closingElement):Tq(e.closingElement.tagName),fP(e)}(e);break;case 216:case 234:case 217:!function(e){const{type:t}=OB(e),n=tI(e)?t:e,r=ss(e);un.assertIsDefined(r.assertionExpressionType);const i=Fk(YS(r.assertionExpressionType)),o=PC(t);Gc(o)||s((()=>{const e=Qk(i);FE(o,e)||UE(i,o,n,us.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first)}))}(e);break;case 222:Tq(e.expression);break;case 226:hv(e)&&TN(e)}r=o,null==(n=Hn)||n.pop()}function KL(t,n){var r,i;null==(r=Hn)||r.push(Hn.Phase.Check,n?"checkSourceFileNodes":"checkSourceFile",{path:t.path},!0);const o=n?"beforeCheckNodes":"beforeCheck",a=n?"afterCheckNodes":"afterCheck";er(o),n?function(t,n){const r=ss(t);if(!(1&r.flags)){if(ux(t,O,e))return;Fj(t),D(no),D(ro),D(io),D(oo),D(so),u(n,JL),zL(t),(r.potentialThisCollisions||(r.potentialThisCollisions=[])).push(...no),(r.potentialNewTargetCollisions||(r.potentialNewTargetCollisions=[])).push(...ro),(r.potentialWeakMapSetCollisions||(r.potentialWeakMapSetCollisions=[])).push(...io),(r.potentialReflectCollisions||(r.potentialReflectCollisions=[])).push(...oo),(r.potentialUnusedRenamedBindingElementsInTypes||(r.potentialUnusedRenamedBindingElementsInTypes=[])).push(...so),r.flags|=8388608;for(const e of n){ss(e).flags|=8388608}}}(t,n):function(t){const n=ss(t);if(!(1&n.flags)){if(ux(t,O,e))return;Fj(t),D(no),D(ro),D(io),D(oo),D(so),8388608&n.flags&&(no=n.potentialThisCollisions,ro=n.potentialNewTargetCollisions,io=n.potentialWeakMapSetCollisions,oo=n.potentialReflectCollisions,so=n.potentialUnusedRenamedBindingElementsInTypes),u(t.statements,JL),JL(t.endOfFileToken),zL(t),Zf(t)&&E$(t),s((()=>{t.isDeclarationFile||!O.noUnusedLocals&&!O.noUnusedParameters||x$(ZL(t),((e,t,n)=>{!gp(e)&&XL(t,!!(33554432&e.flags))&&po.add(n)})),t.isDeclarationFile||function(){var e;for(const t of so)if(!(null==(e=_a(t))?void 0:e.isReferenced)){const e=nc(t);un.assert(Kg(e),"Only parameter declaration should be checked here");const n=$f(t.name,us._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,Rf(t.name),Rf(t.propertyName));e.type||sx(n,Yb(Ap(e),e.end,0,us.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,Rf(t.propertyName))),po.add(n)}}()})),Zf(t)&&jL(t),no.length&&(u(no,U$),D(no)),ro.length&&(u(ro,J$),D(ro)),io.length&&(u(io,V$),D(io)),oo.length&&(u(oo,G$),D(oo)),n.flags|=1}}(t),er(a),tr("Check",o,a),null==(i=Hn)||i.pop()}function XL(e,t){if(t)return!1;switch(e){case 0:return!!O.noUnusedLocals;case 1:return!!O.noUnusedParameters;default:return un.assertNever(e)}}function ZL(e){return vi.get(e.path)||a}function tM(n,r,i){try{return t=r,function(t,n){if(t){nM();const e=po.getGlobalDiagnostics(),r=e.length;rM(t,n);const i=po.getDiagnostics(t.fileName);if(n)return i;const o=po.getGlobalDiagnostics();if(o!==e){return H(ne(e,o,rC),i)}return 0===r&&o.length>0?H(o,i):i}return u(e.getSourceFiles(),(e=>rM(e))),po.getDiagnostics()}(n,i)}finally{t=void 0}}function nM(){for(const e of o)e();o=[]}function rM(e,t){nM();const n=s;s=e=>e(),KL(e,t),s=n}function iM(e){for(;166===e.parent.kind;)e=e.parent;return 183===e.parent.kind}function oM(e,t){let n,r=Y_(e);for(;r&&!(n=t(r));)r=Y_(r);return n}function sM(e,t){return!!oM(e,(e=>e===t))}function aM(e){return void 0!==function(e){for(;166===e.parent.kind;)e=e.parent;return 271===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:277===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function cM(e){if(lg(e))return ga(e.parent);if(Tm(e)&&211===e.parent.kind&&e.parent===e.parent.parent.left&&!JD(e)&&!WT(e)&&!function(e){if(110===e.expression.kind){const t=em(e,!1,!1);if(ru(t)){const e=zF(t);if(e){const t=XF(e,FR(e,void 0));return t&&!Hc(t)}}}}(e.parent)){const t=function(e){switch(th(e.parent.parent)){case 1:case 3:return ga(e.parent);case 5:if(zw(e.parent)&&Db(e.parent)===e)return;case 4:case 2:return _a(e.parent.parent)}}(e);if(t)return t}if(277===e.parent.kind&&av(e)){const t=zs(e,2998271,!0);if(t&&t!==bt)return t}else if(eu(e)&&aM(e)){const t=xg(e,271);return un.assert(void 0!==t),Gs(e,!0)}if(eu(e)){const t=function(e){let t=e.parent;for(;iw(t);)e=t,t=t.parent;if(t&&205===t.kind&&t.qualifier===e)return t}(e);if(t){PC(t);const n=ss(e).resolvedSymbol;return n===bt?void 0:n}}for(;mv(e);)e=e.parent;if(function(e){for(;211===e.parent.kind;)e=e.parent;return 233===e.parent.kind}(e)){let t=0;233===e.parent.kind?(t=S_(e)?788968:111551,sv(e.parent)&&(t|=111551)):t=1920,t|=2097152;const n=av(e)?zs(e,t,!0):void 0;if(n)return n}if(341===e.parent.kind)return Qh(e.parent);if(168===e.parent.kind&&345===e.parent.parent.kind){un.assert(!Tm(e));const t=Hh(e.parent);return t&&t.symbol}if(vm(e)){if(kp(e))return;const t=dc(e,Zt(qd,GT,WT)),n=t?901119:111551;if(80===e.kind){if(ym(e)&&sP(e)){const t=hP(e.parent);return t===bt?void 0:t}const r=zs(e,n,!0,!0,jh(e));if(!r&&t){const t=dc(e,Zt(du,YI));if(t)return uM(e,!0,_a(t))}if(r&&t){const t=Jh(e);if(t&&UT(t)&&t===r.valueDeclaration)return zs(e,n,!0,!0,Ap(t))||r}return r}if(JD(e))return rN(e);if(211===e.kind||166===e.kind){const n=ss(e);return n.resolvedSymbol?n.resolvedSymbol:(211===e.kind?(YP(e,0),n.resolvedSymbol||(n.resolvedSymbol=lM(cq(e.expression),zv(e.name)))):ZP(e,0),!n.resolvedSymbol&&t&&iw(e)?uM(e):n.resolvedSymbol)}if(WT(e))return uM(e)}else if(eu(e)&&iM(e)){const t=zs(e,183===e.parent.kind?788968:1920,!1,!0);return t&&t!==bt?t:AA(e)}return 182===e.parent.kind?zs(e,1):void 0}function lM(e,t){const n=Km(e,t);if(n.length&&e.members){const t=Rg(Sf(e).members);if(n===Qm(e))return t;if(t){const r=is(t),i=q(n,(e=>e.declaration)),o=w(i,JQ).join(",");if(r.filteredIndexSymbolCache||(r.filteredIndexSymbolCache=new Map),r.filteredIndexSymbolCache.has(o))return r.filteredIndexSymbolCache.get(o);{const t=Vo(131072,"__index");return t.declarations=q(n,(e=>e.declaration)),t.parent=e.aliasSymbol?e.aliasSymbol:e.symbol?e.symbol:dM(t.declarations[0].parent),r.filteredIndexSymbolCache.set(o,t),t}}}}function uM(e,t,n){if(eu(e)){const r=901119;let i=zs(e,r,t,!0,jh(e));if(!i&&UD(e)&&n&&(i=fa(as(la(n),e.escapedText,r))),i)return i}const r=UD(e)?n:uM(e.left,t,n),i=UD(e)?e.escapedText:e.right.escapedText;if(r){const e=111551&r.flags&&z_(wu(r),"prototype");return z_(e?wu(e):Cd(r),i)}}function dM(e,t){if(JT(e))return UP(e)?fa(e.symbol):void 0;const{parent:n}=e,r=n.parent;if(!(67108864&e.flags)){if(zQ(e)){const t=_a(n);return $l(e.parent)&&e.parent.propertyName===e?nP(t):t}if(dg(e))return _a(n.parent);if(80===e.kind){if(aM(e))return cM(e);if(208===n.kind&&206===r.kind&&e===n.propertyName){const t=z_(pM(r),e.escapedText);if(t)return t}else if(bI(n)&&n.name===e)return 105===n.keywordToken&&"target"===hc(e)?UB(n).symbol:102===n.keywordToken&&"meta"===hc(e)?zA().members.get("meta"):void 0}switch(e.kind){case 80:case 81:case 211:case 166:if(!dy(e))return cM(e);case 110:const i=em(e,!1,!1);if(ru(i)){const e=Sh(i);if(e.thisParameter)return e.thisParameter}if(bm(e))return Tq(e).symbol;case 197:return DC(e).symbol;case 108:return Tq(e).symbol;case 137:const o=e.parent;return o&&176===o.kind?o.parent.symbol:void 0;case 11:case 15:if(xm(e.parent.parent)&&Sm(e.parent.parent)===e||(272===e.parent.kind||278===e.parent.kind)&&e.parent.moduleSpecifier===e||Tm(e)&&PF(e.parent)&&e.parent.moduleSpecifier===e||Tm(e)&&Bm(e.parent,!1)||l_(e.parent)||Lw(e.parent)&&d_(e.parent.parent)&&e.parent.parent.argument===e.parent)return Xs(e,e,t);if(Kw(n)&&nh(n)&&n.arguments[1]===e)return _a(n);case 9:const s=Yw(n)?n.argumentExpression===e?Dq(n.expression):void 0:Lw(n)&&$w(r)?PC(r.objectType):void 0;return s&&z_(s,_c(e.text));case 90:case 100:case 39:case 86:return ga(e.parent);case 205:return d_(e)?dM(e.argument.literal,t):void 0;case 95:return mT(e.parent)?un.checkDefined(e.parent.symbol):void 0;case 102:case 105:return bI(e.parent)?jB(e.parent).symbol:void 0;case 104:if(uI(e.parent)){const t=Dq(e.parent.right),n=zO(t);return(null==n?void 0:n.symbol)??t.symbol}return;case 236:return Tq(e).symbol;case 295:if(ym(e)&&sP(e)){const t=hP(e.parent);return t===bt?void 0:t}default:return}}}function pM(e){if(JT(e)&&!UP(e))return Tt;if(67108864&e.flags)return Tt;const t=rv(e),n=t&&dd(_a(t.class));if(S_(e)){const t=PC(e);return n?Cp(t,n.thisType):t}if(vm(e))return _M(e);if(n&&!t.isImplements){const e=fe(id(n));return e?Cp(e,n.thisType):Tt}if(Jx(e)){return Cd(_a(e))}if(function(e){return 80===e.kind&&Jx(e.parent)&&Sc(e.parent)===e}(e)){const t=dM(e);return t?Cd(t):Tt}if(Hw(e))return xl(e,!0,0)||Tt;if(ud(e)){const t=_a(e);return t?wu(t):Tt}if(zQ(e)){const t=dM(e);return t?wu(t):Tt}if(Cu(e))return xl(e.parent,!0,0)||Tt;if(aM(e)){const t=dM(e);if(t){const e=Cd(t);return Gc(e)?wu(t):e}}return bI(e.parent)&&e.parent.keywordToken===e.kind?jB(e.parent):lT(e)?XA(!1):Tt}function fM(e){if(un.assert(210===e.kind||209===e.kind),250===e.parent.kind){return ZO(e,uQ(e.parent)||Tt)}if(226===e.parent.kind){return ZO(e,Dq(e.parent.right)||Tt)}if(303===e.parent.kind){const t=tt(e.parent.parent,Ww);return KO(t,fM(t)||Tt,Kp(t.properties,e.parent))}const t=tt(e.parent,Gw),n=fM(t)||Tt,r=dQ(65,n,Ot,e.parent)||Tt;return XO(t,n,t.elements.indexOf(e),r)}function _M(e){return fv(e)&&(e=e.parent),_C(Dq(e))}function mM(e){const t=ga(e.parent);return Iy(e)?wu(t):Cd(t)}function hM(e){const t=e.name;switch(t.kind){case 80:return hC(hc(t));case 9:case 11:return hC(t.text);case 167:const e=XR(t);return VO(e,12288)?e:Jt;default:return un.fail("Unsupported property name.")}}function gM(e){const t=Wd(Uf(e=C_(e))),n=_m(e,0).length?Kn:_m(e,1).length?Xn:void 0;return n&&u(Uf(n),(e=>{t.has(e.escapedName)||t.set(e.escapedName,e)})),qa(t)}function AM(e){return 0!==_m(e,0).length||0!==_m(e,1).length}function yM(e){if(Vl(e))return!1;const t=fc(e,UD);if(!t)return!1;const n=t.parent;if(!n)return!1;return!((zw(n)||LT(n))&&n.name===t)&&HM(t)===Be}function vM(e,t){var n;const r=fc(e,UD);if(r){let e=HM(r,function(e){return od(e.parent)&&e===e.parent.name}(r));if(e){if(1048576&e.flags){const n=fa(e.exportSymbol);if(!t&&944&n.flags&&!(3&n.flags))return;e=n}const i=Aa(e);if(i){if(512&i.flags&&307===(null==(n=i.valueDeclaration)?void 0:n.kind)){const e=i.valueDeclaration;return e!==Ap(r)?void 0:e}return dc(r.parent,(e=>od(e)&&_a(e)===i))}}}}function bM(e){const t=Lk(e);if(t)return t;const n=fc(e,UD);if(n){const e=function(e){const t=ss(e).resolvedSymbol;if(t&&t!==bt)return t;return Ue(e,e.escapedText,3257279,void 0,!0,void 0)}(n);if($s(e,111551)&&!Hs(e,111551))return vs(e)}}function CM(e){if(418&e.flags&&e.valueDeclaration&&!JT(e.valueDeclaration)){const t=is(e);if(void 0===t.isDeclarationWithCollidingName){const n=Tf(e.valueDeclaration);if(bp(n)||function(e){return e.valueDeclaration&&Hw(e.valueDeclaration)&&299===nc(e.valueDeclaration).parent.kind}(e))if(Ue(n.parent,e.escapedName,111551,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(BM(e.valueDeclaration,16384)){const r=BM(e.valueDeclaration,32768),i=Hu(n,!1),o=241===n.kind&&Hu(n.parent,!1);t.isDeclarationWithCollidingName=!(pf(n)||r&&(i||o))}else t.isDeclarationWithCollidingName=!1}return t.isDeclarationWithCollidingName}return!1}function EM(e){if(!Vl(e)){const t=fc(e,UD);if(t){const e=HM(t);if(e&&CM(e))return e.valueDeclaration}}}function xM(e){const t=fc(e,ud);if(t){const e=_a(t);if(e)return CM(e)}return!1}function SM(e){switch(un.assert(Le),e.kind){case 271:return DM(_a(e));case 273:case 274:case 276:case 281:const t=_a(e);return!!t&&DM(t,!0);case 278:const n=e.exportClause;return!!n&&(pT(n)||J(n.elements,SM));case 277:return!e.expression||80!==e.expression.kind||DM(_a(e),!0)}return!1}function kM(e){const t=fc(e,rT);if(void 0===t||307!==t.parent.kind||!Dm(t))return!1;return DM(_a(t))&&t.moduleReference&&!kp(t.moduleReference)}function DM(e,t){if(!e)return!1;const n=Ap(e.valueDeclaration);na(n&&_a(n));const r=xa(Ls(e));return r===bt?!t||!Hs(e):!!(111551&js(e,t,!0))&&(TC(O)||!wM(r))}function wM(e){return WO(e)||!!e.constEnumOnlyModule}function IM(e,t){if(un.assert(Le),bs(e)){const t=_a(e),n=t&&is(t);if(null==n?void 0:n.referenced)return!0;const r=is(t).aliasTarget;if(r&&32&Ly(e)&&111551&js(r)&&(TC(O)||!wM(r)))return!0}return!!t&&!!OP(e,(e=>IM(e,t)))}function TM(e){if(Dp(e.body)){if(Dd(e)||kd(e))return!1;const t=Ph(_a(e));return t.length>1||1===t.length&&t[0].declaration!==e}return!1}function FM(e,t){return(function(e,t){if(!z||hh(e)||CF(e)||!e.initializer)return!1;if(wy(e,31))return!!t&&ou(t);return!0}(e,t)||function(e){return z&&hh(e)&&(CF(e)||!e.initializer)&&wy(e,31)}(e))&&!function(e){const t=ZM(e);if(!t)return!1;const n=PC(t);return Gc(n)||KE(n)}(e)}function RM(e){const t=fc(e,(e=>WI(e)||HI(e)));if(!t)return!1;let n;if(HI(t)){if(t.type||!Tm(t)&&!Qj(t))return!1;const e=Vm(t);if(!e||!sd(e))return!1;n=_a(e)}else n=_a(t);return!!(n&&16&n.flags|3)&&!!np(la(n),(e=>111551&e.flags&&lS(e.valueDeclaration)))}function PM(e){const t=fc(e,WI);if(!t)return a;const n=_a(t);return n&&Uf(wu(n))||a}function NM(e){var t;const n=e.id||0;return n<0||n>=Gi.length?0:(null==(t=Gi[n])?void 0:t.flags)||0}function BM(e,t){return function(e,t){if(!O.noCheck&&fx(Ap(e),O))return;const n=ss(e);if(n.calculatedFlags&t)return;switch(t){case 16:case 32:return s(e);case 128:case 256:case 2097152:return o(e);case 512:case 8192:case 65536:case 262144:return c(e);case 536870912:return u(e);case 4096:case 32768:case 16384:return p(e);default:return un.assertNever(t,`Unhandled node check flag calculation: ${un.formatNodeCheckFlags(t)}`)}function r(e,t){const n=t(e,e.parent);if("skip"!==n)return n||qP(e,t)}function i(e){const n=ss(e);if(n.calculatedFlags&t)return"skip";n.calculatedFlags|=2097536,s(e)}function o(e){r(e,i)}function s(e){ss(e).calculatedFlags|=48,108===e.kind&&WF(e)}function a(e){const n=ss(e);if(n.calculatedFlags&t)return"skip";n.calculatedFlags|=336384,u(e)}function c(e){r(e,a)}function l(e){return vm(e)||MT(e.parent)&&(e.parent.objectAssignmentInitializer??e.parent.name)===e}function u(e){const t=ss(e);if(t.calculatedFlags|=536870912,UD(e)&&(t.calculatedFlags|=49152,l(e)&&(!zw(e.parent)||e.parent.name!==e))){const t=FD(e);t&&t!==bt&&qF(e,t)}}function d(e){const n=ss(e);if(n.calculatedFlags&t)return"skip";n.calculatedFlags|=53248,f(e)}function p(e){r(Tf(lg(e)?e.parent:e),d)}function f(e){u(e),ow(e)&&XR(e),JD(e)&&uu(e.parent)&&Qq(e.parent)}}(e,t),!!(NM(e)&t)}function OM(e){return xL(e.parent),ss(e).enumMemberValue??mS(void 0)}function qM(e){switch(e.kind){case 306:case 211:case 212:return!0}return!1}function $M(e){if(306===e.kind)return OM(e).value;ss(e).resolvedSymbol||cq(e);const t=ss(e).resolvedSymbol||(av(e)?zs(e,111551,!0):void 0);if(t&&8&t.flags){const e=t.valueDeclaration;if(t_(e.parent))return OM(e).value}}function QM(e){return!!(524288&e.flags)&&_m(e,0).length>0}function LM(e,t){var n;const r=fc(e,eu);if(!r)return 0;if(t&&!(t=fc(t)))return 0;let i=!1;if(iw(r)){const e=zs(cv(r),111551,!0,!0,t);i=!!(null==(n=null==e?void 0:e.declarations)?void 0:n.every(Ml))}const o=zs(r,111551,!0,!0,t),s=o&&2097152&o.flags?Ls(o):o;i||(i=!(!o||!Hs(o,111551)));const a=zs(r,788968,!0,!0,t),c=a&&2097152&a.flags?Ls(a):a;if(o||i||(i=!(!a||!Hs(a,788968))),s&&s===c){const e=ry(!1);if(e&&s===e)return 9;const t=wu(s);if(t&&Xu(t))return i?10:1}if(!c)return i?11:0;const l=Cd(c);return Gc(l)?i?11:0:3&l.flags?11:VO(l,245760)?2:VO(l,528)?6:VO(l,296)?3:VO(l,2112)?4:VO(l,402653316)?5:ok(l)?7:VO(l,12288)?8:QM(l)?10:PS(l)?7:11}function MM(e,t,n,r,i){const o=fc(e,CS);if(!o)return XS.createToken(133);const s=_a(o);return be.serializeTypeForDeclaration(o,s,t,1024|n,r,i)}function jM(e){const t=178===(e=fc(e,fl)).kind?177:178,n=Hd(_a(e),t);return{firstAccessor:n&&n.pos{switch(e.kind){case 260:case 169:case 208:case 172:case 303:case 304:case 306:case 210:case 262:case 218:case 219:case 263:case 231:case 266:case 174:case 177:case 178:case 267:return!0}return!1}))}}}function zM(e){return!!(n_(e)||HI(e)&&Qj(e))&&mC(wu(_a(e)))}function YM(e,t){return function(e,t,n){const r=1056&e.flags?be.symbolToExpression(e.symbol,111551,t,void 0,void 0,n):e===tn?XS.createTrue():e===Yt&&XS.createFalse();if(r)return r;const i=e.value;return"object"==typeof i?XS.createBigIntLiteral(i):"string"==typeof i?XS.createStringLiteral(i):i<0?XS.createPrefixUnaryExpression(41,XS.createNumericLiteral(-i)):XS.createNumericLiteral(i)}(wu(_a(e)),e,t)}function KM(e){return e?(To(e),Ap(e).localJsxFactory||oi):oi}function XM(e){if(e){const t=Ap(e);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;const e=t.pragmas.get("jsxfrag"),n=Ye(e)?e[0]:e;if(n)return t.localJsxFragmentFactory=MP(n.arguments.factory,$),t.localJsxFragmentFactory}}if(O.jsxFragmentFactory)return MP(O.jsxFragmentFactory,$)}function ZM(e){const t=_y(e);if(t)return t;if(169===e.kind&&178===e.parent.kind){const t=jM(e.parent).getAccessor;if(t)return hy(t)}}function ej(e){const t=267===e.kind?et(e.name,kD):Ch(e),n=Zs(t,t,void 0);if(n)return Hd(n,307)}function tj(e,t){if(O.importHelpers){const n=Ap(e);if(gf(n,O)&&!(33554432&e.flags)){const r=function(e,t){const n=ss(e);n.externalHelpersModule||(n.externalHelpersModule=ea(function(e){un.assert(O.importHelpers,"Expected importHelpers to be enabled");const t=e.imports[0];return un.assert(t&&eA(t)&&"tslib"===t.text,"Expected sourceFile.imports[0] to be the synthesized tslib import"),t}(e),Ud,us.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||bt);return n.externalHelpersModule}(n,e);if(r!==bt){const n=is(r);if(n.requestedExternalEmitHelpers??(n.requestedExternalEmitHelpers=0),(n.requestedExternalEmitHelpers&t)!==t){const i=t&~n.requestedExternalEmitHelpers;for(let t=1;t<=16777216;t<<=1)if(i&t)for(const n of nj(t)){const i=Qs(as(ua(r),_c(n),111551));i?524288&t?J(Ph(i),(e=>tO(e)>3))||Oo(e,us.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Ud,n,4):1048576&t?J(Ph(i),(e=>tO(e)>4))||Oo(e,us.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Ud,n,5):1024&t&&(J(Ph(i),(e=>tO(e)>2))||Oo(e,us.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Ud,n,3)):Oo(e,us.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,Ud,n)}}n.requestedExternalEmitHelpers|=t}}}}function nj(e){switch(e){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return j?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__setFunctionName"];case 8388608:return["__propKey"];case 16777216:return["__addDisposableResource","__disposeResources"];case 33554432:return["__rewriteRelativeImportExtension"];default:return un.fail("Unrecognized helper")}}function rj(t){var n;const r=function(e){const t=function(e){return IR(e)?A(e.modifiers,cw):void 0}(e);return t&&Dj(t,us.Decorators_are_not_valid_here)}(t)||function(e){if(!e.modifiers)return!1;const t=function(e){switch(e.kind){case 177:case 178:case 176:case 172:case 171:case 174:case 173:case 181:case 267:case 272:case 271:case 278:case 277:case 218:case 219:case 169:case 168:return;case 175:case 303:case 304:case 270:case 282:return A(e.modifiers,Zl);default:if(268===e.parent.kind||307===e.parent.kind)return;switch(e.kind){case 262:return ij(e,134);case 263:case 185:return ij(e,128);case 231:case 264:case 265:return A(e.modifiers,Zl);case 243:return 4&e.declarationList.flags?ij(e,135):A(e.modifiers,Zl);case 266:return ij(e,87);default:un.assertNever(e)}}}(e);return t&&Dj(t,us.Modifiers_cannot_appear_here)}(t);if(void 0!==r)return r;if(aw(t)&&cy(t))return Dj(t,us.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);const i=wI(t)?7&t.declarationList.flags:0;let o,s,a,c,l,u=0,d=!1,p=!1;for(const r of t.modifiers)if(cw(r)){if(!pm(j,t,t.parent,t.parent.parent))return 174!==t.kind||Dp(t.body)?Dj(t,us.Decorators_are_not_valid_here):Dj(t,us.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(j&&(177===t.kind||178===t.kind)){const e=jM(t);if(Oy(e.firstAccessor)&&t===e.secondAccessor)return Dj(t,us.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}if(-34849&u)return Ij(r,us.Decorators_are_not_valid_here);if(p&&98303&u){un.assertIsDefined(l);return!kj(Ap(r))&&(sx(Oo(r,us.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),$f(l,us.Decorator_used_before_export_here)),!0)}u|=32768,98303&u?32&u&&(d=!0):p=!0,l??(l=r)}else{if(148!==r.kind){if(171===t.kind||173===t.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_type_member,Is(r.kind));if(181===t.kind&&(126!==r.kind||!du(t.parent)))return Ij(r,us._0_modifier_cannot_appear_on_an_index_signature,Is(r.kind))}if(103!==r.kind&&147!==r.kind&&87!==r.kind&&168===t.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_type_parameter,Is(r.kind));switch(r.kind){case 87:{if(266!==t.kind&&168!==t.kind)return Ij(t,us.A_class_member_cannot_have_the_0_keyword,Is(87));const e=kF(t.parent)&&Uh(t.parent)||t.parent;if(168===t.kind&&!(ou(e)||du(e)||Cw(e)||Ew(e)||gw(e)||Aw(e)||dw(e)))return Ij(r,us._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,Is(r.kind));break}case 164:if(16&u)return Ij(r,us._0_modifier_already_seen,"override");if(128&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(8&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"override","readonly");if(512&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"override","accessor");if(1024&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"override","async");u|=16,c=r;break;case 125:case 124:case 123:const p=Ic(Wy(r.kind));if(7&u)return Ij(r,us.Accessibility_modifier_already_seen);if(16&u)return Ij(r,us._0_modifier_must_precede_1_modifier,p,"override");if(256&u)return Ij(r,us._0_modifier_must_precede_1_modifier,p,"static");if(512&u)return Ij(r,us._0_modifier_must_precede_1_modifier,p,"accessor");if(8&u)return Ij(r,us._0_modifier_must_precede_1_modifier,p,"readonly");if(1024&u)return Ij(r,us._0_modifier_must_precede_1_modifier,p,"async");if(268===t.parent.kind||307===t.parent.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_module_or_namespace_element,p);if(64&u)return 123===r.kind?Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,p,"abstract"):Ij(r,us._0_modifier_must_precede_1_modifier,p,"abstract");if(Wl(t))return Ij(r,us.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);u|=Wy(r.kind);break;case 126:if(256&u)return Ij(r,us._0_modifier_already_seen,"static");if(8&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"static","readonly");if(1024&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"static","async");if(512&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"static","accessor");if(268===t.parent.kind||307===t.parent.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(169===t.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_parameter,"static");if(64&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(16&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"static","override");u|=256,o=r;break;case 129:if(512&u)return Ij(r,us._0_modifier_already_seen,"accessor");if(8&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(128&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(172!==t.kind)return Ij(r,us.accessor_modifier_can_only_appear_on_a_property_declaration);u|=512;break;case 148:if(8&u)return Ij(r,us._0_modifier_already_seen,"readonly");if(172!==t.kind&&171!==t.kind&&181!==t.kind&&169!==t.kind)return Ij(r,us.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(512&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");u|=8;break;case 95:if(O.verbatimModuleSyntax&&!(33554432&t.flags)&&265!==t.kind&&264!==t.kind&&267!==t.kind&&307===t.parent.kind&&1===e.getEmitModuleFormatOfFile(Ap(t)))return Ij(r,us.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(32&u)return Ij(r,us._0_modifier_already_seen,"export");if(128&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"export","declare");if(64&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"export","abstract");if(1024&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"export","async");if(du(t.parent))return Ij(r,us._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(169===t.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_parameter,"export");if(4===i)return Ij(r,us._0_modifier_cannot_appear_on_a_using_declaration,"export");if(6===i)return Ij(r,us._0_modifier_cannot_appear_on_an_await_using_declaration,"export");u|=32;break;case 90:const f=307===t.parent.kind?t.parent:t.parent.parent;if(267===f.kind&&!cf(f))return Ij(r,us.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(4===i)return Ij(r,us._0_modifier_cannot_appear_on_a_using_declaration,"default");if(6===i)return Ij(r,us._0_modifier_cannot_appear_on_an_await_using_declaration,"default");if(!(32&u))return Ij(r,us._0_modifier_must_precede_1_modifier,"export","default");if(d)return Ij(l,us.Decorators_are_not_valid_here);u|=2048;break;case 138:if(128&u)return Ij(r,us._0_modifier_already_seen,"declare");if(1024&u)return Ij(r,us._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16&u)return Ij(r,us._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(du(t.parent)&&!uw(t))return Ij(r,us._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(169===t.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_parameter,"declare");if(4===i)return Ij(r,us._0_modifier_cannot_appear_on_a_using_declaration,"declare");if(6===i)return Ij(r,us._0_modifier_cannot_appear_on_an_await_using_declaration,"declare");if(33554432&t.parent.flags&&268===t.parent.kind)return Ij(r,us.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(Wl(t))return Ij(r,us._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(512&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");u|=128,s=r;break;case 128:if(64&u)return Ij(r,us._0_modifier_already_seen,"abstract");if(263!==t.kind&&185!==t.kind){if(174!==t.kind&&172!==t.kind&&177!==t.kind&&178!==t.kind)return Ij(r,us.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(263!==t.parent.kind||!wy(t.parent,64)){return Ij(r,172===t.kind?us.Abstract_properties_can_only_appear_within_an_abstract_class:us.Abstract_methods_can_only_appear_within_an_abstract_class)}if(256&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(2&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(1024&u&&a)return Ij(a,us._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(16&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"abstract","override");if(512&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(Ec(t)&&81===t.name.kind)return Ij(r,us._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");u|=64;break;case 134:if(1024&u)return Ij(r,us._0_modifier_already_seen,"async");if(128&u||33554432&t.parent.flags)return Ij(r,us._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(169===t.kind)return Ij(r,us._0_modifier_cannot_appear_on_a_parameter,"async");if(64&u)return Ij(r,us._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");u|=1024,a=r;break;case 103:case 147:{const e=103===r.kind?8192:16384,i=103===r.kind?"in":"out",o=kF(t.parent)&&(Uh(t.parent)||A(null==(n=Vh(t.parent))?void 0:n.tags,DF))||t.parent;if(168!==t.kind||o&&!(YI(o)||du(o)||KI(o)||DF(o)))return Ij(r,us._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,i);if(u&e)return Ij(r,us._0_modifier_already_seen,i);if(8192&e&&16384&u)return Ij(r,us._0_modifier_must_precede_1_modifier,"in","out");u|=e;break}}}return 176===t.kind?256&u?Ij(o,us._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):16&u?Ij(c,us._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):!!(1024&u)&&Ij(a,us._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):(272===t.kind||271===t.kind)&&128&u?Ij(s,us.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):169===t.kind&&31&u&&Cu(t.name)?Ij(t,us.A_parameter_property_may_not_be_declared_using_a_binding_pattern):169===t.kind&&31&u&&t.dotDotDotToken?Ij(t,us.A_parameter_property_cannot_be_declared_using_a_rest_parameter):!!(1024&u)&&function(e,t){switch(e.kind){case 174:case 262:case 218:case 219:return!1}return Ij(t,us._0_modifier_cannot_be_used_here,"async")}(t,a)}function ij(e,t){const n=A(e.modifiers,Zl);return n&&n.kind!==t?n:void 0}function oj(e,t=us.Trailing_comma_not_allowed){return!(!e||!e.hasTrailingComma)&&wj(e[0],e.end-1,1,t)}function sj(e,t){if(e&&0===e.length){const n=e.pos-1;return wj(t,n,Ks(t.text,e.end)+1-n,us.Type_parameter_list_cannot_be_empty)}return!1}function aj(e){if($>=3){const t=e.body&&DI(e.body)&&rR(e.body.statements);if(t){const n=S(e.parameters,(e=>!!e.initializer||Cu(e.name)||Qd(e)));if(l(n)){u(n,(e=>{sx(Oo(e,us.This_parameter_is_not_allowed_with_use_strict_directive),$f(t,us.use_strict_directive_used_here))}));const e=n.map(((e,t)=>$f(e,0===t?us.Non_simple_parameter_declared_here:us.and_here)));return sx(Oo(t,us.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...e),!0}}}return!1}function cj(e){const t=Ap(e);return rj(e)||sj(e.typeParameters,t)||function(e){let t=!1;const n=e.length;for(let r=0;r1||e.typeParameters.hasTrailingComma||e.typeParameters[0].constraint)&&t&&xo(t.fileName,[".mts",".cts"])&&Ij(e.typeParameters[0],us.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:n}=e,r=Ms(t,n.pos).line,i=Ms(t,n.end).line;return r!==i&&Ij(n,us.Line_terminator_not_permitted_before_arrow)}(e,t)||ou(e)&&aj(e)}function lj(e,t){return oj(t)||function(e,t){if(t&&0===t.length){const n=Ap(e),r=t.pos-1;return wj(n,r,Ks(n.text,t.end)+1-r,us.Type_argument_list_cannot_be_empty)}return!1}(e,t)}function uj(e){const t=e.types;if(oj(t))return!0;if(t&&0===t.length){const n=Is(e.token);return wj(e,t.pos,0,us._0_list_cannot_be_empty,n)}return J(t,dj)}function dj(e){return gI(e)&&nw(e.expression)&&e.typeArguments?Ij(e,us.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):lj(e,e.typeArguments)}function pj(e){if(167!==e.kind)return!1;const t=e;return 226===t.expression.kind&&28===t.expression.operatorToken.kind&&Ij(t.expression,us.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function fj(e){if(e.asteriskToken){if(un.assert(262===e.kind||218===e.kind||174===e.kind),33554432&e.flags)return Ij(e.asteriskToken,us.Generators_are_not_allowed_in_an_ambient_context);if(!e.body)return Ij(e.asteriskToken,us.An_overload_signature_cannot_be_declared_as_a_generator)}}function _j(e,t){return!!e&&Ij(e,t)}function mj(e,t){return!!e&&Ij(e,t)}function hj(e){if(Rj(e))return!0;if(250===e.kind&&e.awaitModifier&&!(65536&e.flags)){const t=Ap(e);if(nm(e)){if(!kj(t))switch(gf(t,O)||po.add($f(e.awaitModifier,us.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module)),M){case 100:case 199:if(1===t.impliedNodeFormat){po.add($f(e.awaitModifier,us.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 200:case 4:if($>=4)break;default:po.add($f(e.awaitModifier,us.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher))}}else if(!kj(t)){const t=$f(e.awaitModifier,us.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),n=W_(e);if(n&&176!==n.kind){un.assert(!(2&Ng(n)),"Enclosing function should never be an async function.");sx(t,$f(n,us.Did_you_mean_to_mark_this_function_as_async))}return po.add(t),!0}}if(OI(e)&&!(65536&e.flags)&&UD(e.initializer)&&"async"===e.initializer.escapedText)return Ij(e.initializer,us.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(261===e.initializer.kind){const t=e.initializer;if(!xj(t)){const n=t.declarations;if(!n.length)return!1;if(n.length>1){const n=249===e.kind?us.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:us.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return Dj(t.declarations[1],n)}const r=n[0];if(r.initializer){const t=249===e.kind?us.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:us.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return Ij(r.name,t)}if(r.type){return Ij(r,249===e.kind?us.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:us.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}}return!1}function gj(e){if(e.parameters.length===(177===e.kind?1:2))return ay(e)}function Aj(e,t){if(function(e){return Qg(e)&&!Zd(e)}(e))return Ij(e,t)}function yj(e){if(cj(e))return!0;if(174===e.kind){if(210===e.parent.kind){if(e.modifiers&&(1!==e.modifiers.length||134!==me(e.modifiers).kind))return Dj(e,us.Modifiers_cannot_appear_here);if(_j(e.questionToken,us.An_object_member_cannot_be_declared_optional))return!0;if(mj(e.exclamationToken,us.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===e.body)return wj(e,e.end-1,1,us._0_expected,"{")}if(fj(e))return!0}if(du(e.parent)){if($<2&&JD(e.name))return Ij(e.name,us.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(33554432&e.flags)return Aj(e.name,us.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(174===e.kind&&!e.body)return Aj(e.name,us.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(264===e.parent.kind)return Aj(e.name,us.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(187===e.parent.kind)return Aj(e.name,us.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function vj(e){return Og(e)||224===e.kind&&41===e.operator&&9===e.operand.kind}function bj(e){const t=e.initializer;if(t){const r=!(vj(t)||function(e){if((zw(e)||Yw(e)&&vj(e.argumentExpression))&&av(e.expression))return!!(1056&cq(e).flags)}(t)||112===t.kind||97===t.kind||(n=t,10===n.kind||224===n.kind&&41===n.operator&&10===n.operand.kind));if(!(n_(e)||HI(e)&&Qj(e))||e.type)return Ij(t,us.Initializers_are_not_allowed_in_ambient_contexts);if(r)return Ij(t,us.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}var n}function Cj(e){if(80===e.kind){if("__esModule"===hc(e))return function(e,t,n,...r){const i=Ap(t);if(!kj(i))return No(e,t,n,...r),!0;return!1}("noEmit",e,us.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{const t=e.elements;for(const e of t)if(!hI(e))return Cj(e.name)}return!1}function Ej(e){if(80===e.kind){if("let"===e.escapedText)return Ij(e,us.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const t=e.elements;for(const e of t)hI(e)||Ej(e.name)}return!1}function xj(e){const t=e.declarations;if(oj(e.declarations))return!0;if(!e.declarations.length)return wj(e,t.pos,t.end-t.pos,us.Variable_declaration_list_cannot_be_empty);const n=7&e.flags;return 4!==n&&6!==n||!BI(e.parent)?6===n&&MO(e):Ij(e,4===n?us.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:us.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration)}function Sj(e){switch(e.kind){case 245:case 246:case 247:case 254:case 248:case 249:case 250:return!1;case 256:return Sj(e.parent)}return!0}function kj(e){return e.parseDiagnostics.length>0}function Dj(e,t,...n){const r=Ap(e);if(!kj(r)){const i=zf(r,e.pos);return po.add(Yb(r,i.start,i.length,t,...n)),!0}return!1}function wj(e,t,n,r,...i){const o=Ap(e);return!kj(o)&&(po.add(Yb(o,t,n,r,...i)),!0)}function Ij(e,t,...n){return!kj(Ap(e))&&(po.add($f(e,t,...n)),!0)}function Tj(e){return 264!==e.kind&&265!==e.kind&&272!==e.kind&&271!==e.kind&&278!==e.kind&&277!==e.kind&&270!==e.kind&&!wy(e,2208)&&Dj(e,us.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function Fj(e){return!!(33554432&e.flags)&&function(e){for(const t of e.statements)if((ud(t)||243===t.kind)&&Tj(t))return!0;return!1}(e)}function Rj(e){if(33554432&e.flags){if(!ss(e).hasReportedStatementInAmbientContext&&(ru(e.parent)||pu(e.parent)))return ss(e).hasReportedStatementInAmbientContext=Dj(e,us.An_implementation_cannot_be_declared_in_ambient_contexts);if(241===e.parent.kind||268===e.parent.kind||307===e.parent.kind){const t=ss(e.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=Dj(e,us.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function Pj(e){const t=zp(e).includes("."),n=16&e.numericLiteralFlags;if(t||n)return;+e.text<=2**53-1||qo(!1,$f(e,us.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function Nj(e){return!!u(e.elements,(e=>{if(e.isTypeOnly)return Dj(e,276===e.kind?us.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:us.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)}))}function Bj(e,t,n){if(1048576&t.flags&&2621440&e.flags){const r=VD(t,e);if(r)return r;const i=Uf(e);if(i){const e=LD(i,t);if(e){const r=Tx(t,w(e,(e=>[()=>wu(e),e.escapedName])),n);if(r!==t)return r}}}}function Oj(e){const t=Lg(e);return t||(ow(e)?OD(Dq(e.expression)):void 0)}function qj(e){return Ne===e?je:(Ne=e,je=ic(e))}function $j(e){return Fe===e?Me:(Fe=e,Me=sc(e))}function Qj(e){const t=7&$j(e);return 2===t||4===t||6===t}}function WQ(e){return 262!==e.kind&&174!==e.kind||!!e.body}function zQ(e){switch(e.parent.kind){case 276:case 281:return UD(e)||11===e.kind;default:return lg(e)}}function YQ(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function KQ(e){return!!(1&e.flags)}function XQ(e){return!!(2&e.flags)}(wQ=DQ||(DQ={})).JSX="JSX",wQ.IntrinsicElements="IntrinsicElements",wQ.ElementClass="ElementClass",wQ.ElementAttributesPropertyNameContainer="ElementAttributesProperty",wQ.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",wQ.Element="Element",wQ.ElementType="ElementType",wQ.IntrinsicAttributes="IntrinsicAttributes",wQ.IntrinsicClassAttributes="IntrinsicClassAttributes",wQ.LibraryManagedAttributes="LibraryManagedAttributes",(IQ||(IQ={})).Fragment="Fragment";var ZQ=class e{constructor(t,n,r){var i;for(this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;n instanceof e;)n=n.inner;this.inner=n,this.moduleResolverHost=r,this.context=t,this.canTrackSymbol=!!(null==(i=this.inner)?void 0:i.trackSymbol)}trackSymbol(e,t,n){var r,i;if((null==(r=this.inner)?void 0:r.trackSymbol)&&!this.disableTrackSymbol){if(this.inner.trackSymbol(e,t,n))return this.onDiagnosticReported(),!0;262144&e.flags||((i=this.context).trackedSymbols??(i.trackedSymbols=[])).push([e,t,n])}return!1}reportInaccessibleThisError(){var e;(null==(e=this.inner)?void 0:e.reportInaccessibleThisError)&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(e){var t;(null==(t=this.inner)?void 0:t.reportPrivateInBaseOfClassExpression)&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(e))}reportInaccessibleUniqueSymbolError(){var e;(null==(e=this.inner)?void 0:e.reportInaccessibleUniqueSymbolError)&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var e;(null==(e=this.inner)?void 0:e.reportCyclicStructureError)&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(e){var t;(null==(t=this.inner)?void 0:t.reportLikelyUnsafeImportRequiredError)&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(e))}reportTruncationError(){var e;(null==(e=this.inner)?void 0:e.reportTruncationError)&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}reportNonlocalAugmentation(e,t,n){var r;(null==(r=this.inner)?void 0:r.reportNonlocalAugmentation)&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(e,t,n))}reportNonSerializableProperty(e){var t;(null==(t=this.inner)?void 0:t.reportNonSerializableProperty)&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(e))}onDiagnosticReported(){this.context.reportedDiagnostic=!0}reportInferenceFallback(e){var t;(null==(t=this.inner)?void 0:t.reportInferenceFallback)&&!this.context.suppressReportInferenceFallback&&(this.onDiagnosticReported(),this.inner.reportInferenceFallback(e))}pushErrorFallbackNode(e){var t,n;return null==(n=null==(t=this.inner)?void 0:t.pushErrorFallbackNode)?void 0:n.call(t,e)}popErrorFallbackNode(){var e,t;return null==(t=null==(e=this.inner)?void 0:e.popErrorFallbackNode)?void 0:t.call(e)}};function eL(e,t,n,r){if(void 0===e)return e;const i=t(e);let o;return void 0!==i?(o=Ye(i)?(r||pL)(i):i,un.assertNode(o,n),o):void 0}function tL(e,t,n,r,i){if(void 0===e)return e;const o=e.length;let s;(void 0===r||r<0)&&(r=0),(void 0===i||i>o-r)&&(i=o-r);let a=-1,c=-1;r>0||io-r)&&(i=o-r),rL(e,t,n,r,i)}function rL(e,t,n,r,i){let o;const s=e.length;(r>0||i=2&&(i=function(e,t){let n;for(let r=0;r{const o=rl,addSource:F,setSourceContent:R,addName:P,addMapping:N,appendSourceMap:function(e,t,n,r,i,o){un.assert(e>=C,"generatedLine cannot backtrack"),un.assert(t>=0,"generatedCharacter cannot be negative"),a();const s=[];let l;const u=bL(n.mappings);for(const a of u){if(o&&(a.generatedLine>o.line||a.generatedLine===o.line&&a.generatedCharacter>o.character))break;if(i&&(a.generatedLineJSON.stringify($())};function F(t){a();const n=ss(r,t,e.getCurrentDirectory(),e.getCanonicalFileName,!0);let i=d.get(n);return void 0===i&&(i=u.length,u.push(n),l.push(t),d.set(n,i)),c(),i}function R(e,t){if(a(),null!==t){for(o||(o=[]);o.length=C,"generatedLine cannot backtrack"),un.assert(t>=0,"generatedCharacter cannot be negative"),un.assert(void 0===n||n>=0,"sourceIndex cannot be negative"),un.assert(void 0===r||r>=0,"sourceLine cannot be negative"),un.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),a(),(function(e,t){return!w||C!==e||E!==t}(e,t)||function(e,t,n){return void 0!==e&&void 0!==t&&void 0!==n&&x===e&&(S>t||S===t&&k>n)}(n,r,i))&&(O(),C=e,E=t,I=!1,T=!1,w=!0),void 0!==n&&void 0!==r&&void 0!==i&&(x=n,S=r,k=i,I=!0,void 0!==o&&(D=o,T=!0)),c()}function B(e){f.push(e),f.length>=1024&&q()}function O(){if(w&&(!b||m!==C||h!==E||g!==x||A!==S||y!==k||v!==D)){if(a(),m0&&(_+=String.fromCharCode.apply(void 0,f),f.length=0)}function $(){return O(),q(),{version:3,file:t,sourceRoot:n,sources:u,names:p,mappings:_,sourcesContent:o}}function Q(e){e<0?e=1+(-e<<1):e<<=1;do{let n=31&e;(e>>=5)>0&&(n|=32),B((t=n)>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:un.fail(`${t}: not a base64 value`))}while(e>0);var t}}var _L=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,mL=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,hL=/^\s*(\/\/[@#] .*)?$/;function gL(e,t){return{getLineCount:()=>t.length,getLineText:n=>e.substring(t[n],t[n+1])}}function AL(e){for(let t=e.getLineCount()-1;t>=0;t--){const n=e.getLineText(t),r=mL.exec(n);if(r)return r[1].trimEnd();if(!n.match(hL))break}}function yL(e){return"string"==typeof e||null===e}function vL(e){try{const n=JSON.parse(e);if(null!==(t=n)&&"object"==typeof t&&3===t.version&&"string"==typeof t.file&&"string"==typeof t.mappings&&Ye(t.sources)&&g(t.sources,Xe)&&(void 0===t.sourceRoot||null===t.sourceRoot||"string"==typeof t.sourceRoot)&&(void 0===t.sourcesContent||null===t.sourcesContent||Ye(t.sourcesContent)&&g(t.sourcesContent,yL))&&(void 0===t.names||null===t.names||Ye(t.names)&&g(t.names,Xe)))return n}catch{}var t}function bL(e){let t,n=!1,r=0,i=0,o=0,s=0,a=0,c=0,l=0;return{get pos(){return r},get error(){return t},get state(){return u(!0,!0)},next(){for(;!n&&r=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const s=(o=e.charCodeAt(r))>=65&&o<=90?o-65:o>=97&&o<=122?o-97+26:o>=48&&o<=57?o-48+52:43===o?62:47===o?63:-1;if(-1===s)return p("Invalid character in VLQ"),-1;t=!!(32&s),i|=(31&s)<>=1,i=-i):i>>=1,i}}function CL(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex}function EL(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function xL(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function SL(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function kL(e,t){return un.assert(e.sourceIndex===t.sourceIndex),At(e.sourcePosition,t.sourcePosition)}function DL(e,t){return At(e.generatedPosition,t.generatedPosition)}function wL(e){return e.sourcePosition}function IL(e){return e.generatedPosition}function TL(e,t,n){const r=Io(n),i=t.sourceRoot?Lo(t.sourceRoot,r):r,o=Lo(t.file,r),s=e.getSourceFileLike(o),c=t.sources.map((e=>Lo(e,i))),l=new Map(c.map(((t,n)=>[e.getCanonicalFileName(t),n])));let u,d,p;return{getSourcePosition:function(e){const t=function(){if(void 0===d){const e=[];for(const t of _())e.push(t);d=Z(e,DL,SL)}return d}();if(!J(t))return e;let n=xe(t,e.pos,IL,At);n<0&&(n=~n);const r=t[n];if(void 0===r||!xL(r))return e;return{fileName:c[r.sourceIndex],pos:r.sourcePosition}},getGeneratedPosition:function(t){const n=l.get(e.getCanonicalFileName(t.fileName));if(void 0===n)return t;const r=function(e){if(void 0===p){const e=[];for(const t of _()){if(!xL(t))continue;let n=e[t.sourceIndex];n||(e[t.sourceIndex]=n=[]),n.push(t)}p=e.map((e=>Z(e,kL,SL)))}return p[e]}(n);if(!J(r))return t;let i=xe(r,t.pos,wL,At);i<0&&(i=~i);const s=r[i];if(void 0===s||s.sourceIndex!==n)return t;return{fileName:o,pos:s.generatedPosition}}};function f(n){const r=void 0!==s?Bs(s,n.generatedLine,n.generatedCharacter,!0):-1;let i,o;if(EL(n)){const r=e.getSourceFileLike(c[n.sourceIndex]);i=t.sources[n.sourceIndex],o=void 0!==r?Bs(r,n.sourceLine,n.sourceCharacter,!0):-1}return{generatedPosition:r,source:i,sourceIndex:n.sourceIndex,sourcePosition:o,nameIndex:n.nameIndex}}function _(){if(void 0===u){const n=bL(t.mappings),r=Pe(n,f);void 0!==n.error?(e.log&&e.log(`Encountered error while decoding sourcemap: ${n.error}`),u=a):u=r}return u}}var FL={getSourcePosition:st,getGeneratedPosition:st};function RL(e){return(e=uc(e))?JQ(e):0}function PL(e){return!!e&&(!(!fT(e)&&!gT(e))&&J(e.elements,NL))}function NL(e){return Gp(e.propertyName||e.name)}function BL(e,t){return function(n){return 307===n.kind?t(n):function(n){return e.factory.createBundle(w(n.sourceFiles,t))}(n)}}function OL(e){return!!Eh(e)}function qL(e){if(Eh(e))return!0;const t=e.importClause&&e.importClause.namedBindings;if(!t)return!1;if(!fT(t))return!1;let n=0;for(const e of t.elements)NL(e)&&n++;return n>0&&n!==t.elements.length||!!(t.elements.length-n)&&xh(e)}function $L(e){return!qL(e)&&(xh(e)||!!e.importClause&&fT(e.importClause.namedBindings)&&PL(e.importClause.namedBindings))}function QL(e,t){const n=e.getEmitResolver(),r=e.getCompilerOptions(),i=[],o=new UL,s=[],a=new Map,c=new Set;let l,u,d=!1,p=!1,f=!1,_=!1;for(const n of t.statements)switch(n.kind){case 272:i.push(n),!f&&qL(n)&&(f=!0),!_&&$L(n)&&(_=!0);break;case 271:283===n.moduleReference.kind&&i.push(n);break;case 278:if(n.moduleSpecifier)if(n.exportClause)if(i.push(n),gT(n.exportClause))h(n),_||(_=PL(n.exportClause));else{const e=n.exportClause.name,t=Vp(e);a.get(t)||(ML(s,RL(n),e),a.set(t,!0),l=re(l,e)),f=!0}else i.push(n),p=!0;else h(n);break;case 277:n.isExportEquals&&!u&&(u=n);break;case 243:if(wy(n,32))for(const e of n.declarationList.declarations)l=LL(e,a,l,s);break;case 262:wy(n,32)&&g(n,void 0,wy(n,2048));break;case 263:if(wy(n,32))if(wy(n,2048))d||(ML(s,RL(n),e.factory.getDeclarationName(n)),d=!0);else{const e=n.name;e&&!a.get(hc(e))&&(ML(s,RL(n),e),a.set(hc(e),!0),l=re(l,e))}}const m=mR(e.factory,e.getEmitHelperFactory(),t,r,p,f,_);return m&&i.unshift(m),{externalImports:i,exportSpecifiers:o,exportEquals:u,hasExportStarsToExportValues:p,exportedBindings:s,exportedNames:l,exportedFunctions:c,externalHelpersImportDeclaration:m};function h(e){for(const t of tt(e.exportClause,gT).elements){const r=Vp(t.name);if(!a.get(r)){const i=t.propertyName||t.name;if(11!==i.kind){e.moduleSpecifier||o.add(i,t);const r=n.getReferencedImportDeclaration(i)||n.getReferencedValueDeclaration(i);if(r){if(262===r.kind){g(r,t.name,Gp(t.name));continue}ML(s,RL(r),t.name)}}a.set(r,!0),l=re(l,t.name)}}}function g(t,n,r){if(c.add(uc(t,WI)),r)d||(ML(s,RL(t),n??e.factory.getDeclarationName(t)),d=!0);else{n??(n=t.name);const e=Vp(n);a.get(e)||(ML(s,RL(t),n),a.set(e,!0))}}}function LL(e,t,n,r){if(Cu(e.name))for(const i of e.name.elements)hI(i)||(n=LL(i,t,n,r));else if(!Vl(e.name)){const i=hc(e.name);t.get(i)||(t.set(i,!0),n=re(n,e.name),eR(e.name)&&ML(r,RL(e),e.name))}return n}function ML(e,t,n){let r=e[t];return r?r.push(n):e[t]=r=[n],r}var jL=class e{constructor(){this._map=new Map}get size(){return this._map.size}has(t){return this._map.has(e.toKey(t))}get(t){return this._map.get(e.toKey(t))}set(t,n){return this._map.set(e.toKey(t),n),this}delete(t){var n;return(null==(n=this._map)?void 0:n.delete(e.toKey(t)))??!1}clear(){this._map.clear()}values(){return this._map.values()}static toKey(t){if(Hl(t)||Vl(t)){const n=t.emitNode.autoGenerate;if(4==(7&n.flags)){const r=YR(t),i=pl(r)&&r!==t?e.toKey(r):`(generated@${JQ(r)})`;return ZR(!1,n.prefix,i,n.suffix,e.toKey)}{const t=`(auto@${n.id})`;return ZR(!1,n.prefix,t,n.suffix,e.toKey)}}return JD(t)?hc(t).slice(1):hc(t)}},UL=class extends jL{add(e,t){let n=this.get(e);return n?n.push(t):this.set(e,n=[t]),n}remove(e,t){const n=this.get(e);n&&(Ut(n,t),n.length||this.delete(e))}};function JL(e){return Od(e)||9===e.kind||Sg(e.kind)||UD(e)}function VL(e){return!UD(e)&&JL(e)}function HL(e){return e>=65&&e<=79}function GL(e){switch(e){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function WL(e){if(!TI(e))return;const t=sg(e.expression);return c_(t)?t:void 0}function zL(e,t,n){for(let r=t;rfunction(e,t,n){return uw(e)&&(!!e.initializer||!t)&&Ty(e)===n}(e,t,n)))}function XL(e){return uw(t=e)&&Ty(t)||fw(e);var t}function ZL(e){return S(e.members,XL)}function eM(e){return 172===e.kind&&void 0!==e.initializer}function tM(e){return!Iy(e)&&(mu(e)||fu(e))&&JD(e.name)}function nM(e){let t;if(e){const n=e.parameters,r=n.length>0&&cy(n[0]),i=r?1:0,o=r?n.length-1:n.length;for(let e=0;eaM(e.privateEnv,t)))}function uM(e){return!e.initializer&&UD(e.name)}function dM(e){return g(e,uM)}function pM(e,t){if(!e||!kD(e)||!bh(e.text,t))return e;const n=HE(e.text,Mj(e.text,t));return n!==e.text?ek(aP(XS.createStringLiteral(n,e.singleQuote),e),e):e}var fM=(e=>(e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",e))(fM||{});function _M(e,t,n,r,i,o){let s,a,c=e;if(ov(e))for(s=e.right;yv(e.left)||Av(e.left);){if(!ov(s))return un.checkDefined(eL(s,t,Ju));c=e=s,s=e.right}const l={context:n,level:r,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:u,emitBindingOrAssignment:function(e,r,i,s){un.assertNode(e,o?UD:Ju);const a=o?o(e,r,i):aP(n.factory.createAssignment(un.checkDefined(eL(e,t,Ju)),r),i);a.original=s,u(a)},createArrayBindingOrAssignmentPattern:e=>function(e,t){return un.assertEachNode(t,Fu),e.createArrayLiteralExpression(w(t,e.converters.convertToArrayAssignmentElement))}(n.factory,e),createObjectBindingOrAssignmentPattern:e=>function(e,t){return un.assertEachNode(t,Iu),e.createObjectLiteralExpression(w(t,e.converters.convertToObjectAssignmentElement))}(n.factory,e),createArrayBindingOrAssignmentElement:CM,visitor:t};if(s&&(s=eL(s,t,Ju),un.assert(s),UD(s)&&mM(e,s.escapedText)||hM(e)?s=bM(l,s,!1,c):i?s=bM(l,s,!0,c):eA(e)&&(c=s)),AM(l,e,s,c,ov(e)),s&&i){if(!J(a))return s;a.push(s)}return n.factory.inlineExpressions(a)||n.factory.createOmittedExpression();function u(e){a=re(a,e)}}function mM(e,t){const n=vR(e);return Du(n)?function(e,t){const n=SR(e);for(const e of n)if(mM(e,t))return!0;return!1}(n,t):!!UD(n)&&n.escapedText===t}function hM(e){const t=ER(e);if(t&&ow(t)&&!Pl(t.expression))return!0;const n=vR(e);return!!n&&Du(n)&&function(e){return!!u(SR(e),hM)}(n)}function gM(e,t,n,r,i,o=!1,s){let a;const c=[],l=[],u={context:n,level:r,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:o,emitExpression:function(e){a=re(a,e)},emitBindingOrAssignment:d,createArrayBindingOrAssignmentPattern:e=>function(e,t){return un.assertEachNode(t,xu),e.createArrayBindingPattern(t)}(n.factory,e),createObjectBindingOrAssignmentPattern:e=>function(e,t){return un.assertEachNode(t,Hw),e.createObjectBindingPattern(t)}(n.factory,e),createArrayBindingOrAssignmentElement:e=>function(e,t){return e.createBindingElement(void 0,void 0,t)}(n.factory,e),visitor:t};if(HI(e)){let t=yR(e);t&&(UD(t)&&mM(e,t.escapedText)||hM(e))&&(t=bM(u,un.checkDefined(eL(t,u.visitor,Ju)),!1,t),e=n.factory.updateVariableDeclaration(e,e.name,void 0,void 0,t))}if(AM(u,e,i,e,s),a){const e=n.factory.createTempVariable(void 0);if(o){const t=n.factory.inlineExpressions(a);a=void 0,d(e,t,void 0,void 0)}else{n.hoistVariableDeclaration(e);const t=Ae(c);t.pendingExpressions=re(t.pendingExpressions,n.factory.createAssignment(e,t.value)),se(t.pendingExpressions,a),t.value=e}}for(const{pendingExpressions:e,name:t,value:r,location:i,original:o}of c){const s=n.factory.createVariableDeclaration(t,void 0,void 0,e?n.factory.inlineExpressions(re(e,r)):r);s.original=o,aP(s,i),l.push(s)}return l;function d(e,t,r,i){un.assertNode(e,nu),a&&(t=n.factory.inlineExpressions(re(a,t)),a=void 0),c.push({pendingExpressions:a,name:e,value:t,location:r,original:i})}}function AM(e,t,n,r,i){const o=vR(t);if(!i){const i=eL(yR(t),e.visitor,Ju);i?n?(n=function(e,t,n,r){return t=bM(e,t,!0,r),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(t,"undefined"),void 0,n,void 0,t)}(e,n,i,r),!VL(i)&&Du(o)&&(n=bM(e,n,!0,r))):n=i:n||(n=e.context.factory.createVoidZero())}wu(o)?function(e,t,n,r,i){const o=SR(n),s=o.length;if(1!==s){r=bM(e,r,!Su(t)||0!==s,i)}let a,c;for(let t=0;t=1)||98304&l.transformFlags||98304&vR(l).transformFlags||ow(t)){a&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(a),r,i,n),a=void 0);const o=vM(e,r,t);ow(t)&&(c=re(c,o.argumentExpression)),AM(e,l,o,l)}else a=re(a,eL(l,e.visitor,ku))}}a&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(a),r,i,n)}(e,t,o,n,r):Tu(o)?function(e,t,n,r,i){const o=SR(n),s=o.length;if(e.level<1&&e.downlevelIteration)r=bM(e,aP(e.context.getEmitHelperFactory().createReadHelper(r,s>0&&bR(o[s-1])?void 0:s),i),!1,i);else if(1!==s&&(e.level<1||0===s)||g(o,hI)){r=bM(e,r,!Su(t)||0!==s,i)}let a,c;for(let t=0;t=1)if(65536&n.transformFlags||e.hasTransformedPriorElement&&!yM(n)){e.hasTransformedPriorElement=!0;const t=e.context.factory.createTempVariable(void 0);e.hoistTempVariables&&e.context.hoistVariableDeclaration(t),c=re(c,[t,n]),a=re(a,e.createArrayBindingOrAssignmentElement(t))}else a=re(a,n);else{if(hI(n))continue;if(bR(n)){if(t===s-1){const i=e.context.factory.createArraySliceCall(r,t);AM(e,n,i,n)}}else{const i=e.context.factory.createElementAccessExpression(r,t);AM(e,n,i,n)}}}a&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(a),r,i,n);if(c)for(const[t,n]of c)AM(e,n,t,n)}(e,t,o,n,r):e.emitBindingOrAssignment(o,n,r,t)}function yM(e){const t=vR(e);if(!t||hI(t))return!0;const n=ER(e);if(n&&!Mg(n))return!1;const r=yR(e);return!(r&&!VL(r))&&(Du(t)?g(SR(t),yM):UD(t))}function vM(e,t,n){const{factory:r}=e.context;if(ow(n)){const r=bM(e,un.checkDefined(eL(n.expression,e.visitor,Ju)),!1,n);return e.context.factory.createElementAccessExpression(t,r)}if(Og(n)||SD(n)){const i=r.cloneNode(n);return e.context.factory.createElementAccessExpression(t,i)}{const r=e.context.factory.createIdentifier(hc(n));return e.context.factory.createPropertyAccessExpression(t,r)}}function bM(e,t,n,r){if(UD(t)&&n)return t;{const n=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(n),e.emitExpression(aP(e.context.factory.createAssignment(n,t),r))):e.emitBindingOrAssignment(n,t,r,void 0),n}}function CM(e){return e}function EM(e){var t;if(!fw(e)||1!==e.body.statements.length)return!1;const n=e.body.statements[0];return TI(n)&&iv(n.expression,!0)&&UD(n.expression.left)&&(null==(t=e.emitNode)?void 0:t.classThis)===n.expression.left&&110===n.expression.right.kind}function xM(e){var t;return!!(null==(t=e.emitNode)?void 0:t.classThis)&&J(e.members,EM)}function SM(e,t,n,r){if(xM(t))return t;const i=function(e,t,n=e.createThis()){const r=e.createAssignment(t,n),i=e.createExpressionStatement(r),o=e.createBlock([i],!1),s=e.createClassStaticBlockDeclaration(o);return tk(s).classThis=t,s}(e,n,r);t.name&&lk(i.body.statements[0],t.name);const o=e.createNodeArray([i,...t.members]);aP(o,t.members);const s=zI(t)?e.updateClassDeclaration(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,o):e.updateClassExpression(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,o);return tk(s).classThis=n,s}function kM(e,t,n){const r=uc(uR(n));return(zI(r)||WI(r))&&!r.name&&wy(r,2048)?e.createStringLiteral("default"):e.createStringLiteralFromNode(t)}function DM(e,t,n){const{factory:r}=e;if(void 0!==n){return{assignedName:r.createStringLiteral(n),name:t}}if(Mg(t)||JD(t)){return{assignedName:r.createStringLiteralFromNode(t),name:t}}if(Mg(t.expression)&&!UD(t.expression)){return{assignedName:r.createStringLiteralFromNode(t.expression),name:t}}const i=r.getGeneratedNameForNode(t);e.hoistVariableDeclaration(i);const o=e.getEmitHelperFactory().createPropKeyHelper(t.expression),s=r.createAssignment(i,o);return{assignedName:i,name:r.updateComputedPropertyName(t,s)}}function wM(e){var t;if(!fw(e)||1!==e.body.statements.length)return!1;const n=e.body.statements[0];return TI(n)&&ED(n.expression,"___setFunctionName")&&n.expression.arguments.length>=2&&n.expression.arguments[1]===(null==(t=e.emitNode)?void 0:t.assignedName)}function IM(e){var t;return!!(null==(t=e.emitNode)?void 0:t.assignedName)&&J(e.members,wM)}function TM(e){return!!e.name||IM(e)}function FM(e,t,n,r){if(IM(t))return t;const{factory:i}=e,o=function(e,t,n=e.factory.createThis()){const{factory:r}=e,i=e.getEmitHelperFactory().createSetFunctionNameHelper(n,t),o=r.createExpressionStatement(i),s=r.createBlock([o],!1),a=r.createClassStaticBlockDeclaration(s);return tk(a).assignedName=t,a}(e,n,r);t.name&&lk(o.body.statements[0],t.name);const s=v(t.members,EM)+1,a=t.members.slice(0,s),c=t.members.slice(s),l=i.createNodeArray([...a,o,...c]);return aP(l,t.members),tk(t=zI(t)?i.updateClassDeclaration(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,l):i.updateClassExpression(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,l)).assignedName=n,t}function RM(e,t,n,r){if(r&&kD(n)&&Am(n))return t;const{factory:i}=e,o=uR(t),s=mI(o)?tt(FM(e,o,n),mI):e.getEmitHelperFactory().createSetFunctionNameHelper(o,n);return i.restoreOuterExpressions(t,s)}function PM(e,t,n,r){switch(t.kind){case 303:return function(e,t,n,r){const{factory:i}=e,{assignedName:o,name:s}=DM(e,t.name,r),a=RM(e,t.initializer,o,n);return i.updatePropertyAssignment(t,s,a)}(e,t,n,r);case 304:return function(e,t,n,r){const{factory:i}=e,o=void 0!==r?i.createStringLiteral(r):kM(i,t.name,t.objectAssignmentInitializer),s=RM(e,t.objectAssignmentInitializer,o,n);return i.updateShorthandPropertyAssignment(t,t.name,s)}(e,t,n,r);case 260:return function(e,t,n,r){const{factory:i}=e,o=void 0!==r?i.createStringLiteral(r):kM(i,t.name,t.initializer),s=RM(e,t.initializer,o,n);return i.updateVariableDeclaration(t,t.name,t.exclamationToken,t.type,s)}(e,t,n,r);case 169:return function(e,t,n,r){const{factory:i}=e,o=void 0!==r?i.createStringLiteral(r):kM(i,t.name,t.initializer),s=RM(e,t.initializer,o,n);return i.updateParameterDeclaration(t,t.modifiers,t.dotDotDotToken,t.name,t.questionToken,t.type,s)}(e,t,n,r);case 208:return function(e,t,n,r){const{factory:i}=e,o=void 0!==r?i.createStringLiteral(r):kM(i,t.name,t.initializer),s=RM(e,t.initializer,o,n);return i.updateBindingElement(t,t.dotDotDotToken,t.propertyName,t.name,s)}(e,t,n,r);case 172:return function(e,t,n,r){const{factory:i}=e,{assignedName:o,name:s}=DM(e,t.name,r),a=RM(e,t.initializer,o,n);return i.updatePropertyDeclaration(t,t.modifiers,s,t.questionToken??t.exclamationToken,t.type,a)}(e,t,n,r);case 226:return function(e,t,n,r){const{factory:i}=e,o=void 0!==r?i.createStringLiteral(r):kM(i,t.left,t.right),s=RM(e,t.right,o,n);return i.updateBinaryExpression(t,t.left,t.operatorToken,s)}(e,t,n,r);case 277:return function(e,t,n,r){const{factory:i}=e,o=void 0!==r?i.createStringLiteral(r):i.createStringLiteral(t.isExportEquals?"":"default"),s=RM(e,t.expression,o,n);return i.updateExportAssignment(t,t.modifiers,s)}(e,t,n,r)}}var NM=(e=>(e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",e))(NM||{});function BM(e,t,n,r,i,o){const s=eL(t.tag,n,Ju);un.assert(s);const a=[void 0],c=[],l=[],u=t.template;if(0===o&&!_A(u))return uL(t,n,e);const{factory:d}=e;if(ID(u))c.push(OM(d,u)),l.push(qM(d,u,r));else{c.push(OM(d,u.head)),l.push(qM(d,u.head,r));for(const e of u.templateSpans)c.push(OM(d,e.literal)),l.push(qM(d,e.literal,r)),a.push(un.checkDefined(eL(e.expression,n,Ju)))}const p=e.getEmitHelperFactory().createTemplateObjectHelper(d.createArrayLiteralExpression(c),d.createArrayLiteralExpression(l));if(UP(r)){const e=d.createUniqueName("templateObject");i(e),a[0]=d.createLogicalOr(e,d.createAssignment(e,p))}else a[0]=p;return d.createCallExpression(s,void 0,a)}function OM(e,t){return 26656&t.templateFlags?e.createVoidZero():e.createStringLiteral(t.text)}function qM(e,t,n){let r=t.rawText;if(void 0===r){un.assertIsDefined(n,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),r=Up(n,t);const e=15===t.kind||18===t.kind;r=r.substring(1,r.length-(e?1:2))}return r=r.replace(/\r\n?/g,"\n"),aP(e.createStringLiteral(r),t)}function $M(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:r,resumeLexicalEnvironment:i,endLexicalEnvironment:o,hoistVariableDeclaration:s}=e,a=e.getEmitResolver(),c=e.getCompilerOptions(),l=yC(c),u=vC(c),d=!!c.experimentalDecorators,p=c.emitDecoratorMetadata?MM(e):void 0,f=e.onEmitNode,_=e.onSubstituteNode;let m,h,g,A,y;e.onEmitNode=function(e,t,n){const r=v,i=m;JT(t)&&(m=t);2&b&&function(e){return 267===uc(e).kind}(t)&&(v|=2);8&b&&function(e){return 266===uc(e).kind}(t)&&(v|=8);f(e,t,n),v=r,m=i},e.onSubstituteNode=function(e,n){if(n=_(e,n),1===e)return function(e){switch(e.kind){case 80:return function(e){return Ee(e)||e}(e);case 211:case 212:return function(e){return xe(e)}(e)}return e}(n);if(MT(n))return function(e){if(2&b){const n=e.name,r=Ee(n);if(r){if(e.objectAssignmentInitializer){const i=t.createAssignment(r,e.objectAssignmentInitializer);return aP(t.createPropertyAssignment(n,i),e)}return aP(t.createPropertyAssignment(n,r),e)}}return e}(n);return n},e.enableSubstitution(211),e.enableSubstitution(212);let v,b=0;return function(e){if(308===e.kind)return function(e){return t.createBundle(e.sourceFiles.map(C))}(e);return C(e)};function C(t){if(t.isDeclarationFile)return t;m=t;const n=E(t,Q);return kk(n,e.readEmitHelpers()),m=void 0,n}function E(e,t){const n=A,r=y;!function(e){switch(e.kind){case 307:case 269:case 268:case 241:A=e,y=void 0;break;case 263:case 262:if(wy(e,128))break;e.name?ie(e):un.assert(263===e.kind||wy(e,2048))}}(e);const i=t(e);return A!==n&&(y=r),A=n,i}function x(e){return E(e,k)}function k(e){return 1&e.transformFlags?$(e):e}function D(e){return E(e,I)}function I(n){switch(n.kind){case 272:case 271:case 277:case 278:return function(n){if(function(e){const t=fc(e);if(t===e||mT(e))return!1;if(!t||t.kind!==e.kind)return!0;switch(e.kind){case 272:if(un.assertNode(t,iT),e.importClause!==t.importClause)return!0;if(e.attributes!==t.attributes)return!0;break;case 271:if(un.assertNode(t,rT),e.name!==t.name)return!0;if(e.isTypeOnly!==t.isTypeOnly)return!0;if(e.moduleReference!==t.moduleReference&&(eu(e.moduleReference)||eu(t.moduleReference)))return!0;break;case 278:if(un.assertNode(t,hT),e.exportClause!==t.exportClause)return!0;if(e.attributes!==t.attributes)return!0}return!1}(n))return 1&n.transformFlags?uL(n,x,e):n;switch(n.kind){case 272:return function(e){if(!e.importClause)return e;if(e.importClause.isTypeOnly)return;const n=eL(e.importClause,ue,oT);return n?t.updateImportDeclaration(e,void 0,n,e.moduleSpecifier,e.attributes):void 0}(n);case 271:return _e(n);case 277:return function(t){return c.verbatimModuleSyntax||a.isValueAliasDeclaration(t)?uL(t,x,e):void 0}(n);case 278:return function(e){if(e.isTypeOnly)return;if(!e.exportClause||pT(e.exportClause))return t.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.attributes);const n=!!c.verbatimModuleSyntax,r=eL(e.exportClause,(e=>function(e,n){return pT(e)?function(e){return t.updateNamespaceExport(e,un.checkDefined(eL(e.name,x,UD)))}(e):function(e,n){const r=tL(e.elements,fe,AT);return n||J(r)?t.updateNamedExports(e,r):void 0}(e,n)}(e,n)),kl);return r?t.updateExportDeclaration(e,void 0,e.isTypeOnly,r,e.moduleSpecifier,e.attributes):void 0}(n);default:un.fail("Unhandled ellided statement")}}(n);default:return k(n)}}function T(e){return E(e,F)}function F(e){if(278!==e.kind&&272!==e.kind&&273!==e.kind&&(271!==e.kind||283!==e.moduleReference.kind))return 1&e.transformFlags||wy(e,32)?$(e):e}function R(n){return r=>E(r,(r=>function(n,r){switch(n.kind){case 176:return function(n){if(!W(n))return;return t.updateConstructorDeclaration(n,void 0,oL(n.parameters,x,e),function(n,r){const s=r&&S(r.parameters,(e=>Za(e,r)));if(!J(s))return aL(n,x,e);let a=[];i();const c=t.copyPrologue(n.statements,a,!1,x),l=YL(n.statements,c),u=q(s,Y);l.length?z(a,n.statements,c,l,0,u):(se(a,u),se(a,tL(n.statements,x,fd,c)));a=t.mergeLexicalEnvironment(a,o());const d=t.createBlock(aP(t.createNodeArray(a),n.statements),!0);return aP(d,n),ek(d,n),d}(n.body,n))}(n);case 172:return function(e,n){const r=33554432&e.flags||wy(e,64);if(r&&(!d||!Oy(e)))return;let i=du(n)?tL(e.modifiers,r?B:x,hu):tL(e.modifiers,N,hu);if(i=U(i,e,n),r)return t.updatePropertyDeclaration(e,H(i,t.createModifiersFromModifierFlags(128)),un.checkDefined(eL(e.name,x,tu)),void 0,void 0,void 0);return t.updatePropertyDeclaration(e,i,G(e),void 0,void 0,eL(e.initializer,x,Ju))}(n,r);case 177:return Z(n,r);case 178:return ee(n,r);case 174:return K(n,r);case 175:return uL(n,x,e);case 240:return n;case 181:return;default:return un.failBadSyntaxKind(n)}}(r,n)))}function P(e){return t=>E(t,(t=>function(e,t){switch(e.kind){case 303:case 304:case 305:return x(e);case 177:return Z(e,t);case 178:return ee(e,t);case 174:return K(e,t);default:return un.failBadSyntaxKind(e)}}(t,e)))}function N(e){return cw(e)?void 0:x(e)}function B(e){return Zl(e)?void 0:x(e)}function O(e){if(!cw(e)&&!(28895&Wy(e.kind)||h&&95===e.kind))return e}function $(n){if(fd(n)&&wy(n,128))return t.createNotEmittedStatement(n);switch(n.kind){case 95:case 90:return h?void 0:n;case 125:case 123:case 124:case 128:case 164:case 87:case 138:case 148:case 103:case 147:case 188:case 189:case 190:case 191:case 187:case 182:case 168:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 185:case 184:case 186:case 183:case 192:case 193:case 194:case 196:case 197:case 198:case 199:case 200:case 201:case 181:case 270:return;case 265:case 264:return t.createNotEmittedStatement(n);case 263:return function(n){const r=function(e){let t=0;J(KL(e,!0,!0))&&(t|=1);const n=Ag(e);n&&106!==uR(n.expression).kind&&(t|=64);hm(d,e)&&(t|=2);mm(d,e)&&(t|=4);me(e)?t|=8:!function(e){return he(e)&&wy(e,2048)}(e)?ge(e)&&(t|=16):t|=32;return t}(n),i=l<=1&&!!(7&r);if(!function(e){return Oy(e)||J(e.typeParameters)||J(e.heritageClauses,L)||J(e.members,L)}(n)&&!hm(d,n)&&!me(n))return t.updateClassDeclaration(n,tL(n.modifiers,O,Zl),n.name,void 0,tL(n.heritageClauses,x,$T),tL(n.members,R(n),uu));i&&e.startLexicalEnvironment();const o=i||8&r;let s=tL(n.modifiers,o?B:x,hu);2&r&&(s=j(s,n));const a=o&&!n.name||4&r||1&r,c=a?n.name??t.getGeneratedNameForNode(n):n.name,u=t.updateClassDeclaration(n,s,c,void 0,tL(n.heritageClauses,x,$T),M(n));let p,f=Xp(n);1&r&&(f|=64);if(ik(u,f),i){const r=[u],i=$v(Ks(m.text,n.members.end),20),o=t.getInternalName(n),s=t.createPartiallyEmittedExpression(o);xx(s,i.end),ik(s,3072);const a=t.createReturnStatement(s);Ex(a,i.pos),ik(a,3840),r.push(a),Pp(r,e.endLexicalEnvironment());const c=t.createImmediatelyInvokedArrowFunction(r);sk(c,1);const l=t.createVariableDeclaration(t.getLocalName(n,!1,!1),void 0,void 0,c);ek(l,n);const d=t.createVariableStatement(void 0,t.createVariableDeclarationList([l],1));ek(d,n),mk(d,n),lk(d,Ov(n)),pR(d),p=d}else p=u;if(o){if(8&r)return[p,Ae(n)];if(32&r)return[p,t.createExportDefault(t.getLocalName(n,!1,!0))];if(16&r)return[p,t.createExternalModuleExport(t.getDeclarationName(n,!1,!0))]}return p}(n);case 231:return function(e){let n=tL(e.modifiers,B,hu);hm(d,e)&&(n=j(n,e));return t.updateClassExpression(e,n,e.name,void 0,tL(e.heritageClauses,x,$T),M(e))}(n);case 298:return function(t){if(119===t.token)return;return uL(t,x,e)}(n);case 233:return function(e){return t.updateExpressionWithTypeArguments(e,un.checkDefined(eL(e.expression,x,$u)),void 0)}(n);case 210:return function(e){return t.updateObjectLiteralExpression(e,tL(e.properties,P(e),yu))}(n);case 176:case 172:case 174:case 177:case 178:case 175:return un.fail("Class and object literal elements must be visited with their respective visitors");case 262:return function(n){if(!W(n))return t.createNotEmittedStatement(n);const r=t.updateFunctionDeclaration(n,tL(n.modifiers,O,Zl),n.asteriskToken,n.name,void 0,oL(n.parameters,x,e),void 0,aL(n.body,x,e)||t.createBlock([]));if(me(n)){const e=[r];return function(e,t){e.push(Ae(t))}(e,n),e}return r}(n);case 218:return function(n){if(!W(n))return t.createOmittedExpression();const r=t.updateFunctionExpression(n,tL(n.modifiers,O,Zl),n.asteriskToken,n.name,void 0,oL(n.parameters,x,e),void 0,aL(n.body,x,e)||t.createBlock([]));return r}(n);case 219:return function(n){const r=t.updateArrowFunction(n,tL(n.modifiers,O,Zl),void 0,oL(n.parameters,x,e),void 0,n.equalsGreaterThanToken,aL(n.body,x,e));return r}(n);case 169:return function(e){if(cy(e))return;const n=t.updateParameterDeclaration(e,tL(e.modifiers,(e=>cw(e)?x(e):void 0),hu),e.dotDotDotToken,un.checkDefined(eL(e.name,x,nu)),void 0,void 0,eL(e.initializer,x,Ju));n!==e&&(mk(n,e),aP(n,qv(e)),lk(n,qv(e)),ik(n.name,64));return n}(n);case 217:return function(n){const r=uR(n.expression,-23);if(Vu(r)||yI(r)){const e=eL(n.expression,x,Ju);return un.assert(e),t.createPartiallyEmittedExpression(e,n)}return uL(n,x,e)}(n);case 216:case 234:return function(e){const n=eL(e.expression,x,Ju);return un.assert(n),t.createPartiallyEmittedExpression(n,e)}(n);case 238:return function(e){const n=eL(e.expression,x,Ju);return un.assert(n),t.createPartiallyEmittedExpression(n,e)}(n);case 213:return function(e){return t.updateCallExpression(e,un.checkDefined(eL(e.expression,x,Ju)),void 0,tL(e.arguments,x,Ju))}(n);case 214:return function(e){return t.updateNewExpression(e,un.checkDefined(eL(e.expression,x,Ju)),void 0,tL(e.arguments,x,Ju))}(n);case 215:return function(e){return t.updateTaggedTemplateExpression(e,un.checkDefined(eL(e.tag,x,Ju)),void 0,un.checkDefined(eL(e.template,x,qu)))}(n);case 235:return function(e){const n=eL(e.expression,x,$u);return un.assert(n),t.createPartiallyEmittedExpression(n,e)}(n);case 266:return function(e){if(!function(e){return!t_(e)||TC(c)}(e))return t.createNotEmittedStatement(e);const n=[];let i=4;const s=ae(n,e);s&&(4===u&&A===m||(i|=1024));const a=be(e),l=Ce(e),d=me(e)?t.getExternalModuleOrNamespaceExportName(g,e,!1,!0):t.getDeclarationName(e,!1,!0);let p=t.createLogicalOr(d,t.createAssignment(d,t.createObjectLiteralExpression()));if(me(e)){const n=t.getLocalName(e,!1,!0);p=t.createAssignment(n,p)}const f=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,a)],void 0,function(e,n){const i=g;g=n;const s=[];r();const a=w(e.members,ne);return Pp(s,o()),se(s,a),g=i,t.createBlock(aP(t.createNodeArray(s),e.members),!0)}(e,l)),void 0,[p]));ek(f,e),s&&(gk(f,void 0),vk(f,void 0));return aP(f,e),ok(f,i),n.push(f),n}(n);case 243:return function(n){if(me(n)){const e=eb(n.declarationList);if(0===e.length)return;return aP(t.createExpressionStatement(t.inlineExpressions(w(e,te))),n)}return uL(n,x,e)}(n);case 260:return function(e){const n=t.updateVariableDeclaration(e,un.checkDefined(eL(e.name,x,nu)),void 0,void 0,eL(e.initializer,x,Ju));e.type&&Pk(n.name,e.type);return n}(n);case 267:return ce(n);case 271:return _e(n);case 285:return function(e){return t.updateJsxSelfClosingElement(e,un.checkDefined(eL(e.tagName,x,hd)),void 0,un.checkDefined(eL(e.attributes,x,RT)))}(n);case 286:return function(e){return t.updateJsxOpeningElement(e,un.checkDefined(eL(e.tagName,x,hd)),void 0,un.checkDefined(eL(e.attributes,x,RT)))}(n);default:return uL(n,x,e)}}function Q(n){const r=LC(c,"alwaysStrict")&&!(UP(n)&&u>=5)&&!e_(n);return t.updateSourceFile(n,iL(n.statements,D,e,0,r))}function L(e){return!!(8192&e.transformFlags)}function M(e){const n=tL(e.members,R(e),uu);let r;const i=iy(e),o=i&&S(i.parameters,(e=>Za(e,i)));if(o)for(const e of o){const n=t.createPropertyDeclaration(void 0,e.name,void 0,void 0,void 0);ek(n,e),r=re(r,n)}return r?(r=se(r,n),aP(t.createNodeArray(r),e.members)):n}function j(e,n){const r=V(n,n);if(J(r)){const n=[];se(n,an(e,WR)),se(n,S(e,cw)),se(n,r),se(n,S(cn(e,WR),Zl)),e=aP(t.createNodeArray(n),e)}return e}function U(e,n,r){if(du(r)&&gm(d,n,r)){const i=V(n,r);if(J(i)){const n=[];se(n,S(e,cw)),se(n,i),se(n,S(e,Zl)),e=aP(t.createNodeArray(n),e)}}return e}function V(e,r){if(d)return function(e,r){if(p){let i;if(function(e){const t=e.kind;return 174===t||177===t||178===t||172===t}(e)){const o=n().createMetadataHelper("design:type",p.serializeTypeOfNode({currentLexicalScope:A,currentNameScope:r},e,r));i=re(i,t.createDecorator(o))}if(function(e){switch(e.kind){case 263:case 231:return void 0!==iy(e);case 174:case 177:case 178:return!0}return!1}(e)){const o=n().createMetadataHelper("design:paramtypes",p.serializeParameterTypesOfNode({currentLexicalScope:A,currentNameScope:r},e,r));i=re(i,t.createDecorator(o))}if(function(e){return 174===e.kind}(e)){const o=n().createMetadataHelper("design:returntype",p.serializeReturnTypeOfNode({currentLexicalScope:A,currentNameScope:r},e));i=re(i,t.createDecorator(o))}return i}}(e,r)}function G(e){const n=e.name;if(d&&ow(n)&&Oy(e)){const e=eL(n.expression,x,Ju);un.assert(e);if(!VL(El(e))){const r=t.getGeneratedNameForNode(n);return s(r),t.updateComputedPropertyName(n,t.createAssignment(r,e))}}return un.checkDefined(eL(n,x,tu))}function W(e){return!kp(e.body)}function z(e,n,r,i,o,s){const a=i[o],c=n[a];if(se(e,tL(n,x,fd,r,a-r)),JI(c)){const n=[];z(n,c.tryBlock.statements,0,i,o+1,s);aP(t.createNodeArray(n),c.tryBlock.statements),e.push(t.updateTryStatement(c,t.updateBlock(c.tryBlock,n),eL(c.catchClause,x,QT),eL(c.finallyBlock,x,DI)))}else se(e,tL(n,x,fd,a,1)),se(e,s);se(e,tL(n,x,fd,a+1))}function Y(e){const n=e.name;if(!UD(n))return;const r=wx(aP(t.cloneNode(n),n),n.parent);ik(r,3168);const i=wx(aP(t.cloneNode(n),n),n.parent);return ik(i,3072),pR(rk(aP(ek(t.createExpressionStatement(t.createAssignment(aP(t.createPropertyAccessExpression(t.createThis(),r),e.name),i)),e),Bv(e,-1))))}function K(n,r){if(!(1&n.transformFlags))return n;if(!W(n))return;let i=du(r)?tL(n.modifiers,x,hu):tL(n.modifiers,N,hu);return i=U(i,n,r),t.updateMethodDeclaration(n,i,n.asteriskToken,G(n),void 0,void 0,oL(n.parameters,x,e),void 0,aL(n.body,x,e))}function X(e){return!(kp(e.body)&&wy(e,64))}function Z(n,r){if(!(1&n.transformFlags))return n;if(!X(n))return;let i=du(r)?tL(n.modifiers,x,hu):tL(n.modifiers,N,hu);return i=U(i,n,r),t.updateGetAccessorDeclaration(n,i,G(n),oL(n.parameters,x,e),void 0,aL(n.body,x,e)||t.createBlock([]))}function ee(n,r){if(!(1&n.transformFlags))return n;if(!X(n))return;let i=du(r)?tL(n.modifiers,x,hu):tL(n.modifiers,N,hu);return i=U(i,n,r),t.updateSetAccessorDeclaration(n,i,G(n),oL(n.parameters,x,e),aL(n.body,x,e)||t.createBlock([]))}function te(n){const r=n.name;return Cu(r)?_M(n,x,e,0,!1,ye):aP(t.createAssignment(ve(r),un.checkDefined(eL(n.initializer,x,Ju))),n)}function ne(n){const r=function(e){const n=e.name;return JD(n)?t.createIdentifier(""):ow(n)?n.expression:UD(n)?t.createStringLiteral(hc(n)):t.cloneNode(n)}(n),i=a.getEnumMemberValue(n),o=function(n,r){return void 0!==r?"string"==typeof r?t.createStringLiteral(r):r<0?t.createPrefixUnaryExpression(41,t.createNumericLiteral(-r)):t.createNumericLiteral(r):(8&b||(b|=8,e.enableSubstitution(80)),n.initializer?un.checkDefined(eL(n.initializer,x,Ju)):t.createVoidZero())}(n,null==i?void 0:i.value),s=t.createAssignment(t.createElementAccessExpression(g,r),o),c="string"==typeof(null==i?void 0:i.value)||(null==i?void 0:i.isSyntacticallyString)?s:t.createAssignment(t.createElementAccessExpression(g,s),r);return aP(t.createExpressionStatement(aP(c,n)),n)}function ie(e){y||(y=new Map);const t=oe(e);y.has(t)||y.set(t,e)}function oe(e){return un.assertNode(e.name,UD),e.name.escapedText}function ae(e,n){const r=t.createVariableDeclaration(t.getLocalName(n,!1,!0)),i=307===A.kind?0:1,o=t.createVariableStatement(tL(n.modifiers,O,Zl),t.createVariableDeclarationList([r],i));return ek(r,n),gk(r,void 0),vk(r,void 0),ek(o,n),ie(n),!!function(e){if(y){const t=oe(e);return y.get(t)===e}return!0}(n)&&(266===n.kind?lk(o.declarationList,n):lk(o,n),mk(o,n),ok(o,2048),e.push(o),!0)}function ce(n){if(!function(e){const t=fc(e,ZI);return!t||HQ(t,TC(c))}(n))return t.createNotEmittedStatement(n);un.assertNode(n.name,UD,"A TypeScript namespace should have an Identifier name."),2&b||(b|=2,e.enableSubstitution(80),e.enableSubstitution(304),e.enableEmitNotification(267));const i=[];let s=4;const a=ae(i,n);a&&(4===u&&A===m||(s|=1024));const l=be(n),d=Ce(n),p=me(n)?t.getExternalModuleOrNamespaceExportName(g,n,!1,!0):t.getDeclarationName(n,!1,!0);let f=t.createLogicalOr(p,t.createAssignment(p,t.createObjectLiteralExpression()));if(me(n)){const e=t.getLocalName(n,!1,!0);f=t.createAssignment(e,f)}const _=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,l)],void 0,function(e,n){const i=g,s=h,a=y;g=n,h=e,y=void 0;const c=[];let l,u;if(r(),e.body)if(268===e.body.kind)E(e.body,(e=>se(c,tL(e.statements,T,fd)))),l=e.body.statements,u=e.body;else{const t=ce(e.body);t&&(Ye(t)?se(c,t):c.push(t));l=Bv(le(e).body.statements,-1)}Pp(c,o()),g=i,h=s,y=a;const d=t.createBlock(aP(t.createNodeArray(c),l),!0);aP(d,u),e.body&&268===e.body.kind||ik(d,3072|Xp(d));return d}(n,d)),void 0,[f]));return ek(_,n),a&&(gk(_,void 0),vk(_,void 0)),aP(_,n),ok(_,s),i.push(_),i}function le(e){if(267===e.body.kind){return le(e.body)||e.body}}function ue(e){un.assert(!e.isTypeOnly);const n=Se(e)?e.name:void 0,r=eL(e.namedBindings,de,id);return n||r?t.updateImportClause(e,!1,n,r):void 0}function de(e){if(274===e.kind)return Se(e)?e:void 0;{const n=c.verbatimModuleSyntax,r=tL(e.elements,pe,_T);return n||J(r)?t.updateNamedImports(e,r):void 0}}function pe(e){return!e.isTypeOnly&&Se(e)?e:void 0}function fe(e){return e.isTypeOnly||!c.verbatimModuleSyntax&&!a.isValueAliasDeclaration(e)?void 0:e}function _e(n){if(n.isTypeOnly)return;if(xm(n)){if(!Se(n))return;return uL(n,x,e)}if(!function(e){return Se(e)||!UP(m)&&a.isTopLevelValueImportEqualsWithEntityName(e)}(n))return;const r=zF(t,n.moduleReference);return ik(r,7168),ge(n)||!me(n)?ek(aP(t.createVariableStatement(tL(n.modifiers,O,Zl),t.createVariableDeclarationList([ek(t.createVariableDeclaration(n.name,void 0,void 0,r),n)])),n),n):ek(function(e,n,r){return aP(t.createExpressionStatement(t.createAssignment(t.getNamespaceMemberName(g,e,!1,!0),n)),r)}(n.name,r,n),n)}function me(e){return void 0!==h&&wy(e,32)}function he(e){return void 0===h&&wy(e,32)}function ge(e){return he(e)&&!wy(e,2048)}function Ae(e){const n=t.createAssignment(t.getExternalModuleOrNamespaceExportName(g,e,!1,!0),t.getLocalName(e));lk(n,Pv(e.name?e.name.pos:e.pos,e.end));const r=t.createExpressionStatement(n);return lk(r,Pv(-1,e.end)),r}function ye(e,n,r){return aP(t.createAssignment(ve(e),n),r)}function ve(e){return t.getNamespaceMemberName(g,e,!1,!0)}function be(e){const n=t.getGeneratedNameForNode(e);return lk(n,e.name),n}function Ce(e){return t.getGeneratedNameForNode(e)}function Ee(e){if(b&v&&!Vl(e)&&!eR(e)){const n=a.getReferencedExportContainer(e,!1);if(n&&307!==n.kind){if(2&v&&267===n.kind||8&v&&266===n.kind)return aP(t.createPropertyAccessExpression(t.getGeneratedNameForNode(n),e),e)}}}function xe(e){const n=function(e){if(EC(c))return;return zw(e)||Yw(e)?a.getConstantValue(e):void 0}(e);if(void 0!==n){xk(e,n);const i="string"==typeof n?t.createStringLiteral(n):n<0?t.createPrefixUnaryExpression(41,t.createNumericLiteral(-n)):t.createNumericLiteral(n);if(!c.removeComments){const t=uc(e,xb);bk(i,3,` ${r=zp(t),r.replace(/\*\//g,"*_/")} `)}return i}var r;return e}function Se(e){return c.verbatimModuleSyntax||Tm(e)||a.isReferencedAliasDeclaration(e)}}function QM(e){const{factory:t,getEmitHelperFactory:n,hoistVariableDeclaration:r,endLexicalEnvironment:i,startLexicalEnvironment:o,resumeLexicalEnvironment:s,addBlockScopedVariable:a}=e,c=e.getEmitResolver(),l=e.getCompilerOptions(),u=yC(l),d=NC(l),p=!!l.experimentalDecorators,f=!d,_=d&&u<9,m=f||_,h=u<9,g=u<99?-1:d?0:3,y=u<9,v=y&&u>=2,b=m||h||-1===g,C=e.onSubstituteNode;e.onSubstituteNode=function(e,n){if(n=C(e,n),1===e)return function(e){switch(e.kind){case 80:return function(e){return function(e){if(1&F&&c.hasNodeCheckFlag(e,536870912)){const n=c.getReferencedValueDeclaration(e);if(n){const r=x[n.id];if(r){const n=t.cloneNode(r);return lk(n,e),mk(n,e),n}}}return}(e)||e}(e);case 110:return function(e){if(2&F&&(null==I?void 0:I.data)&&!P.has(e)){const{facts:n,classConstructor:r,classThis:i}=I.data,o=O?i??r:r;if(o)return aP(ek(t.cloneNode(o),e),e);if(1&n&&p)return t.createParenthesizedExpression(t.createVoidZero())}return e}(e)}return e}(n);return n};const E=e.onEmitNode;e.onEmitNode=function(e,t,n){const r=uc(t),i=R.get(r);if(i){const o=I,s=q;return I=i,q=O,O=!(fw(r)&&32&Zp(r)),E(e,t,n),O=q,q=s,void(I=o)}switch(t.kind){case 218:if(rI(r)||524288&Xp(t))break;case 262:case 176:case 177:case 178:case 174:case 172:{const r=I,i=q;return I=void 0,q=O,O=!1,E(e,t,n),O=q,q=i,void(I=r)}case 167:{const r=I,i=O;return I=null==I?void 0:I.previous,O=q,E(e,t,n),O=i,void(I=r)}}E(e,t,n)};let x,k,D,I,T=!1,F=0;const R=new Map,P=new Set;let N,B,O=!1,q=!1;return BL(e,(function(t){if(t.isDeclarationFile)return t;if(I=void 0,T=!!(32&Zp(t)),!b&&!T)return t;const n=uL(t,Q,e);return kk(n,e.readEmitHelpers()),n}));function $(e){return 129===e.kind?ie()?void 0:e:et(e,Zl)}function Q(n){if(!(16777216&n.transformFlags||134234112&n.transformFlags))return n;switch(n.kind){case 263:return function(e){return Ae(e,ye)}(n);case 231:return function(e){return Ae(e,ve)}(n);case 175:case 172:return un.fail("Use `classElementVisitor` instead.");case 303:case 260:case 169:case 208:return function(t){zg(t,fe)&&(t=PM(e,t));return uL(t,Q,e)}(n);case 243:return function(t){const n=D;D=[];const r=uL(t,Q,e),i=J(D)?[r,...D]:r;return D=n,i}(n);case 277:return function(t){zg(t,fe)&&(t=PM(e,t,!0,t.isExportEquals?"":"default"));return uL(t,Q,e)}(n);case 81:return function(e){if(!h)return e;if(fd(e.parent))return e;return ek(t.createIdentifier(""),e)}(n);case 211:return function(n){if(JD(n.name)){const e=$e(n.name);if(e)return aP(ek(ce(e,n.expression),n),n)}if(v&&B&&sm(n)&&UD(n.name)&&LM(B)&&(null==I?void 0:I.data)){const{classConstructor:e,superClassReference:r,facts:i}=I.data;if(1&i)return Ie(n);if(e&&r){const i=t.createReflectGetCall(r,t.createStringLiteralFromNode(n.name),e);return ek(i,n.expression),aP(i,n.expression),i}}return uL(n,Q,e)}(n);case 212:return function(n){if(v&&B&&sm(n)&&LM(B)&&(null==I?void 0:I.data)){const{classConstructor:e,superClassReference:r,facts:i}=I.data;if(1&i)return Ie(n);if(e&&r){const i=t.createReflectGetCall(r,eL(n.argumentExpression,Q,Ju),e);return ek(i,n.expression),aP(i,n.expression),i}}return uL(n,Q,e)}(n);case 224:case 225:return ue(n,!1);case 226:return _e(n,!1);case 217:return me(n,!1);case 213:return function(n){var i;if(zl(n.expression)&&$e(n.expression.name)){const{thisArg:e,target:i}=t.createCallBinding(n.expression,r,u);return hl(n)?t.updateCallChain(n,t.createPropertyAccessChain(eL(i,Q,Ju),n.questionDotToken,"call"),void 0,void 0,[eL(e,Q,Ju),...tL(n.arguments,Q,Ju)]):t.updateCallExpression(n,t.createPropertyAccessExpression(eL(i,Q,Ju),"call"),void 0,[eL(e,Q,Ju),...tL(n.arguments,Q,Ju)])}if(v&&B&&sm(n.expression)&&LM(B)&&(null==(i=null==I?void 0:I.data)?void 0:i.classConstructor)){const e=t.createFunctionCallCall(eL(n.expression,Q,Ju),I.data.classConstructor,tL(n.arguments,Q,Ju));return ek(e,n),aP(e,n),e}return uL(n,Q,e)}(n);case 244:return function(e){return t.updateExpressionStatement(e,eL(e.expression,M,Ju))}(n);case 215:return function(n){var i;if(zl(n.tag)&&$e(n.tag.name)){const{thisArg:e,target:i}=t.createCallBinding(n.tag,r,u);return t.updateTaggedTemplateExpression(n,t.createCallExpression(t.createPropertyAccessExpression(eL(i,Q,Ju),"bind"),void 0,[eL(e,Q,Ju)]),void 0,eL(n.template,Q,qu))}if(v&&B&&sm(n.tag)&&LM(B)&&(null==(i=null==I?void 0:I.data)?void 0:i.classConstructor)){const e=t.createFunctionBindCall(eL(n.tag,Q,Ju),I.data.classConstructor,[]);return ek(e,n),aP(e,n),t.updateTaggedTemplateExpression(n,e,void 0,eL(n.template,Q,qu))}return uL(n,Q,e)}(n);case 248:return function(n){return t.updateForStatement(n,eL(n.initializer,M,ed),eL(n.condition,Q,Ju),eL(n.incrementor,M,Ju),cL(n.statement,Q,e))}(n);case 110:return function(e){if(y&&B&&fw(B)&&(null==I?void 0:I.data)){const{classThis:t,classConstructor:n}=I.data;return t??n??e}return e}(n);case 262:case 218:return X(void 0,L,n);case 176:case 174:case 177:case 178:return X(n,L,n);default:return L(n)}}function L(t){return uL(t,Q,e)}function M(e){switch(e.kind){case 224:case 225:return ue(e,!0);case 226:return _e(e,!0);case 356:return function(e){const n=lL(e.elements,M);return t.updateCommaListExpression(e,n)}(e);case 217:return me(e,!0);default:return Q(e)}}function j(n){switch(n.kind){case 298:return uL(n,j,e);case 233:return function(n){var i;const o=(null==(i=null==I?void 0:I.data)?void 0:i.facts)||0;if(4&o){const e=t.createTempVariable(r,!0);return Te().superClassReference=e,t.updateExpressionWithTypeArguments(n,t.createAssignment(e,eL(n.expression,Q,Ju)),void 0)}return uL(n,Q,e)}(n);default:return Q(n)}}function U(e){switch(e.kind){case 210:case 209:return Ue(e);default:return Q(e)}}function V(e){switch(e.kind){case 176:return X(e,z,e);case 177:case 178:case 174:return X(e,K,e);case 172:return X(e,oe,e);case 175:return X(e,be,e);case 167:return W(e);case 240:return e;default:return hu(e)?$(e):Q(e)}}function H(e){return 167===e.kind?W(e):Q(e)}function G(e){switch(e.kind){case 172:return ne(e);case 177:case 178:return V(e);default:un.assertMissingNode(e,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration")}}function W(e){const n=eL(e.expression,Q,Ju);return t.updateComputedPropertyName(e,function(e){return J(k)&&(tI(e)?(k.push(e.expression),e=t.updateParenthesizedExpression(e,t.inlineExpressions(k))):(k.push(e),e=t.inlineExpressions(k)),k=void 0),e}(n))}function z(e){return N?Ee(e,N):L(e)}function Y(e){return!!h||!!(Ty(e)&&32&Zp(e))}function K(n){if(un.assert(!Oy(n)),!Wl(n)||!Y(n))return uL(n,V,e);const r=$e(n.name);if(un.assert(r,"Undeclared private name for property declaration."),!r.isValid)return n;const i=function(e){un.assert(JD(e.name));const t=$e(e.name);if(un.assert(t,"Undeclared private name for property declaration."),"m"===t.kind)return t.methodName;if("a"===t.kind){if(Dd(e))return t.getterName;if(kd(e))return t.setterName}}(n);i&&Re().push(t.createAssignment(i,t.createFunctionExpression(S(n.modifiers,(e=>Zl(e)&&!KD(e)&&!ew(e))),n.asteriskToken,i,void 0,oL(n.parameters,Q,e),void 0,aL(n.body,Q,e))))}function X(e,t,n){if(e!==B){const r=B;B=e;const i=t(n);return B=r,i}return t(n)}function Z(e){const n=_k(e),i=ck(e),o=e.name;let s=o,a=o;if(ow(o)&&!VL(o.expression)){const e=rP(o);if(e)s=t.updateComputedPropertyName(o,eL(o.expression,Q,Ju)),a=t.updateComputedPropertyName(o,e.left);else{const e=t.createTempVariable(r);lk(e,o.expression);const n=eL(o.expression,Q,Ju),i=t.createAssignment(e,n);lk(i,o.expression),s=t.updateComputedPropertyName(o,i),a=t.updateComputedPropertyName(o,e)}}const c=tL(e.modifiers,$,Zl),l=eP(t,e,c,e.initializer);ek(l,e),ik(l,3072),lk(l,i);const u=Iy(e)?function(){const e=Te();return e.classThis??e.classConstructor??(null==N?void 0:N.name)}()??t.createThis():t.createThis(),d=tP(t,e,c,s,u);ek(d,e),mk(d,n),lk(d,i);const p=t.createModifiersFromModifierFlags(Gy(c)),f=nP(t,e,p,a,u);return ek(f,e),ik(f,3072),lk(f,i),nL([l,d,f],G,uu)}function ee(e){if(!m||fu(e))return t.updatePropertyDeclaration(e,tL(e.modifiers,$,Zl),eL(e.name,H,tu),void 0,void 0,eL(e.initializer,Q,Ju));{const n=function(e,n){if(ow(e)){const i=rP(e),o=eL(e.expression,Q,Ju),s=El(o),l=VL(s);if(!(!!i||iv(s)&&Vl(s.left))&&!l&&n){const n=t.getGeneratedNameForNode(e);return c.hasNodeCheckFlag(e,32768)?a(n):r(n),t.createAssignment(n,o)}return l||UD(s)?void 0:o}}(e.name,!!e.initializer||d);if(n&&Re().push(...oP(n)),Iy(e)&&!h){const n=ke(e,t.createThis());if(n){const r=t.createClassStaticBlockDeclaration(t.createBlock([n]));return ek(r,e),mk(r,e),mk(n,{pos:-1,end:-1}),gk(n,void 0),vk(n,void 0),r}}}}function ne(n){return un.assert(!Oy(n),"Decorators should already have been transformed and elided."),Wl(n)?function(n){if(!Y(n))return f&&!Iy(n)&&(null==I?void 0:I.data)&&16&I.data.facts?t.updatePropertyDeclaration(n,tL(n.modifiers,Q,hu),n.name,void 0,void 0,void 0):(zg(n,fe)&&(n=PM(e,n)),t.updatePropertyDeclaration(n,tL(n.modifiers,$,Zl),eL(n.name,H,tu),void 0,void 0,eL(n.initializer,Q,Ju)));{const e=$e(n.name);if(un.assert(e,"Undeclared private name for property declaration."),!e.isValid)return n;if(e.isStatic&&!h){const e=ke(n,t.createThis());if(e)return t.createClassStaticBlockDeclaration(t.createBlock([e],!0))}}}(n):ee(n)}function ie(){return-1===g||3===g&&!!(null==I?void 0:I.data)&&!!(16&I.data.facts)}function oe(e){return fu(e)&&(ie()||Ty(e)&&32&Zp(e))?Z(e):ne(e)}function ae(e){if(B&&Ty(B)&&pu(B)&&fu(uc(B))){const t=uR(e);110===t.kind&&P.add(t)}}function ce(e,t){return ae(t=eL(t,Q,Ju)),le(e,t)}function le(e,t){switch(mk(t,Bv(t,-1)),e.kind){case"a":return n().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.getterName);case"m":return n().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.methodName);case"f":return n().createClassPrivateFieldGetHelper(t,e.brandCheckIdentifier,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return un.fail("Access helpers should not be created for untransformed private elements");default:un.assertNever(e,"Unknown private element type")}}function ue(n,i){if(46===n.operator||47===n.operator){const e=sg(n.operand);if(zl(e)){let o;if(o=$e(e.name)){const s=eL(e.expression,Q,Ju);ae(s);const{readExpression:a,initializeExpression:c}=de(s);let l=ce(o,a);const u=cI(n)||i?void 0:t.createTempVariable(r);return l=XF(t,n,l,r,u),l=he(o,c||a,l,64),ek(l,n),aP(l,n),u&&(l=t.createComma(l,u),aP(l,n)),l}}else if(v&&B&&sm(e)&&LM(B)&&(null==I?void 0:I.data)){const{classConstructor:o,superClassReference:s,facts:a}=I.data;if(1&a){const r=Ie(e);return cI(n)?t.updatePrefixUnaryExpression(n,r):t.updatePostfixUnaryExpression(n,r)}if(o&&s){let a,c;if(zw(e)?UD(e.name)&&(c=a=t.createStringLiteralFromNode(e.name)):VL(e.argumentExpression)?c=a=e.argumentExpression:(c=t.createTempVariable(r),a=t.createAssignment(c,eL(e.argumentExpression,Q,Ju))),a&&c){let l=t.createReflectGetCall(s,c,o);aP(l,e);const u=i?void 0:t.createTempVariable(r);return l=XF(t,n,l,r,u),l=t.createReflectSetCall(s,a,l,o),ek(l,n),aP(l,n),u&&(l=t.createComma(l,u),aP(l,n)),l}}}}return uL(n,Q,e)}function de(e){const n=eA(e)?e:t.cloneNode(e);if(110===e.kind&&P.has(e)&&P.add(n),VL(e))return{readExpression:n,initializeExpression:void 0};const i=t.createTempVariable(r);return{readExpression:i,initializeExpression:t.createAssignment(i,n)}}function pe(e){if(I&&R.set(uc(e),I),h){if(EM(e)){const t=eL(e.body.statements[0].expression,Q,Ju);if(iv(t,!0)&&t.left===t.right)return;return t}if(wM(e))return eL(e.body.statements[0].expression,Q,Ju);o();let n=X(e,(e=>tL(e,Q,fd)),e.body.statements);n=t.mergeLexicalEnvironment(n,i());const r=t.createImmediatelyInvokedArrowFunction(n);return ek(sg(r.expression),e),ok(sg(r.expression),4),ek(r,e),aP(r,e),r}}function fe(e){if(mI(e)&&!e.name){const t=ZL(e);if(J(t,wM))return!1;return(h||!!Zp(e))&&J(t,(e=>fw(e)||Wl(e)||m&&eM(e)))}return!1}function _e(i,o){if(ov(i)){const e=k;k=void 0,i=t.updateBinaryExpression(i,eL(i.left,U,Ju),i.operatorToken,eL(i.right,Q,Ju));const n=J(k)?t.inlineExpressions(te([...k,i])):i;return k=e,n}if(iv(i)){zg(i,fe)&&(i=PM(e,i),un.assertNode(i,iv));const n=uR(i.left,9);if(zl(n)){const e=$e(n.name);if(e)return aP(ek(he(e,n.expression,i.right,i.operatorToken.kind),i),i)}else if(v&&B&&sm(i.left)&&LM(B)&&(null==I?void 0:I.data)){const{classConstructor:e,superClassReference:n,facts:s}=I.data;if(1&s)return t.updateBinaryExpression(i,Ie(i.left),i.operatorToken,eL(i.right,Q,Ju));if(e&&n){let s=Yw(i.left)?eL(i.left.argumentExpression,Q,Ju):UD(i.left.name)?t.createStringLiteralFromNode(i.left.name):void 0;if(s){let a=eL(i.right,Q,Ju);if(HL(i.operatorToken.kind)){let o=s;VL(s)||(o=t.createTempVariable(r),s=t.createAssignment(o,s));const c=t.createReflectGetCall(n,o,e);ek(c,i.left),aP(c,i.left),a=t.createBinaryExpression(c,GL(i.operatorToken.kind),a),aP(a,i)}const c=o?void 0:t.createTempVariable(r);return c&&(a=t.createAssignment(c,a),aP(c,i)),a=t.createReflectSetCall(n,s,a,e),ek(a,i),aP(a,i),c&&(a=t.createComma(a,c),aP(a,i)),a}}}}return function(e){return JD(e.left)&&103===e.operatorToken.kind}(i)?function(t){const r=$e(t.left);if(r){const e=eL(t.right,Q,Ju);return ek(n().createClassPrivateFieldInHelper(r.brandCheckIdentifier,e),t)}return uL(t,Q,e)}(i):uL(i,Q,e)}function me(e,n){const r=n?M:Q,i=eL(e.expression,r,Ju);return t.updateParenthesizedExpression(e,i)}function he(e,r,i,o){if(r=eL(r,Q,Ju),i=eL(i,Q,Ju),ae(r),HL(o)){const{readExpression:n,initializeExpression:s}=de(r);r=s||n,i=t.createBinaryExpression(le(e,n),GL(o),i)}switch(mk(r,Bv(r,-1)),e.kind){case"a":return n().createClassPrivateFieldSetHelper(r,e.brandCheckIdentifier,i,e.kind,e.setterName);case"m":return n().createClassPrivateFieldSetHelper(r,e.brandCheckIdentifier,i,e.kind,void 0);case"f":return n().createClassPrivateFieldSetHelper(r,e.brandCheckIdentifier,i,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return un.fail("Access helpers should not be created for untransformed private elements");default:un.assertNever(e,"Unknown private element type")}}function ge(e){return S(e.members,tM)}function Ae(n,r){var i;const o=N,s=k,a=I;N=n,k=void 0,I={previous:I,data:void 0};const l=32&Zp(n);if(h||l){const e=Sc(n);if(e&&UD(e))Fe().data.className=e;else if((null==(i=n.emitNode)?void 0:i.assignedName)&&kD(n.emitNode.assignedName))if(n.emitNode.assignedName.textSourceNode&&UD(n.emitNode.assignedName.textSourceNode))Fe().data.className=n.emitNode.assignedName.textSourceNode;else if(ma(n.emitNode.assignedName.text,u)){const e=t.createIdentifier(n.emitNode.assignedName.text);Fe().data.className=e}}if(h){const e=ge(n);J(e)&&(Fe().data.weakSetName=Oe("instances",e[0].name))}const d=function(e){var t;let n=0;const r=uc(e);du(r)&&hm(p,r)&&(n|=1),h&&(xM(e)||IM(e))&&(n|=2);let i=!1,o=!1,s=!1,a=!1;for(const r of e.members)Iy(r)?(r.name&&(JD(r.name)||fu(r))&&h?n|=2:!fu(r)||-1!==g||e.name||(null==(t=e.emitNode)?void 0:t.classThis)||(n|=2),(uw(r)||fw(r))&&(y&&16384&r.transformFlags&&(n|=8,1&n||(n|=2)),v&&134217728&r.transformFlags&&(1&n||(n|=6)))):Ry(uc(r))||(fu(r)?(a=!0,s||(s=Wl(r))):Wl(r)?(s=!0,c.hasNodeCheckFlag(r,262144)&&(n|=2)):uw(r)&&(i=!0,o||(o=!!r.initializer)));return(_&&i||f&&o||h&&s||h&&a&&-1===g)&&(n|=16),n}(n);d&&(Te().facts=d),8&d&&(2&F||(F|=2,e.enableSubstitution(110),e.enableEmitNotification(262),e.enableEmitNotification(218),e.enableEmitNotification(176),e.enableEmitNotification(177),e.enableEmitNotification(178),e.enableEmitNotification(174),e.enableEmitNotification(172),e.enableEmitNotification(167)));const m=r(n,d);return I=null==I?void 0:I.previous,un.assert(I===a),N=o,k=s,m}function ye(e,n){var i,o;let s;if(2&n)if(h&&(null==(i=e.emitNode)?void 0:i.classThis))Te().classConstructor=e.emitNode.classThis,s=t.createAssignment(e.emitNode.classThis,t.getInternalName(e));else{const n=t.createTempVariable(r,!0);Te().classConstructor=t.cloneNode(n),s=t.createAssignment(n,t.getInternalName(e))}(null==(o=e.emitNode)?void 0:o.classThis)&&(Te().classThis=e.emitNode.classThis);const a=c.hasNodeCheckFlag(e,262144),l=wy(e,32),u=wy(e,2048);let d=tL(e.modifiers,$,Zl);const p=tL(e.heritageClauses,j,$T),{members:_,prologue:m}=Ce(e),g=[];if(s&&Re().unshift(s),J(k)&&g.push(t.createExpressionStatement(t.inlineExpressions(k))),f||h||32&Zp(e)){const n=ZL(e);J(n)&&Se(g,n,t.getInternalName(e))}g.length>0&&l&&u&&(d=tL(d,(e=>WR(e)?void 0:e),Zl),g.push(t.createExportAssignment(void 0,!1,t.getLocalName(e,!1,!0))));const A=Te().classConstructor;a&&A&&(we(),x[RL(e)]=A);const y=t.updateClassDeclaration(e,d,e.name,void 0,p,_);return g.unshift(y),m&&g.unshift(t.createExpressionStatement(m)),g}function ve(e,n){var i,o,s;const l=!!(1&n),u=ZL(e),d=c.hasNodeCheckFlag(e,262144),p=c.hasNodeCheckFlag(e,32768);let f;function _(){var n;if(h&&(null==(n=e.emitNode)?void 0:n.classThis))return Te().classConstructor=e.emitNode.classThis;const i=t.createTempVariable(p?a:r,!0);return Te().classConstructor=t.cloneNode(i),i}(null==(i=e.emitNode)?void 0:i.classThis)&&(Te().classThis=e.emitNode.classThis),2&n&&(f??(f=_()));const g=tL(e.modifiers,$,Zl),A=tL(e.heritageClauses,j,$T),{members:y,prologue:v}=Ce(e),b=t.updateClassExpression(e,g,e.name,void 0,A,y),C=[];v&&C.push(v);if((h||32&Zp(e))&&J(u,(e=>fw(e)||Wl(e)||m&&eM(e)))||J(k))if(l)un.assertIsDefined(D,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),J(k)&&se(D,w(k,t.createExpressionStatement)),J(u)&&Se(D,u,(null==(o=e.emitNode)?void 0:o.classThis)??t.getInternalName(e)),f?C.push(t.createAssignment(f,b)):h&&(null==(s=e.emitNode)?void 0:s.classThis)?C.push(t.createAssignment(e.emitNode.classThis,b)):C.push(b);else{if(f??(f=_()),d){we();const n=t.cloneNode(f);n.emitNode.autoGenerate.flags&=-9,x[RL(e)]=n}C.push(t.createAssignment(f,b)),se(C,k),se(C,function(e,t){const n=[];for(const r of e){const e=fw(r)?X(r,pe,r):X(r,(()=>De(r,t)),void 0);e&&(pR(e),ek(e,r),ok(e,3072&Xp(r)),lk(e,qv(r)),mk(e,r),n.push(e))}return n}(u,f)),C.push(t.cloneNode(f))}else C.push(b);return C.length>1&&(ok(b,131072),C.forEach(pR)),t.inlineExpressions(C)}function be(t){if(!h)return uL(t,Q,e)}function Ce(e){const n=!!(32&Zp(e));if(h||T){for(const t of e.members)if(Wl(t))if(Y(t))Be(t,t.name,Pe);else{cM(Fe(),t.name,{kind:"untransformed"})}if(h&&J(ge(e))&&function(){const{weakSetName:e}=Fe().data;un.assert(e,"weakSetName should be set in private identifier environment"),Re().push(t.createAssignment(e,t.createNewExpression(t.createIdentifier("WeakSet"),void 0,[])))}(),ie())for(const r of e.members)if(fu(r)){const e=t.getGeneratedPrivateNameForNode(r.name,void 0,"_accessor_storage");if(h||n&&Ty(r))Be(r,e,Ne);else{cM(Fe(),e,{kind:"untransformed"})}}}let i,o,s,a=tL(e.members,V,uu);if(J(a,_w)||(i=Ee(void 0,e)),!h&&J(k)){let e=t.createExpressionStatement(t.inlineExpressions(k));if(134234112&e.transformFlags){const n=t.createTempVariable(r),i=t.createArrowFunction(void 0,void 0,[],void 0,void 0,t.createBlock([e]));o=t.createAssignment(n,i),e=t.createExpressionStatement(t.createCallExpression(n,void 0,[]))}const n=t.createBlock([e]);s=t.createClassStaticBlockDeclaration(n),k=void 0}if(i||s){let n;const r=A(a,EM),o=A(a,wM);n=re(n,r),n=re(n,o),n=re(n,i),n=re(n,s);n=se(n,r||o?S(a,(e=>e!==r&&e!==o)):a),a=aP(t.createNodeArray(n),e.members)}return{members:a,prologue:o}}function Ee(n,r){if(n=eL(n,Q,_w),!((null==I?void 0:I.data)&&16&I.data.facts))return n;const o=Ag(r),a=!(!o||106===uR(o.expression).kind),c=oL(n?n.parameters:void 0,Q,e),l=function(n,r,o){var a;const c=KL(n,!1,!1);let l=c;d||(l=S(l,(e=>!!e.initializer||JD(e.name)||Ny(e))));const u=ge(n),p=J(l)||J(u);if(!r&&!p)return aL(void 0,Q,e);s();const f=!r&&o;let _=0,m=[];const g=[],A=t.createThis();if(function(e,n,r){if(!h||!J(n))return;const{weakSetName:i}=Fe().data;un.assert(i,"weakSetName should be set in private identifier environment"),e.push(t.createExpressionStatement(function(e,t,n){return e.createCallExpression(e.createPropertyAccessExpression(n,"add"),void 0,[t])}(t,r,i)))}(g,u,A),r){const e=S(c,(e=>Za(uc(e),r))),t=S(l,(e=>!Za(uc(e),r)));Se(g,e,A),Se(g,t,A)}else Se(g,l,A);if(null==r?void 0:r.body){_=t.copyPrologue(r.body.statements,m,!1,Q);const e=YL(r.body.statements,_);if(e.length)xe(m,r.body.statements,_,e,0,g,r);else{for(;_=m.length?r.body.multiLine??m.length>0:m.length>0;return aP(t.createBlock(aP(t.createNodeArray(m),(null==(a=null==r?void 0:r.body)?void 0:a.statements)??n.members),y),null==r?void 0:r.body)}(r,n,a);return l?n?(un.assert(c),t.updateConstructorDeclaration(n,void 0,c,l)):pR(ek(aP(t.createConstructorDeclaration(void 0,c??[],l),n||r),n)):n}function xe(e,n,r,i,o,s,a){const c=i[o],l=n[c];if(se(e,tL(n,Q,fd,r,c-r)),r=c+1,JI(l)){const n=[];xe(n,l.tryBlock.statements,0,i,o+1,s,a);aP(t.createNodeArray(n),l.tryBlock.statements),e.push(t.updateTryStatement(l,t.updateBlock(l.tryBlock,n),eL(l.catchClause,Q,QT),eL(l.finallyBlock,Q,DI)))}else{for(se(e,tL(n,Q,fd,c,1));rl(e,f,t),serializeTypeOfNode:(e,t,n)=>l(e,u,t,n),serializeParameterTypesOfNode:(e,t,n)=>l(e,d,t,n),serializeReturnTypeOfNode:(e,t)=>l(e,p,t)};function l(e,t,n,r){const i=a,o=c;a=e.currentLexicalScope,c=e.currentNameScope;const s=void 0===r?t(n):t(n,r);return a=i,c=o,s}function u(e,n){switch(e.kind){case 172:case 169:return f(e.type);case 178:case 177:return f(function(e,t){const n=fy(t.members,e);return n.setAccessor&&sy(n.setAccessor)||n.getAccessor&&hy(n.getAccessor)}(e,n));case 263:case 231:case 174:return t.createIdentifier("Function");default:return t.createVoidZero()}}function d(e,n){const r=du(e)?iy(e):ru(e)&&Dp(e.body)?e:void 0,i=[];if(r){const e=function(e,t){if(t&&177===e.kind){const{setAccessor:n}=fy(t.members,e);if(n)return n.parameters}return e.parameters}(r,n),t=e.length;for(let r=0;re.parent&&Pw(e.parent)&&(e.parent.trueType===e||e.parent.falseType===e))))return t.createIdentifier("Object");const r=A(e.typeName),o=t.createTempVariable(n);return t.createConditionalExpression(t.createTypeCheck(t.createAssignment(o,r),"function"),void 0,o,void 0,t.createIdentifier("Object"));case 1:return y(e.typeName);case 2:return t.createVoidZero();case 4:return v("BigInt",7);case 6:return t.createIdentifier("Boolean");case 3:return t.createIdentifier("Number");case 5:return t.createIdentifier("String");case 7:return t.createIdentifier("Array");case 8:return v("Symbol",2);case 10:return t.createIdentifier("Function");case 9:return t.createIdentifier("Promise");case 11:return t.createIdentifier("Object");default:return un.assertNever(i)}}(e);case 193:return m(e.types,!0);case 192:return m(e.types,!1);case 194:return m([e.trueType,e.falseType],!1);case 198:if(148===e.operator)return f(e.type);break;case 186:case 199:case 200:case 187:case 133:case 159:case 197:case 205:case 312:case 313:case 317:case 318:case 319:break;case 314:case 315:case 316:return f(e.type);default:return un.failBadSyntaxKind(e)}return t.createIdentifier("Object")}function _(e){switch(e.kind){case 11:case 15:return t.createIdentifier("String");case 224:{const t=e.operand;switch(t.kind){case 9:case 10:return _(t);default:return un.failBadSyntaxKind(t)}}case 9:return t.createIdentifier("Number");case 10:return v("BigInt",7);case 112:case 97:return t.createIdentifier("Boolean");case 106:return t.createVoidZero();default:return un.failBadSyntaxKind(e)}}function m(e,n){let r;for(let i of e){if(i=og(i),146===i.kind){if(n)return t.createVoidZero();continue}if(159===i.kind){if(!n)return t.createIdentifier("Object");continue}if(133===i.kind)return t.createIdentifier("Object");if(!s&&(Lw(i)&&106===i.literal.kind||157===i.kind))continue;const e=f(i);if(UD(e)&&"Object"===e.escapedText)return e;if(r){if(!h(r,e))return t.createIdentifier("Object")}else r=e}return r??t.createVoidZero()}function h(e,t){return Vl(e)?Vl(t):UD(e)?UD(t)&&e.escapedText===t.escapedText:zw(e)?zw(t)&&h(e.expression,t.expression)&&h(e.name,t.name):sI(e)?sI(t)&&xD(e.expression)&&"0"===e.expression.text&&xD(t.expression)&&"0"===t.expression.text:kD(e)?kD(t)&&e.text===t.text:oI(e)?oI(t)&&h(e.expression,t.expression):tI(e)?tI(t)&&h(e.expression,t.expression):dI(e)?dI(t)&&h(e.condition,t.condition)&&h(e.whenTrue,t.whenTrue)&&h(e.whenFalse,t.whenFalse):!!uI(e)&&(uI(t)&&e.operatorToken.kind===t.operatorToken.kind&&h(e.left,t.left)&&h(e.right,t.right))}function g(e,n){return t.createLogicalAnd(t.createStrictInequality(t.createTypeOfExpression(e),t.createStringLiteral("undefined")),n)}function A(e){if(80===e.kind){const t=y(e);return g(t,t)}if(80===e.left.kind)return g(y(e.left),y(e));const r=A(e.left),i=t.createTempVariable(n);return t.createLogicalAnd(t.createLogicalAnd(r.left,t.createStrictInequality(t.createAssignment(i,r.right),t.createVoidZero())),t.createPropertyAccessExpression(i,e.right))}function y(e){switch(e.kind){case 80:const n=wx(aP(dP.cloneNode(e),e),e.parent);return n.original=void 0,wx(n,fc(a)),n;case 166:return function(e){return t.createPropertyAccessExpression(y(e.left),e.right)}(e)}}function v(e,n){return oWR(e)||cw(e)?void 0:e),hu),_=qv(o),m=function(n){if(i.hasNodeCheckFlag(n,262144)){c||(e.enableSubstitution(80),c=[]);const i=t.createUniqueName(n.name&&!Vl(n.name)?hc(n.name):"default");return c[RL(n)]=i,r(i),i}}(o),g=s<2?t.getInternalName(o,!1,!0):t.getLocalName(o,!1,!0),A=tL(o.heritageClauses,u,$T);let y=tL(o.members,u,uu),v=[];({members:y,decorationStatements:v}=f(o,y));const b=s>=9&&!!m&&J(y,(e=>uw(e)&&wy(e,256)||fw(e)));b&&(y=aP(t.createNodeArray([t.createClassStaticBlockDeclaration(t.createBlock([t.createExpressionStatement(t.createAssignment(m,t.createThis()))])),...y]),y));const C=t.createClassExpression(p,a&&Vl(a)?void 0:a,void 0,A,y);ek(C,o),aP(C,_);const E=m&&!b?t.createAssignment(m,C):C,x=t.createVariableDeclaration(g,void 0,void 0,E);ek(x,o);const S=t.createVariableDeclarationList([x],1),k=t.createVariableStatement(void 0,S);ek(k,o),aP(k,_),mk(k,o);const D=[k];if(se(D,v),function(e,r){const i=function(e){const r=rM(e,!0),i=h(r);if(!i)return;const o=c&&c[RL(e)],a=s<2?t.getInternalName(e,!1,!0):t.getDeclarationName(e,!1,!0),l=n().createDecorateHelper(i,a),u=t.createAssignment(a,o?t.createAssignment(o,l):l);return ik(u,3072),lk(u,qv(e)),u}(r);i&&e.push(ek(t.createExpressionStatement(i),r))}(D,o),l)if(d){const e=t.createExportDefault(g);D.push(e)}else{const e=t.createExternalModuleExport(t.getDeclarationName(o));D.push(e)}return D}(o,o.name):function(e,n){const r=tL(e.modifiers,l,Zl),i=tL(e.heritageClauses,u,$T);let o=tL(e.members,u,uu),s=[];({members:o,decorationStatements:s}=f(e,o));const a=t.updateClassDeclaration(e,r,n,void 0,i,o);return se([a],s)}(o,o.name);return be(a)}(o);case 231:return function(e){return t.updateClassExpression(e,tL(e.modifiers,l,Zl),e.name,void 0,tL(e.heritageClauses,u,$T),tL(e.members,u,uu))}(o);case 176:return function(e){return t.updateConstructorDeclaration(e,tL(e.modifiers,l,Zl),tL(e.parameters,u,aw),eL(e.body,u,DI))}(o);case 174:return function(e){return _(t.updateMethodDeclaration(e,tL(e.modifiers,l,Zl),e.asteriskToken,un.checkDefined(eL(e.name,u,tu)),void 0,void 0,tL(e.parameters,u,aw),void 0,eL(e.body,u,DI)),e)}(o);case 178:return function(e){return _(t.updateSetAccessorDeclaration(e,tL(e.modifiers,l,Zl),un.checkDefined(eL(e.name,u,tu)),tL(e.parameters,u,aw),eL(e.body,u,DI)),e)}(o);case 177:return function(e){return _(t.updateGetAccessorDeclaration(e,tL(e.modifiers,l,Zl),un.checkDefined(eL(e.name,u,tu)),tL(e.parameters,u,aw),void 0,eL(e.body,u,DI)),e)}(o);case 172:return function(e){if(33554432&e.flags||wy(e,128))return;return _(t.updatePropertyDeclaration(e,tL(e.modifiers,l,Zl),un.checkDefined(eL(e.name,u,tu)),void 0,void 0,eL(e.initializer,u,Ju)),e)}(o);case 169:return function(e){const n=t.updateParameterDeclaration(e,zR(t,e.modifiers),e.dotDotDotToken,un.checkDefined(eL(e.name,u,nu)),void 0,void 0,eL(e.initializer,u,Ju));n!==e&&(mk(n,e),aP(n,qv(e)),lk(n,qv(e)),ik(n.name,64));return n}(o);default:return uL(o,u,e)}}function d(e){return!!(536870912&e.transformFlags)}function p(e){return J(e,d)}function f(e,n){let r=[];return g(r,e,!1),g(r,e,!0),function(e){for(const t of e.members){if(!lP(t))continue;const n=iM(t,e,!0);if(J(null==n?void 0:n.decorators,d))return!0;if(J(null==n?void 0:n.parameters,p))return!0}return!1}(e)&&(n=aP(t.createNodeArray([...n,t.createClassStaticBlockDeclaration(t.createBlock(r,!0))]),n),r=void 0),{decorationStatements:r,members:n}}function _(e,t){return e!==t&&(mk(e,t),lk(e,qv(t))),e}function m(e){return ED(e.expression,"___metadata")}function h(e){if(!e)return;const{false:t,true:n}=Le(e.decorators,m),r=[];return se(r,w(t,y)),se(r,R(e.parameters,v)),se(r,w(n,y)),r}function g(e,n,r){se(e,w(function(e,t){const n=function(e,t){return S(e.members,(n=>{return i=t,_m(!0,r=n,e)&&i===Iy(r);var r,i}))}(e,t);let r;for(const t of n)r=re(r,A(e,t));return r}(n,r),(e=>t.createExpressionStatement(e))))}function A(e,r){const i=h(iM(r,e,!0));if(!i)return;const o=function(e,n){return Iy(n)?t.getDeclarationName(e):function(e){return t.createPropertyAccessExpression(t.getDeclarationName(e),"prototype")}(e)}(e,r),s=function(e,n){const r=e.name;return JD(r)?t.createIdentifier(""):ow(r)?n&&!VL(r.expression)?t.getGeneratedNameForNode(r):r.expression:UD(r)?t.createStringLiteral(hc(r)):t.cloneNode(r)}(r,!wy(r,128)),a=uw(r)&&!Ny(r)?t.createVoidZero():t.createNull(),c=n().createDecorateHelper(i,o,s,a);return ik(c,3072),lk(c,qv(r)),c}function y(e){return un.checkDefined(eL(e.expression,u,Ju))}function v(e,t){let r;if(e){r=[];for(const i of e){const e=n().createParamHelper(y(i),t);aP(e,i.expression),ik(e,3072),r.push(e)}}return r}}function UM(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:o}=e,s=yC(e.getCompilerOptions());let a,c,l,u,d,p;return BL(e,(function(t){a=void 0,p=!1;const n=uL(t,v,e);kk(n,e.readEmitHelpers()),p&&(ak(n,32),p=!1);return n}));function f(){switch(c=void 0,l=void 0,u=void 0,null==a?void 0:a.kind){case"class":c=a.classInfo;break;case"class-element":c=a.next.classInfo,l=a.classThis,u=a.classSuper;break;case"name":const e=a.next.next.next;"class-element"===(null==e?void 0:e.kind)&&(c=e.next.classInfo,l=e.classThis,u=e.classSuper)}}function _(e){a={kind:"class",next:a,classInfo:e,savedPendingExpressions:d},d=void 0,f()}function m(){un.assert("class"===(null==a?void 0:a.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class' but got '${null==a?void 0:a.kind}' instead.`)),d=a.savedPendingExpressions,a=a.next,f()}function h(e){var t,n;un.assert("class"===(null==a?void 0:a.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class' but got '${null==a?void 0:a.kind}' instead.`)),a={kind:"class-element",next:a},(fw(e)||uw(e)&&Ty(e))&&(a.classThis=null==(t=a.next.classInfo)?void 0:t.classThis,a.classSuper=null==(n=a.next.classInfo)?void 0:n.classSuper),f()}function g(){var e;un.assert("class-element"===(null==a?void 0:a.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class-element' but got '${null==a?void 0:a.kind}' instead.`)),un.assert("class"===(null==(e=a.next)?void 0:e.kind),"Incorrect value for top.next.kind.",(()=>{var e;return`Expected top.next.kind to be 'class' but got '${null==(e=a.next)?void 0:e.kind}' instead.`})),a=a.next,f()}function A(){un.assert("class-element"===(null==a?void 0:a.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class-element' but got '${null==a?void 0:a.kind}' instead.`)),a={kind:"name",next:a},f()}function y(){un.assert("name"===(null==a?void 0:a.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'name' but got '${null==a?void 0:a.kind}' instead.`)),a=a.next,f()}function v(n){if(!function(e){return!!(33554432&e.transformFlags)||!!l&&!!(16384&e.transformFlags)||!!l&&!!u&&!!(134217728&e.transformFlags)}(n))return n;switch(n.kind){case 170:return un.fail("Use `modifierVisitor` instead.");case 263:return function(n){if(I(n)){const r=[],i=uc(n,du)??n,o=i.name?t.createStringLiteralFromNode(i.name):t.createStringLiteral("default"),s=wy(n,32),a=wy(n,2048);if(n.name||(n=FM(e,n,o)),s&&a){const e=D(n);if(n.name){const i=t.createVariableDeclaration(t.getLocalName(n),void 0,void 0,e);ek(i,n);const o=t.createVariableDeclarationList([i],1),s=t.createVariableStatement(void 0,o);r.push(s);const a=t.createExportDefault(t.getDeclarationName(n));ek(a,n),mk(a,_k(n)),lk(a,Ov(n)),r.push(a)}else{const i=t.createExportDefault(e);ek(i,n),mk(i,_k(n)),lk(i,Ov(n)),r.push(i)}}else{un.assertIsDefined(n.name,"A class declaration that is not a default export must have a name.");const e=D(n),i=s?e=>VD(e)?void 0:C(e):C,o=tL(n.modifiers,i,Zl),a=t.getLocalName(n,!1,!0),c=t.createVariableDeclaration(a,void 0,void 0,e);ek(c,n);const l=t.createVariableDeclarationList([c],1),u=t.createVariableStatement(o,l);if(ek(u,n),mk(u,_k(n)),r.push(u),s){const e=t.createExternalModuleExport(a);ek(e,n),r.push(e)}}return be(r)}{const e=tL(n.modifiers,C,Zl),r=tL(n.heritageClauses,v,$T);_(void 0);const i=tL(n.members,E,uu);return m(),t.updateClassDeclaration(n,e,n.name,void 0,r,i)}}(n);case 231:return function(e){if(I(e)){const t=D(e);return ek(t,e),t}{const n=tL(e.modifiers,C,Zl),r=tL(e.heritageClauses,v,$T);_(void 0);const i=tL(e.members,E,uu);return m(),t.updateClassExpression(e,n,e.name,void 0,r,i)}}(n);case 176:case 172:case 175:return un.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 169:return function(n){zg(n,N)&&(n=PM(e,n,B(n.initializer)));const r=t.updateParameterDeclaration(n,void 0,n.dotDotDotToken,eL(n.name,v,nu),void 0,void 0,eL(n.initializer,v,Ju));r!==n&&(mk(r,n),aP(r,qv(n)),lk(r,qv(n)),ik(r.name,64));return r}(n);case 226:return O(n,!1);case 303:case 260:case 208:return function(t){zg(t,N)&&(t=PM(e,t,B(t.initializer)));return uL(t,v,e)}(n);case 277:return function(t){zg(t,N)&&(t=PM(e,t,B(t.expression)));return uL(t,v,e)}(n);case 110:return function(e){return l??e}(n);case 248:return function(n){return t.updateForStatement(n,eL(n.initializer,x,ed),eL(n.condition,v,Ju),eL(n.incrementor,x,Ju),cL(n.statement,v,e))}(n);case 244:return function(t){return uL(t,x,e)}(n);case 356:return $(n,!1);case 217:return G(n,!1);case 355:return function(e){const n=v,r=eL(e.expression,n,Ju);return t.updatePartiallyEmittedExpression(e,r)}(n);case 213:return function(n){if(sm(n.expression)&&l){const e=eL(n.expression,v,Ju),r=tL(n.arguments,v,Ju),i=t.createFunctionCallCall(e,l,r);return ek(i,n),aP(i,n),i}return uL(n,v,e)}(n);case 215:return function(n){if(sm(n.tag)&&l){const e=eL(n.tag,v,Ju),r=t.createFunctionBindCall(e,l,[]);ek(r,n),aP(r,n);const i=eL(n.template,v,qu);return t.updateTaggedTemplateExpression(n,r,void 0,i)}return uL(n,v,e)}(n);case 224:case 225:return q(n,!1);case 211:return function(n){if(sm(n)&&UD(n.name)&&l&&u){const e=t.createStringLiteralFromNode(n.name),r=t.createReflectGetCall(u,e,l);return ek(r,n.expression),aP(r,n.expression),r}return uL(n,v,e)}(n);case 212:return function(n){if(sm(n)&&l&&u){const e=eL(n.argumentExpression,v,Ju),r=t.createReflectGetCall(u,e,l);return ek(r,n.expression),aP(r,n.expression),r}return uL(n,v,e)}(n);case 167:return L(n);case 174:case 178:case 177:case 218:case 262:{"other"===(null==a?void 0:a.kind)?(un.assert(!d),a.depth++):(a={kind:"other",next:a,depth:0,savedPendingExpressions:d},d=void 0,f());const t=uL(n,b,e);return un.assert("other"===(null==a?void 0:a.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'other' but got '${null==a?void 0:a.kind}' instead.`)),a.depth>0?(un.assert(!d),a.depth--):(d=a.savedPendingExpressions,a=a.next,f()),t}default:return uL(n,b,e)}}function b(e){if(170!==e.kind)return v(e)}function C(e){if(170!==e.kind)return e}function E(s){switch(s.kind){case 176:return function(e){h(e);const n=tL(e.modifiers,C,Zl),r=tL(e.parameters,v,aw);let i;if(e.body&&c){const n=T(c.class,c);if(n){const r=[],o=t.copyPrologue(e.body.statements,r,!1,v),s=YL(e.body.statements,o);s.length>0?F(r,e.body.statements,o,s,0,n):(se(r,n),se(r,tL(e.body.statements,v,fd))),i=t.createBlock(r,!0),ek(i,e.body),aP(i,e.body)}}return i??(i=eL(e.body,v,DI)),g(),t.updateConstructorDeclaration(e,n,r,i)}(s);case 174:return function(e){h(e);const{modifiers:n,name:r,descriptorName:i}=P(e,c,ee);if(i)return g(),R(function(e,n,r){return e=tL(e,(e=>KD(e)?e:void 0),Zl),t.createGetAccessorDeclaration(e,n,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(r,t.createIdentifier("value")))]))}(n,r,i),e);{const i=tL(e.parameters,v,aw),o=eL(e.body,v,DI);return g(),R(t.updateMethodDeclaration(e,n,e.asteriskToken,r,void 0,void 0,i,void 0,o),e)}}(s);case 177:return function(e){h(e);const{modifiers:n,name:r,descriptorName:i}=P(e,c,te);if(i)return g(),R(oe(n,r,i),e);{const i=tL(e.parameters,v,aw),o=eL(e.body,v,DI);return g(),R(t.updateGetAccessorDeclaration(e,n,r,i,void 0,o),e)}}(s);case 178:return function(e){h(e);const{modifiers:n,name:r,descriptorName:i}=P(e,c,ne);if(i)return g(),R(ae(n,r,i),e);{const i=tL(e.parameters,v,aw),o=eL(e.body,v,DI);return g(),R(t.updateSetAccessorDeclaration(e,n,r,i,o),e)}}(s);case 172:return function(s){zg(s,N)&&(s=PM(e,s,B(s.initializer)));h(s),un.assert(!yf(s),"Not yet implemented.");const{modifiers:a,name:l,initializersName:u,extraInitializersName:d,descriptorName:p,thisArg:f}=P(s,c,Ny(s)?ie:void 0);r();let _=eL(s.initializer,v,Ju);u&&(_=n().createRunInitializersHelper(f??t.createThis(),u,_??t.createVoidZero()));Iy(s)&&c&&_&&(c.hasStaticInitializers=!0);const m=i();J(m)&&(_=t.createImmediatelyInvokedArrowFunction([...m,t.createReturnStatement(_)]));c&&(Iy(s)?(_=Y(c,!0,_),d&&(c.pendingStaticInitializers??(c.pendingStaticInitializers=[]),c.pendingStaticInitializers.push(n().createRunInitializersHelper(c.classThis??t.createThis(),d)))):(_=Y(c,!1,_),d&&(c.pendingInstanceInitializers??(c.pendingInstanceInitializers=[]),c.pendingInstanceInitializers.push(n().createRunInitializersHelper(t.createThis(),d)))));if(g(),Ny(s)&&p){const e=_k(s),n=ck(s),r=s.name;let i=r,c=r;if(ow(r)&&!VL(r.expression)){const e=rP(r);if(e)i=t.updateComputedPropertyName(r,eL(r.expression,v,Ju)),c=t.updateComputedPropertyName(r,e.left);else{const e=t.createTempVariable(o);lk(e,r.expression);const n=eL(r.expression,v,Ju),s=t.createAssignment(e,n);lk(s,r.expression),i=t.updateComputedPropertyName(r,s),c=t.updateComputedPropertyName(r,e)}}const l=tL(a,(e=>129!==e.kind?e:void 0),Zl),u=eP(t,s,l,_);ek(u,s),ik(u,3072),lk(u,n),lk(u.name,s.name);const d=oe(l,i,p);ek(d,s),mk(d,e),lk(d,n);const f=ae(l,c,p);return ek(f,s),ik(f,3072),lk(f,n),[u,d,f]}return R(t.updatePropertyDeclaration(s,a,l,void 0,void 0,_),s)}(s);case 175:return function(n){let r;if(h(n),wM(n))r=uL(n,v,e);else if(EM(n)){const t=l;l=void 0,r=uL(n,v,e),l=t}else if(r=n=uL(n,v,e),c&&(c.hasStaticInitializers=!0,J(c.pendingStaticInitializers))){const e=[];for(const n of c.pendingStaticInitializers){const r=t.createExpressionStatement(n);lk(r,ck(n)),e.push(r)}const n=t.createBlock(e,!0);r=[t.createClassStaticBlockDeclaration(n),r],c.pendingStaticInitializers=void 0}return g(),r}(s);default:return v(s)}}function x(e){switch(e.kind){case 224:case 225:return q(e,!0);case 226:return O(e,!0);case 356:return $(e,!0);case 217:return G(e,!0);default:return v(e)}}function S(e,n){return t.createUniqueName(`${function(e){let t=e.name&&UD(e.name)&&!Vl(e.name)?hc(e.name):e.name&&JD(e.name)&&!Vl(e.name)?hc(e.name).slice(1):e.name&&kD(e.name)&&ma(e.name.text,99)?e.name.text:du(e)?"class":"member";return Dd(e)&&(t=`get_${t}`),kd(e)&&(t=`set_${t}`),e.name&&JD(e.name)&&(t=`private_${t}`),Iy(e)&&(t=`static_${t}`),"_"+t}(e)}_${n}`,24)}function k(e,n){return t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(e,void 0,void 0,n)],1))}function D(o){r(),!TM(o)&&hm(!1,o)&&(o=FM(e,o,t.createStringLiteral("")));const s=t.getLocalName(o,!1,!1,!0),a=function(e){const r=t.createUniqueName("_metadata",48);let i,o,s,a,c,l=!1,u=!1,d=!1;if(fm(!1,e)){const n=J(e.members,(e=>(Wl(e)||fu(e))&&Ty(e)));s=t.createUniqueName("_classThis",n?24:48)}for(const r of e.members){if(mu(r)&&_m(!1,r,e))if(Ty(r)){if(!o){o=t.createUniqueName("_staticExtraInitializers",48);const r=n().createRunInitializersHelper(s??t.createThis(),o);lk(r,e.name??Ov(e)),a??(a=[]),a.push(r)}}else{if(!i){i=t.createUniqueName("_instanceExtraInitializers",48);const r=n().createRunInitializersHelper(t.createThis(),i);lk(r,e.name??Ov(e)),c??(c=[]),c.push(r)}i??(i=t.createUniqueName("_instanceExtraInitializers",48))}if(fw(r)?wM(r)||(l=!0):uw(r)&&(Ty(r)?l||(l=!!r.initializer||Oy(r)):u||(u=!yf(r))),(Wl(r)||fu(r))&&Ty(r)&&(d=!0),o&&i&&l&&u&&d)break}return{class:e,classThis:s,metadataReference:r,instanceMethodExtraInitializersName:i,staticMethodExtraInitializersName:o,hasStaticInitializers:l,hasNonAmbientInstanceFields:u,hasStaticPrivateClassElements:d,pendingStaticInitializers:a,pendingInstanceInitializers:c}}(o),c=[];let l,u,f,h,g=!1;const A=K(rM(o,!1));A&&(a.classDecoratorsName=t.createUniqueName("_classDecorators",48),a.classDescriptorName=t.createUniqueName("_classDescriptor",48),a.classExtraInitializersName=t.createUniqueName("_classExtraInitializers",48),un.assertIsDefined(a.classThis),c.push(k(a.classDecoratorsName,t.createArrayLiteralExpression(A)),k(a.classDescriptorName),k(a.classExtraInitializersName,t.createArrayLiteralExpression()),k(a.classThis)),a.hasStaticPrivateClassElements&&(g=!0,p=!0));const y=Eg(o.heritageClauses,96),b=y&&fe(y.types),C=b&&eL(b.expression,v,Ju);if(C){a.classSuper=t.createUniqueName("_classSuper",48);const e=uR(C),n=mI(e)&&!e.name||nI(e)&&!e.name||rI(e)?t.createComma(t.createNumericLiteral(0),C):C;c.push(k(a.classSuper,n));const r=t.updateExpressionWithTypeArguments(b,a.classSuper,void 0),i=t.updateHeritageClause(y,[r]);h=t.createNodeArray([i])}const x=a.classThis??t.createThis();_(a),l=re(l,function(e,n){const r=t.createVariableDeclaration(e,void 0,void 0,t.createConditionalExpression(t.createLogicalAnd(t.createTypeCheck(t.createIdentifier("Symbol"),"function"),t.createPropertyAccessExpression(t.createIdentifier("Symbol"),"metadata")),t.createToken(58),t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"create"),void 0,[n?ce(n):t.createNull()]),t.createToken(59),t.createVoidZero()));return t.createVariableStatement(void 0,t.createVariableDeclarationList([r],2))}(a.metadataReference,a.classSuper));let S=o.members;if(S=tL(S,(e=>_w(e)?e:E(e)),uu),S=tL(S,(e=>_w(e)?E(e):e),uu),d){let n;for(let r of d){r=eL(r,(function r(i){return 16384&i.transformFlags?110===i.kind?(n||(n=t.createUniqueName("_outerThis",16),c.unshift(k(n,t.createThis()))),n):uL(i,r,e):i}),Ju);l=re(l,t.createExpressionStatement(r))}d=void 0}if(m(),J(a.pendingInstanceInitializers)&&!iy(o)){const e=T(o,a);if(e){const n=Ag(o),r=[];if(!(!n||106===uR(n.expression).kind)){const e=t.createSpreadElement(t.createIdentifier("arguments")),n=t.createCallExpression(t.createSuper(),void 0,[e]);r.push(t.createExpressionStatement(n))}se(r,e);const i=t.createBlock(r,!0);f=t.createConstructorDeclaration(void 0,[],i)}}if(a.staticMethodExtraInitializersName&&c.push(k(a.staticMethodExtraInitializersName,t.createArrayLiteralExpression())),a.instanceMethodExtraInitializersName&&c.push(k(a.instanceMethodExtraInitializersName,t.createArrayLiteralExpression())),a.memberInfos&&np(a.memberInfos,((e,n)=>{Iy(n)&&(c.push(k(e.memberDecoratorsName)),e.memberInitializersName&&c.push(k(e.memberInitializersName,t.createArrayLiteralExpression())),e.memberExtraInitializersName&&c.push(k(e.memberExtraInitializersName,t.createArrayLiteralExpression())),e.memberDescriptorName&&c.push(k(e.memberDescriptorName)))})),a.memberInfos&&np(a.memberInfos,((e,n)=>{Iy(n)||(c.push(k(e.memberDecoratorsName)),e.memberInitializersName&&c.push(k(e.memberInitializersName,t.createArrayLiteralExpression())),e.memberExtraInitializersName&&c.push(k(e.memberExtraInitializersName,t.createArrayLiteralExpression())),e.memberDescriptorName&&c.push(k(e.memberDescriptorName)))})),l=se(l,a.staticNonFieldDecorationStatements),l=se(l,a.nonStaticNonFieldDecorationStatements),l=se(l,a.staticFieldDecorationStatements),l=se(l,a.nonStaticFieldDecorationStatements),a.classDescriptorName&&a.classDecoratorsName&&a.classExtraInitializersName&&a.classThis){l??(l=[]);const e=t.createPropertyAssignment("value",x),r=t.createObjectLiteralExpression([e]),i=t.createAssignment(a.classDescriptorName,r),c=t.createPropertyAccessExpression(x,"name"),u=n().createESDecorateHelper(t.createNull(),i,a.classDecoratorsName,{kind:"class",name:c,metadata:a.metadataReference},t.createNull(),a.classExtraInitializersName),d=t.createExpressionStatement(u);lk(d,Ov(o)),l.push(d);const p=t.createPropertyAccessExpression(a.classDescriptorName,"value"),f=t.createAssignment(a.classThis,p),_=t.createAssignment(s,f);l.push(t.createExpressionStatement(_))}if(l.push(function(e,n){const r=t.createObjectDefinePropertyCall(e,t.createPropertyAccessExpression(t.createIdentifier("Symbol"),"metadata"),t.createPropertyDescriptor({configurable:!0,writable:!0,enumerable:!0,value:n},!0));return ik(t.createIfStatement(n,t.createExpressionStatement(r)),1)}(x,a.metadataReference)),J(a.pendingStaticInitializers)){for(const e of a.pendingStaticInitializers){const n=t.createExpressionStatement(e);lk(n,ck(e)),u=re(u,n)}a.pendingStaticInitializers=void 0}if(a.classExtraInitializersName){const e=n().createRunInitializersHelper(x,a.classExtraInitializersName),r=t.createExpressionStatement(e);lk(r,o.name??Ov(o)),u=re(u,r)}l&&u&&!a.hasStaticInitializers&&(se(l,u),u=void 0);const D=l&&t.createClassStaticBlockDeclaration(t.createBlock(l,!0));D&&g&&sk(D,32);const w=u&&t.createClassStaticBlockDeclaration(t.createBlock(u,!0));if(D||f||w){const e=[],n=S.findIndex(wM);D?(se(e,S,0,n+1),e.push(D),se(e,S,n+1)):se(e,S),f&&e.push(f),w&&e.push(w),S=aP(t.createNodeArray(e),S)}const I=i();let F;if(A){F=t.createClassExpression(void 0,void 0,void 0,h,S),a.classThis&&(F=SM(t,F,a.classThis));const e=t.createVariableDeclaration(s,void 0,void 0,F),n=t.createVariableDeclarationList([e]),r=a.classThis?t.createAssignment(s,a.classThis):s;c.push(t.createVariableStatement(void 0,n),t.createReturnStatement(r))}else F=t.createClassExpression(void 0,o.name,void 0,h,S),c.push(t.createReturnStatement(F));if(g){ak(F,32);for(const e of F.members)(Wl(e)||fu(e))&&Ty(e)&&ak(e,32)}return ek(F,o),t.createImmediatelyInvokedArrowFunction(t.mergeLexicalEnvironment(c,I))}function I(e){return hm(!1,e)||mm(!1,e)}function T(e,n){if(J(n.pendingInstanceInitializers)){const e=[];return e.push(t.createExpressionStatement(t.inlineExpressions(n.pendingInstanceInitializers))),n.pendingInstanceInitializers=void 0,e}}function F(e,n,r,i,o,s){const a=i[o],c=n[a];if(se(e,tL(n,v,fd,r,a-r)),JI(c)){const n=[];F(n,c.tryBlock.statements,0,i,o+1,s);aP(t.createNodeArray(n),c.tryBlock.statements),e.push(t.updateTryStatement(c,t.updateBlock(c.tryBlock,n),eL(c.catchClause,v,QT),eL(c.finallyBlock,v,DI)))}else se(e,tL(n,v,fd,a,1)),se(e,s);se(e,tL(n,v,fd,a+1))}function R(e,t){return e!==t&&(mk(e,t),lk(e,Ov(t))),e}function P(e,r,i){let s,a,c,l,u,p;if(!r){const t=tL(e.modifiers,C,Zl);return A(),a=Q(e.name),y(),{modifiers:t,referencedName:s,name:a,initializersName:c,descriptorName:p,thisArg:u}}const f=K(iM(e,r.class,!1)),_=tL(e.modifiers,C,Zl);if(f){const m=S(e,"decorators"),h=t.createArrayLiteralExpression(f),g=t.createAssignment(m,h),b={memberDecoratorsName:m};r.memberInfos??(r.memberInfos=new Map),r.memberInfos.set(e,b),d??(d=[]),d.push(g);const C=mu(e)||fu(e)?Iy(e)?r.staticNonFieldDecorationStatements??(r.staticNonFieldDecorationStatements=[]):r.nonStaticNonFieldDecorationStatements??(r.nonStaticNonFieldDecorationStatements=[]):uw(e)&&!fu(e)?Iy(e)?r.staticFieldDecorationStatements??(r.staticFieldDecorationStatements=[]):r.nonStaticFieldDecorationStatements??(r.nonStaticFieldDecorationStatements=[]):un.fail(),E=mw(e)?"getter":hw(e)?"setter":pw(e)?"method":fu(e)?"accessor":uw(e)?"field":un.fail();let x;if(UD(e.name)||JD(e.name))x={computed:!1,name:e.name};else if(Mg(e.name))x={computed:!0,name:t.createStringLiteralFromNode(e.name)};else{const r=e.name.expression;Mg(r)&&!UD(r)?x={computed:!0,name:t.createStringLiteralFromNode(r)}:(A(),({referencedName:s,name:a}=function(e){if(Mg(e)||JD(e)){return{referencedName:t.createStringLiteralFromNode(e),name:eL(e,v,tu)}}if(Mg(e.expression)&&!UD(e.expression)){return{referencedName:t.createStringLiteralFromNode(e.expression),name:eL(e,v,tu)}}const r=t.getGeneratedNameForNode(e);o(r);const i=n().createPropKeyHelper(eL(e.expression,v,Ju)),s=t.createAssignment(r,i),a=t.updateComputedPropertyName(e,z(s));return{referencedName:r,name:a}}(e.name)),x={computed:!0,name:s},y())}const k={kind:E,name:x,static:Iy(e),private:JD(e.name),access:{get:uw(e)||mw(e)||pw(e),set:uw(e)||hw(e)},metadata:r.metadataReference};if(mu(e)){const o=Iy(e)?r.staticMethodExtraInitializersName:r.instanceMethodExtraInitializersName;let s;un.assertIsDefined(o),Wl(e)&&i&&(s=i(e,tL(_,(e=>et(e,GD)),Zl)),b.memberDescriptorName=p=S(e,"descriptor"),s=t.createAssignment(p,s));const a=n().createESDecorateHelper(t.createThis(),s??t.createNull(),m,k,t.createNull(),o),c=t.createExpressionStatement(a);lk(c,Ov(e)),C.push(c)}else if(uw(e)){let o;c=b.memberInitializersName??(b.memberInitializersName=S(e,"initializers")),l=b.memberExtraInitializersName??(b.memberExtraInitializersName=S(e,"extraInitializers")),Iy(e)&&(u=r.classThis),Wl(e)&&Ny(e)&&i&&(o=i(e,void 0),b.memberDescriptorName=p=S(e,"descriptor"),o=t.createAssignment(p,o));const s=n().createESDecorateHelper(fu(e)?t.createThis():t.createNull(),o??t.createNull(),m,k,c,l),a=t.createExpressionStatement(s);lk(a,Ov(e)),C.push(a)}}return void 0===a&&(A(),a=Q(e.name),y()),J(_)||!pw(e)&&!uw(e)||ik(a,1024),{modifiers:_,referencedName:s,name:a,initializersName:c,extraInitializersName:l,descriptorName:p,thisArg:u}}function N(e){return mI(e)&&!e.name&&I(e)}function B(e){const t=uR(e);return mI(t)&&!t.name&&!hm(!1,t)}function O(n,r){if(ov(n)){const e=H(n.left),r=eL(n.right,v,Ju);return t.updateBinaryExpression(n,e,n.operatorToken,r)}if(iv(n)){if(zg(n,N))return uL(n=PM(e,n,B(n.right)),v,e);if(sm(n.left)&&l&&u){let e=Yw(n.left)?eL(n.left.argumentExpression,v,Ju):UD(n.left.name)?t.createStringLiteralFromNode(n.left.name):void 0;if(e){let i=eL(n.right,v,Ju);if(HL(n.operatorToken.kind)){let r=e;VL(e)||(r=t.createTempVariable(o),e=t.createAssignment(r,e));const s=t.createReflectGetCall(u,r,l);ek(s,n.left),aP(s,n.left),i=t.createBinaryExpression(s,GL(n.operatorToken.kind),i),aP(i,n)}const s=r?void 0:t.createTempVariable(o);return s&&(i=t.createAssignment(s,i),aP(s,n)),i=t.createReflectSetCall(u,e,i,l),ek(i,n),aP(i,n),s&&(i=t.createComma(i,s),aP(i,n)),i}}}if(28===n.operatorToken.kind){const e=eL(n.left,x,Ju),i=eL(n.right,r?x:v,Ju);return t.updateBinaryExpression(n,e,n.operatorToken,i)}return uL(n,v,e)}function q(n,r){if(46===n.operator||47===n.operator){const e=sg(n.operand);if(sm(e)&&l&&u){let i=Yw(e)?eL(e.argumentExpression,v,Ju):UD(e.name)?t.createStringLiteralFromNode(e.name):void 0;if(i){let e=i;VL(i)||(e=t.createTempVariable(o),i=t.createAssignment(e,i));let s=t.createReflectGetCall(u,e,l);ek(s,n),aP(s,n);const a=r?void 0:t.createTempVariable(o);return s=XF(t,n,s,o,a),s=t.createReflectSetCall(u,i,s,l),ek(s,n),aP(s,n),a&&(s=t.createComma(s,a),aP(s,n)),s}}}return uL(n,v,e)}function $(e,n){const r=n?lL(e.elements,x):lL(e.elements,v,x);return t.updateCommaListExpression(e,r)}function Q(e){return ow(e)?L(e):eL(e,v,tu)}function L(e){let n=eL(e.expression,v,Ju);return VL(n)||(n=z(n)),t.updateComputedPropertyName(e,n)}function M(n){if(Ww(n)||Gw(n))return H(n);if(sm(n)&&l&&u){const e=Yw(n)?eL(n.argumentExpression,v,Ju):UD(n.name)?t.createStringLiteralFromNode(n.name):void 0;if(e){const r=t.createTempVariable(void 0),i=t.createAssignmentTargetWrapper(r,t.createReflectSetCall(u,e,r,l));return ek(i,n),aP(i,n),i}}return uL(n,v,e)}function j(n){if(iv(n,!0)){zg(n,N)&&(n=PM(e,n,B(n.right)));const r=M(n.left),i=eL(n.right,v,Ju);return t.updateBinaryExpression(n,r,n.operatorToken,i)}return M(n)}function U(n){return un.assertNode(n,Fu),_I(n)?function(n){if($u(n.expression)){const e=M(n.expression);return t.updateSpreadElement(n,e)}return uL(n,v,e)}(n):hI(n)?uL(n,v,e):j(n)}function V(n){return un.assertNode(n,Iu),jT(n)?function(n){if($u(n.expression)){const e=M(n.expression);return t.updateSpreadAssignment(n,e)}return uL(n,v,e)}(n):MT(n)?function(t){return zg(t,N)&&(t=PM(e,t,B(t.objectAssignmentInitializer))),uL(t,v,e)}(n):LT(n)?function(n){const r=eL(n.name,v,tu);if(iv(n.initializer,!0)){const e=j(n.initializer);return t.updatePropertyAssignment(n,r,e)}if($u(n.initializer)){const e=M(n.initializer);return t.updatePropertyAssignment(n,r,e)}return uL(n,v,e)}(n):uL(n,v,e)}function H(e){if(Gw(e)){const n=tL(e.elements,U,Ju);return t.updateArrayLiteralExpression(e,n)}{const n=tL(e.properties,V,yu);return t.updateObjectLiteralExpression(e,n)}}function G(e,n){const r=n?x:v,i=eL(e.expression,r,Ju);return t.updateParenthesizedExpression(e,i)}function W(e,n){return J(e)&&(n?tI(n)?(e.push(n.expression),n=t.updateParenthesizedExpression(n,t.inlineExpressions(e))):(e.push(n),n=t.inlineExpressions(e)):n=t.inlineExpressions(e)),n}function z(e){const t=W(d,e);return un.assertIsDefined(t),t!==e&&(d=void 0),t}function Y(e,t,n){const r=W(t?e.pendingStaticInitializers:e.pendingInstanceInitializers,n);return r!==n&&(t?e.pendingStaticInitializers=void 0:e.pendingInstanceInitializers=void 0),r}function K(e){if(!e)return;const t=[];return se(t,w(e.decorators,X)),t}function X(e){const n=eL(e.expression,v,Ju);ik(n,3072);if(xb(uR(n))){const{target:e,thisArg:r}=t.createCallBinding(n,o,s,!0);return t.restoreOuterExpressions(n,t.createFunctionBindCall(e,r,[]))}return n}function Z(e,r,i,o,s,a,c){const l=t.createFunctionExpression(i,o,void 0,void 0,a,void 0,c??t.createBlock([]));ek(l,e),lk(l,Ov(e)),ik(l,3072);const u="get"===s||"set"===s?s:void 0,d=t.createStringLiteralFromNode(r,void 0),p=n().createSetFunctionNameHelper(l,d,u),f=t.createPropertyAssignment(t.createIdentifier(s),p);return ek(f,e),lk(f,Ov(e)),ik(f,3072),f}function ee(e,n){return t.createObjectLiteralExpression([Z(e,e.name,n,e.asteriskToken,"value",tL(e.parameters,v,aw),eL(e.body,v,DI))])}function te(e,n){return t.createObjectLiteralExpression([Z(e,e.name,n,void 0,"get",[],eL(e.body,v,DI))])}function ne(e,n){return t.createObjectLiteralExpression([Z(e,e.name,n,void 0,"set",tL(e.parameters,v,aw),eL(e.body,v,DI))])}function ie(e,n){return t.createObjectLiteralExpression([Z(e,e.name,n,void 0,"get",[],t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(e.name)))])),Z(e,e.name,n,void 0,"set",[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(e.name)),t.createIdentifier("value")))]))])}function oe(e,n,r){return e=tL(e,(e=>KD(e)?e:void 0),Zl),t.createGetAccessorDeclaration(e,n,[],void 0,t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(r,t.createIdentifier("get")),t.createThis(),[]))]))}function ae(e,n,r){return e=tL(e,(e=>KD(e)?e:void 0),Zl),t.createSetAccessorDeclaration(e,n,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(r,t.createIdentifier("set")),t.createThis(),[t.createIdentifier("value")]))]))}function ce(e){return t.createBinaryExpression(t.createElementAccessExpression(e,t.createPropertyAccessExpression(t.createIdentifier("Symbol"),"metadata")),61,t.createNull())}}function JM(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:o}=e,s=e.getEmitResolver(),a=e.getCompilerOptions(),c=yC(a);let l,d,p,f,_=0,m=0;const h=[];let g=0;const A=e.onEmitNode,y=e.onSubstituteNode;return e.onEmitNode=function(e,t,n){if(1&_&&function(e){const t=e.kind;return 263===t||176===t||174===t||177===t||178===t}(t)){const r=(s.hasNodeCheckFlag(t,128)?128:0)|(s.hasNodeCheckFlag(t,256)?256:0);if(r!==m){const i=m;return m=r,A(e,t,n),void(m=i)}}else if(_&&h[JQ(t)]){const r=m;return m=0,A(e,t,n),void(m=r)}A(e,t,n)},e.onSubstituteNode=function(e,n){if(n=y(e,n),1===e&&m)return function(e){switch(e.kind){case 211:return H(e);case 212:return G(e);case 213:return function(e){const n=e.expression;if(sm(n)){const r=zw(n)?H(n):G(n);return t.createCallExpression(t.createPropertyAccessExpression(r,"call"),void 0,[t.createThis(),...e.arguments])}return e}(e)}return e}(n);return n},BL(e,(function(t){if(t.isDeclarationFile)return t;v(1,!1),v(2,!Af(t,a));const n=uL(t,S,e);return kk(n,e.readEmitHelpers()),n}));function v(e,t){g=t?g|e:g&~e}function b(e){return!!(g&e)}function C(e,t,n){const r=e&~g;if(r){v(r,!0);const e=t(n);return v(r,!1),e}return t(n)}function E(t){return uL(t,S,e)}function x(t){switch(t.kind){case 218:case 262:case 174:case 177:case 178:case 176:return t;case 169:case 208:case 260:break;case 80:if(f&&s.isArgumentsLocalBinding(t))return f}return uL(t,x,e)}function S(n){if(!(256&n.transformFlags))return f?x(n):n;switch(n.kind){case 134:return;case 223:return function(n){if(!b(1))return uL(n,S,e);return ek(aP(t.createYieldExpression(void 0,eL(n.expression,S,Ju)),n),n)}(n);case 174:return C(3,I,n);case 262:return C(3,R,n);case 218:return C(3,P,n);case 219:return C(1,N,n);case 211:return d&&zw(n)&&108===n.expression.kind&&d.add(n.name.escapedText),uL(n,S,e);case 212:return d&&108===n.expression.kind&&(p=!0),uL(n,S,e);case 177:return C(3,T,n);case 178:return C(3,F,n);case 176:return C(3,D,n);case 263:case 231:return C(3,E,n);default:return uL(n,S,e)}}function k(n){if(Zh(n))switch(n.kind){case 243:return function(n){if(O(n.declarationList)){const e=q(n.declarationList,!1);return e?t.createExpressionStatement(e):void 0}return uL(n,S,e)}(n);case 248:return function(n){const r=n.initializer;return t.updateForStatement(n,O(r)?q(r,!1):eL(n.initializer,S,ed),eL(n.condition,S,Ju),eL(n.incrementor,S,Ju),cL(n.statement,k,e))}(n);case 249:return function(n){return t.updateForInStatement(n,O(n.initializer)?q(n.initializer,!0):un.checkDefined(eL(n.initializer,S,ed)),un.checkDefined(eL(n.expression,S,Ju)),cL(n.statement,k,e))}(n);case 250:return function(n){return t.updateForOfStatement(n,eL(n.awaitModifier,S,zD),O(n.initializer)?q(n.initializer,!0):un.checkDefined(eL(n.initializer,S,ed)),un.checkDefined(eL(n.expression,S,Ju)),cL(n.statement,k,e))}(n);case 299:return function(t){const n=new Set;let r;if(B(t.variableDeclaration,n),n.forEach(((e,t)=>{l.has(t)&&(r||(r=new Set(l)),r.delete(t))})),r){const n=l;l=r;const i=uL(t,k,e);return l=n,i}return uL(t,k,e)}(n);case 241:case 255:case 269:case 296:case 297:case 258:case 246:case 247:case 245:case 254:case 256:return uL(n,k,e);default:return un.assertNever(n,"Unhandled node.")}return S(n)}function D(n){const r=f;f=void 0;const i=t.updateConstructorDeclaration(n,tL(n.modifiers,S,Zl),oL(n.parameters,S,e),M(n));return f=r,i}function I(n){let r;const i=Ng(n),o=f;f=void 0;const s=t.updateMethodDeclaration(n,tL(n.modifiers,S,hu),n.asteriskToken,n.name,void 0,void 0,r=2&i?U(n):oL(n.parameters,S,e),void 0,2&i?J(n,r):M(n));return f=o,s}function T(n){const r=f;f=void 0;const i=t.updateGetAccessorDeclaration(n,tL(n.modifiers,S,hu),n.name,oL(n.parameters,S,e),void 0,M(n));return f=r,i}function F(n){const r=f;f=void 0;const i=t.updateSetAccessorDeclaration(n,tL(n.modifiers,S,hu),n.name,oL(n.parameters,S,e),M(n));return f=r,i}function R(n){let r;const i=f;f=void 0;const o=Ng(n),s=t.updateFunctionDeclaration(n,tL(n.modifiers,S,hu),n.asteriskToken,n.name,void 0,r=2&o?U(n):oL(n.parameters,S,e),void 0,2&o?J(n,r):aL(n.body,S,e));return f=i,s}function P(n){let r;const i=f;f=void 0;const o=Ng(n),s=t.updateFunctionExpression(n,tL(n.modifiers,S,Zl),n.asteriskToken,n.name,void 0,r=2&o?U(n):oL(n.parameters,S,e),void 0,2&o?J(n,r):aL(n.body,S,e));return f=i,s}function N(n){let r;const i=Ng(n);return t.updateArrowFunction(n,tL(n.modifiers,S,Zl),void 0,r=2&i?U(n):oL(n.parameters,S,e),void 0,n.equalsGreaterThanToken,2&i?J(n,r):aL(n.body,S,e))}function B({name:e},t){if(UD(e))t.add(e.escapedText);else for(const n of e.elements)hI(n)||B(n,t)}function O(e){return!!e&&GI(e)&&!(7&e.flags)&&e.declarations.some(L)}function q(e,n){!function(e){u(e.declarations,$)}(e);const r=eb(e);return 0===r.length?n?eL(t.converters.convertToAssignmentElementTarget(e.declarations[0].name),S,Ju):void 0:t.inlineExpressions(w(r,Q))}function $({name:e}){if(UD(e))o(e);else for(const t of e.elements)hI(t)||$(t)}function Q(e){const n=lk(t.createAssignment(t.converters.convertToAssignmentElementTarget(e.name),e.initializer),e);return un.checkDefined(eL(n,S,Ju))}function L({name:e}){if(UD(e))return l.has(e.escapedText);for(const t of e.elements)if(!hI(t)&&L(t))return!0;return!1}function M(n){un.assertIsDefined(n.body);const r=d,i=p;d=new Set,p=!1;let o=aL(n.body,S,e);const a=uc(n,ou);if(c>=2&&(s.hasNodeCheckFlag(n,256)||s.hasNodeCheckFlag(n,128))&&!!(3&~Ng(a))){if(V(),d.size){const e=VM(t,s,n,d);h[JQ(e)]=!0;const r=o.statements.slice();Pp(r,[e]),o=t.updateBlock(o,r)}p&&(s.hasNodeCheckFlag(n,256)?Sk(o,CD):s.hasNodeCheckFlag(n,128)&&Sk(o,bD))}return d=r,p=i,o}function j(){un.assert(f);const e=t.createVariableDeclaration(f,void 0,void 0,t.createIdentifier("arguments")),n=t.createVariableStatement(void 0,[e]);return pR(n),ok(n,2097152),n}function U(n){if(dM(n.parameters))return oL(n.parameters,S,e);const r=[];for(const e of n.parameters){if(e.initializer||e.dotDotDotToken){if(219===n.kind){const e=t.createParameterDeclaration(void 0,t.createToken(26),t.createUniqueName("args",8));r.push(e)}break}const i=t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(e.name,8));r.push(i)}const i=t.createNodeArray(r);return aP(i,n.parameters),i}function J(o,a){const u=dM(o.parameters)?void 0:oL(o.parameters,S,e);r();const _=uc(o,ru).type,m=c<2?function(e){const t=e&&um(e);if(t&&eu(t)){const e=s.getTypeReferenceSerializationKind(t);if(1===e||0===e)return t}return}(_):void 0,g=219===o.kind,A=f,y=s.hasNodeCheckFlag(o,512)&&!f;let v;if(y&&(f=t.createUniqueName("arguments")),u)if(g){const e=[];un.assert(a.length<=o.parameters.length);for(let n=0;n=2&&(s.hasNodeCheckFlag(o,256)||s.hasNodeCheckFlag(o,128));if(r&&(V(),d.size)){const n=VM(t,s,o,d);h[JQ(n)]=!0,Pp(e,[n])}y&&Pp(e,[j()]);const i=t.createBlock(e,!0);aP(i,o.body),r&&p&&(s.hasNodeCheckFlag(o,256)?Sk(i,CD):s.hasNodeCheckFlag(o,128)&&Sk(i,bD)),w=i}return l=C,g||(d=E,p=x,f=A),w}function V(){1&_||(_|=1,e.enableSubstitution(213),e.enableSubstitution(211),e.enableSubstitution(212),e.enableEmitNotification(263),e.enableEmitNotification(174),e.enableEmitNotification(177),e.enableEmitNotification(178),e.enableEmitNotification(176),e.enableEmitNotification(243))}function H(e){return 108===e.expression.kind?aP(t.createPropertyAccessExpression(t.createUniqueName("_super",48),e.name),e):e}function G(e){return 108===e.expression.kind?function(e,n){return aP(256&m?t.createPropertyAccessExpression(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[e]),"value"):t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[e]),n)}(e.argumentExpression,e):e}}function VM(e,t,n,r){const i=t.hasNodeCheckFlag(n,256),o=[];return r.forEach(((t,n)=>{const r=mc(n),s=[];s.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,ik(e.createPropertyAccessExpression(ik(e.createSuper(),8),r),8)))),i&&s.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(ik(e.createPropertyAccessExpression(ik(e.createSuper(),8),r),8),e.createIdentifier("v"))))),o.push(e.createPropertyAssignment(r,e.createObjectLiteralExpression(s)))})),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createUniqueName("_super",48),void 0,void 0,e.createCallExpression(e.createPropertyAccessExpression(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteralExpression(o,!0)]))],2))}function HM(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:o}=e,s=e.getEmitResolver(),a=e.getCompilerOptions(),c=yC(a),l=e.onEmitNode;e.onEmitNode=function(e,t,n){if(1&A&&function(e){const t=e.kind;return 263===t||176===t||174===t||177===t||178===t}(t)){const r=(s.hasNodeCheckFlag(t,128)?128:0)|(s.hasNodeCheckFlag(t,256)?256:0);if(r!==y){const i=y;return y=r,l(e,t,n),void(y=i)}}else if(A&&b[JQ(t)]){const r=y;return y=0,l(e,t,n),void(y=r)}l(e,t,n)};const u=e.onSubstituteNode;e.onSubstituteNode=function(e,n){if(n=u(e,n),1===e&&y)return function(e){switch(e.kind){case 211:return K(e);case 212:return X(e);case 213:return function(e){const n=e.expression;if(sm(n)){const r=zw(n)?K(n):X(n);return t.createCallExpression(t.createPropertyAccessExpression(r,"call"),void 0,[t.createThis(),...e.arguments])}return e}(e)}return e}(n);return n};let d,p,f,_,m,h,g=!1,A=0,y=0,v=0;const b=[];return BL(e,(function(n){if(n.isDeclarationFile)return n;f=n;const r=function(n){const r=C(2,Af(n,a)?0:1);g=!1;const i=uL(n,S,e),o=H(i.statements,_&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(_))]),s=t.updateSourceFile(i,aP(t.createNodeArray(o),n.statements));return E(r),s}(n);return kk(r,e.readEmitHelpers()),f=void 0,_=void 0,r}));function C(e,t){const n=v;return v=3&(v&~e|t),n}function E(e){v=e}function x(e){_=re(_,t.createVariableDeclaration(e))}function S(e){return T(e,!1)}function k(e){return T(e,!0)}function D(e){if(134!==e.kind)return e}function w(e,t,n,r){if(function(e,t){return v!==(v&~e|t)}(n,r)){const i=C(n,r),o=e(t);return E(i),o}return e(t)}function I(t){return uL(t,S,e)}function T(r,i){if(!(128&r.transformFlags))return r;switch(r.kind){case 223:return function(r){if(2&d&&1&d)return ek(aP(t.createYieldExpression(void 0,n().createAwaitHelper(eL(r.expression,S,Ju))),r),r);return uL(r,S,e)}(r);case 229:return function(r){if(2&d&&1&d){if(r.asteriskToken){const e=eL(un.checkDefined(r.expression),S,Ju);return ek(aP(t.createYieldExpression(void 0,n().createAwaitHelper(t.updateYieldExpression(r,r.asteriskToken,aP(n().createAsyncDelegatorHelper(aP(n().createAsyncValuesHelper(e),e)),e)))),r),r)}return ek(aP(t.createYieldExpression(void 0,N(r.expression?eL(r.expression,S,Ju):t.createVoidZero())),r),r)}return uL(r,S,e)}(r);case 253:return function(n){if(2&d&&1&d)return t.updateReturnStatement(n,N(n.expression?eL(n.expression,S,Ju):t.createVoidZero()));return uL(n,S,e)}(r);case 256:return function(n){if(2&d){const e=q_(n);return 250===e.kind&&e.awaitModifier?P(e,n):t.restoreEnclosingLabel(eL(e,S,fd,t.liftToBlock),n)}return uL(n,S,e)}(r);case 210:return function(r){if(65536&r.transformFlags){const e=function(e){let n;const r=[];for(const i of e)if(305===i.kind){n&&(r.push(t.createObjectLiteralExpression(n)),n=void 0);const e=i.expression;r.push(eL(e,S,Ju))}else n=re(n,303===i.kind?t.createPropertyAssignment(i.name,eL(i.initializer,S,Ju)):eL(i,S,yu));n&&r.push(t.createObjectLiteralExpression(n));return r}(r.properties);e.length&&210!==e[0].kind&&e.unshift(t.createObjectLiteralExpression());let i=e[0];if(e.length>1){for(let t=1;t=2&&(s.hasNodeCheckFlag(o,256)||s.hasNodeCheckFlag(o,128));if(_){1&A||(A|=1,e.enableSubstitution(213),e.enableSubstitution(211),e.enableSubstitution(212),e.enableEmitNotification(263),e.enableEmitNotification(174),e.enableEmitNotification(177),e.enableEmitNotification(178),e.enableEmitNotification(176),e.enableEmitNotification(243));const n=VM(t,s,o,m);b[JQ(n)]=!0,Pp(d,[n])}d.push(f);const g=t.updateBlock(o.body,d);return _&&h&&(s.hasNodeCheckFlag(o,256)?Sk(g,CD):s.hasNodeCheckFlag(o,128)&&Sk(g,bD)),m=l,h=u,g}function z(e){r();let n=0;const o=[],s=eL(e.body,S,Xu)??t.createBlock([]);DI(s)&&(n=t.copyPrologue(s.statements,o,!1,S)),se(o,Y(void 0,e));const a=i();if(n>0||J(o)||J(a)){const e=t.converters.convertToFunctionBlock(s,!0);return Pp(o,a),se(o,e.statements.slice(n)),t.updateBlock(e,aP(t.createNodeArray(o),e.statements))}return s}function Y(n,r){let i=!1;for(const o of r.parameters)if(i){if(Cu(o.name)){if(o.name.elements.length>0){const r=gM(o,S,e,0,t.getGeneratedNameForNode(o));if(J(r)){const e=t.createVariableDeclarationList(r),i=t.createVariableStatement(void 0,e);ik(i,2097152),n=re(n,i)}}else if(o.initializer){const e=t.getGeneratedNameForNode(o),r=eL(o.initializer,S,Ju),i=t.createAssignment(e,r),s=t.createExpressionStatement(i);ik(s,2097152),n=re(n,s)}}else if(o.initializer){const e=t.cloneNode(o.name);aP(e,o.name),ik(e,96);const r=eL(o.initializer,S,Ju);ok(r,3168);const i=t.createAssignment(e,r);aP(i,o),ik(i,3072);const s=t.createBlock([t.createExpressionStatement(i)]);aP(s,o),ik(s,3905);const a=t.createTypeCheck(t.cloneNode(o.name),"undefined"),c=t.createIfStatement(a,s);pR(c),aP(c,o),ik(c,2101056),n=re(n,c)}}else if(65536&o.transformFlags){i=!0;const r=gM(o,S,e,1,t.getGeneratedNameForNode(o),!1,!0);if(J(r)){const e=t.createVariableDeclarationList(r),i=t.createVariableStatement(void 0,e);ik(i,2097152),n=re(n,i)}}return n}function K(e){return 108===e.expression.kind?aP(t.createPropertyAccessExpression(t.createUniqueName("_super",48),e.name),e):e}function X(e){return 108===e.expression.kind?function(e,n){return aP(256&y?t.createPropertyAccessExpression(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[e]),"value"):t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[e]),n)}(e.argumentExpression,e):e}}function GM(e){const t=e.factory;return BL(e,(function(t){if(t.isDeclarationFile)return t;return uL(t,n,e)}));function n(r){return 64&r.transformFlags?299===r.kind?function(r){if(!r.variableDeclaration)return t.updateCatchClause(r,t.createVariableDeclaration(t.createTempVariable(void 0)),eL(r.block,n,DI));return uL(r,n,e)}(r):uL(r,n,e):r}}function WM(e){const{factory:t,hoistVariableDeclaration:n}=e;return BL(e,(function(t){if(t.isDeclarationFile)return t;return uL(t,r,e)}));function r(i){if(!(32&i.transformFlags))return i;switch(i.kind){case 213:{const e=o(i,!1);return un.assertNotNode(e,CT),e}case 211:case 212:if(gl(i)){const e=a(i,!1,!1);return un.assertNotNode(e,CT),e}return uL(i,r,e);case 226:return 61===i.operatorToken.kind?function(e){let i=eL(e.left,r,Ju),o=i;JL(i)||(o=t.createTempVariable(n),i=t.createAssignment(o,i));return aP(t.createConditionalExpression(c(i,o),void 0,o,void 0,eL(e.right,r,Ju)),e)}(i):uL(i,r,e);case 220:return function(e){return gl(sg(e.expression))?ek(s(e.expression,!1,!0),e):t.updateDeleteExpression(e,eL(e.expression,r,Ju))}(i);default:return uL(i,r,e)}}function i(e,n,r){const i=s(e.expression,n,r);return CT(i)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(e,i.expression),i.thisArg):t.updateParenthesizedExpression(e,i)}function o(n,o){if(gl(n))return a(n,o,!1);if(tI(n.expression)&&gl(sg(n.expression))){const e=i(n.expression,!0,!1),o=tL(n.arguments,r,Ju);return CT(e)?aP(t.createFunctionCallCall(e.expression,e.thisArg,o),n):t.updateCallExpression(n,e,void 0,o)}return uL(n,r,e)}function s(e,s,c){switch(e.kind){case 217:return i(e,s,c);case 211:case 212:return function(e,i,o){if(gl(e))return a(e,i,o);let s,c=eL(e.expression,r,Ju);return un.assertNotNode(c,CT),i&&(JL(c)?s=c:(s=t.createTempVariable(n),c=t.createAssignment(s,c))),c=211===e.kind?t.updatePropertyAccessExpression(e,c,eL(e.name,r,UD)):t.updateElementAccessExpression(e,c,eL(e.argumentExpression,r,Ju)),s?t.createSyntheticReferenceExpression(c,s):c}(e,s,c);case 213:return o(e,s);default:return eL(e,r,Ju)}}function a(e,i,o){const{expression:a,chain:l}=function(e){un.assertNotNode(e,xl);const t=[e];for(;!e.questionDotToken&&!Zw(e);)e=tt(El(e.expression),gl),un.assertNotNode(e,xl),t.unshift(e);return{expression:e.expression,chain:t}}(e),u=s(El(a),hl(l[0]),!1);let d=CT(u)?u.thisArg:void 0,p=CT(u)?u.expression:u,f=t.restoreOuterExpressions(a,p,8);JL(p)||(p=t.createTempVariable(n),f=t.createAssignment(p,f));let _,m=p;for(let e=0;ee&&se(c,tL(n.statements,u,fd,e,p-e));break}p++}un.assert(pt&&(t=e)}return t}(n.caseBlock.clauses);if(r){const i=m();return h([t.updateSwitchStatement(n,eL(n.expression,u,Ju),t.updateCaseBlock(n.caseBlock,n.caseBlock.clauses.map((n=>function(n,r){if(0!==tj(n.statements))return OT(n)?t.updateCaseClause(n,eL(n.expression,u,Ju),d(n.statements,0,n.statements.length,r,void 0)):t.updateDefaultClause(n,d(n.statements,0,n.statements.length,r,void 0));return uL(n,u,e)}(n,i)))))],i,2===r)}return uL(n,u,e)}(n);default:return uL(n,u,e)}}function d(i,o,s,a,d){const m=[];for(let r=o;rt&&(t=e)}return t}function nj(e){const{factory:t,getEmitHelperFactory:n}=e,r=e.getCompilerOptions();let i,o;return BL(e,(function(n){if(n.isDeclarationFile)return n;i=n,o={},o.importSpecifier=WC(r,n);let s=uL(n,d,e);kk(s,e.readEmitHelpers());let a=s.statements;o.filenameDeclaration&&(a=Op(a.slice(),t.createVariableStatement(void 0,t.createVariableDeclarationList([o.filenameDeclaration],2))));if(o.utilizedImplicitRuntimeImports)for(const[e,r]of Pe(o.utilizedImplicitRuntimeImports.entries()))if(UP(n)){const n=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamedImports(Pe(r.values()))),t.createStringLiteral(e),void 0);Ix(n,!1),a=Op(a.slice(),n)}else if(Zf(n)){const n=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createObjectBindingPattern(Pe(r.values(),(e=>t.createBindingElement(void 0,e.propertyName,e.name)))),void 0,void 0,t.createCallExpression(t.createIdentifier("require"),void 0,[t.createStringLiteral(e)]))],2));Ix(n,!1),a=Op(a.slice(),n)}a!==s.statements&&(s=t.updateSourceFile(s,a));return o=void 0,s}));function s(){if(o.filenameDeclaration)return o.filenameDeclaration.name;const e=t.createVariableDeclaration(t.createUniqueName("_jsxFileName",48),void 0,void 0,t.createStringLiteral(i.fileName));return o.filenameDeclaration=e,o.filenameDeclaration.name}function c(e){const t=function(e){return 5===r.jsx?"jsxDEV":e?"jsxs":"jsx"}(e);return u(t)}function u(e){var n,i;const s="createElement"===e?o.importSpecifier:zC(o.importSpecifier,r),a=null==(i=null==(n=o.utilizedImplicitRuntimeImports)?void 0:n.get(s))?void 0:i.get(e);if(a)return a.name;o.utilizedImplicitRuntimeImports||(o.utilizedImplicitRuntimeImports=new Map);let c=o.utilizedImplicitRuntimeImports.get(s);c||(c=new Map,o.utilizedImplicitRuntimeImports.set(s,c));const l=t.createUniqueName(`_${e}`,112),u=t.createImportSpecifier(!1,t.createIdentifier(e),l);return Qk(l,u),c.set(e,u),l}function d(t){return 2&t.transformFlags?function(t){switch(t.kind){case 284:return m(t,!1);case 285:return h(t,!1);case 288:return g(t,!1);case 294:return B(t);default:return uL(t,d,e)}}(t):t}function p(e){switch(e.kind){case 12:return function(e){const n=function(e){let t,n=0,r=-1;for(let i=0;iLT(e)&&(UD(e.name)&&"__proto__"===hc(e.name)||kD(e.name)&&"__proto__"===e.name.text)))}function _(e){return void 0===o.importSpecifier||function(e){let t=!1;for(const n of e.attributes.properties)if(!PT(n)||Ww(n.expression)&&!n.expression.properties.some(jT)){if(t&&FT(n)&&UD(n.name)&&"key"===n.name.escapedText)return!0}else t=!0;return!1}(e)}function m(e,t){return(_(e.openingElement)?C:v)(e.openingElement,e.children,t,e)}function h(e,t){return(_(e)?C:v)(e,void 0,t,e)}function g(e,t){return(void 0===o.importSpecifier?x:E)(e.openingFragment,e.children,t,e)}function y(e){const n=lA(e);if(1===l(n)&&!n[0].dotDotDotToken){const e=p(n[0]);return e&&t.createPropertyAssignment("children",e)}const r=q(e,p);return l(r)?t.createPropertyAssignment("children",t.createArrayLiteralExpression(r)):void 0}function v(e,n,r,i){const o=N(e),s=n&&n.length?y(n):void 0,c=A(e.attributes.properties,(e=>!!e.name&&UD(e.name)&&"key"===e.name.escapedText)),u=c?S(e.attributes.properties,(e=>e!==c)):e.attributes.properties;return b(o,l(u)?k(u,s):t.createObjectLiteralExpression(s?[s]:a),c,n||a,r,i)}function b(e,n,o,a,u,d){var p;const f=lA(a),_=l(f)>1||!!(null==(p=f[0])?void 0:p.dotDotDotToken),m=[e,n];if(o&&m.push(I(o.initializer)),5===r.jsx){const e=uc(i);if(e&&JT(e)){void 0===o&&m.push(t.createVoidZero()),m.push(_?t.createTrue():t.createFalse());const n=Ms(e,d.pos);m.push(t.createObjectLiteralExpression([t.createPropertyAssignment("fileName",s()),t.createPropertyAssignment("lineNumber",t.createNumericLiteral(n.line+1)),t.createPropertyAssignment("columnNumber",t.createNumericLiteral(n.character+1))])),m.push(t.createThis())}}const h=aP(t.createCallExpression(c(_),void 0,m),d);return u&&pR(h),h}function C(n,s,a,c){const d=N(n),f=n.attributes.properties,_=l(f)?k(f):t.createNull(),m=void 0===o.importSpecifier?VF(t,e.getEmitResolver().getJsxFactoryEntity(i),r.reactNamespace,n):u("createElement"),h=HF(t,m,d,_,q(s,p),c);return a&&pR(h),h}function E(e,n,r,i){let o;if(n&&n.length){const e=function(e){const n=y(e);return n&&t.createObjectLiteralExpression([n])}(n);e&&(o=e)}return b(u("Fragment"),o||t.createObjectLiteralExpression([]),void 0,n,r,i)}function x(n,o,s,a){const c=GF(t,e.getEmitResolver().getJsxFactoryEntity(i),e.getEmitResolver().getJsxFragmentFactoryEntity(i),r.reactNamespace,q(o,p),n,a);return s&&pR(c),c}function k(e,i){const o=yC(r);return o&&o>=5?t.createObjectLiteralExpression(function(e,n){const r=F(j(e,PT,((e,n)=>F(w(e,(e=>n?function(e){return Ww(e.expression)&&!f(e.expression)?T(e.expression.properties,(e=>un.checkDefined(eL(e,d,yu)))):t.createSpreadAssignment(un.checkDefined(eL(e.expression,d,Ju)))}(e):D(e)))))));n&&r.push(n);return r}(e,i)):function(e,r){const i=[];let o=[];for(const t of e)if(PT(t)){if(Ww(t.expression)&&!f(t.expression)){for(const e of t.expression.properties)jT(e)?(s(),i.push(un.checkDefined(eL(e.expression,d,Ju)))):o.push(un.checkDefined(eL(e,d)));continue}s(),i.push(un.checkDefined(eL(t.expression,d,Ju)))}else o.push(D(t));r&&o.push(r);s(),i.length&&!Ww(i[0])&&i.unshift(t.createObjectLiteralExpression());return ye(i)||n().createAssignHelper(i);function s(){o.length&&(i.push(t.createObjectLiteralExpression(o)),o=[])}}(e,i)}function D(e){const n=function(e){const n=e.name;if(UD(n)){const e=hc(n);return/^[A-Z_]\w*$/i.test(e)?n:t.createStringLiteral(e)}return t.createStringLiteral(hc(n.namespace)+":"+hc(n.name))}(e),r=I(e.initializer);return t.createPropertyAssignment(n,r)}function I(e){if(void 0===e)return t.createTrue();if(11===e.kind){const n=void 0!==e.singleQuote?e.singleQuote:!jm(e,i),r=t.createStringLiteral(function(e){const t=P(e);return t===e?void 0:t}(e.text)||e.text,n);return aP(r,e)}return 294===e.kind?void 0===e.expression?t.createTrue():un.checkDefined(eL(e.expression,d,Ju)):xT(e)?m(e,!1):ST(e)?h(e,!1):wT(e)?g(e,!1):un.failBadSyntaxKind(e)}function R(e,t){const n=P(t);return void 0===e?n:e+" "+n}function P(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,((e,t,n,r,i,o,s)=>{if(i)return va(parseInt(i,10));if(o)return va(parseInt(o,16));{const t=rj.get(s);return t?va(t):e}}))}function N(e){if(284===e.kind)return N(e.openingElement);{const n=e.tagName;return UD(n)&&TA(n.escapedText)?t.createStringLiteral(hc(n)):BT(n)?t.createStringLiteral(hc(n.namespace)+":"+hc(n.name)):zF(t,n)}}function B(e){const n=eL(e.expression,d,Ju);return e.dotDotDotToken?t.createSpreadElement(n):n}}var rj=new Map(Object.entries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}));function ij(e){const{factory:t,hoistVariableDeclaration:n}=e;return BL(e,(function(t){if(t.isDeclarationFile)return t;return uL(t,r,e)}));function r(i){return 512&i.transformFlags?226===i.kind?function(i){switch(i.operatorToken.kind){case 68:return function(e){let i,o;const s=eL(e.left,r,Ju),a=eL(e.right,r,Ju);if(Yw(s)){const e=t.createTempVariable(n),r=t.createTempVariable(n);i=aP(t.createElementAccessExpression(aP(t.createAssignment(e,s.expression),s.expression),aP(t.createAssignment(r,s.argumentExpression),s.argumentExpression)),s),o=aP(t.createElementAccessExpression(e,r),s)}else if(zw(s)){const e=t.createTempVariable(n);i=aP(t.createPropertyAccessExpression(aP(t.createAssignment(e,s.expression),s.expression),s.name),s),o=aP(t.createPropertyAccessExpression(e,s.name),s)}else i=s,o=s;return aP(t.createAssignment(i,aP(t.createGlobalMethodCall("Math","pow",[o,a]),e)),e)}(i);case 43:return function(e){const n=eL(e.left,r,Ju),i=eL(e.right,r,Ju);return aP(t.createGlobalMethodCall("Math","pow",[n,i]),e)}(i);default:return uL(i,r,e)}}(i):uL(i,r,e):i}}function oj(e,t){return{kind:e,expression:t}}function sj(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:r,resumeLexicalEnvironment:i,endLexicalEnvironment:o,hoistVariableDeclaration:s}=e,a=e.getCompilerOptions(),c=e.getEmitResolver(),l=e.onSubstituteNode,u=e.onEmitNode;let d,p,f,_,m;function h(e){_=re(_,t.createVariableDeclaration(e))}e.onEmitNode=function(e,t,n){if(1&A&&ru(t)){const r=y(32670,16&Xp(t)?81:65);return u(e,t,n),void v(r,0,0)}u(e,t,n)},e.onSubstituteNode=function(e,n){if(n=l(e,n),1===e)return function(e){switch(e.kind){case 80:return function(e){if(2&A&&!ZF(e)){const n=c.getReferencedDeclarationWithCollidingName(e);if(n&&(!du(n)||!function(e,t){let n=fc(t);if(!n||n===e||n.end<=e.pos||n.pos>=e.end)return!1;const r=Tf(e);for(;n;){if(n===r||n===e)return!1;if(uu(n)&&n.parent===e)return!0;n=n.parent}return!1}(n,e)))return aP(t.getGeneratedNameForNode(Sc(n)),e)}return e}(e);case 110:return function(e){if(1&A&&16&f)return aP(R(),e);return e}(e)}return e}(n);if(UD(n))return function(e){if(2&A&&!ZF(e)){const n=fc(e,UD);if(n&&function(e){switch(e.parent.kind){case 208:case 263:case 266:case 260:return e.parent.name===e&&c.isDeclarationWithCollidingName(e.parent)}return!1}(n))return aP(t.getGeneratedNameForNode(n),e)}return e}(n);return n};let A=0;return BL(e,(function(n){if(n.isDeclarationFile)return n;d=n,p=n.text;const i=function(e){const n=y(8064,64),i=[],s=[];r();const a=t.copyPrologue(e.statements,i,!1,E);se(s,tL(e.statements,E,fd,a)),_&&s.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(_)));return t.mergeLexicalEnvironment(i,o()),ce(i,e),v(n,0,0),t.updateSourceFile(e,aP(t.createNodeArray(H(i,s)),e.statements))}(n);return kk(i,e.readEmitHelpers()),d=void 0,p=void 0,_=void 0,f=0,i}));function y(e,t){const n=f;return f=32767&(f&~e|t),n}function v(e,t,n){f=-32768&(f&~t|n)|e}function b(e){return!!(8192&f)&&253===e.kind&&!e.expression}function C(e){return!!(1024&e.transformFlags)||void 0!==m||8192&f&&function(e){return 4194304&e.transformFlags&&(QI(e)||FI(e)||LI(e)||MI(e)||tT(e)||OT(e)||qT(e)||JI(e)||QT(e)||jI(e)||Hu(e,!1)||DI(e))}(e)||Hu(e,!1)&&je(e)||!!(1&Zp(e))}function E(e){return C(e)?I(e,!1):e}function x(e){return C(e)?I(e,!0):e}function k(e){if(C(e)){const t=uc(e);if(uw(t)&&Ty(t)){const t=y(32670,16449),n=I(e,!1);return v(t,229376,0),n}return I(e,!1)}return e}function D(e){return 108===e.kind?lt(e,!0):E(e)}function I(n,r){switch(n.kind){case 126:return;case 263:return function(e){const n=t.createVariableDeclaration(t.getLocalName(e,!0),void 0,void 0,N(e));ek(n,e);const r=[],i=t.createVariableStatement(void 0,t.createVariableDeclarationList([n]));if(ek(i,e),aP(i,e),pR(i),r.push(i),wy(e,32)){const n=wy(e,2048)?t.createExportDefault(t.getLocalName(e)):t.createExternalModuleExport(t.getLocalName(e));ek(n,i),r.push(n)}return be(r)}(n);case 231:return function(e){return N(e)}(n);case 169:return function(e){return e.dotDotDotToken?void 0:Cu(e.name)?ek(aP(t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(e),void 0,void 0,void 0),e),e):e.initializer?ek(aP(t.createParameterDeclaration(void 0,void 0,e.name,void 0,void 0,void 0),e),e):e}(n);case 262:return function(n){const r=m;m=void 0;const i=y(32670,65),o=oL(n.parameters,E,e),s=Ee(n),a=32768&f?t.getLocalName(n):n.name;return v(i,229376,0),m=r,t.updateFunctionDeclaration(n,tL(n.modifiers,E,Zl),n.asteriskToken,a,void 0,o,void 0,s)}(n);case 219:return function(n){16384&n.transformFlags&&!(16384&f)&&(f|=131072);const r=m;m=void 0;const i=y(15232,66),o=t.createFunctionExpression(void 0,void 0,void 0,void 0,oL(n.parameters,E,e),void 0,Ee(n));return aP(o,n),ek(o,n),ik(o,16),v(i,0,0),m=r,o}(n);case 218:return function(n){const r=524288&Xp(n)?y(32662,69):y(32670,65),i=m;m=void 0;const o=oL(n.parameters,E,e),s=Ee(n),a=32768&f?t.getLocalName(n):n.name;return v(r,229376,0),m=i,t.updateFunctionExpression(n,void 0,n.asteriskToken,a,void 0,o,void 0,s)}(n);case 260:return ke(n);case 80:return P(n);case 261:return function(n){if(7&n.flags||524288&n.transformFlags){7&n.flags&&ut();const e=tL(n.declarations,1&n.flags?Se:ke,HI),r=t.createVariableDeclarationList(e);return ek(r,n),aP(r,n),mk(r,n),524288&n.transformFlags&&(Cu(n.declarations[0].name)||Cu(Ae(n.declarations).name))&&lk(r,function(e){let t=-1,n=-1;for(const r of e)t=-1===t?r.pos:-1===r.pos?t:Math.min(t,r.pos),n=Math.max(n,r.end);return Pv(t,n)}(e)),r}return uL(n,E,e)}(n);case 255:return function(t){if(void 0!==m){const n=m.allowedNonLabeledJumps;m.allowedNonLabeledJumps|=2;const r=uL(t,E,e);return m.allowedNonLabeledJumps=n,r}return uL(t,E,e)}(n);case 269:return function(t){const n=y(7104,0),r=uL(t,E,e);return v(n,0,0),r}(n);case 241:return function(t){const n=256&f?y(7104,512):y(6976,128),r=uL(t,E,e);return v(n,0,0),r}(n);case 252:case 251:return function(n){if(m){const e=252===n.kind?2:4;if(!(n.label&&m.labels&&m.labels.get(hc(n.label))||!n.label&&m.allowedNonLabeledJumps&e)){let e;const r=n.label;r?252===n.kind?(e=`break-${r.escapedText}`,ze(m,!0,hc(r),e)):(e=`continue-${r.escapedText}`,ze(m,!1,hc(r),e)):252===n.kind?(m.nonLocalJumps|=2,e="break"):(m.nonLocalJumps|=4,e="continue");let i=t.createStringLiteral(e);if(m.loopOutParameters.length){const e=m.loopOutParameters;let n;for(let r=0;rwI(e)&&!!me(e.declarationList.declarations).initializer,i=m;m=void 0;const o=tL(n.statements,k,fd);m=i;const s=S(o,r),a=S(o,(e=>!r(e))),c=tt(me(s),wI).declarationList.declarations[0],l=uR(c.initializer);let u=et(l,iv);!u&&uI(l)&&28===l.operatorToken.kind&&(u=et(l.left,iv));const d=tt(u?uR(u.right):l,Kw),p=tt(uR(d.expression),nI),f=p.body.statements;let _=0,h=-1;const g=[];if(u){const e=et(f[_],TI);e&&(g.push(e),_++),g.push(f[_]),_++,g.push(t.createExpressionStatement(t.createAssignment(u.left,tt(c.name,UD))))}for(;!QI(pe(f,h));)h--;se(g,f,_,h),h<-1&&se(g,f,h+1);const A=et(pe(f,h),QI);for(const e of a)QI(e)&&(null==A?void 0:A.expression)&&!UD(A.expression)?g.push(A):g.push(e);return se(g,s,1),t.restoreOuterExpressions(e.expression,t.restoreOuterExpressions(c.initializer,t.restoreOuterExpressions(u&&u.right,t.updateCallExpression(d,t.restoreOuterExpressions(d.expression,t.updateFunctionExpression(p,void 0,void 0,void 0,void 0,p.parameters,void 0,t.updateBlock(p.body,g))),void 0,d.arguments))))}(n);const r=uR(n.expression);if(108===r.kind||sm(r)||J(n.arguments,_I))return function(n){if(32768&n.transformFlags||108===n.expression.kind||sm(uR(n.expression))){const{target:e,thisArg:r}=t.createCallBinding(n.expression,s);let i;if(108===n.expression.kind&&ik(r,8),i=32768&n.transformFlags?t.createFunctionApplyCall(un.checkDefined(eL(e,D,Ju)),108===n.expression.kind?r:un.checkDefined(eL(r,E,Ju)),rt(n.arguments,!0,!1,!1)):aP(t.createFunctionCallCall(un.checkDefined(eL(e,D,Ju)),108===n.expression.kind?r:un.checkDefined(eL(r,E,Ju)),tL(n.arguments,E,Ju)),n),108===n.expression.kind){const e=t.createLogicalOr(i,Z());i=t.createAssignment(R(),e)}return ek(i,n)}c_(n)&&(f|=131072);return uL(n,E,e)}(n);return t.updateCallExpression(n,un.checkDefined(eL(n.expression,D,Ju)),void 0,tL(n.arguments,E,Ju))}(n);case 214:return function(n){if(J(n.arguments,_I)){const{target:e,thisArg:r}=t.createCallBinding(t.createPropertyAccessExpression(n.expression,"bind"),s);return t.createNewExpression(t.createFunctionApplyCall(un.checkDefined(eL(e,E,Ju)),r,rt(t.createNodeArray([t.createVoidZero(),...n.arguments]),!0,!1,!1)),void 0,[])}return uL(n,E,e)}(n);case 217:return function(t,n){return uL(t,n?x:E,e)}(n,r);case 226:return xe(n,r);case 356:return function(n,r){if(r)return uL(n,x,e);let i;for(let e=0;e0&&e.push(t.createStringLiteral(r.literal.text)),n=t.createCallExpression(t.createPropertyAccessExpression(n,"concat"),void 0,e)}return aP(n,e)}(n);case 230:return function(e){return eL(e.expression,E,Ju)}(n);case 108:return lt(n,!1);case 110:return function(e){f|=65536,2&f&&!(16384&f)&&(f|=131072);if(m)return 2&f?(m.containsLexicalThis=!0,e):m.thisName||(m.thisName=t.createUniqueName("this"));return e}(n);case 236:return function(e){if(105===e.keywordToken&&"target"===e.name.escapedText)return f|=32768,t.createUniqueName("_newTarget",48);return e}(n);case 174:return function(e){un.assert(!ow(e.name));const n=Ce(e,Bv(e,-1),void 0,void 0);return ik(n,1024|Xp(n)),aP(t.createPropertyAssignment(e.name,n),e)}(n);case 177:case 178:return function(n){un.assert(!ow(n.name));const r=m;m=void 0;const i=y(32670,65);let o;const s=oL(n.parameters,E,e),a=Ee(n);o=177===n.kind?t.updateGetAccessorDeclaration(n,n.modifiers,n.name,s,n.type,a):t.updateSetAccessorDeclaration(n,n.modifiers,n.name,s,a);return v(i,229376,0),m=r,o}(n);case 243:return function(n){const r=y(0,wy(n,32)?32:0);let i;if(!m||7&n.declarationList.flags||function(e){return 1===e.declarationList.declarations.length&&!!e.declarationList.declarations[0].initializer&&!!(1&Zp(e.declarationList.declarations[0].initializer))}(n))i=uL(n,E,e);else{let r;for(const i of n.declarationList.declarations)if(Je(m,i),i.initializer){let n;Cu(i.name)?n=_M(i,E,e,0):(n=t.createBinaryExpression(i.name,64,un.checkDefined(eL(i.initializer,E,Ju))),aP(n,i)),r=re(r,n)}i=r?aP(t.createExpressionStatement(t.inlineExpressions(r)),n):void 0}return v(r,0,0),i}(n);case 253:return function(n){if(m)return m.nonLocalJumps|=8,b(n)&&(n=T(n)),t.createReturnStatement(t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("value"),n.expression?un.checkDefined(eL(n.expression,E,Ju)):t.createVoidZero())]));if(b(n))return T(n);return uL(n,E,e)}(n);default:return uL(n,E,e)}}function T(e){return ek(t.createReturnStatement(R()),e)}function R(){return t.createUniqueName("_this",48)}function P(e){return m&&c.isArgumentsLocalBinding(e)?m.argumentsName||(m.argumentsName=t.createUniqueName("arguments")):256&e.flags?ek(aP(t.createIdentifier(mc(e.escapedText)),e),e):e}function N(s){s.name&&ut();const a=yg(s),c=t.createFunctionExpression(void 0,void 0,void 0,void 0,a?[t.createParameterDeclaration(void 0,void 0,ct())]:[],void 0,function(s,a){const c=[],l=t.getInternalName(s),u=Fg(l)?t.getGeneratedNameForNode(l):l;r(),function(e,r,i){i&&e.push(aP(t.createExpressionStatement(n().createExtendsHelper(t.getInternalName(r))),i))}(c,s,a),function(n,r,s,a){const c=m;m=void 0;const l=y(32662,73),u=iy(r),d=function(e,t){if(!e||!t)return!1;if(J(e.parameters))return!1;const n=fe(e.body.statements);if(!n||!eA(n)||244!==n.kind)return!1;const r=n.expression;if(!eA(r)||213!==r.kind)return!1;const i=r.expression;if(!eA(i)||108!==i.kind)return!1;const o=ye(r.arguments);if(!o||!eA(o)||230!==o.kind)return!1;const s=o.expression;return UD(s)&&"arguments"===s.escapedText}(u,void 0!==a),p=t.createFunctionDeclaration(void 0,void 0,s,void 0,function(t,n){return oL(t&&!n?t.parameters:void 0,E,e)||[]}(u,d),void 0,function(e,n,r,s){const a=!!r&&106!==uR(r.expression).kind;if(!e)return function(e,n){const r=[];i(),t.mergeLexicalEnvironment(r,o()),n&&r.push(t.createReturnStatement(t.createLogicalOr(t.createLogicalAnd(t.createStrictInequality(ct(),t.createNull()),t.createFunctionApplyCall(ct(),Z(),t.createIdentifier("arguments"))),Z())));const s=t.createNodeArray(r);aP(s,e.members);const a=t.createBlock(s,!0);return aP(a,e),ik(a,3072),a}(n,a);const c=[],l=[];i();const u=t.copyStandardPrologue(e.body.statements,c,0);(s||O(e.body))&&(f|=8192);se(l,tL(e.body.statements,E,fd,u));const d=a||8192&f;ne(c,e),ae(c,e,s),ue(c,e),d?le(c,e,Z()):ce(c,e);t.mergeLexicalEnvironment(c,o()),d&&!X(e.body)&&l.push(t.createReturnStatement(R()));const p=t.createBlock(aP(t.createNodeArray([...c,...l]),e.body.statements),!0);return aP(p,e.body),function(e,n,r){const i=e;e=function(e){for(let n=0;n0;n--){const i=e.statements[n];if(QI(i)&&i.expression&&q(i.expression)){const i=e.statements[n-1];let o;if(TI(i)&&W(uR(i.expression)))o=i.expression;else if(r&&Q(i)){const e=i.declarationList.declarations[0];z(uR(e.initializer))&&(o=t.createAssignment(R(),e.initializer))}if(!o)break;const s=t.createReturnStatement(o);ek(s,i),aP(s,i);const a=t.createNodeArray([...e.statements.slice(0,n-1),s,...e.statements.slice(n+1)]);return aP(a,e.statements),t.updateBlock(e,a)}}return e}(e,n),e!==i&&(e=function(e,n){if(16384&n.transformFlags||65536&f||131072&f)return e;for(const t of n.statements)if(134217728&t.transformFlags&&!WL(t))return e;return t.updateBlock(e,tL(e.statements,Y,fd))}(e,n));r&&(e=function(e){return t.updateBlock(e,tL(e.statements,K,fd))}(e));return e}(p,e.body,s)}(u,r,a,d));aP(p,u||r),a&&ik(p,16);n.push(p),v(l,229376,0),m=c}(c,s,u,a),function(e,t){for(const n of t.members)switch(n.kind){case 240:e.push(de(n));break;case 174:e.push(_e(dt(t,n),n,t));break;case 177:case 178:const r=fy(t.members,n);n===r.firstAccessor&&e.push(he(dt(t,n),r,t));break;case 176:case 175:break;default:un.failBadSyntaxKind(n,d&&d.fileName)}}(c,s);const _=$v(Ks(p,s.members.end),20),h=t.createPartiallyEmittedExpression(u);xx(h,_.end),ik(h,3072);const g=t.createReturnStatement(h);Ex(g,_.pos),ik(g,3840),c.push(g),Pp(c,o());const A=t.createBlock(aP(t.createNodeArray(c),s.members),!0);return ik(A,3072),A}(s,a));ik(c,131072&Xp(s)|1048576);const l=t.createPartiallyEmittedExpression(c);xx(l,s.end),ik(l,3072);const u=t.createPartiallyEmittedExpression(l);xx(u,Ks(p,s.pos)),ik(u,3072);const _=t.createParenthesizedExpression(t.createCallExpression(u,void 0,a?[un.checkDefined(eL(a.expression,E,Ju))]:[]));return Ak(_,3,"* @class "),_}function B(e){return wI(e)&&g(e.declarationList.declarations,(e=>UD(e.name)&&!e.initializer))}function O(e){if(c_(e))return!0;if(!(134217728&e.transformFlags))return!1;switch(e.kind){case 219:case 218:case 262:case 176:case 175:return!1;case 177:case 178:case 174:case 172:{const t=e;return!!ow(t.name)&&!!OP(t.name,O)}}return!!OP(e,O)}function q(e){return Vl(e)&&"_this"===hc(e)}function $(e){return Vl(e)&&"_super"===hc(e)}function Q(e){return wI(e)&&1===e.declarationList.declarations.length&&function(e){return HI(e)&&q(e.name)&&!!e.initializer}(e.declarationList.declarations[0])}function L(e){return iv(e,!0)&&q(e.left)}function M(e){return Kw(e)&&zw(e.expression)&&$(e.expression.expression)&&UD(e.expression.name)&&("call"===hc(e.expression.name)||"apply"===hc(e.expression.name))&&e.arguments.length>=1&&110===e.arguments[0].kind}function U(e){return uI(e)&&57===e.operatorToken.kind&&110===e.right.kind&&M(e.left)}function V(e){return uI(e)&&56===e.operatorToken.kind&&uI(e.left)&&38===e.left.operatorToken.kind&&$(e.left.left)&&106===e.left.right.kind&&M(e.right)&&"apply"===hc(e.right.expression.name)}function G(e){return uI(e)&&57===e.operatorToken.kind&&110===e.right.kind&&V(e.left)}function W(e){return L(e)&&U(e.right)}function z(e){return M(e)||U(e)||W(e)||V(e)||G(e)||function(e){return L(e)&&G(e.right)}(e)}function Y(e){if(Q(e)){if(110===e.declarationList.declarations[0].initializer.kind)return}else if(L(e))return t.createPartiallyEmittedExpression(e.right,e);switch(e.kind){case 219:case 218:case 262:case 176:case 175:return e;case 177:case 178:case 174:case 172:{const n=e;return ow(n.name)?t.replacePropertyName(n,uL(n.name,Y,void 0)):e}}return uL(e,Y,void 0)}function K(e){if(M(e)&&2===e.arguments.length&&UD(e.arguments[1])&&"arguments"===hc(e.arguments[1]))return t.createLogicalAnd(t.createStrictInequality(ct(),t.createNull()),e);switch(e.kind){case 219:case 218:case 262:case 176:case 175:return e;case 177:case 178:case 174:case 172:{const n=e;return ow(n.name)?t.replacePropertyName(n,uL(n.name,K,void 0)):e}}return uL(e,K,void 0)}function X(e){if(253===e.kind)return!0;if(245===e.kind){const t=e;if(t.elseStatement)return X(t.thenStatement)&&X(t.elseStatement)}else if(241===e.kind){const t=ge(e.statements);if(t&&X(t))return!0}return!1}function Z(){return ik(t.createThis(),8)}function te(e){return void 0!==e.initializer||Cu(e.name)}function ne(e,t){if(!J(t.parameters,te))return!1;let n=!1;for(const r of t.parameters){const{name:t,initializer:i,dotDotDotToken:o}=r;o||(Cu(t)?n=ie(e,r,t,i)||n:i&&(oe(e,r,t,i),n=!0))}return n}function ie(n,r,i,o){return i.elements.length>0?(Op(n,ik(t.createVariableStatement(void 0,t.createVariableDeclarationList(gM(r,E,e,0,t.getGeneratedNameForNode(r)))),2097152)),!0):!!o&&(Op(n,ik(t.createExpressionStatement(t.createAssignment(t.getGeneratedNameForNode(r),un.checkDefined(eL(o,E,Ju)))),2097152)),!0)}function oe(e,n,r,i){i=un.checkDefined(eL(i,E,Ju));const o=t.createIfStatement(t.createTypeCheck(t.cloneNode(r),"undefined"),ik(aP(t.createBlock([t.createExpressionStatement(ik(aP(t.createAssignment(ik(wx(aP(t.cloneNode(r),r),r.parent),96),ik(i,3168|Xp(i))),n),3072))]),n),3905));pR(o),aP(o,n),ik(o,2101056),Op(e,o)}function ae(n,r,i){const o=[],s=ge(r.parameters);if(!function(e,t){return!(!e||!e.dotDotDotToken||t)}(s,i))return!1;const a=80===s.name.kind?wx(aP(t.cloneNode(s.name),s.name),s.name.parent):t.createTempVariable(void 0);ik(a,96);const c=80===s.name.kind?t.cloneNode(s.name):a,l=r.parameters.length-1,u=t.createLoopVariable();o.push(ik(aP(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(a,void 0,void 0,t.createArrayLiteralExpression([]))])),s),2097152));const d=t.createForStatement(aP(t.createVariableDeclarationList([t.createVariableDeclaration(u,void 0,void 0,t.createNumericLiteral(l))]),s),aP(t.createLessThan(u,t.createPropertyAccessExpression(t.createIdentifier("arguments"),"length")),s),aP(t.createPostfixIncrement(u),s),t.createBlock([pR(aP(t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(c,0===l?u:t.createSubtract(u,t.createNumericLiteral(l))),t.createElementAccessExpression(t.createIdentifier("arguments"),u))),s))]));return ik(d,2097152),pR(d),o.push(d),80!==s.name.kind&&o.push(ik(aP(t.createVariableStatement(void 0,t.createVariableDeclarationList(gM(s,E,e,0,c))),s),2097152)),Np(n,o),!0}function ce(e,n){return!!(131072&f&&219!==n.kind)&&(le(e,n,t.createThis()),!0)}function le(n,r,i){1&A||(A|=1,e.enableSubstitution(110),e.enableEmitNotification(176),e.enableEmitNotification(174),e.enableEmitNotification(177),e.enableEmitNotification(178),e.enableEmitNotification(219),e.enableEmitNotification(218),e.enableEmitNotification(262));const o=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(R(),void 0,void 0,i)]));ik(o,2100224),lk(o,r),Op(n,o)}function ue(e,n){if(32768&f){let r;switch(n.kind){case 219:return e;case 174:case 177:case 178:r=t.createVoidZero();break;case 176:r=t.createPropertyAccessExpression(ik(t.createThis(),8),"constructor");break;case 262:case 218:r=t.createConditionalExpression(t.createLogicalAnd(ik(t.createThis(),8),t.createBinaryExpression(ik(t.createThis(),8),104,t.getLocalName(n))),void 0,t.createPropertyAccessExpression(ik(t.createThis(),8),"constructor"),void 0,t.createVoidZero());break;default:return un.failBadSyntaxKind(n)}const i=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_newTarget",48),void 0,void 0,r)]));ik(i,2100224),Op(e,i)}return e}function de(e){return aP(t.createEmptyStatement(),e)}function _e(n,r,i){const o=_k(r),s=ck(r),a=Ce(r,r,void 0,i),c=eL(r.name,E,tu);let l;if(un.assert(c),!JD(c)&&NC(e.getCompilerOptions())){const e=ow(c)?c.expression:UD(c)?t.createStringLiteral(mc(c.escapedText)):c;l=t.createObjectDefinePropertyCall(n,e,t.createPropertyDescriptor({value:a,enumerable:!1,writable:!0,configurable:!0}))}else{const e=jF(t,n,c,r.name);l=t.createAssignment(e,a)}ik(a,3072),lk(a,s);const u=aP(t.createExpressionStatement(l),r);return ek(u,r),mk(u,o),ik(u,96),u}function he(e,n,r){const i=t.createExpressionStatement(ve(e,n,r,!1));return ik(i,3072),lk(i,ck(n.firstAccessor)),i}function ve(e,{firstAccessor:n,getAccessor:r,setAccessor:i},o,s){const a=wx(aP(t.cloneNode(e),e),e.parent);ik(a,3136),lk(a,n.name);const c=eL(n.name,E,tu);if(un.assert(c),JD(c))return un.failBadSyntaxKind(c,"Encountered unhandled private identifier while transforming ES2015.");const l=YF(t,c);ik(l,3104),lk(l,n.name);const u=[];if(r){const e=Ce(r,void 0,void 0,o);lk(e,ck(r)),ik(e,1024);const n=t.createPropertyAssignment("get",e);mk(n,_k(r)),u.push(n)}if(i){const e=Ce(i,void 0,void 0,o);lk(e,ck(i)),ik(e,1024);const n=t.createPropertyAssignment("set",e);mk(n,_k(i)),u.push(n)}u.push(t.createPropertyAssignment("enumerable",r||i?t.createFalse():t.createTrue()),t.createPropertyAssignment("configurable",t.createTrue()));const d=t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"defineProperty"),void 0,[a,l,t.createObjectLiteralExpression(u,!0)]);return s&&pR(d),d}function Ce(n,r,i,o){const s=m;m=void 0;const a=o&&du(o)&&!Iy(n)?y(32670,73):y(32670,65),c=oL(n.parameters,E,e),l=Ee(n);return 32768&f&&!i&&(262===n.kind||218===n.kind)&&(i=t.getGeneratedNameForNode(n)),v(a,229376,0),m=s,ek(aP(t.createFunctionExpression(void 0,n.asteriskToken,i,void 0,c,void 0,l),r),n)}function Ee(e){let n,r,s=!1,a=!1;const c=[],l=[],u=e.body;let p;if(i(),DI(u)&&(p=t.copyStandardPrologue(u.statements,c,0,!1),p=t.copyCustomPrologue(u.statements,l,p,E,__),p=t.copyCustomPrologue(u.statements,l,p,E,h_)),s=ne(l,e)||s,s=ae(l,e,!1)||s,DI(u))p=t.copyCustomPrologue(u.statements,l,p,E),n=u.statements,se(l,tL(u.statements,E,fd,p)),!s&&u.multiLine&&(s=!0);else{un.assert(219===e.kind),n=Nv(u,-1);const i=e.equalsGreaterThanToken;eA(i)||eA(u)||(Uv(i,u,d)?a=!0:s=!0);const o=eL(u,E,Ju),c=t.createReturnStatement(o);aP(c,u),Ck(c,u),ik(c,2880),l.push(c),r=u}if(t.mergeLexicalEnvironment(c,o()),ue(c,e),ce(c,e),J(c)&&(s=!0),l.unshift(...c),DI(u)&&ee(l,u.statements))return u;const f=t.createBlock(aP(t.createNodeArray(l),n),s);return aP(f,e.body),!s&&a&&ik(f,1),r&&dk(f,20,r),ek(f,e.body),f}function xe(n,r){return ov(n)?_M(n,E,e,0,!r):28===n.operatorToken.kind?t.updateBinaryExpression(n,un.checkDefined(eL(n.left,x,Ju)),n.operatorToken,un.checkDefined(eL(n.right,r?x:E,Ju))):uL(n,E,e)}function Se(n){return Cu(n.name)?ke(n):!n.initializer&&function(e){const t=c.hasNodeCheckFlag(e,16384),n=c.hasNodeCheckFlag(e,32768);return!(64&f||t&&n&&512&f)&&!(4096&f)&&(!c.isDeclarationWithCollidingName(e)||n&&!t&&!(6144&f))}(n)?t.updateVariableDeclaration(n,n.name,void 0,void 0,t.createVoidZero()):uL(n,E,e)}function ke(t){const n=y(32,0);let r;return r=Cu(t.name)?gM(t,E,e,0,void 0,!!(32&n)):uL(t,E,e),v(n,0,0),r}function De(e){m.labels.set(hc(e.label),!0)}function we(e){m.labels.set(hc(e.label),!1)}function Ie(n,i,s,a,c){const l=y(n,i),u=function(n,i,s,a){if(!je(n)){let r;m&&(r=m.allowedNonLabeledJumps,m.allowedNonLabeledJumps=6);const o=a?a(n,i,void 0,s):t.restoreEnclosingLabel(NI(n)?function(e){return t.updateForStatement(e,eL(e.initializer,x,ed),eL(e.condition,E,Ju),eL(e.incrementor,x,Ju),un.checkDefined(eL(e.statement,E,fd,t.liftToBlock)))}(n):uL(n,E,e),i,m&&we);return m&&(m.allowedNonLabeledJumps=r),o}const c=function(e){let t;switch(e.kind){case 248:case 249:case 250:const n=e.initializer;n&&261===n.kind&&(t=n)}const n=[],r=[];if(t&&7&sc(t)){const i=Qe(e)||Le(e)||Me(e);for(const o of t.declarations)Ke(e,o,n,r,i)}const i={loopParameters:n,loopOutParameters:r};m&&(m.argumentsName&&(i.argumentsName=m.argumentsName),m.thisName&&(i.thisName=m.thisName),m.hoistedLocalVariables&&(i.hoistedLocalVariables=m.hoistedLocalVariables));return i}(n),l=[],u=m;m=c;const d=Qe(n)?function(e,n){const r=t.createUniqueName("_loop_init"),i=!!(1048576&e.initializer.transformFlags);let o=0;n.containsLexicalThis&&(o|=16);i&&4&f&&(o|=524288);const s=[];s.push(t.createVariableStatement(void 0,e.initializer)),We(n.loopOutParameters,2,1,s);const a=t.createVariableStatement(void 0,ik(t.createVariableDeclarationList([t.createVariableDeclaration(r,void 0,void 0,ik(t.createFunctionExpression(void 0,i?t.createToken(42):void 0,void 0,void 0,void 0,void 0,un.checkDefined(eL(t.createBlock(s,!0),E,DI))),o))]),4194304)),c=t.createVariableDeclarationList(w(n.loopOutParameters,He));return{functionName:r,containsYield:i,functionDeclaration:a,part:c}}(n,c):void 0,p=Ue(n)?function(e,n,i){const s=t.createUniqueName("_loop");r();const a=eL(e.statement,E,fd,t.liftToBlock),c=o(),l=[];(Le(e)||Me(e))&&(n.conditionVariable=t.createUniqueName("inc"),e.incrementor?l.push(t.createIfStatement(n.conditionVariable,t.createExpressionStatement(un.checkDefined(eL(e.incrementor,E,Ju))),t.createExpressionStatement(t.createAssignment(n.conditionVariable,t.createTrue())))):l.push(t.createIfStatement(t.createLogicalNot(n.conditionVariable),t.createExpressionStatement(t.createAssignment(n.conditionVariable,t.createTrue())))),Le(e)&&l.push(t.createIfStatement(t.createPrefixUnaryExpression(54,un.checkDefined(eL(e.condition,E,Ju))),un.checkDefined(eL(t.createBreakStatement(),E,fd)))));un.assert(a),DI(a)?se(l,a.statements):l.push(a);We(n.loopOutParameters,1,1,l),Pp(l,c);const u=t.createBlock(l,!0);DI(a)&&ek(u,a);const d=!!(1048576&e.statement.transformFlags);let p=1048576;n.containsLexicalThis&&(p|=16);d&&4&f&&(p|=524288);const _=t.createVariableStatement(void 0,ik(t.createVariableDeclarationList([t.createVariableDeclaration(s,void 0,void 0,ik(t.createFunctionExpression(void 0,d?t.createToken(42):void 0,void 0,void 0,n.loopParameters,void 0,u),p))]),4194304)),m=function(e,n,r,i){const o=[],s=!(-5&n.nonLocalJumps||n.labeledNonLocalBreaks||n.labeledNonLocalContinues),a=t.createCallExpression(e,void 0,w(n.loopParameters,(e=>e.name))),c=i?t.createYieldExpression(t.createToken(42),ik(a,8388608)):a;if(s)o.push(t.createExpressionStatement(c)),We(n.loopOutParameters,1,0,o);else{const e=t.createUniqueName("state"),i=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(e,void 0,void 0,c)]));if(o.push(i),We(n.loopOutParameters,1,0,o),8&n.nonLocalJumps){let n;r?(r.nonLocalJumps|=8,n=t.createReturnStatement(e)):n=t.createReturnStatement(t.createPropertyAccessExpression(e,"value")),o.push(t.createIfStatement(t.createTypeCheck(e,"object"),n))}if(2&n.nonLocalJumps&&o.push(t.createIfStatement(t.createStrictEquality(e,t.createStringLiteral("break")),t.createBreakStatement())),n.labeledNonLocalBreaks||n.labeledNonLocalContinues){const i=[];Ye(n.labeledNonLocalBreaks,!0,e,r,i),Ye(n.labeledNonLocalContinues,!1,e,r,i),o.push(t.createSwitchStatement(e,t.createCaseBlock(i)))}}return o}(s,n,i,d);return{functionName:s,containsYield:d,functionDeclaration:_,part:m}}(n,c,u):void 0;m=u,d&&l.push(d.functionDeclaration);p&&l.push(p.functionDeclaration);(function(e,n,r){let i;n.argumentsName&&(r?r.argumentsName=n.argumentsName:(i||(i=[])).push(t.createVariableDeclaration(n.argumentsName,void 0,void 0,t.createIdentifier("arguments"))));n.thisName&&(r?r.thisName=n.thisName:(i||(i=[])).push(t.createVariableDeclaration(n.thisName,void 0,void 0,t.createIdentifier("this"))));if(n.hoistedLocalVariables)if(r)r.hoistedLocalVariables=n.hoistedLocalVariables;else{i||(i=[]);for(const e of n.hoistedLocalVariables)i.push(t.createVariableDeclaration(e))}if(n.loopOutParameters.length){i||(i=[]);for(const e of n.loopOutParameters)i.push(t.createVariableDeclaration(e.outParamName))}n.conditionVariable&&(i||(i=[]),i.push(t.createVariableDeclaration(n.conditionVariable,void 0,void 0,t.createFalse())));i&&e.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(i)))})(l,c,u),d&&l.push(function(e,n){const r=t.createCallExpression(e,void 0,[]),i=n?t.createYieldExpression(t.createToken(42),ik(r,8388608)):r;return t.createExpressionStatement(i)}(d.functionName,d.containsYield));let _;if(p)if(a)_=a(n,i,p.part,s);else{const e=Ve(n,d,t.createBlock(p.part,!0));_=t.restoreEnclosingLabel(e,i,m&&we)}else{const e=Ve(n,d,un.checkDefined(eL(n.statement,E,fd,t.liftToBlock)));_=t.restoreEnclosingLabel(e,i,m&&we)}return l.push(_),l}(s,a,l,c);return v(l,0,0),u}function Te(e,t){return Ie(0,1280,e,t)}function Fe(e,t){return Ie(5056,3328,e,t)}function Re(e,t){return Ie(3008,5376,e,t)}function Pe(e,t){return Ie(3008,5376,e,t,a.downlevelIteration?qe:Oe)}function Ne(n,r,i){const o=[],s=n.initializer;if(GI(s)){7&n.initializer.flags&&ut();const i=fe(s.declarations);if(i&&Cu(i.name)){const s=gM(i,E,e,0,r),a=aP(t.createVariableDeclarationList(s),n.initializer);ek(a,n.initializer),lk(a,Pv(s[0].pos,Ae(s).end)),o.push(t.createVariableStatement(void 0,a))}else o.push(aP(t.createVariableStatement(void 0,ek(aP(t.createVariableDeclarationList([t.createVariableDeclaration(i?i.name:t.createTempVariable(void 0),void 0,void 0,r)]),Bv(s,-1)),s)),Nv(s,-1)))}else{const e=t.createAssignment(s,r);ov(e)?o.push(t.createExpressionStatement(xe(e,!0))):(xx(e,s.end),o.push(aP(t.createExpressionStatement(un.checkDefined(eL(e,E,Ju))),Nv(s,-1))))}if(i)return Be(se(o,i));{const e=eL(n.statement,E,fd,t.liftToBlock);return un.assert(e),DI(e)?t.updateBlock(e,aP(t.createNodeArray(H(o,e.statements)),e.statements)):(o.push(e),Be(o))}}function Be(e){return ik(t.createBlock(t.createNodeArray(e),!0),864)}function Oe(e,n,r){const i=eL(e.expression,E,Ju);un.assert(i);const o=t.createLoopVariable(),s=UD(i)?t.getGeneratedNameForNode(i):t.createTempVariable(void 0);ik(i,96|Xp(i));const a=aP(t.createForStatement(ik(aP(t.createVariableDeclarationList([aP(t.createVariableDeclaration(o,void 0,void 0,t.createNumericLiteral(0)),Bv(e.expression,-1)),aP(t.createVariableDeclaration(s,void 0,void 0,i),e.expression)]),e.expression),4194304),aP(t.createLessThan(o,t.createPropertyAccessExpression(s,"length")),e.expression),aP(t.createPostfixIncrement(o),e.expression),Ne(e,t.createElementAccessExpression(s,o),r)),e);return ik(a,512),aP(a,e),t.restoreEnclosingLabel(a,n,m&&we)}function qe(e,r,i,o){const a=eL(e.expression,E,Ju);un.assert(a);const c=UD(a)?t.getGeneratedNameForNode(a):t.createTempVariable(void 0),l=UD(a)?t.getGeneratedNameForNode(c):t.createTempVariable(void 0),u=t.createUniqueName("e"),d=t.getGeneratedNameForNode(u),p=t.createTempVariable(void 0),f=aP(n().createValuesHelper(a),e.expression),_=t.createCallExpression(t.createPropertyAccessExpression(c,"next"),void 0,[]);s(u),s(p);const h=1024&o?t.inlineExpressions([t.createAssignment(u,t.createVoidZero()),f]):f,g=ik(aP(t.createForStatement(ik(aP(t.createVariableDeclarationList([aP(t.createVariableDeclaration(c,void 0,void 0,h),e.expression),t.createVariableDeclaration(l,void 0,void 0,_)]),e.expression),4194304),t.createLogicalNot(t.createPropertyAccessExpression(l,"done")),t.createAssignment(l,_),Ne(e,t.createPropertyAccessExpression(l,"value"),i)),e),512);return t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(g,r,m&&we)]),t.createCatchClause(t.createVariableDeclaration(d),ik(t.createBlock([t.createExpressionStatement(t.createAssignment(u,t.createObjectLiteralExpression([t.createPropertyAssignment("error",d)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([ik(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(l,t.createLogicalNot(t.createPropertyAccessExpression(l,"done"))),t.createAssignment(p,t.createPropertyAccessExpression(c,"return"))),t.createExpressionStatement(t.createFunctionCallCall(p,c,[]))),1)]),void 0,ik(t.createBlock([ik(t.createIfStatement(u,t.createThrowStatement(t.createPropertyAccessExpression(u,"error"))),1)]),1))]))}function $e(e){return c.hasNodeCheckFlag(e,8192)}function Qe(e){return NI(e)&&!!e.initializer&&$e(e.initializer)}function Le(e){return NI(e)&&!!e.condition&&$e(e.condition)}function Me(e){return NI(e)&&!!e.incrementor&&$e(e.incrementor)}function je(e){return Ue(e)||Qe(e)}function Ue(e){return c.hasNodeCheckFlag(e,4096)}function Je(e,t){e.hoistedLocalVariables||(e.hoistedLocalVariables=[]),function t(n){if(80===n.kind)e.hoistedLocalVariables.push(n);else for(const e of n.elements)hI(e)||t(e.name)}(t.name)}function Ve(e,n,r){switch(e.kind){case 248:return function(e,n,r){const i=e.condition&&$e(e.condition),o=i||e.incrementor&&$e(e.incrementor);return t.updateForStatement(e,eL(n?n.part:e.initializer,x,ed),eL(i?void 0:e.condition,E,Ju),eL(o?void 0:e.incrementor,x,Ju),r)}(e,n,r);case 249:return function(e,n){return t.updateForInStatement(e,un.checkDefined(eL(e.initializer,E,ed)),un.checkDefined(eL(e.expression,E,Ju)),n)}(e,r);case 250:return function(e,n){return t.updateForOfStatement(e,void 0,un.checkDefined(eL(e.initializer,E,ed)),un.checkDefined(eL(e.expression,E,Ju)),n)}(e,r);case 246:return function(e,n){return t.updateDoStatement(e,n,un.checkDefined(eL(e.expression,E,Ju)))}(e,r);case 247:return function(e,n){return t.updateWhileStatement(e,un.checkDefined(eL(e.expression,E,Ju)),n)}(e,r);default:return un.failBadSyntaxKind(e,"IterationStatement expected")}}function He(e){return t.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function Ge(e,n){const r=0===n?e.outParamName:e.originalName,i=0===n?e.originalName:e.outParamName;return t.createBinaryExpression(i,64,r)}function We(e,n,r,i){for(const o of e)o.flags&n&&i.push(t.createExpressionStatement(Ge(o,r)))}function ze(e,t,n,r){t?(e.labeledNonLocalBreaks||(e.labeledNonLocalBreaks=new Map),e.labeledNonLocalBreaks.set(n,r)):(e.labeledNonLocalContinues||(e.labeledNonLocalContinues=new Map),e.labeledNonLocalContinues.set(n,r))}function Ye(e,n,r,i,o){e&&e.forEach(((e,s)=>{const a=[];if(!i||i.labels&&i.labels.get(s)){const e=t.createIdentifier(s);a.push(n?t.createBreakStatement(e):t.createContinueStatement(e))}else ze(i,n,s,e),a.push(t.createReturnStatement(r));o.push(t.createCaseClause(t.createStringLiteral(e),a))}))}function Ke(e,n,r,i,o){const s=n.name;if(Cu(s))for(const t of s.elements)hI(t)||Ke(e,t,r,i,o);else{r.push(t.createParameterDeclaration(void 0,void 0,s));const a=c.hasNodeCheckFlag(n,65536);if(a||o){const r=t.createUniqueName("out_"+hc(s));let o=0;a&&(o|=1),NI(e)&&(e.initializer&&c.isBindingCapturedByNode(e.initializer,n)&&(o|=2),(e.condition&&c.isBindingCapturedByNode(e.condition,n)||e.incrementor&&c.isBindingCapturedByNode(e.incrementor,n))&&(o|=1)),i.push({flags:o,originalName:s,outParamName:r})}}}function Xe(e,n,r){const i=t.createAssignment(jF(t,n,un.checkDefined(eL(e.name,E,tu))),un.checkDefined(eL(e.initializer,E,Ju)));return aP(i,e),r&&pR(i),i}function Ze(e,n,r){const i=t.createAssignment(jF(t,n,un.checkDefined(eL(e.name,E,tu))),t.cloneNode(e.name));return aP(i,e),r&&pR(i),i}function nt(e,n,r,i){const o=t.createAssignment(jF(t,n,un.checkDefined(eL(e.name,E,tu))),Ce(e,e,void 0,r));return aP(o,e),i&&pR(o),o}function rt(e,r,i,o){const s=e.length,c=F(j(e,it,((e,t,n,r)=>t(e,i,o&&r===s))));if(1===c.length){const e=c[0];if(r&&!a.downlevelIteration||Fx(e.expression)||ED(e.expression,"___spreadArray"))return e.expression}const l=n(),u=0!==c[0].kind;let d=u?t.createArrayLiteralExpression():c[0].expression;for(let e=u?0:1;e0?t.inlineExpressions(w(i,z)):void 0,eL(n.condition,$,Ju),eL(n.incrementor,$,Ju),cL(n.statement,$,e))}else n=uL(n,$,e);m&&ce();return n}(r);case 249:return function(n){m&&se();const r=n.initializer;if(GI(r)){for(const e of r.declarations)s(e.name);n=t.updateForInStatement(n,r.declarations[0].name,un.checkDefined(eL(n.expression,$,Ju)),un.checkDefined(eL(n.statement,$,fd,t.liftToBlock)))}else n=uL(n,$,e);m&&ce();return n}(r);case 252:return function(t){if(m){const e=me(t.label&&hc(t.label));if(e>0)return ve(e,t)}return uL(t,$,e)}(r);case 251:return function(t){if(m){const e=he(t.label&&hc(t.label));if(e>0)return ve(e,t)}return uL(t,$,e)}(r);case 253:return function(e){return function(e,n){return aP(t.createReturnStatement(t.createArrayLiteralExpression(e?[ye(2),e]:[ye(2)])),n)}(eL(e.expression,$,Ju),e)}(r);default:return 1048576&r.transformFlags?function(r){switch(r.kind){case 226:return function(n){const r=nA(n);switch(r){case 0:return function(n){if(Y(n.right))return Yy(n.operatorToken.kind)?function(e){const t=ee(),n=Z();Ee(n,un.checkDefined(eL(e.left,$,Ju)),e.left),56===e.operatorToken.kind?De(t,n,e.left):ke(t,n,e.left);return Ee(n,un.checkDefined(eL(e.right,$,Ju)),e.right),te(t),n}(n):28===n.operatorToken.kind?U(n):t.updateBinaryExpression(n,X(un.checkDefined(eL(n.left,$,Ju))),n.operatorToken,un.checkDefined(eL(n.right,$,Ju)));return uL(n,$,e)}(n);case 1:return function(n){const{left:r,right:i}=n;if(Y(i)){let e;switch(r.kind){case 211:e=t.updatePropertyAccessExpression(r,X(un.checkDefined(eL(r.expression,$,$u))),r.name);break;case 212:e=t.updateElementAccessExpression(r,X(un.checkDefined(eL(r.expression,$,$u))),X(un.checkDefined(eL(r.argumentExpression,$,Ju))));break;default:e=un.checkDefined(eL(r,$,Ju))}const o=n.operatorToken.kind;return HL(o)?aP(t.createAssignment(e,aP(t.createBinaryExpression(X(e),GL(o),un.checkDefined(eL(i,$,Ju))),n)),n):t.updateBinaryExpression(n,e,n.operatorToken,un.checkDefined(eL(i,$,Ju)))}return uL(n,$,e)}(n);default:return un.assertNever(r)}}(r);case 356:return function(e){let n=[];for(const r of e.elements)uI(r)&&28===r.operatorToken.kind?n.push(U(r)):(Y(r)&&n.length>0&&(we(1,[t.createExpressionStatement(t.inlineExpressions(n))]),n=[]),n.push(un.checkDefined(eL(r,$,Ju))));return t.inlineExpressions(n)}(r);case 227:return function(t){if(Y(t.whenTrue)||Y(t.whenFalse)){const e=ee(),n=ee(),r=Z();return De(e,un.checkDefined(eL(t.condition,$,Ju)),t.condition),Ee(r,un.checkDefined(eL(t.whenTrue,$,Ju)),t.whenTrue),xe(n),te(e),Ee(r,un.checkDefined(eL(t.whenFalse,$,Ju)),t.whenFalse),te(n),r}return uL(t,$,e)}(r);case 229:return function(e){const r=ee(),i=eL(e.expression,$,Ju);if(e.asteriskToken){!function(e,t){we(7,[e],t)}(8388608&Xp(e.expression)?i:aP(n().createValuesHelper(i),e),e)}else!function(e,t){we(6,[e],t)}(i,e);return te(r),function(e){return aP(t.createCallExpression(t.createPropertyAccessExpression(S,"sent"),void 0,[]),e)}(e)}(r);case 209:return function(e){return J(e.elements,void 0,void 0,e.multiLine)}(r);case 210:return function(e){const n=e.properties,r=e.multiLine,i=K(n),o=Z();Ee(o,t.createObjectLiteralExpression(tL(n,$,yu,0,i),r));const s=Se(n,a,[],i);return s.push(r?pR(wx(aP(t.cloneNode(o),o),o.parent)):o),t.inlineExpressions(s);function a(n,i){Y(i)&&n.length>0&&(Ce(t.createExpressionStatement(t.inlineExpressions(n))),n=[]);const s=eL(KF(t,e,i,o),$,Ju);return s&&(r&&pR(s),n.push(s)),n}}(r);case 212:return function(n){if(Y(n.argumentExpression))return t.updateElementAccessExpression(n,X(un.checkDefined(eL(n.expression,$,$u))),un.checkDefined(eL(n.argumentExpression,$,Ju)));return uL(n,$,e)}(r);case 213:return function(n){if(!l_(n)&&u(n.arguments,Y)){const{target:e,thisArg:r}=t.createCallBinding(n.expression,s,c,!0);return ek(aP(t.createFunctionApplyCall(X(un.checkDefined(eL(e,$,$u))),r,J(n.arguments)),n),n)}return uL(n,$,e)}(r);case 214:return function(n){if(u(n.arguments,Y)){const{target:e,thisArg:r}=t.createCallBinding(t.createPropertyAccessExpression(n.expression,"bind"),s);return ek(aP(t.createNewExpression(t.createFunctionApplyCall(X(un.checkDefined(eL(e,$,Ju))),r,J(n.arguments,t.createVoidZero())),void 0,[]),n),n)}return uL(n,$,e)}(r);default:return uL(r,$,e)}}(r):4196352&r.transformFlags?uL(r,$,e):r}}function L(n){if(n.asteriskToken)n=ek(aP(t.createFunctionDeclaration(n.modifiers,void 0,n.name,void 0,oL(n.parameters,$,e),void 0,j(n.body)),n),n);else{const t=_,r=m;_=!1,m=!1,n=uL(n,$,e),_=t,m=r}return _?void o(n):n}function M(n){if(n.asteriskToken)n=ek(aP(t.createFunctionExpression(void 0,void 0,n.name,void 0,oL(n.parameters,$,e),void 0,j(n.body)),n),n);else{const t=_,r=m;_=!1,m=!1,n=uL(n,$,e),_=t,m=r}return n}function j(e){const o=[],s=_,a=m,c=h,l=g,u=A,d=y,p=v,f=b,w=B,Q=C,L=E,M=x,j=S;_=!0,m=!1,h=void 0,g=void 0,A=void 0,y=void 0,v=void 0,b=void 0,B=1,C=void 0,E=void 0,x=void 0,S=t.createTempVariable(void 0),r();const U=t.copyPrologue(e.statements,o,!1,$);V(e.statements,U);const J=function(){O=0,q=0,k=void 0,D=!1,I=!1,T=void 0,F=void 0,R=void 0,P=void 0,N=void 0;const e=function(){if(C){for(let e=0;e0)),1048576))}();return Pp(o,i()),o.push(t.createReturnStatement(J)),_=s,m=a,h=c,g=l,A=u,y=d,v=p,b=f,B=w,C=Q,E=L,x=M,S=j,aP(t.createBlock(o,e.multiLine),e)}function U(e){let n=[];return r(e.left),r(e.right),t.inlineExpressions(n);function r(e){uI(e)&&28===e.operatorToken.kind?(r(e.left),r(e.right)):(Y(e)&&n.length>0&&(we(1,[t.createExpressionStatement(t.inlineExpressions(n))]),n=[]),n.push(un.checkDefined(eL(e,$,Ju))))}}function J(e,n,r,i){const o=K(e);let s;if(o>0){s=Z();const r=tL(e,$,Ju,0,o);Ee(s,t.createArrayLiteralExpression(n?[n,...r]:r)),n=void 0}const a=Se(e,(function(e,r){if(Y(r)&&e.length>0){const r=void 0!==s;s||(s=Z()),Ee(s,r?t.createArrayConcatCall(s,[t.createArrayLiteralExpression(e,i)]):t.createArrayLiteralExpression(n?[n,...e]:e,i)),n=void 0,e=[]}return e.push(un.checkDefined(eL(r,$,Ju))),e}),[],o);return s?t.createArrayConcatCall(s,[t.createArrayLiteralExpression(a,i)]):aP(t.createArrayLiteralExpression(n?[n,...a]:a,i),r)}function V(e,t=0){const n=e.length;for(let r=t;r0?xe(t,e):Ce(e)}(n);case 252:return function(e){const t=me(e.label?hc(e.label):void 0);t>0?xe(t,e):Ce(e)}(n);case 253:return function(e){!function(e,t){we(8,[e],t)}(eL(e.expression,$,Ju),e)}(n);case 254:return function(e){Y(e)?(function(e){const t=ee(),n=ee();te(t),ne({kind:1,expression:e,startLabel:t,endLabel:n})}(X(un.checkDefined(eL(e.expression,$,Ju)))),H(e.statement),function(){un.assert(1===oe());te(re().endLabel)}()):Ce(eL(e,$,fd))}(n);case 255:return function(e){if(Y(e.caseBlock)){const n=e.caseBlock,r=n.clauses.length,i=function(){const e=ee();return ne({kind:2,isScript:!1,breakLabel:e}),e}(),o=X(un.checkDefined(eL(e.expression,$,Ju))),s=[];let a=-1;for(let e=0;e0)break;l.push(t.createCaseClause(un.checkDefined(eL(r.expression,$,Ju)),[ve(s[i],r.expression)]))}else e++}l.length&&(Ce(t.createSwitchStatement(o,t.createCaseBlock(l))),c+=l.length,l=[]),e>0&&(c+=e,e=0)}xe(a>=0?s[a]:i);for(let e=0;e0)break;o.push(z(t))}o.length&&(Ce(t.createExpressionStatement(t.inlineExpressions(o))),i+=o.length,o=[])}}function z(e){return lk(t.createAssignment(lk(t.cloneNode(e.name),e.name),un.checkDefined(eL(e.initializer,$,Ju))),e)}function Y(e){return!!e&&!!(1048576&e.transformFlags)}function K(e){const t=e.length;for(let n=0;n=0;n--){const t=y[n];if(!pe(t))break;if(t.labelText===e)return!0}return!1}function me(e){if(y)if(e)for(let t=y.length-1;t>=0;t--){const n=y[t];if(pe(n)&&n.labelText===e)return n.breakLabel;if(de(n)&&_e(e,t-1))return n.breakLabel}else for(let e=y.length-1;e>=0;e--){const t=y[e];if(de(t))return t.breakLabel}return 0}function he(e){if(y)if(e)for(let t=y.length-1;t>=0;t--){const n=y[t];if(fe(n)&&_e(e,t-1))return n.continueLabel}else for(let e=y.length-1;e>=0;e--){const t=y[e];if(fe(t))return t.continueLabel}return 0}function Ae(e){if(void 0!==e&&e>0){void 0===b&&(b=[]);const n=t.createNumericLiteral(Number.MAX_SAFE_INTEGER);return void 0===b[e]?b[e]=[n]:b[e].push(n),n}return t.createOmittedExpression()}function ye(e){const n=t.createNumericLiteral(e);return bk(n,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(e)),n}function ve(e,n){return un.assertLessThan(0,e,"Invalid label"),aP(t.createReturnStatement(t.createArrayLiteralExpression([ye(3),Ae(e)])),n)}function be(){we(0)}function Ce(e){e?we(1,[e]):be()}function Ee(e,t,n){we(2,[e,t],n)}function xe(e,t){we(3,[e],t)}function ke(e,t,n){we(4,[e,t],n)}function De(e,t,n){we(5,[e,t],n)}function we(e,t,n){void 0===C&&(C=[],E=[],x=[]),void 0===v&&te(ee());const r=C.length;C[r]=e,E[r]=t,x[r]=n}function Ie(e){(function(e){if(!I)return!0;if(!v||!b)return!1;for(let t=0;t=0;e--){const n=N[e];F=[t.createWithStatement(n.expression,t.createBlock(F))]}if(P){const{startLabel:e,catchLabel:n,finallyLabel:r,endLabel:i}=P;F.unshift(t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createPropertyAccessExpression(S,"trys"),"push"),void 0,[t.createArrayLiteralExpression([Ae(e),Ae(n),Ae(r),Ae(i)])]))),P=void 0}e&&F.push(t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(S,"label"),t.createNumericLiteral(q+1))))}T.push(t.createCaseClause(t.createNumericLiteral(q),F||[])),F=void 0}function Fe(e){if(v)for(let t=0;t{Od(e.arguments[0])&&!bh(e.arguments[0].text,s)||(A=re(A,e))}));const n=function(e){switch(e){case 2:return E;case 3:return x;default:return C}}(p)(t);return h=void 0,g=void 0,v=!1,n}));function b(){return!(NE(h.fileName)&&h.commonJsModuleIndicator&&(!h.externalModuleIndicator||!0===h.externalModuleIndicator))&&!(g.exportEquals||!UP(h))}function C(n){r();const o=[],a=LC(s,"alwaysStrict")||UP(h),c=t.copyPrologue(n.statements,o,a&&!e_(n),I);if(b()&&re(o,z()),J(g.exportedNames)){const e=50;for(let n=0;n11===n.kind?t.createAssignment(t.createElementAccessExpression(t.createIdentifier("exports"),t.createStringLiteral(n.text)),e):t.createAssignment(t.createPropertyAccessExpression(t.createIdentifier("exports"),t.createIdentifier(hc(n))),e)),t.createVoidZero())))}for(const e of g.exportedFunctions)H(o,e);re(o,eL(g.externalHelpersImportDeclaration,I,fd)),se(o,tL(n.statements,I,fd,c)),w(o,!1),Pp(o,i());const l=t.updateSourceFile(n,aP(t.createNodeArray(o),n.statements));return kk(l,e.readEmitHelpers()),l}function E(n){const r=t.createIdentifier("define"),i=AR(t,n,u,s),o=e_(n)&&n,{aliasedModuleNames:c,unaliasedModuleNames:l,importAliasNames:d}=S(n,!0),p=t.updateSourceFile(n,aP(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(r,void 0,[...i?[i]:[],t.createArrayLiteralExpression(o?a:[t.createStringLiteral("require"),t.createStringLiteral("exports"),...c,...l]),o?o.statements.length?o.statements[0].expression:t.createObjectLiteralExpression():t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,"require"),t.createParameterDeclaration(void 0,void 0,"exports"),...d],void 0,D(n))]))]),n.statements));return kk(p,e.readEmitHelpers()),p}function x(n){const{aliasedModuleNames:r,unaliasedModuleNames:i,importAliasNames:o}=S(n,!1),a=AR(t,n,u,s),c=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,"factory")],void 0,aP(t.createBlock([t.createIfStatement(t.createLogicalAnd(t.createTypeCheck(t.createIdentifier("module"),"object"),t.createTypeCheck(t.createPropertyAccessExpression(t.createIdentifier("module"),"exports"),"object")),t.createBlock([t.createVariableStatement(void 0,[t.createVariableDeclaration("v",void 0,void 0,t.createCallExpression(t.createIdentifier("factory"),void 0,[t.createIdentifier("require"),t.createIdentifier("exports")]))]),ik(t.createIfStatement(t.createStrictInequality(t.createIdentifier("v"),t.createIdentifier("undefined")),t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createIdentifier("module"),"exports"),t.createIdentifier("v")))),1)]),t.createIfStatement(t.createLogicalAnd(t.createTypeCheck(t.createIdentifier("define"),"function"),t.createPropertyAccessExpression(t.createIdentifier("define"),"amd")),t.createBlock([t.createExpressionStatement(t.createCallExpression(t.createIdentifier("define"),void 0,[...a?[a]:[],t.createArrayLiteralExpression([t.createStringLiteral("require"),t.createStringLiteral("exports"),...r,...i]),t.createIdentifier("factory")]))])))],!0),void 0)),l=t.updateSourceFile(n,aP(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(c,void 0,[t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,"require"),t.createParameterDeclaration(void 0,void 0,"exports"),...o],void 0,D(n))]))]),n.statements));return kk(l,e.readEmitHelpers()),l}function S(e,n){const r=[],i=[],o=[];for(const n of e.amdDependencies)n.name?(r.push(t.createStringLiteral(n.path)),o.push(t.createParameterDeclaration(void 0,void 0,n.name))):i.push(t.createStringLiteral(n.path));for(const e of g.externalImports){const a=gR(t,e,h,u,c,s),l=hR(t,e,h);a&&(n&&l?(ik(l,8),r.push(a),o.push(t.createParameterDeclaration(void 0,void 0,l))):i.push(a))}return{aliasedModuleNames:r,unaliasedModuleNames:i,importAliasNames:o}}function k(e){if(rT(e)||hT(e)||!gR(t,e,h,u,c,s))return;const n=hR(t,e,h),r=Q(e,n);return r!==n?t.createExpressionStatement(t.createAssignment(n,r)):void 0}function D(e){r();const n=[],o=t.copyPrologue(e.statements,n,!0,I);b()&&re(n,z()),J(g.exportedNames)&&re(n,t.createExpressionStatement(Se(g.exportedNames,((e,n)=>11===n.kind?t.createAssignment(t.createElementAccessExpression(t.createIdentifier("exports"),t.createStringLiteral(n.text)),e):t.createAssignment(t.createPropertyAccessExpression(t.createIdentifier("exports"),t.createIdentifier(hc(n))),e)),t.createVoidZero())));for(const e of g.exportedFunctions)H(n,e);re(n,eL(g.externalHelpersImportDeclaration,I,fd)),2===p&&se(n,q(g.externalImports,k)),se(n,tL(e.statements,I,fd,o)),w(n,!0),Pp(n,i());const s=t.createBlock(n,!0);return v&&Sk(s,lj),s}function w(e,n){if(g.exportEquals){const r=eL(g.exportEquals.expression,R,Ju);if(r)if(n){const n=t.createReturnStatement(r);aP(n,g.exportEquals),ik(n,3840),e.push(n)}else{const n=t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createIdentifier("module"),"exports"),r));aP(n,g.exportEquals),ik(n,3072),e.push(n)}}}function I(e){switch(e.kind){case 272:return function(e){let n;const r=Eh(e);if(2!==p){if(!e.importClause)return ek(aP(t.createExpressionStatement(L(e)),e),e);{const i=[];r&&!xh(e)?i.push(t.createVariableDeclaration(t.cloneNode(r.name),void 0,void 0,Q(e,L(e)))):(i.push(t.createVariableDeclaration(t.getGeneratedNameForNode(e),void 0,void 0,Q(e,L(e)))),r&&xh(e)&&i.push(t.createVariableDeclaration(t.cloneNode(r.name),void 0,void 0,t.getGeneratedNameForNode(e)))),n=re(n,ek(aP(t.createVariableStatement(void 0,t.createVariableDeclarationList(i,d>=2?2:0)),e),e))}}else r&&xh(e)&&(n=re(n,t.createVariableStatement(void 0,t.createVariableDeclarationList([ek(aP(t.createVariableDeclaration(t.cloneNode(r.name),void 0,void 0,t.getGeneratedNameForNode(e)),e),e)],d>=2?2:0))));return n=function(e,t){if(g.exportEquals)return e;const n=t.importClause;if(!n)return e;const r=new jL;n.name&&(e=G(e,r,n));const i=n.namedBindings;if(i)switch(i.kind){case 274:e=G(e,r,i);break;case 275:for(const t of i.elements)e=G(e,r,t,!0)}return e}(n,e),be(n)}(e);case 271:return function(e){let n;un.assert(xm(e),"import= for internal module references should be handled in an earlier transformer."),2!==p?n=wy(e,32)?re(n,ek(aP(t.createExpressionStatement(K(e.name,L(e))),e),e)):re(n,ek(aP(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.cloneNode(e.name),void 0,void 0,L(e))],d>=2?2:0)),e),e)):wy(e,32)&&(n=re(n,ek(aP(t.createExpressionStatement(K(t.getExportName(e),t.getLocalName(e))),e),e)));return n=function(e,t){if(g.exportEquals)return e;return G(e,new jL,t)}(n,e),be(n)}(e);case 278:return function(e){if(!e.moduleSpecifier)return;const r=t.getGeneratedNameForNode(e);if(e.exportClause&&gT(e.exportClause)){const i=[];2!==p&&i.push(ek(aP(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(r,void 0,void 0,L(e))])),e),e));for(const o of e.exportClause.elements){const a=o.propertyName||o.name,c=!!xC(s)&&!(2&Zp(e))&&Gp(a)?n().createImportDefaultHelper(r):r,l=11===a.kind?t.createElementAccessExpression(c,a):t.createPropertyAccessExpression(c,a);i.push(ek(aP(t.createExpressionStatement(K(11===o.name.kind?t.cloneNode(o.name):t.getExportName(o),l,void 0,!0)),o),o))}return be(i)}if(e.exportClause){const i=[];return i.push(ek(aP(t.createExpressionStatement(K(t.cloneNode(e.exportClause.name),function(e,t){if(!xC(s)||2&Zp(e))return t;if(OL(e))return n().createImportStarHelper(t);return t}(e,2!==p?L(e):Jp(e)||11===e.exportClause.name.kind?r:t.createIdentifier(hc(e.exportClause.name))))),e),e)),be(i)}return ek(aP(t.createExpressionStatement(n().createExportStarHelper(2!==p?L(e):r)),e),e)}(e);case 277:return function(e){if(e.isExportEquals)return;return Y(t.createIdentifier("default"),eL(e.expression,R,Ju),e,!0)}(e);default:return T(e)}}function T(n){switch(n.kind){case 243:return function(n){let r,i,o;if(wy(n,32)){let e,s=!1;for(const r of n.declarationList.declarations)if(UD(r.name)&&eR(r.name))if(e||(e=tL(n.modifiers,X,Zl)),r.initializer){i=re(i,t.updateVariableDeclaration(r,r.name,void 0,void 0,K(r.name,eL(r.initializer,R,Ju))))}else i=re(i,r);else if(r.initializer)if(!Cu(r.name)&&(rI(r.initializer)||nI(r.initializer)||mI(r.initializer))){const e=t.createAssignment(aP(t.createPropertyAccessExpression(t.createIdentifier("exports"),r.name),r.name),t.createIdentifier(jg(r.name)));i=re(i,t.createVariableDeclaration(r.name,r.exclamationToken,r.type,eL(r.initializer,R,Ju))),o=re(o,e),s=!0}else o=re(o,j(r));if(i&&(r=re(r,t.updateVariableStatement(n,e,t.updateVariableDeclarationList(n.declarationList,i)))),o){const e=ek(aP(t.createExpressionStatement(t.inlineExpressions(o)),n),n);s&&rk(e),r=re(r,e)}}else r=re(r,uL(n,R,e));return r=function(e,t){return U(e,t.declarationList,!1)}(r,n),be(r)}(n);case 262:return function(n){let r;r=wy(n,32)?re(r,ek(aP(t.createFunctionDeclaration(tL(n.modifiers,X,Zl),n.asteriskToken,t.getDeclarationName(n,!0,!0),void 0,tL(n.parameters,R,aw),void 0,uL(n.body,R,e)),n),n)):re(r,uL(n,R,e));return be(r)}(n);case 263:return function(n){let r;r=wy(n,32)?re(r,ek(aP(t.createClassDeclaration(tL(n.modifiers,X,hu),t.getDeclarationName(n,!0,!0),void 0,tL(n.heritageClauses,R,$T),tL(n.members,R,uu)),n),n)):re(r,uL(n,R,e));return r=H(r,n),be(r)}(n);case 248:return B(n,!0);case 249:return function(n){if(GI(n.initializer)&&!(7&n.initializer.flags)){const r=U(void 0,n.initializer,!0);if(J(r)){const i=eL(n.initializer,P,ed),o=eL(n.expression,R,Ju),s=cL(n.statement,T,e),a=DI(s)?t.updateBlock(s,[...r,...s.statements]):t.createBlock([...r,s],!0);return t.updateForInStatement(n,i,o,a)}}return t.updateForInStatement(n,eL(n.initializer,P,ed),eL(n.expression,R,Ju),cL(n.statement,T,e))}(n);case 250:return function(n){if(GI(n.initializer)&&!(7&n.initializer.flags)){const r=U(void 0,n.initializer,!0),i=eL(n.initializer,P,ed),o=eL(n.expression,R,Ju);let s=cL(n.statement,T,e);return J(r)&&(s=DI(s)?t.updateBlock(s,[...r,...s.statements]):t.createBlock([...r,s],!0)),t.updateForOfStatement(n,n.awaitModifier,i,o,s)}return t.updateForOfStatement(n,n.awaitModifier,eL(n.initializer,P,ed),eL(n.expression,R,Ju),cL(n.statement,T,e))}(n);case 246:return function(n){return t.updateDoStatement(n,cL(n.statement,T,e),eL(n.expression,R,Ju))}(n);case 247:return function(n){return t.updateWhileStatement(n,eL(n.expression,R,Ju),cL(n.statement,T,e))}(n);case 256:return function(e){return t.updateLabeledStatement(e,e.label,eL(e.statement,T,fd,t.liftToBlock)??aP(t.createEmptyStatement(),e.statement))}(n);case 254:return function(e){return t.updateWithStatement(e,eL(e.expression,R,Ju),un.checkDefined(eL(e.statement,T,fd,t.liftToBlock)))}(n);case 245:return function(e){return t.updateIfStatement(e,eL(e.expression,R,Ju),eL(e.thenStatement,T,fd,t.liftToBlock)??t.createBlock([]),eL(e.elseStatement,T,fd,t.liftToBlock))}(n);case 255:return function(e){return t.updateSwitchStatement(e,eL(e.expression,R,Ju),un.checkDefined(eL(e.caseBlock,T,tT)))}(n);case 269:return function(e){return t.updateCaseBlock(e,tL(e.clauses,T,Cd))}(n);case 296:return function(e){return t.updateCaseClause(e,eL(e.expression,R,Ju),tL(e.statements,T,fd))}(n);case 297:case 258:return function(t){return uL(t,T,e)}(n);case 299:return function(e){return t.updateCatchClause(e,e.variableDeclaration,un.checkDefined(eL(e.block,T,DI)))}(n);case 241:return function(t){return t=uL(t,T,e),t}(n);default:return R(n)}}function F(r,i){if(!(276828160&r.transformFlags||(null==A?void 0:A.length)))return r;switch(r.kind){case 248:return B(r,!1);case 244:return function(e){return t.updateExpressionStatement(e,eL(e.expression,P,Ju))}(r);case 217:return function(e,n){return t.updateParenthesizedExpression(e,eL(e.expression,n?P:R,Ju))}(r,i);case 355:return function(e,n){return t.updatePartiallyEmittedExpression(e,eL(e.expression,n?P:R,Ju))}(r,i);case 213:const a=r===fe(A);if(a&&A.shift(),l_(r)&&u.shouldTransformImportCall(h))return function(r,i){if(0===p&&d>=7)return uL(r,R,e);const a=gR(t,r,h,u,c,s),l=eL(fe(r.arguments),R,Ju),f=!a||l&&kD(l)&&l.text===a.text?l&&i?kD(l)?pM(l,s):n().createRewriteRelativeImportExtensionsHelper(l):l:a,_=!!(16384&r.transformFlags);switch(s.module){case 2:return O(f,_);case 3:return function(e,n){if(v=!0,JL(e)){const r=Vl(e)?e:kD(e)?t.createStringLiteralFromNode(e):ik(aP(t.cloneNode(e),e),3072);return t.createConditionalExpression(t.createIdentifier("__syncRequire"),void 0,$(e),void 0,O(r,n))}{const r=t.createTempVariable(o);return t.createComma(t.createAssignment(r,e),t.createConditionalExpression(t.createIdentifier("__syncRequire"),void 0,$(r,!0),void 0,O(r,n)))}}(f??t.createVoidZero(),_);default:return $(f)}}(r,a);if(a)return function(e){return t.updateCallExpression(e,e.expression,void 0,tL(e.arguments,(t=>t===e.arguments[0]?Od(t)?pM(t,s):n().createRewriteRelativeImportExtensionsHelper(t):R(t)),Ju))}(r);break;case 226:if(ov(r))return function(t,n){if(N(t.left))return _M(t,R,e,0,!n,M);return uL(t,R,e)}(r,i);break;case 224:case 225:return function(n,r){if((46===n.operator||47===n.operator)&&UD(n.operand)&&!Vl(n.operand)&&!eR(n.operand)&&!Zv(n.operand)){const e=ee(n.operand);if(e){let i,s=eL(n.operand,R,Ju);cI(n)?s=t.updatePrefixUnaryExpression(n,s):(s=t.updatePostfixUnaryExpression(n,s),r||(i=t.createTempVariable(o),s=t.createAssignment(i,s),aP(s,n)),s=t.createComma(s,t.cloneNode(n.operand)),aP(s,n));for(const t of e)y[JQ(s)]=!0,s=K(t,s),aP(s,n);return i&&(y[JQ(s)]=!0,s=t.createComma(s,i),aP(s,n)),s}}return uL(n,R,e)}(r,i)}return uL(r,R,e)}function R(e){return F(e,!1)}function P(e){return F(e,!0)}function N(e){if(Ww(e))for(const t of e.properties)switch(t.kind){case 303:if(N(t.initializer))return!0;break;case 304:if(N(t.name))return!0;break;case 305:if(N(t.expression))return!0;break;case 174:case 177:case 178:return!1;default:un.assertNever(t,"Unhandled object member kind")}else if(Gw(e)){for(const t of e.elements)if(_I(t)){if(N(t.expression))return!0}else if(N(t))return!0}else if(UD(e))return l(ee(e))>(tR(e)?1:0);return!1}function B(n,r){if(r&&n.initializer&&GI(n.initializer)&&!(7&n.initializer.flags)){const i=U(void 0,n.initializer,!1);if(i){const o=[],s=eL(n.initializer,P,GI),a=t.createVariableStatement(void 0,s);o.push(a),se(o,i);const c=eL(n.condition,R,Ju),l=eL(n.incrementor,P,Ju),u=cL(n.statement,r?T:R,e);return o.push(t.updateForStatement(n,void 0,c,l,u)),o}}return t.updateForStatement(n,eL(n.initializer,P,ed),eL(n.condition,R,Ju),eL(n.incrementor,P,Ju),cL(n.statement,r?T:R,e))}function O(e,r){const i=t.createUniqueName("resolve"),o=t.createUniqueName("reject"),a=[t.createParameterDeclaration(void 0,void 0,i),t.createParameterDeclaration(void 0,void 0,o)],c=t.createBlock([t.createExpressionStatement(t.createCallExpression(t.createIdentifier("require"),void 0,[t.createArrayLiteralExpression([e||t.createOmittedExpression()]),i,o]))]);let l;d>=2?l=t.createArrowFunction(void 0,void 0,a,void 0,void 0,c):(l=t.createFunctionExpression(void 0,void 0,void 0,void 0,a,void 0,c),r&&ik(l,16));const u=t.createNewExpression(t.createIdentifier("Promise"),void 0,[l]);return xC(s)?t.createCallExpression(t.createPropertyAccessExpression(u,t.createIdentifier("then")),void 0,[n().createImportStarCallbackHelper()]):u}function $(e,r){const i=e&&!VL(e)&&!r,o=t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Promise"),"resolve"),void 0,i?d>=2?[t.createTemplateExpression(t.createTemplateHead(""),[t.createTemplateSpan(e,t.createTemplateTail(""))])]:[t.createCallExpression(t.createPropertyAccessExpression(t.createStringLiteral(""),"concat"),void 0,[e])]:[]);let a=t.createCallExpression(t.createIdentifier("require"),void 0,i?[t.createIdentifier("s")]:e?[e]:[]);xC(s)&&(a=n().createImportStarHelper(a));const c=i?[t.createParameterDeclaration(void 0,void 0,"s")]:[];let l;l=d>=2?t.createArrowFunction(void 0,void 0,c,void 0,void 0,a):t.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,t.createBlock([t.createReturnStatement(a)]));return t.createCallExpression(t.createPropertyAccessExpression(o,"then"),void 0,[l])}function Q(e,t){return!xC(s)||2&Zp(e)?t:qL(e)?n().createImportStarHelper(t):$L(e)?n().createImportDefaultHelper(t):t}function L(e){const n=gR(t,e,h,u,c,s),r=[];return n&&r.push(pM(n,s)),t.createCallExpression(t.createIdentifier("require"),void 0,r)}function M(e,n,r){const i=ee(e);if(i){let o=tR(e)?n:t.createAssignment(e,n);for(const e of i)ik(o,8),o=K(e,o,r);return o}return t.createAssignment(e,n)}function j(n){return Cu(n.name)?_M(eL(n,R,tb),R,e,0,!1,M):t.createAssignment(aP(t.createPropertyAccessExpression(t.createIdentifier("exports"),n.name),n.name),n.initializer?eL(n.initializer,R,Ju):t.createVoidZero())}function U(e,t,n){if(g.exportEquals)return e;for(const r of t.declarations)e=V(e,r,n);return e}function V(e,t,n){if(g.exportEquals)return e;if(Cu(t.name))for(const r of t.name.elements)hI(r)||(e=V(e,r,n));else Vl(t.name)||HI(t)&&!t.initializer&&!n||(e=G(e,new jL,t));return e}function H(e,n){if(g.exportEquals)return e;const r=new jL;if(wy(n,32)){e=W(e,r,wy(n,2048)?t.createIdentifier("default"):t.getDeclarationName(n),t.getLocalName(n),n)}return n.name&&(e=G(e,r,n)),e}function G(e,n,r,i){const o=t.getDeclarationName(r),s=g.exportSpecifiers.get(o);if(s)for(const t of s)e=W(e,n,t.name,o,t.name,void 0,i);return e}function W(e,t,n,r,i,o,s){if(11!==n.kind){if(t.has(n))return e;t.set(n,!0)}return e=re(e,Y(n,r,i,o,s))}function z(){const e=t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"defineProperty"),void 0,[t.createIdentifier("exports"),t.createStringLiteral("__esModule"),t.createObjectLiteralExpression([t.createPropertyAssignment("value",t.createTrue())])]));return ik(e,2097152),e}function Y(e,n,r,i,o){const s=aP(t.createExpressionStatement(K(e,n,void 0,o)),r);return pR(s),i||ik(s,3072),s}function K(e,n,r,i){return aP(i?t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"defineProperty"),void 0,[t.createIdentifier("exports"),t.createStringLiteralFromNode(e),t.createObjectLiteralExpression([t.createPropertyAssignment("enumerable",t.createTrue()),t.createPropertyAssignment("get",t.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,t.createBlock([t.createReturnStatement(n)])))])]):t.createAssignment(11===e.kind?t.createElementAccessExpression(t.createIdentifier("exports"),t.cloneNode(e)):t.createPropertyAccessExpression(t.createIdentifier("exports"),t.cloneNode(e)),n),r)}function X(e){switch(e.kind){case 95:case 90:return}return e}function Z(e){var n,r;if(8192&Xp(e)){const n=fR(h);return n?t.createPropertyAccessExpression(n,e):e}if((!Vl(e)||64&e.emitNode.autoGenerate.flags)&&!eR(e)){const i=c.getReferencedExportContainer(e,tR(e));if(i&&307===i.kind)return aP(t.createPropertyAccessExpression(t.createIdentifier("exports"),t.cloneNode(e)),e);const o=c.getReferencedImportDeclaration(e);if(o){if(oT(o))return aP(t.createPropertyAccessExpression(t.getGeneratedNameForNode(o.parent),t.createIdentifier("default")),e);if(_T(o)){const i=o.propertyName||o.name,s=t.getGeneratedNameForNode((null==(r=null==(n=o.parent)?void 0:n.parent)?void 0:r.parent)||o);return aP(11===i.kind?t.createElementAccessExpression(s,t.cloneNode(i)):t.createPropertyAccessExpression(s,t.cloneNode(i)),e)}}}return e}function ee(e){if(Vl(e)){if(Gl(e)){const t=null==g?void 0:g.exportSpecifiers.get(e);if(t){const e=[];for(const n of t)e.push(n.name);return e}}}else{const t=c.getReferencedImportDeclaration(e);if(t)return null==g?void 0:g.exportedBindings[RL(t)];const n=new Set,r=c.getReferencedValueDeclarations(e);if(r){for(const e of r){const t=null==g?void 0:g.exportedBindings[RL(e)];if(t)for(const e of t)n.add(e)}if(n.size)return Pe(n)}}}}var lj={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'};function uj(e){const{factory:t,startLexicalEnvironment:n,endLexicalEnvironment:r,hoistVariableDeclaration:i}=e,o=e.getCompilerOptions(),s=e.getEmitResolver(),a=e.getEmitHost(),c=e.onSubstituteNode,l=e.onEmitNode;e.onSubstituteNode=function(e,n){if(n=c(e,n),function(e){return b&&e.id&&b[e.id]}(n))return n;if(1===e)return function(e){switch(e.kind){case 80:return function(e){var n,r;if(8192&Xp(e)){const n=fR(m);return n?t.createPropertyAccessExpression(n,e):e}if(!Vl(e)&&!eR(e)){const i=s.getReferencedImportDeclaration(e);if(i){if(oT(i))return aP(t.createPropertyAccessExpression(t.getGeneratedNameForNode(i.parent),t.createIdentifier("default")),e);if(_T(i)){const o=i.propertyName||i.name,s=t.getGeneratedNameForNode((null==(r=null==(n=i.parent)?void 0:n.parent)?void 0:r.parent)||i);return aP(11===o.kind?t.createElementAccessExpression(s,t.cloneNode(o)):t.createPropertyAccessExpression(s,t.cloneNode(o)),e)}}}return e}(e);case 226:return function(e){if(tv(e.operatorToken.kind)&&UD(e.left)&&(!Vl(e.left)||Gl(e.left))&&!eR(e.left)){const t=W(e.left);if(t){let n=e;for(const e of t)n=$(e,z(n));return n}}return e}(e);case 236:return function(e){if(u_(e))return t.createPropertyAccessExpression(A,t.createIdentifier("meta"));return e}(e)}return e}(n);if(4===e)return function(e){if(304===e.kind)return function(e){var n,r;const i=e.name;if(!Vl(i)&&!eR(i)){const o=s.getReferencedImportDeclaration(i);if(o){if(oT(o))return aP(t.createPropertyAssignment(t.cloneNode(i),t.createPropertyAccessExpression(t.getGeneratedNameForNode(o.parent),t.createIdentifier("default"))),e);if(_T(o)){const s=o.propertyName||o.name,a=t.getGeneratedNameForNode((null==(r=null==(n=o.parent)?void 0:n.parent)?void 0:r.parent)||o);return aP(t.createPropertyAssignment(t.cloneNode(i),11===s.kind?t.createElementAccessExpression(a,t.cloneNode(s)):t.createPropertyAccessExpression(a,t.cloneNode(s))),e)}}}return e}(e);return e}(n);return n},e.onEmitNode=function(e,t,n){if(307===t.kind){const r=RL(t);m=t,h=d[r],g=p[r],b=f[r],A=_[r],b&&delete f[r],l(e,t,n),m=void 0,h=void 0,g=void 0,A=void 0,b=void 0}else l(e,t,n)},e.enableSubstitution(80),e.enableSubstitution(304),e.enableSubstitution(226),e.enableSubstitution(236),e.enableEmitNotification(307);const d=[],p=[],f=[],_=[];let m,h,g,A,y,v,b;return BL(e,(function(i){if(i.isDeclarationFile||!(gf(i,o)||8388608&i.transformFlags))return i;const c=RL(i);m=i,v=i,h=d[c]=QL(e,i),g=t.createUniqueName("exports"),p[c]=g,A=_[c]=t.createUniqueName("context");const l=function(e){const n=new Map,r=[];for(const i of e){const e=gR(t,i,m,a,s,o);if(e){const t=e.text,o=n.get(t);void 0!==o?r[o].externalImports.push(i):(n.set(t,r.length),r.push({name:e,externalImports:[i]}))}}return r}(h.externalImports),u=function(e,i){const s=[];n();const a=LC(o,"alwaysStrict")||UP(m),c=t.copyPrologue(e.statements,s,a,x);s.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration("__moduleName",void 0,void 0,t.createLogicalAnd(A,t.createPropertyAccessExpression(A,"id")))]))),eL(h.externalHelpersImportDeclaration,x,fd);const l=tL(e.statements,x,fd,c);se(s,y),Pp(s,r());const u=function(e){if(!h.hasExportStarsToExportValues)return;if(!J(h.exportedNames)&&0===h.exportedFunctions.size&&0===h.exportSpecifiers.size){let t=!1;for(const e of h.externalImports)if(278===e.kind&&e.exportClause){t=!0;break}if(!t){const t=C(void 0);return e.push(t),t.name}}const n=[];if(h.exportedNames)for(const e of h.exportedNames)Gp(e)||n.push(t.createPropertyAssignment(t.createStringLiteralFromNode(e),t.createTrue()));for(const e of h.exportedFunctions)wy(e,2048)||(un.assert(!!e.name),n.push(t.createPropertyAssignment(t.createStringLiteralFromNode(e.name),t.createTrue())));const r=t.createUniqueName("exportedNames");e.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(r,void 0,void 0,t.createObjectLiteralExpression(n,!0))])));const i=C(r);return e.push(i),i.name}(s),d=2097152&e.transformFlags?t.createModifiersFromModifierFlags(1024):void 0,p=t.createObjectLiteralExpression([t.createPropertyAssignment("setters",E(u,i)),t.createPropertyAssignment("execute",t.createFunctionExpression(d,void 0,void 0,void 0,[],void 0,t.createBlock(l,!0)))],!0);return s.push(t.createReturnStatement(p)),t.createBlock(s,!0)}(i,l),S=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,g),t.createParameterDeclaration(void 0,void 0,A)],void 0,u),k=AR(t,i,a,o),D=t.createArrayLiteralExpression(w(l,(e=>e.name))),I=ik(t.updateSourceFile(i,aP(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("System"),"register"),void 0,k?[k,D,S]:[D,S]))]),i.statements)),2048);o.outFile||Ik(I,u,(e=>!e.scoped));b&&(f[c]=b,b=void 0);return m=void 0,h=void 0,g=void 0,A=void 0,y=void 0,v=void 0,I}));function C(e){const n=t.createUniqueName("exportStar"),r=t.createIdentifier("m"),i=t.createIdentifier("n"),o=t.createIdentifier("exports");let s=t.createStrictInequality(i,t.createStringLiteral("default"));return e&&(s=t.createLogicalAnd(s,t.createLogicalNot(t.createCallExpression(t.createPropertyAccessExpression(e,"hasOwnProperty"),void 0,[i])))),t.createFunctionDeclaration(void 0,void 0,n,void 0,[t.createParameterDeclaration(void 0,void 0,r)],void 0,t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(o,void 0,void 0,t.createObjectLiteralExpression([]))])),t.createForInStatement(t.createVariableDeclarationList([t.createVariableDeclaration(i)]),r,t.createBlock([ik(t.createIfStatement(s,t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(o,i),t.createElementAccessExpression(r,i)))),1)])),t.createExpressionStatement(t.createCallExpression(g,void 0,[o]))],!0))}function E(e,n){const r=[];for(const i of n){const n=u(i.externalImports,(e=>hR(t,e,m))),o=n?t.getGeneratedNameForNode(n):t.createUniqueName(""),s=[];for(const n of i.externalImports){const r=hR(t,n,m);switch(n.kind){case 272:if(!n.importClause)break;case 271:un.assert(void 0!==r),s.push(t.createExpressionStatement(t.createAssignment(r,o))),wy(n,32)&&s.push(t.createExpressionStatement(t.createCallExpression(g,void 0,[t.createStringLiteral(hc(r)),o])));break;case 278:if(un.assert(void 0!==r),n.exportClause)if(gT(n.exportClause)){const e=[];for(const r of n.exportClause.elements)e.push(t.createPropertyAssignment(t.createStringLiteral(Vp(r.name)),t.createElementAccessExpression(o,t.createStringLiteral(Vp(r.propertyName||r.name)))));s.push(t.createExpressionStatement(t.createCallExpression(g,void 0,[t.createObjectLiteralExpression(e,!0)])))}else s.push(t.createExpressionStatement(t.createCallExpression(g,void 0,[t.createStringLiteral(Vp(n.exportClause.name)),o])));else s.push(t.createExpressionStatement(t.createCallExpression(e,void 0,[o])))}}r.push(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,o)],void 0,t.createBlock(s,!0)))}return t.createArrayLiteralExpression(r,!0)}function x(e){switch(e.kind){case 272:return function(e){let n;e.importClause&&i(hR(t,e,m));return be(function(e,t){if(h.exportEquals)return e;const n=t.importClause;if(!n)return e;n.name&&(e=B(e,n));const r=n.namedBindings;if(r)switch(r.kind){case 274:e=B(e,r);break;case 275:for(const t of r.elements)e=B(e,t)}return e}(n,e))}(e);case 271:return function(e){let n;return un.assert(xm(e),"import= for internal module references should be handled in an earlier transformer."),i(hR(t,e,m)),be(function(e,t){if(h.exportEquals)return e;return B(e,t)}(n,e))}(e);case 278:return function(e){return void un.assertIsDefined(e)}(e);case 277:return function(e){if(e.isExportEquals)return;const n=eL(e.expression,U,Ju);return q(t.createIdentifier("default"),n,!0)}(e);default:return Q(e)}}function S(e){if(!D(e.declarationList))return eL(e,U,fd);let n;if(i_(e.declarationList)||r_(e.declarationList)){const r=tL(e.modifiers,G,hu),i=[];for(const n of e.declarationList.declarations)i.push(t.updateVariableDeclaration(n,t.getGeneratedNameForNode(n.name),void 0,void 0,I(n,!1)));const o=t.updateVariableDeclarationList(e.declarationList,i);n=re(n,t.updateVariableStatement(e,r,o))}else{let r;const i=wy(e,32);for(const t of e.declarationList.declarations)t.initializer?r=re(r,I(t,i)):k(t);r&&(n=re(n,aP(t.createExpressionStatement(t.inlineExpressions(r)),e)))}return n=function(e,t,n){if(h.exportEquals)return e;for(const r of t.declarationList.declarations)(r.initializer||n)&&(e=P(e,r));return e}(n,e,!1),be(n)}function k(e){if(Cu(e.name))for(const t of e.name.elements)hI(t)||k(t);else i(t.cloneNode(e.name))}function D(e){return!(4194304&Xp(e)||307!==v.kind&&7&uc(e).flags)}function I(t,n){const r=n?T:F;return Cu(t.name)?_M(t,U,e,0,!1,r):t.initializer?r(t.name,eL(t.initializer,U,Ju)):t.name}function T(e,t,n){return R(e,t,n,!0)}function F(e,t,n){return R(e,t,n,!1)}function R(e,n,r,o){return i(t.cloneNode(e)),o?$(e,z(aP(t.createAssignment(e,n),r))):z(aP(t.createAssignment(e,n),r))}function P(e,t,n){if(h.exportEquals)return e;if(Cu(t.name))for(const n of t.name.elements)hI(n)||(e=P(e,n));else if(!Vl(t.name)){let n;e=B(e,t,n)}return e}function N(e,n){if(h.exportEquals)return e;let r;if(wy(n,32)){const i=wy(n,2048)?t.createStringLiteral("default"):n.name;e=O(e,i,t.getLocalName(n)),r=jg(i)}return n.name&&(e=B(e,n,r)),e}function B(e,n,r){if(h.exportEquals)return e;const i=t.getDeclarationName(n),o=h.exportSpecifiers.get(i);if(o)for(const t of o)Vp(t.name)!==r&&(e=O(e,t.name,i));return e}function O(e,t,n,r){return e=re(e,q(t,n,r))}function q(e,n,r){const i=t.createExpressionStatement($(e,n));return pR(i),r||ik(i,3072),i}function $(e,n){const r=UD(e)?t.createStringLiteralFromNode(e):e;return ik(n,3072|Xp(n)),mk(t.createCallExpression(g,void 0,[r,n]),n)}function Q(n){switch(n.kind){case 243:return S(n);case 262:return function(n){y=wy(n,32)?re(y,t.updateFunctionDeclaration(n,tL(n.modifiers,G,hu),n.asteriskToken,t.getDeclarationName(n,!0,!0),void 0,tL(n.parameters,U,aw),void 0,eL(n.body,U,DI))):re(y,uL(n,U,e)),y=N(y,n)}(n);case 263:return function(e){let n;const r=t.getLocalName(e);return i(r),n=re(n,aP(t.createExpressionStatement(t.createAssignment(r,aP(t.createClassExpression(tL(e.modifiers,G,hu),e.name,void 0,tL(e.heritageClauses,U,$T),tL(e.members,U,uu)),e))),e)),n=N(n,e),be(n)}(n);case 248:return L(n,!0);case 249:return function(n){const r=v;return v=n,n=t.updateForInStatement(n,M(n.initializer),eL(n.expression,U,Ju),cL(n.statement,Q,e)),v=r,n}(n);case 250:return function(n){const r=v;return v=n,n=t.updateForOfStatement(n,n.awaitModifier,M(n.initializer),eL(n.expression,U,Ju),cL(n.statement,Q,e)),v=r,n}(n);case 246:return function(n){return t.updateDoStatement(n,cL(n.statement,Q,e),eL(n.expression,U,Ju))}(n);case 247:return function(n){return t.updateWhileStatement(n,eL(n.expression,U,Ju),cL(n.statement,Q,e))}(n);case 256:return function(e){return t.updateLabeledStatement(e,e.label,eL(e.statement,Q,fd,t.liftToBlock)??t.createExpressionStatement(t.createIdentifier("")))}(n);case 254:return function(e){return t.updateWithStatement(e,eL(e.expression,U,Ju),un.checkDefined(eL(e.statement,Q,fd,t.liftToBlock)))}(n);case 245:return function(e){return t.updateIfStatement(e,eL(e.expression,U,Ju),eL(e.thenStatement,Q,fd,t.liftToBlock)??t.createBlock([]),eL(e.elseStatement,Q,fd,t.liftToBlock))}(n);case 255:return function(e){return t.updateSwitchStatement(e,eL(e.expression,U,Ju),un.checkDefined(eL(e.caseBlock,Q,tT)))}(n);case 269:return function(e){const n=v;return v=e,e=t.updateCaseBlock(e,tL(e.clauses,Q,Cd)),v=n,e}(n);case 296:return function(e){return t.updateCaseClause(e,eL(e.expression,U,Ju),tL(e.statements,Q,fd))}(n);case 297:case 258:return function(t){return uL(t,Q,e)}(n);case 299:return function(e){const n=v;return v=e,e=t.updateCatchClause(e,e.variableDeclaration,un.checkDefined(eL(e.block,Q,DI))),v=n,e}(n);case 241:return function(t){const n=v;return v=t,t=uL(t,Q,e),v=n,t}(n);default:return U(n)}}function L(n,r){const i=v;return v=n,n=t.updateForStatement(n,eL(n.initializer,r?M:V,ed),eL(n.condition,U,Ju),eL(n.incrementor,V,Ju),cL(n.statement,r?Q:U,e)),v=i,n}function M(e){if(function(e){return GI(e)&&D(e)}(e)){let n;for(const t of e.declarations)n=re(n,I(t,!1)),t.initializer||k(t);return n?t.inlineExpressions(n):t.createOmittedExpression()}return eL(e,V,ed)}function j(n,r){if(!(276828160&n.transformFlags))return n;switch(n.kind){case 248:return L(n,!1);case 244:return function(e){return t.updateExpressionStatement(e,eL(e.expression,V,Ju))}(n);case 217:return function(e,n){return t.updateParenthesizedExpression(e,eL(e.expression,n?V:U,Ju))}(n,r);case 355:return function(e,n){return t.updatePartiallyEmittedExpression(e,eL(e.expression,n?V:U,Ju))}(n,r);case 226:if(ov(n))return function(t,n){if(H(t.left))return _M(t,U,e,0,!n);return uL(t,U,e)}(n,r);break;case 213:if(l_(n))return function(e){const n=gR(t,e,m,a,s,o),r=eL(fe(e.arguments),U,Ju),i=!n||r&&kD(r)&&r.text===n.text?r:n;return t.createCallExpression(t.createPropertyAccessExpression(A,t.createIdentifier("import")),void 0,i?[i]:[])}(n);break;case 224:case 225:return function(n,r){if((46===n.operator||47===n.operator)&&UD(n.operand)&&!Vl(n.operand)&&!eR(n.operand)&&!Zv(n.operand)){const e=W(n.operand);if(e){let o,s=eL(n.operand,U,Ju);cI(n)?s=t.updatePrefixUnaryExpression(n,s):(s=t.updatePostfixUnaryExpression(n,s),r||(o=t.createTempVariable(i),s=t.createAssignment(o,s),aP(s,n)),s=t.createComma(s,t.cloneNode(n.operand)),aP(s,n));for(const t of e)s=$(t,z(s));return o&&(s=t.createComma(s,o),aP(s,n)),s}}return uL(n,U,e)}(n,r)}return uL(n,U,e)}function U(e){return j(e,!1)}function V(e){return j(e,!0)}function H(e){if(iv(e,!0))return H(e.left);if(_I(e))return H(e.expression);if(Ww(e))return J(e.properties,H);if(Gw(e))return J(e.elements,H);if(MT(e))return H(e.name);if(LT(e))return H(e.initializer);if(UD(e)){const t=s.getReferencedExportContainer(e);return void 0!==t&&307===t.kind}return!1}function G(e){switch(e.kind){case 95:case 90:return}return e}function W(e){let n;const r=function(e){if(!Vl(e)){const t=s.getReferencedImportDeclaration(e);if(t)return t;const n=s.getReferencedValueDeclaration(e);if(n&&(null==h?void 0:h.exportedBindings[RL(n)]))return n;const r=s.getReferencedValueDeclarations(e);if(r)for(const e of r)if(e!==n&&(null==h?void 0:h.exportedBindings[RL(e)]))return e;return n}}(e);if(r){const i=s.getReferencedExportContainer(e,!1);i&&307===i.kind&&(n=re(n,t.getDeclarationName(r))),n=se(n,null==h?void 0:h.exportedBindings[RL(r)])}else if(Vl(e)&&Gl(e)){const t=null==h?void 0:h.exportSpecifiers.get(e);if(t){const e=[];for(const n of t)e.push(n.name);return e}}return n}function z(e){return void 0===b&&(b=[]),b[JQ(e)]=!0,e}}function dj(e){const{factory:t,getEmitHelperFactory:n}=e,r=e.getEmitHost(),i=e.getEmitResolver(),o=e.getCompilerOptions(),s=yC(o),a=e.onEmitNode,c=e.onSubstituteNode;e.onEmitNode=function(e,t,n){JT(t)?((UP(t)||EC(o))&&o.importHelpers&&(d=new Map),p=t,a(e,t,n),p=void 0,d=void 0):a(e,t,n)},e.onSubstituteNode=function(e,n){if(n=c(e,n),n.id&&l.has(n.id))return n;if(UD(n)&&8192&Xp(n))return function(e){const n=p&&fR(p);if(n)return l.add(JQ(e)),t.createPropertyAccessExpression(n,e);if(d){const n=hc(e);let r=d.get(n);return r||d.set(n,r=t.createUniqueName(n,48)),r}return e}(n);return n},e.enableEmitNotification(307),e.enableSubstitution(80);const l=new Set;let u,d,p,f;return BL(e,(function(r){if(r.isDeclarationFile)return r;if(UP(r)||EC(o)){p=r,f=void 0,o.rewriteRelativeImportExtensions&&(4194304&p.flags||Tm(r))&&wS(r,!1,!1,(e=>{Od(e.arguments[0])&&!bh(e.arguments[0].text,o)||(u=re(u,e))}));let i=function(r){const i=mR(t,n(),r,o);if(i){const e=[],n=t.copyPrologue(r.statements,e);return se(e,nL([i],_,fd)),se(e,tL(r.statements,_,fd,n)),t.updateSourceFile(r,aP(t.createNodeArray(e),r.statements))}return uL(r,_,e)}(r);return kk(i,e.readEmitHelpers()),p=void 0,f&&(i=t.updateSourceFile(i,aP(t.createNodeArray(Np(i.statements.slice(),f)),i.statements))),!UP(r)||200===vC(o)||J(i.statements,Yu)?i:t.updateSourceFile(i,aP(t.createNodeArray([...i.statements,MF(t)]),i.statements))}return r}));function _(r){switch(r.kind){case 271:return vC(o)>=100?function(e){let n;return un.assert(xm(e),"import= for internal module references should be handled in an earlier transformer."),n=re(n,ek(aP(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.cloneNode(e.name),void 0,void 0,m(e))],s>=2?2:0)),e),e)),n=function(e,n){wy(n,32)&&(e=re(e,t.createExportDeclaration(void 0,n.isTypeOnly,t.createNamedExports([t.createExportSpecifier(!1,void 0,hc(n.name))]))));return e}(n,e),be(n)}(r):void 0;case 277:return function(e){if(e.isExportEquals){if(200===vC(o)){return ek(t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createIdentifier("module"),"exports"),e.expression)),e)}return}return e}(r);case 278:return function(e){const n=pM(e.moduleSpecifier,o);if(void 0!==o.module&&o.module>5||!e.exportClause||!pT(e.exportClause)||!e.moduleSpecifier)return e.moduleSpecifier&&n!==e.moduleSpecifier?t.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,n,e.attributes):e;const r=e.exportClause.name,i=t.getGeneratedNameForNode(r),s=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamespaceImport(i)),n,e.attributes);ek(s,e.exportClause);const a=Jp(e)?t.createExportDefault(i):t.createExportDeclaration(void 0,!1,t.createNamedExports([t.createExportSpecifier(!1,i,r)]));return ek(a,e),[s,a]}(r);case 272:return function(e){if(!o.rewriteRelativeImportExtensions)return e;const n=pM(e.moduleSpecifier,o);if(n===e.moduleSpecifier)return e;return t.updateImportDeclaration(e,e.modifiers,e.importClause,n,e.attributes)}(r);case 213:if(r===(null==u?void 0:u[0]))return function(e){return t.updateCallExpression(e,e.expression,e.typeArguments,[Od(e.arguments[0])?pM(e.arguments[0],o):n().createRewriteRelativeImportExtensionsHelper(e.arguments[0]),...e.arguments.slice(1)])}(u.shift());break;default:if((null==u?void 0:u.length)&&Kv(r,u[0]))return uL(r,_,e)}return r}function m(e){const n=gR(t,e,un.checkDefined(p),r,i,o),a=[];if(n&&a.push(pM(n,o)),200===vC(o))return t.createCallExpression(t.createIdentifier("require"),void 0,a);if(!f){const e=t.createUniqueName("_createRequire",48),n=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamedImports([t.createImportSpecifier(!1,t.createIdentifier("createRequire"),e)])),t.createStringLiteral("module"),void 0),r=t.createUniqueName("__require",48),i=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(r,void 0,void 0,t.createCallExpression(t.cloneNode(e),void 0,[t.createPropertyAccessExpression(t.createMetaProperty(102,t.createIdentifier("meta")),t.createIdentifier("url"))]))],s>=2?2:0));f=[n,i]}const c=f[1].declarationList.declarations[0].name;return un.assertNode(c,UD),t.createCallExpression(t.cloneNode(c),void 0,a)}}function pj(e){const t=e.onSubstituteNode,n=e.onEmitNode,r=dj(e),i=e.onSubstituteNode,o=e.onEmitNode;e.onSubstituteNode=t,e.onEmitNode=n;const s=cj(e),a=e.onSubstituteNode,c=e.onEmitNode,l=t=>e.getEmitHost().getEmitModuleFormatOfFile(t);let u;return e.onSubstituteNode=function(e,n){return JT(n)?(u=n,t(e,n)):u?l(u)>=5?i(e,n):a(e,n):t(e,n)},e.onEmitNode=function(e,t,r){JT(t)&&(u=t);if(!u)return n(e,t,r);if(l(u)>=5)return o(e,t,r);return c(e,t,r)},e.enableSubstitution(307),e.enableEmitNotification(307),function(t){return 307===t.kind?d(t):function(t){return e.factory.createBundle(w(t.sourceFiles,d))}(t)};function d(e){if(e.isDeclarationFile)return e;u=e;const t=function(e){return l(e)>=5?r:s}(e)(e);return u=void 0,un.assert(JT(t)),t}}function fj(e){return HI(e)||uw(e)||lw(e)||Hw(e)||kd(e)||Dd(e)||Aw(e)||gw(e)||pw(e)||dw(e)||WI(e)||aw(e)||sw(e)||gI(e)||rT(e)||KI(e)||_w(e)||yw(e)||zw(e)||Yw(e)||uI(e)||wh(e)}function _j(e){return kd(e)||Dd(e)?function(t){const n=function(t){return Iy(e)?t.errorModuleName?2===t.accessibility?us.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:263===e.parent.kind?t.errorModuleName?2===t.accessibility?us.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?us.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Property_0_of_exported_interface_has_or_is_using_private_name_1}(t);return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:dw(e)||pw(e)?function(t){const n=function(t){return Iy(e)?t.errorModuleName?2===t.accessibility?us.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:263===e.parent.kind?t.errorModuleName?2===t.accessibility?us.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us.Public_method_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?us.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Method_0_of_exported_interface_has_or_is_using_private_name_1}(t);return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:mj(e)}function mj(e){return HI(e)||uw(e)||lw(e)||zw(e)||Yw(e)||uI(e)||Hw(e)||_w(e)?t:kd(e)||Dd(e)?function(t){let n;n=178===e.kind?Iy(e)?t.errorModuleName?us.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?us.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:Iy(e)?t.errorModuleName?2===t.accessibility?us.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?2===t.accessibility?us.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:n,errorNode:e.name,typeName:e.name}}:Aw(e)||gw(e)||pw(e)||dw(e)||WI(e)||yw(e)?function(t){let n;switch(e.kind){case 180:n=t.errorModuleName?us.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 179:n=t.errorModuleName?us.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 181:n=t.errorModuleName?us.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:case 173:n=Iy(e)?t.errorModuleName?2===t.accessibility?us.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:us.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:263===e.parent.kind?t.errorModuleName?2===t.accessibility?us.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:us.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?us.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 262:n=t.errorModuleName?2===t.accessibility?us.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:us.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:us.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return un.fail("This is unknown kind for signature: "+e.kind)}return{diagnosticMessage:n,errorNode:e.name||e}}:aw(e)?Za(e,e.parent)&&wy(e.parent,2)?t:function(t){const n=function(t){switch(e.parent.kind){case 176:return t.errorModuleName?2===t.accessibility?us.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 180:case 185:return t.errorModuleName?us.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 179:return t.errorModuleName?us.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 181:return t.errorModuleName?us.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:case 173:return Iy(e.parent)?t.errorModuleName?2===t.accessibility?us.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:263===e.parent.parent.kind?t.errorModuleName?2===t.accessibility?us.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?us.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 262:case 184:return t.errorModuleName?2===t.accessibility?us.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 178:case 177:return t.errorModuleName?2===t.accessibility?us.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:us.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return un.fail(`Unknown parent for parameter: ${un.formatSyntaxKind(e.parent.kind)}`)}}(t);return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}:sw(e)?function(){let t;switch(e.parent.kind){case 263:t=us.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 264:t=us.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 200:t=us.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 185:case 180:t=us.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 179:t=us.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 173:t=Iy(e.parent)?us.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:263===e.parent.parent.kind?us.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:us.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 184:case 262:t=us.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 195:t=us.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 265:t=us.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return un.fail("This is unknown parent for type parameter: "+e.parent.kind)}return{diagnosticMessage:t,errorNode:e,typeName:e.name}}:gI(e)?function(){let t;t=zI(e.parent.parent)?$T(e.parent)&&119===e.parent.token?us.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.parent.parent.name?us.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:us.extends_clause_of_exported_class_has_or_is_using_private_name_0:us.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:t,errorNode:e,typeName:Sc(e.parent.parent)}}:rT(e)?function(){return{diagnosticMessage:us.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}}:KI(e)||wh(e)?function(t){return{diagnosticMessage:t.errorModuleName?us.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:us.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:wh(e)?un.checkDefined(e.typeExpression):e.type,typeName:wh(e)?Sc(e):e.name}}:un.assertNever(e,`Attempted to set a declaration diagnostic context for unhandled node kind: ${un.formatSyntaxKind(e.kind)}`);function t(t){const n=function(t){return 260===e.kind||208===e.kind?t.errorModuleName?2===t.accessibility?us.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:us.Exported_variable_0_has_or_is_using_private_name_1:172===e.kind||211===e.kind||212===e.kind||226===e.kind||171===e.kind||169===e.kind&&wy(e.parent,2)?Iy(e)?t.errorModuleName?2===t.accessibility?us.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:263===e.parent.kind||169===e.kind?t.errorModuleName?2===t.accessibility?us.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:us.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:us.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?us.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:us.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}(t);return void 0!==n?{diagnosticMessage:n,errorNode:e,typeName:e.name}:void 0}}function hj(e){const t={219:us.Add_a_return_type_to_the_function_expression,218:us.Add_a_return_type_to_the_function_expression,174:us.Add_a_return_type_to_the_method,177:us.Add_a_return_type_to_the_get_accessor_declaration,178:us.Add_a_type_to_parameter_of_the_set_accessor_declaration,262:us.Add_a_return_type_to_the_function_declaration,180:us.Add_a_return_type_to_the_function_declaration,169:us.Add_a_type_annotation_to_the_parameter_0,260:us.Add_a_type_annotation_to_the_variable_0,172:us.Add_a_type_annotation_to_the_property_0,171:us.Add_a_type_annotation_to_the_property_0,277:us.Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it},n={218:us.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,262:us.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,219:us.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,174:us.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,180:us.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,177:us.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations,178:us.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations,169:us.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations,260:us.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations,172:us.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations,171:us.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations,167:us.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations,305:us.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations,304:us.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations,209:us.Only_const_arrays_can_be_inferred_with_isolatedDeclarations,277:us.Default_exports_can_t_be_inferred_with_isolatedDeclarations,230:us.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations};return function(r){const a=dc(r,$T);if(a)return $f(r,us.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations);if((S_(r)||xw(r.parent))&&(eu(r)||av(r)))return function(e){const t=$f(e,us.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations,zp(e,!1));return o(e,t),t}(r);switch(un.type(r),r.kind){case 177:case 178:return i(r);case 167:case 304:case 305:return function(e){const t=$f(e,n[e.kind]);return o(e,t),t}(r);case 209:case 230:return function(e){const t=$f(e,n[e.kind]);return o(e,t),t}(r);case 174:case 180:case 218:case 219:case 262:return function(e){const r=$f(e,n[e.kind]);return o(e,r),sx(r,$f(e,t[e.kind])),r}(r);case 208:return function(e){return $f(e,us.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations)}(r);case 172:case 260:return function(e){const r=$f(e,n[e.kind]),i=zp(e.name,!1);return sx(r,$f(e,t[e.kind],i)),r}(r);case 169:return function(r){if(kd(r.parent))return i(r.parent);const o=e.requiresAddingImplicitUndefined(r,void 0);if(!o&&r.initializer)return s(r.initializer);const a=o?us.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations:n[r.kind],c=$f(r,a),l=zp(r.name,!1);return sx(c,$f(r,t[r.kind],l)),c}(r);case 303:return s(r.initializer);case 231:return function(e){return s(e,us.Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations)}(r);default:return s(r)}};function r(e){const t=dc(e,(e=>mT(e)||fd(e)||HI(e)||uw(e)||aw(e)));if(t)return mT(t)?t:QI(t)?dc(t,(e=>ou(e)&&!_w(e))):fd(t)?void 0:t}function i(e){const{getAccessor:r,setAccessor:i}=fy(e.symbol.declarations,e),o=$f((kd(e)?e.parameters[0]:e)??e,n[e.kind]);return i&&sx(o,$f(i,t[i.kind])),r&&sx(o,$f(r,t[r.kind])),o}function o(e,n){const i=r(e);if(i){const e=mT(i)||!i.name?"":zp(i.name,!1);sx(n,$f(i,t[i.kind],e))}return n}function s(e,i){const o=r(e);let s;if(o){const r=mT(o)||!o.name?"":zp(o.name,!1);o===dc(e.parent,(e=>mT(e)||(fd(e)?"quit":!tI(e)&&!eI(e)&&!AI(e))))?(s=$f(e,i??n[o.kind]),sx(s,$f(o,t[o.kind],r))):(s=$f(e,i??us.Expression_type_can_t_be_inferred_with_isolatedDeclarations),sx(s,$f(o,t[o.kind],r)),sx(s,$f(e,us.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit)))}else s=$f(e,i??us.Expression_type_can_t_be_inferred_with_isolatedDeclarations);return s}}function gj(e,t,n){const r=e.getCompilerOptions();return C(S(zA(e,n),Rm),n)?Rj(t,e,XS,r,[n],[vj],!1).diagnostics:void 0}var Aj=531469,yj=8;function vj(e){const t=()=>un.fail("Diagnostic emitted without context");let n,r,i,o,s=t,c=!0,d=!1,p=!1,f=!1,_=!1;const{factory:m}=e,h=e.getEmitHost();let g=()=>{};const A={trackSymbol:function(e,t,n){if(262144&e.flags)return!1;return $(D.isSymbolAccessible(e,t,n,!0))},reportInaccessibleThisError:function(){(y||v)&&e.addDiagnostic($f(y||v,us.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Q(),"this"))},reportInaccessibleUniqueSymbolError:function(){(y||v)&&e.addDiagnostic($f(y||v,us.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Q(),"unique symbol"))},reportCyclicStructureError:function(){(y||v)&&e.addDiagnostic($f(y||v,us.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,Q()))},reportPrivateInBaseOfClassExpression:function(t){(y||v)&&e.addDiagnostic(sx($f(y||v,us.Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected,t),...HI((y||v).parent)?[$f(y||v,us.Add_a_type_annotation_to_the_variable_0,Q())]:[]))},reportLikelyUnsafeImportRequiredError:function(t){(y||v)&&e.addDiagnostic($f(y||v,us.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,Q(),t))},reportTruncationError:function(){(y||v)&&e.addDiagnostic($f(y||v,us.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:h,reportNonlocalAugmentation:function(t,n,r){var i;const o=null==(i=n.declarations)?void 0:i.find((e=>Ap(e)===t)),s=S(r.declarations,(e=>Ap(e)!==t));if(o&&s)for(const t of s)e.addDiagnostic(sx($f(t,us.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),$f(o,us.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))},reportNonSerializableProperty:function(t){(y||v)&&e.addDiagnostic($f(y||v,us.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,t))},reportInferenceFallback:O,pushErrorFallbackNode(e){const t=v,n=g;g=()=>{g=n,v=t},v=e},popErrorFallbackNode(){g()}};let y,v,b,E,x,k;const D=e.getEmitResolver(),I=e.getCompilerOptions(),T=hj(D),{stripInternal:P,isolatedDeclarations:N}=I;return function(a){if(307===a.kind&&a.isDeclarationFile)return a;if(308===a.kind){d=!0,E=[],x=[],k=[];let l=!1;const u=m.createBundle(w(a.sourceFiles,(a=>{if(a.isDeclarationFile)return;if(l=l||a.hasNoDefaultLib,b=a,n=a,r=void 0,o=!1,i=new Map,s=t,f=!1,_=!1,g(a),Zf(a)||e_(a)){p=!1,c=!1;const t=Im(a)?m.createNodeArray(L(a)):tL(a.statements,le,fd);return m.updateSourceFile(a,[m.createModuleDeclaration([m.createModifier(138)],m.createStringLiteral($A(e.getEmitHost(),a)),m.createModuleBlock(aP(m.createNodeArray(se(t)),a.statements)))],!0,[],[],!1,[])}c=!0;const u=Im(a)?m.createNodeArray(L(a)):tL(a.statements,le,fd);return m.updateSourceFile(a,se(u),!0,[],[],!1,[])}))),A=Io(Bo(Qj(a,h,!0).declarationFilePath));return u.syntheticFileReferences=S(A),u.syntheticTypeReferences=y(),u.syntheticLibReferences=v(),u.hasNoDefaultLib=l,u}let l;if(c=!0,f=!1,_=!1,n=a,b=a,s=t,d=!1,p=!1,o=!1,r=void 0,i=new Map,E=[],x=[],k=[],g(b),Im(b))l=m.createNodeArray(L(a));else{const e=tL(a.statements,le,fd);l=aP(m.createNodeArray(se(e)),a.statements),UP(a)&&(!p||f&&!_)&&(l=aP(m.createNodeArray([...l,MF(m)]),l))}const u=Io(Bo(Qj(a,h,!0).declarationFilePath));return m.updateSourceFile(a,l,!0,S(u),y(),a.hasNoDefaultLib,v());function g(e){E=H(E,w(e.referencedFiles,(t=>[e,t]))),x=H(x,e.typeReferenceDirectives),k=H(k,e.libReferenceDirectives)}function A(e){const t={...e};return t.pos=-1,t.end=-1,t}function y(){return q(x,(e=>{if(e.preserve)return A(e)}))}function v(){return q(k,(e=>{if(e.preserve)return A(e)}))}function S(e){return q(E,(([t,n])=>{if(!n.preserve)return;const r=h.getSourceFileFromReference(t,n);if(!r)return;let i;if(r.isDeclarationFile)i=r.fileName;else{if(d&&C(a.sourceFiles,r))return;const e=Qj(r,h,!0);i=e.declarationFilePath||e.jsFilePath||r.fileName}if(!i)return;const o=ss(e,i,h.getCurrentDirectory(),h.getCanonicalFileName,!1),s=A(n);return s.fileName=o,s}))}};function B(t){D.getPropertiesOfContainerFunction(t).forEach((t=>{if(lS(t.valueDeclaration)){const n=uI(t.valueDeclaration)?t.valueDeclaration.left:t.valueDeclaration;e.addDiagnostic($f(n,us.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function))}}))}function O(t){N&&!Im(b)&&Ap(t)===b&&(HI(t)&&D.isExpandoFunctionDeclaration(t)?B(t):e.addDiagnostic(T(t)))}function $(t){if(0===t.accessibility){if(t.aliasesToMakeVisible)if(r)for(const e of t.aliasesToMakeVisible)ae(r,e);else r=t.aliasesToMakeVisible}else if(3!==t.accessibility){const n=s(t);if(n)return n.typeName?e.addDiagnostic($f(t.errorNode||n.errorNode,n.diagnosticMessage,zp(n.typeName),t.errorSymbolName,t.errorModuleName)):e.addDiagnostic($f(t.errorNode||n.errorNode,n.diagnosticMessage,t.errorSymbolName,t.errorModuleName)),!0}return!1}function Q(){return y?Rf(y):v&&Sc(v)?Rf(Sc(v)):v&&mT(v)?v.isExportEquals?"export=":"default":"(Missing)"}function L(e){const t=s;s=t=>t.errorNode&&fj(t.errorNode)?mj(t.errorNode)(t):{diagnosticMessage:t.errorModuleName?us.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:us.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:t.errorNode||e};const n=D.getDeclarationStatementsForSourceFile(e,Aj,yj,A);return s=t,n}function M(e){return 80===e.kind?e:207===e.kind?m.updateArrayBindingPattern(e,tL(e.elements,t,xu)):m.updateObjectBindingPattern(e,tL(e.elements,t,Hw));function t(e){return 232===e.kind?e:(e.propertyName&&ow(e.propertyName)&&av(e.propertyName.expression)&&ee(e.propertyName.expression,n),m.updateBindingElement(e,e.dotDotDotToken,e.propertyName,M(e.name),void 0))}}function j(e,t){let n;o||(n=s,s=mj(e));const r=m.updateParameterDeclaration(e,function(e,t,n,r){return e.createModifiersFromModifierFlags(bj(t,n,r))}(m,e,t),e.dotDotDotToken,M(e.name),D.isOptionalParameter(e)?e.questionToken||m.createToken(58):void 0,G(e,!0),V(e));return o||(s=n),r}function U(e){return Cj(e)&&!!e.initializer&&D.isLiteralConstDeclaration(fc(e))}function V(e){if(U(e)){return vS(bS(e.initializer))||O(e),D.createLiteralConstValue(fc(e,Cj),A)}}function G(e,t){if(!t&&Dy(e,2))return;if(U(e))return;if(!mT(e)&&!Hw(e)&&e.type&&(!aw(e)||!D.requiresAddingImplicitUndefined(e,n)))return eL(e.type,ce,vu);const r=y;let i,a;return y=e.name,o||(i=s,fj(e)&&(s=mj(e))),CS(e)?a=D.createTypeOfDeclaration(e,n,Aj,yj,A):ru(e)?a=D.createReturnTypeOfSignatureDeclaration(e,n,Aj,yj,A):un.assertNever(e),y=r,o||(s=i),a??m.createKeywordTypeNode(133)}function W(e){switch((e=fc(e)).kind){case 262:case 267:case 264:case 263:case 265:case 266:return!D.isDeclarationVisible(e);case 260:return!z(e);case 271:case 272:case 278:case 277:return!1;case 175:return!0}return!1}function z(e){return!hI(e)&&(Cu(e.name)?J(e.name.elements,z):D.isDeclarationVisible(e))}function Y(e,t,n){if(Dy(e,2))return m.createNodeArray();const r=w(t,(e=>j(e,n)));return r?m.createNodeArray(r,t.hasTrailingComma):m.createNodeArray()}function K(e,t){let n;if(!t){const t=ay(e);t&&(n=[j(t)])}if(hw(e)){let r;if(!t){const t=oy(e);t&&(r=j(t))}r||(r=m.createParameterDeclaration(void 0,void 0,"value")),n=re(n,r)}return m.createNodeArray(n||a)}function X(e,t){return Dy(e,2)?void 0:tL(t,ce,sw)}function Z(e){return JT(e)||KI(e)||ZI(e)||zI(e)||YI(e)||ru(e)||yw(e)||Qw(e)}function ee(e,t){$(D.isEntityNameVisible(e,t))}function ne(e,t){return wd(e)&&wd(t)&&(e.jsDoc=t.jsDoc),mk(e,_k(t))}function ie(t,n){if(n){if(p=p||267!==t.kind&&205!==t.kind,Od(n)&&d){const n=LA(e.getEmitHost(),D,t);if(n)return m.createStringLiteral(n)}return n}}function oe(e){const t=rJ(e);return e&&void 0!==t?e:void 0}function se(e){for(;l(r);){const e=r.shift();if(!kf(e))return un.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${un.formatSyntaxKind(e.kind)}`);const t=c;c=e.parent&&JT(e.parent)&&!(UP(e.parent)&&d);const n=pe(e);c=t,i.set(RL(e),n)}return tL(e,(function(e){if(kf(e)){const t=RL(e);if(i.has(t)){const n=i.get(t);return i.delete(t),n&&((Ye(n)?J(n,zu):zu(n))&&(f=!0),JT(e.parent)&&(Ye(n)?J(n,Yu):Yu(n))&&(p=!0)),n}}return e}),fd)}function ce(t){if(_e(t))return;if(ud(t)){if(W(t))return;if($g(t))if(N){if(!D.isDefinitelyReferenceToGlobalSymbolObject(t.name.expression)){if(zI(t.parent)||Ww(t.parent))return void e.addDiagnostic($f(t,us.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations));if((YI(t.parent)||Sw(t.parent))&&!av(t.name.expression))return void e.addDiagnostic($f(t,us.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations))}}else if(!D.isLateBound(fc(t))||!av(t.name.expression))return}if(ru(t)&&D.isImplementationOfOverload(t))return;if(kI(t))return;let r;Z(t)&&(r=n,n=t);const i=s,a=fj(t),c=o;let l=(187===t.kind||200===t.kind)&&265!==t.parent.kind;if((pw(t)||dw(t))&&Dy(t,2)){if(t.symbol&&t.symbol.declarations&&t.symbol.declarations[0]!==t)return;return u(m.createPropertyDeclaration(he(t),t.name,void 0,void 0,void 0))}if(a&&!o&&(s=mj(t)),xw(t)&&ee(t.exprName,n),l&&(o=!0),function(e){switch(e.kind){case 180:case 176:case 174:case 177:case 178:case 172:case 171:case 173:case 179:case 181:case 260:case 168:case 233:case 183:case 194:case 184:case 185:case 205:return!0}return!1}(t))switch(t.kind){case 233:{(eu(t.expression)||av(t.expression))&&ee(t.expression,n);const r=uL(t,ce,e);return u(m.updateExpressionWithTypeArguments(r,r.expression,r.typeArguments))}case 183:{ee(t.typeName,n);const r=uL(t,ce,e);return u(m.updateTypeReferenceNode(r,r.typeName,r.typeArguments))}case 180:return u(m.updateConstructSignature(t,X(t,t.typeParameters),Y(t,t.parameters),G(t)));case 176:return u(m.createConstructorDeclaration(he(t),Y(t,t.parameters,0),void 0));case 174:if(JD(t.name))return u(void 0);return u(m.createMethodDeclaration(he(t),void 0,t.name,t.questionToken,X(t,t.typeParameters),Y(t,t.parameters),G(t),void 0));case 177:return JD(t.name)?u(void 0):u(m.updateGetAccessorDeclaration(t,he(t),t.name,K(t,Dy(t,2)),G(t),void 0));case 178:return JD(t.name)?u(void 0):u(m.updateSetAccessorDeclaration(t,he(t),t.name,K(t,Dy(t,2)),void 0));case 172:return JD(t.name)?u(void 0):u(m.updatePropertyDeclaration(t,he(t),t.name,t.questionToken,G(t),V(t)));case 171:return JD(t.name)?u(void 0):u(m.updatePropertySignature(t,he(t),t.name,t.questionToken,G(t)));case 173:return JD(t.name)?u(void 0):u(m.updateMethodSignature(t,he(t),t.name,t.questionToken,X(t,t.typeParameters),Y(t,t.parameters),G(t)));case 179:return u(m.updateCallSignature(t,X(t,t.typeParameters),Y(t,t.parameters),G(t)));case 181:return u(m.updateIndexSignature(t,he(t),Y(t,t.parameters),eL(t.type,ce,vu)||m.createKeywordTypeNode(133)));case 260:return Cu(t.name)?fe(t.name):(l=!0,o=!0,u(m.updateVariableDeclaration(t,t.name,void 0,G(t),V(t))));case 168:return function(e){return 174===e.parent.kind&&Dy(e.parent,2)}(t)&&(t.default||t.constraint)?u(m.updateTypeParameterDeclaration(t,t.modifiers,t.name,void 0,void 0)):u(uL(t,ce,e));case 194:{const e=eL(t.checkType,ce,vu),r=eL(t.extendsType,ce,vu),i=n;n=t.trueType;const o=eL(t.trueType,ce,vu);n=i;const s=eL(t.falseType,ce,vu);return un.assert(e),un.assert(r),un.assert(o),un.assert(s),u(m.updateConditionalTypeNode(t,e,r,o,s))}case 184:return u(m.updateFunctionTypeNode(t,tL(t.typeParameters,ce,sw),Y(t,t.parameters),un.checkDefined(eL(t.type,ce,vu))));case 185:return u(m.updateConstructorTypeNode(t,he(t),tL(t.typeParameters,ce,sw),Y(t,t.parameters),un.checkDefined(eL(t.type,ce,vu))));case 205:return d_(t)?u(m.updateImportTypeNode(t,m.updateLiteralTypeNode(t.argument,ie(t,t.argument.literal)),t.attributes,t.qualifier,tL(t.typeArguments,ce,vu),t.isTypeOf)):u(t);default:un.assertNever(t,`Attempted to process unhandled node kind: ${un.formatSyntaxKind(t.kind)}`)}return Dw(t)&&Ms(b,t.pos).line===Ms(b,t.end).line&&ik(t,1),u(uL(t,ce,e));function u(e){return e&&a&&$g(t)&&function(e){let t;o||(t=s,s=_j(e));y=e.name,un.assert($g(e));const r=e;ee(r.name.expression,n),o||(s=t);y=void 0}(t),Z(t)&&(n=r),a&&!o&&(s=i),l&&(o=c),e===t?e:e&&ek(ne(e,t),t)}}function le(e){if(!function(e){switch(e.kind){case 262:case 267:case 271:case 264:case 263:case 265:case 266:case 243:case 272:case 278:case 277:return!0}return!1}(e))return;if(_e(e))return;switch(e.kind){case 278:return JT(e.parent)&&(p=!0),_=!0,m.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,ie(e,e.moduleSpecifier),oe(e.attributes));case 277:if(JT(e.parent)&&(p=!0),_=!0,80===e.expression.kind)return e;{const t=m.createUniqueName("_default",16);s=()=>({diagnosticMessage:us.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:e}),v=e;const n=G(e),r=m.createVariableDeclaration(t,void 0,n,void 0);v=void 0;const i=m.createVariableStatement(c?[m.createModifier(138)]:[],m.createVariableDeclarationList([r],2));return ne(i,e),rk(e),[i,m.updateExportAssignment(e,e.modifiers,t)]}}const t=pe(e);return i.set(RL(e),t),e}function ue(e){if(rT(e)||Dy(e,2048)||!cP(e))return e;const t=m.createModifiersFromModifierFlags(131039&Ly(e));return m.replaceModifiers(e,t)}function de(e,t,n,r){const i=m.updateModuleDeclaration(e,t,n,r);if(cf(i)||32&i.flags)return i;const o=m.createModuleDeclaration(i.modifiers,i.name,i.body,32|i.flags);return ek(o,i),aP(o,i),o}function pe(t){if(r)for(;Lt(r,t););if(_e(t))return;switch(t.kind){case 271:return function(e){if(D.isDeclarationVisible(e)){if(283===e.moduleReference.kind){const t=Sm(e);return m.updateImportEqualsDeclaration(e,e.modifiers,e.isTypeOnly,e.name,m.updateExternalModuleReference(e.moduleReference,ie(e,t)))}{const t=s;return s=mj(e),ee(e.moduleReference,n),s=t,e}}}(t);case 272:return function(t){if(!t.importClause)return m.updateImportDeclaration(t,t.modifiers,t.importClause,ie(t,t.moduleSpecifier),oe(t.attributes));const n=t.importClause&&t.importClause.name&&D.isDeclarationVisible(t.importClause)?t.importClause.name:void 0;if(!t.importClause.namedBindings)return n&&m.updateImportDeclaration(t,t.modifiers,m.updateImportClause(t.importClause,t.importClause.isTypeOnly,n,void 0),ie(t,t.moduleSpecifier),oe(t.attributes));if(274===t.importClause.namedBindings.kind){const e=D.isDeclarationVisible(t.importClause.namedBindings)?t.importClause.namedBindings:void 0;return n||e?m.updateImportDeclaration(t,t.modifiers,m.updateImportClause(t.importClause,t.importClause.isTypeOnly,n,e),ie(t,t.moduleSpecifier),oe(t.attributes)):void 0}const r=q(t.importClause.namedBindings.elements,(e=>D.isDeclarationVisible(e)?e:void 0));return r&&r.length||n?m.updateImportDeclaration(t,t.modifiers,m.updateImportClause(t.importClause,t.importClause.isTypeOnly,n,r&&r.length?m.updateNamedImports(t.importClause.namedBindings,r):void 0),ie(t,t.moduleSpecifier),oe(t.attributes)):D.isImportRequiredByAugmentation(t)?(N&&e.addDiagnostic($f(t,us.Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations)),m.updateImportDeclaration(t,t.modifiers,void 0,ie(t,t.moduleSpecifier),oe(t.attributes))):void 0}(t)}if(ud(t)&&W(t))return;if(PF(t))return;if(ru(t)&&D.isImplementationOfOverload(t))return;let o;Z(t)&&(o=n,n=t);const a=fj(t),d=s;a&&(s=mj(t));const h=c;switch(t.kind){case 265:{c=!1;const e=g(m.updateTypeAliasDeclaration(t,he(t),t.name,tL(t.typeParameters,ce,sw),un.checkDefined(eL(t.type,ce,vu))));return c=h,e}case 264:return g(m.updateInterfaceDeclaration(t,he(t),t.name,X(t,t.typeParameters),ge(t.heritageClauses),tL(t.members,ce,gu)));case 262:{const e=g(m.updateFunctionDeclaration(t,he(t),void 0,t.name,X(t,t.typeParameters),Y(t,t.parameters),G(t),void 0));if(e&&D.isExpandoFunctionDeclaration(t)&&function(e){var t;if(e.body)return!0;const n=null==(t=e.symbol.declarations)?void 0:t.filter((e=>WI(e)&&!e.body));return!n||n.indexOf(e)===n.length-1}(t)){const r=D.getPropertiesOfContainerFunction(t);N&&B(t);const i=dP.createModuleDeclaration(void 0,e.name||m.createIdentifier("_default"),m.createModuleBlock([]),32);wx(i,n),i.locals=Wd(r),i.symbol=r[0].parent;const o=[];let a=q(r,(e=>{if(!lS(e.valueDeclaration))return;const t=mc(e.escapedName);if(!ma(t,99))return;s=mj(e.valueDeclaration);const n=D.createTypeOfDeclaration(e.valueDeclaration,i,Aj,2|yj,A);s=d;const r=Tg(t),a=r?m.getGeneratedNameForNode(e.valueDeclaration):m.createIdentifier(t);r&&o.push([a,t]);const c=m.createVariableDeclaration(a,void 0,n,void 0);return m.createVariableStatement(r?void 0:[m.createToken(95)],m.createVariableDeclarationList([c]))}));o.length?a.push(m.createExportDeclaration(void 0,!1,m.createNamedExports(w(o,(([e,t])=>m.createExportSpecifier(!1,e,t)))))):a=q(a,(e=>m.replaceModifiers(e,0)));const c=m.createModuleDeclaration(he(t),t.name,m.createModuleBlock(a),32);if(!Dy(e,2048))return[e,c];const l=m.createModifiersFromModifierFlags(-2081&Ly(e)|128),u=m.updateFunctionDeclaration(e,l,void 0,e.name,e.typeParameters,e.parameters,e.type,void 0),f=m.updateModuleDeclaration(c,l,c.name,c.body),h=m.createExportAssignment(void 0,!1,c.name);return JT(t.parent)&&(p=!0),_=!0,[u,f,h]}return e}case 267:{c=!1;const e=t.body;if(e&&268===e.kind){const n=f,r=_;_=!1,f=!1;let i=se(tL(e.statements,le,fd));33554432&t.flags&&(f=!1),ff(t)||function(e){return J(e,me)}(i)||_||(i=f?m.createNodeArray([...i,MF(m)]):tL(i,ue,fd));const o=m.updateModuleBlock(e,i);c=h,f=n,_=r;const s=he(t);return g(de(t,s,_f(t)?ie(t,t.name):t.name,o))}{c=h;const n=he(t);c=!1,eL(e,le);const r=RL(e),o=i.get(r);return i.delete(r),g(de(t,n,t.name,o))}}case 263:{y=t.name,v=t;const e=m.createNodeArray(he(t)),r=X(t,t.typeParameters),i=iy(t);let o;if(i){const e=s;o=te(R(i.parameters,(e=>{if(wy(e,31)&&!_e(e))return s=mj(e),80===e.name.kind?ne(m.createPropertyDeclaration(he(e),e.name,e.questionToken,G(e),V(e)),e):function t(n){let r;for(const i of n.elements)hI(i)||(Cu(i.name)&&(r=H(r,t(i.name))),r=r||[],r.push(m.createPropertyDeclaration(he(e),i.name,void 0,G(i),void 0)));return r}(e.name)}))),s=e}const a=H(H(H(J(t.members,(e=>!!e.name&&JD(e.name)))?[m.createPropertyDeclaration(void 0,m.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,D.createLateBoundIndexSignatures(t,n,Aj,yj,A)),o),tL(t.members,ce,uu)),l=m.createNodeArray(a),u=Ag(t);if(u&&!av(u.expression)&&106!==u.expression.kind){const n=t.name?mc(t.name.escapedText):"default",i=m.createUniqueName(`${n}_base`,16);s=()=>({diagnosticMessage:us.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:u,typeName:t.name});const o=m.createVariableDeclaration(i,void 0,D.createTypeOfExpression(u.expression,t,Aj,yj,A),void 0),a=m.createVariableStatement(c?[m.createModifier(138)]:[],m.createVariableDeclarationList([o],2)),d=m.createNodeArray(w(t.heritageClauses,(e=>{if(96===e.token){const t=s;s=mj(e.types[0]);const n=m.updateHeritageClause(e,w(e.types,(e=>m.updateExpressionWithTypeArguments(e,i,tL(e.typeArguments,ce,vu)))));return s=t,n}return m.updateHeritageClause(e,tL(m.createNodeArray(S(e.types,(e=>av(e.expression)||106===e.expression.kind))),ce,gI))})));return[a,g(m.updateClassDeclaration(t,e,t.name,r,d,l))]}{const n=ge(t.heritageClauses);return g(m.updateClassDeclaration(t,e,t.name,r,n,l))}}case 243:return g(function(e){if(!u(e.declarationList.declarations,z))return;const t=tL(e.declarationList.declarations,ce,HI);if(!l(t))return;const n=m.createNodeArray(he(e));let r;i_(e.declarationList)||r_(e.declarationList)?(r=m.createVariableDeclarationList(t,2),ek(r,e.declarationList),aP(r,e.declarationList),mk(r,e.declarationList)):r=m.updateVariableDeclarationList(e.declarationList,t);return m.updateVariableStatement(e,n,r)}(t));case 266:return g(m.updateEnumDeclaration(t,m.createNodeArray(he(t)),t.name,m.createNodeArray(q(t.members,(t=>{if(_e(t))return;const n=D.getEnumMemberValue(t),r=null==n?void 0:n.value;N&&t.initializer&&(null==n?void 0:n.hasExternalReferences)&&!ow(t.name)&&e.addDiagnostic($f(t,us.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations));const i=void 0===r?void 0:"string"==typeof r?m.createStringLiteral(r):r<0?m.createPrefixUnaryExpression(41,m.createNumericLiteral(-r)):m.createNumericLiteral(r);return ne(m.updateEnumMember(t,t.name,i),t)})))))}return un.assertNever(t,`Unhandled top-level node in declaration emit: ${un.formatSyntaxKind(t.kind)}`);function g(e){return Z(t)&&(n=o),a&&(s=d),267===t.kind&&(c=h),e===t?e:(v=void 0,y=void 0,e&&ek(ne(e,t),t))}}function fe(e){return F(q(e.elements,(e=>function(e){if(232===e.kind)return;if(e.name){if(!z(e))return;return Cu(e.name)?fe(e.name):m.createVariableDeclaration(e.name,void 0,G(e),void 0)}}(e))))}function _e(e){return!!P&&!!e&&Md(e,b)}function me(e){return mT(e)||hT(e)}function he(e){const t=Ly(e),n=function(e){let t=130030,n=c&&!function(e){if(264===e.kind)return!0;return!1}(e)?128:0;const r=307===e.parent.kind;(!r||d&&r&&UP(e.parent))&&(t^=128,n=0);return bj(e,t,n)}(e);return t===n?nL(e.modifiers,(e=>et(e,Zl)),Zl):m.createModifiersFromModifierFlags(n)}function ge(e){return m.createNodeArray(S(w(e,(e=>m.updateHeritageClause(e,tL(m.createNodeArray(S(e.types,(t=>av(t.expression)||96===e.token&&106===t.expression.kind))),ce,gI)))),(e=>e.types&&!!e.types.length)))}}function bj(e,t=131070,n=0){let r=Ly(e)&t|n;return 2048&r&&!(32&r)&&(r^=32),2048&r&&128&r&&(r^=128),r}function Cj(e){switch(e.kind){case 172:case 171:return!Dy(e,2);case 169:case 260:return!0}return!1}var Ej={scriptTransformers:a,declarationTransformers:a};function xj(e,t,n){return{scriptTransformers:Sj(e,t,n),declarationTransformers:kj(t)}}function Sj(e,t,n){if(n)return a;const r=yC(e),i=vC(e),o=NC(e),s=[];return se(s,t&&w(t.before,wj)),s.push($M),e.experimentalDecorators&&s.push(jM),GC(e)&&s.push(nj),r<99&&s.push(YM),e.experimentalDecorators||!(r<99)&&o||s.push(UM),s.push(QM),r<8&&s.push(zM),r<7&&s.push(WM),r<6&&s.push(GM),r<5&&s.push(HM),r<4&&s.push(JM),r<3&&s.push(ij),r<2&&(s.push(sj),s.push(aj)),s.push(function(e){switch(e){case 200:return dj;case 99:case 7:case 6:case 5:case 100:case 199:case 1:return pj;case 4:return uj;default:return cj}}(i)),se(s,t&&w(t.after,wj)),s}function kj(e){const t=[];return t.push(vj),se(t,e&&w(e.afterDeclarations,Ij)),t}function Dj(e,t){return n=>{const r=e(n);return"function"==typeof r?t(n,r):function(e){return t=>VT(t)?e.transformBundle(t):e.transformSourceFile(t)}(r)}}function wj(e){return Dj(e,BL)}function Ij(e){return Dj(e,((e,t)=>t))}function Tj(e,t){return t}function Fj(e,t,n){n(e,t)}function Rj(e,t,n,r,i,o,s){var a,c;const l=new Array(358);let u,d,p,f,_,m=0,h=[],g=[],A=[],y=[],v=0,b=!1,C=[],E=0,x=Tj,S=Fj,k=0;const D=[],w={factory:n,getCompilerOptions:()=>r,getEmitResolver:()=>e,getEmitHost:()=>t,getEmitHelperFactory:dt((()=>jk(w))),startLexicalEnvironment:function(){un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed."),un.assert(!b,"Lexical environment is suspended."),h[v]=u,g[v]=d,A[v]=p,y[v]=m,v++,u=void 0,d=void 0,p=void 0,m=0},suspendLexicalEnvironment:function(){un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed."),un.assert(!b,"Lexical environment is already suspended."),b=!0},resumeLexicalEnvironment:function(){un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed."),un.assert(b,"Lexical environment is not suspended."),b=!1},endLexicalEnvironment:function(){let e;if(un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed."),un.assert(!b,"Lexical environment is suspended."),u||d||p){if(d&&(e=[...d]),u){const t=n.createVariableStatement(void 0,n.createVariableDeclarationList(u));ik(t,2097152),e?e.push(t):e=[t]}p&&(e=e?[...e,...p]:[...p])}v--,u=h[v],d=g[v],p=A[v],m=y[v],0===v&&(h=[],g=[],A=[],y=[]);return e},setLexicalEnvironmentFlags:function(e,t){m=t?m|e:m&~e},getLexicalEnvironmentFlags:function(){return m},hoistVariableDeclaration:function(e){un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed.");const t=ik(n.createVariableDeclaration(e),128);u?u.push(t):u=[t];1&m&&(m|=2)},hoistFunctionDeclaration:function(e){un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed."),ik(e,2097152),d?d.push(e):d=[e]},addInitializationStatement:function(e){un.assert(k>0,"Cannot modify the lexical environment during initialization."),un.assert(k<2,"Cannot modify the lexical environment after transformation has completed."),ik(e,2097152),p?p.push(e):p=[e]},startBlockScope:function(){un.assert(k>0,"Cannot start a block scope during initialization."),un.assert(k<2,"Cannot start a block scope after transformation has completed."),C[E]=f,E++,f=void 0},endBlockScope:function(){un.assert(k>0,"Cannot end a block scope during initialization."),un.assert(k<2,"Cannot end a block scope after transformation has completed.");const e=J(f)?[n.createVariableStatement(void 0,n.createVariableDeclarationList(f.map((e=>n.createVariableDeclaration(e))),1))]:void 0;E--,f=C[E],0===E&&(C=[]);return e},addBlockScopedVariable:function(e){un.assert(E>0,"Cannot add a block scoped variable outside of an iteration body."),(f||(f=[])).push(e)},requestEmitHelper:function e(t){if(un.assert(k>0,"Cannot modify the transformation context during initialization."),un.assert(k<2,"Cannot modify the transformation context after transformation has completed."),un.assert(!t.scoped,"Cannot request a scoped emit helper."),t.dependencies)for(const n of t.dependencies)e(n);_=re(_,t)},readEmitHelpers:function(){un.assert(k>0,"Cannot modify the transformation context during initialization."),un.assert(k<2,"Cannot modify the transformation context after transformation has completed.");const e=_;return _=void 0,e},enableSubstitution:function(e){un.assert(k<2,"Cannot modify the transformation context after transformation has completed."),l[e]|=1},enableEmitNotification:function(e){un.assert(k<2,"Cannot modify the transformation context after transformation has completed."),l[e]|=2},isSubstitutionEnabled:P,isEmitNotificationEnabled:N,get onSubstituteNode(){return x},set onSubstituteNode(e){un.assert(k<1,"Cannot modify transformation hooks after initialization has completed."),un.assert(void 0!==e,"Value must not be 'undefined'"),x=e},get onEmitNode(){return S},set onEmitNode(e){un.assert(k<1,"Cannot modify transformation hooks after initialization has completed."),un.assert(void 0!==e,"Value must not be 'undefined'"),S=e},addDiagnostic(e){D.push(e)}};for(const e of i)nk(Ap(fc(e)));er("beforeTransform");const I=o.map((e=>e(w))),T=e=>{for(const t of I)e=t(e);return e};k=1;const F=[];for(const e of i)null==(a=Hn)||a.push(Hn.Phase.Emit,"transformNodes",307===e.kind?{path:e.path}:{kind:e.kind,pos:e.pos,end:e.end}),F.push((s?T:R)(e)),null==(c=Hn)||c.pop();return k=2,er("afterTransform"),tr("transformTime","beforeTransform","afterTransform"),{transformed:F,substituteNode:function(e,t){return un.assert(k<3,"Cannot substitute a node after the result is disposed."),t&&P(t)&&x(e,t)||t},emitNodeWithNotification:function(e,t,n){un.assert(k<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),t&&(N(t)?S(e,t,n):n(e,t))},isEmitNotificationEnabled:N,dispose:function(){if(k<3){for(const e of i)nk(Ap(fc(e)));u=void 0,h=void 0,d=void 0,g=void 0,x=void 0,S=void 0,_=void 0,k=3}},diagnostics:D};function R(e){return!e||JT(e)&&e.isDeclarationFile?e:T(e)}function P(e){return!(!(1&l[e.kind])||8&Xp(e))}function N(e){return!!(2&l[e.kind])||!!(4&Xp(e))}}var Pj={factory:XS,getCompilerOptions:()=>({}),getEmitResolver:ut,getEmitHost:ut,getEmitHelperFactory:ut,startLexicalEnvironment:nt,resumeLexicalEnvironment:nt,suspendLexicalEnvironment:nt,endLexicalEnvironment:ot,setLexicalEnvironmentFlags:nt,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:nt,hoistFunctionDeclaration:nt,addInitializationStatement:nt,startBlockScope:nt,endBlockScope:ot,addBlockScopedVariable:nt,requestEmitHelper:nt,readEmitHelpers:ut,enableSubstitution:nt,enableEmitNotification:nt,isSubstitutionEnabled:ut,isEmitNotificationEnabled:ut,onSubstituteNode:Tj,onEmitNode:Fj,addDiagnostic:nt},Nj=function(){const e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}();function Bj(e){return Eo(e,".tsbuildinfo")}function Oj(e,t,n,r=!1,i,o){const s=Ye(n)?n:zA(e,n,r),a=e.getCompilerOptions();if(!i)if(a.outFile){if(s.length){const n=XS.createBundle(s),i=t(Qj(n,e,r),n);if(i)return i}}else for(const n of s){const i=t(Qj(n,e,r),n);if(i)return i}if(o){const e=qj(a);if(e)return t({buildInfoPath:e},void 0)}}function qj(e){const t=e.configFilePath;if(!function(e){return FC(e)||!!e.tscBuild}(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;const n=e.outFile;let r;if(n)r=UE(n);else{if(!t)return;const n=UE(t);r=e.outDir?e.rootDir?$o(e.outDir,rs(e.rootDir,n,!0)):qo(e.outDir,To(n)):n}return r+".tsbuildinfo"}function $j(e,t){const n=e.outFile,r=e.emitDeclarationOnly?void 0:n,i=r&&Lj(r,e),o=t||IC(e)?UE(n)+".d.ts":void 0;return{jsFilePath:r,sourceMapFilePath:i,declarationFilePath:o,declarationMapPath:o&&RC(e)?o+".map":void 0}}function Qj(e,t,n){const r=t.getCompilerOptions();if(308===e.kind)return $j(r,n);{const i=jA(e.fileName,t,Mj(e.fileName,r)),o=e_(e),s=o&&0===Zo(e.fileName,i,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames()),a=r.emitDeclarationOnly||s?void 0:i,c=!a||e_(e)?void 0:Lj(a,r),l=n||IC(r)&&!o?UA(e.fileName,t):void 0;return{jsFilePath:a,sourceMapFilePath:c,declarationFilePath:l,declarationMapPath:l&&RC(r)?l+".map":void 0}}}function Lj(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function Mj(e,t){return Eo(e,".json")?".json":1===t.jsx&&xo(e,[".jsx",".tsx"])?".jsx":xo(e,[".mts",".mjs"])?".mjs":xo(e,[".cts",".cjs"])?".cjs":".js"}function jj(e,t,n,r){return n?$o(n,rs(r(),e,t)):e}function Uj(e,t,n,r=()=>Kj(t,n)){return Jj(e,t.options,n,r)}function Jj(e,t,n,r){return HE(jj(e,n,t.declarationDir||t.outDir,r),VA(e))}function Vj(e,t,n,r=()=>Kj(t,n)){if(t.options.emitDeclarationOnly)return;const i=Eo(e,".json"),o=Hj(e,t.options,n,r);return i&&0===Zo(e,o,un.checkDefined(t.options.configFilePath),n)?void 0:o}function Hj(e,t,n,r){return HE(jj(e,n,t.outDir,r),Mj(e,t))}function Gj(){let e;return{addOutput:function(t){t&&(e||(e=[])).push(t)},getOutputs:function(){return e||a}}}function Wj(e,t){const{jsFilePath:n,sourceMapFilePath:r,declarationFilePath:i,declarationMapPath:o}=$j(e.options,!1);t(n),t(r),t(i),t(o)}function zj(e,t,n,r,i){if(KP(t))return;const o=Vj(t,e,n,i);if(r(o),!Eo(t,".json")&&(o&&e.options.sourceMap&&r(`${o}.map`),IC(e.options))){const o=Uj(t,e,n,i);r(o),e.options.declarationMap&&r(`${o}.map`)}}function Yj(e,t,n,r,i){let o;return e.rootDir?(o=Lo(e.rootDir,n),null==i||i(e.rootDir)):e.composite&&e.configFilePath?(o=Io(Bo(e.configFilePath)),null==i||i(o)):o=IU(t(),n,r),o&&o[o.length-1]!==uo&&(o+=uo),o}function Kj({options:e,fileNames:t},n){return Yj(e,(()=>S(t,(t=>!(e.noEmitForJsFiles&&xo(t,kE)||KP(t))))),Io(Bo(un.checkDefined(e.configFilePath))),Jt(!n))}function Xj(e,t){const{addOutput:n,getOutputs:r}=Gj();if(e.options.outFile)Wj(e,n);else{const r=dt((()=>Kj(e,t)));for(const i of e.fileNames)zj(e,i,t,n,r)}return n(qj(e.options)),r()}function Zj(e,t,n){t=Mo(t),un.assert(C(e.fileNames,t),"Expected fileName to be present in command line");const{addOutput:r,getOutputs:i}=Gj();return e.options.outFile?Wj(e,r):zj(e,t,n,r),i()}function eU(e,t){if(e.options.outFile){const{jsFilePath:t,declarationFilePath:n}=$j(e.options,!1);return un.checkDefined(t||n,`project ${e.options.configFilePath} expected to have at least one output`)}const n=dt((()=>Kj(e,t)));for(const r of e.fileNames){if(KP(r))continue;const i=Vj(r,e,t,n);if(i)return i;if(!Eo(r,".json")&&IC(e.options))return Uj(r,e,t,n)}const r=qj(e.options);return r||un.fail(`project ${e.options.configFilePath} expected to have at least one output`)}function tU(e,t){return!!t&&!!e}function nU(e,t,n,{scriptTransformers:r,declarationTransformers:i},s,a,c,u){var d=t.getCompilerOptions(),p=d.sourceMap||d.inlineSourceMap||RC(d)?[]:void 0,f=d.listEmittedFiles?[]:void 0,_=uA(),m=Rv(d),h=NA(m),{enter:g,exit:A}=Vn("printTime","beforePrint","afterPrint"),y=!1;return g(),Oj(t,(function({jsFilePath:a,sourceMapFilePath:u,declarationFilePath:p,declarationMapPath:m,buildInfoPath:h},g){var A,C,E,x,k,D;null==(A=Hn)||A.push(Hn.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:a}),function(n,i,o){if(!n||s||!i)return;if(t.isEmitBlocked(i)||d.noEmit)return void(y=!0);(JT(n)?[n]:S(n.sourceFiles,Rm)).forEach((t=>{!d.noCheck&&fx(t,d)||function(t){if(Im(t))return;qP(t,(t=>!rT(t)||32&jy(t)?iT(t)?"skip":void e.markLinkedReferences(t):"skip"))}(t)}));const a=Rj(e,t,XS,d,[n],r,!1),c=uU({removeComments:d.removeComments,newLine:d.newLine,noEmitHelpers:d.noEmitHelpers,module:vC(d),moduleResolution:bC(d),target:yC(d),sourceMap:d.sourceMap,inlineSourceMap:d.inlineSourceMap,inlineSources:d.inlineSources,extendedDiagnostics:d.extendedDiagnostics},{hasGlobalName:e.hasGlobalName,onEmitNode:a.emitNodeWithNotification,isEmitNotificationEnabled:a.isEmitNotificationEnabled,substituteNode:a.substituteNode});un.assert(1===a.transformed.length,"Should only see one output from the transform"),b(i,o,a,c,d),a.dispose(),f&&(f.push(i),o&&f.push(o))}(g,a,u),null==(C=Hn)||C.pop(),null==(E=Hn)||E.push(Hn.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:p}),function(n,r,o){if(!n||0===s)return;if(!r)return void((s||d.emitDeclarationOnly)&&(y=!0));const a=JT(n)?[n]:n.sourceFiles,u=c?a:S(a,Rm),p=d.outFile?[XS.createBundle(u)]:u;u.forEach((e=>{(s&&!IC(d)||d.noCheck||tU(s,c)||!fx(e,d))&&v(e)}));const m=Rj(e,t,XS,d,p,i,!1);if(l(m.diagnostics))for(const e of m.diagnostics)_.add(e);const h=!!m.diagnostics&&!!m.diagnostics.length||!!t.isEmitBlocked(r)||!!d.noEmit;if(y=y||h,!h||c){un.assert(1===m.transformed.length,"Should only see one output from the decl transform");const t={removeComments:d.removeComments,newLine:d.newLine,noEmitHelpers:!0,module:d.module,moduleResolution:d.moduleResolution,target:d.target,sourceMap:2!==s&&d.declarationMap,inlineSourceMap:d.inlineSourceMap,extendedDiagnostics:d.extendedDiagnostics,onlyPrintJsDocStyle:!0,omitBraceSourceMapPositions:!0},n=b(r,o,m,uU(t,{hasGlobalName:e.hasGlobalName,onEmitNode:m.emitNodeWithNotification,isEmitNotificationEnabled:m.isEmitNotificationEnabled,substituteNode:m.substituteNode}),{sourceMap:t.sourceMap,sourceRoot:d.sourceRoot,mapRoot:d.mapRoot,extendedDiagnostics:d.extendedDiagnostics});f&&(n&&f.push(r),o&&f.push(o))}m.dispose()}(g,p,m),null==(x=Hn)||x.pop(),null==(k=Hn)||k.push(Hn.Phase.Emit,"emitBuildInfo",{buildInfoPath:h}),function(e){if(!e||n)return;if(t.isEmitBlocked(e))return void(y=!0);const r=t.getBuildInfo()||{version:o};ZA(t,_,e,rU(r),!1,void 0,{buildInfo:r}),null==f||f.push(e)}(h),null==(D=Hn)||D.pop()}),zA(t,n,c),c,a,!n&&!u),A(),{emitSkipped:y,diagnostics:_.getDiagnostics(),emittedFiles:f,sourceMaps:p};function v(t){mT(t)?80===t.expression.kind&&e.collectLinkedAliases(t.expression,!0):AT(t)?e.collectLinkedAliases(t.propertyName||t.name,!0):OP(t,v)}function b(e,n,r,i,o){const s=r.transformed[0],a=308===s.kind?s:void 0,c=307===s.kind?s:void 0,l=a?a.sourceFiles:[c];let u,f;if(function(e,t){return(e.sourceMap||e.inlineSourceMap)&&(307!==t.kind||!Eo(t.fileName,".json"))}(o,s)&&(u=fL(t,To(Bo(e)),function(e){const t=Bo(e.sourceRoot||"");return t?Vo(t):t}(o),function(e,n,r){if(e.sourceRoot)return t.getCommonSourceDirectory();if(e.mapRoot){let n=Bo(e.mapRoot);return r&&(n=Io(KA(r.fileName,t,n))),0===wo(n)&&(n=qo(t.getCommonSourceDirectory(),n)),n}return Io(Mo(n))}(o,e,c),o)),a?i.writeBundle(a,h,u):i.writeFile(c,h,u),u){p&&p.push({inputSourceFileNames:u.getSources(),sourceMap:u.toJSON()});const r=function(e,n,r,i,o){if(e.inlineSourceMap){const e=n.toString();return`data:application/json;base64,${xv(co,e)}`}const s=To(Bo(un.checkDefined(i)));if(e.mapRoot){let n=Bo(e.mapRoot);return o&&(n=Io(KA(o.fileName,t,n))),0===wo(n)?(n=qo(t.getCommonSourceDirectory(),n),encodeURI(ss(Io(Mo(r)),qo(n,s),t.getCurrentDirectory(),t.getCanonicalFileName,!0))):encodeURI(qo(n,s))}return encodeURI(s)}(o,u,e,n,c);if(r&&(h.isAtStartOfLine()||h.rawWrite(m),f=h.getTextPos(),h.writeComment(`//# sourceMappingURL=${r}`)),n){const e=u.toString();ZA(t,_,n,e,!1,l)}}else h.writeLine();const g=h.getText(),A={sourceMapUrlPos:f,diagnostics:r.diagnostics};return ZA(t,_,e,g,!!d.emitBOM,l,A),h.clear(),!A.skippedDtsWrite}}function rU(e){return JSON.stringify(e)}function iU(e,t){return kv(e,t)}var oU={hasGlobalName:ut,getReferencedExportContainer:ut,getReferencedImportDeclaration:ut,getReferencedDeclarationWithCollidingName:ut,isDeclarationWithCollidingName:ut,isValueAliasDeclaration:ut,isReferencedAliasDeclaration:ut,isTopLevelValueImportEqualsWithEntityName:ut,hasNodeCheckFlag:ut,isDeclarationVisible:ut,isLateBound:e=>!1,collectLinkedAliases:ut,markLinkedReferences:ut,isImplementationOfOverload:ut,requiresAddingImplicitUndefined:ut,isExpandoFunctionDeclaration:ut,getPropertiesOfContainerFunction:ut,createTypeOfDeclaration:ut,createReturnTypeOfSignatureDeclaration:ut,createTypeOfExpression:ut,createLiteralConstValue:ut,isSymbolAccessible:ut,isEntityNameVisible:ut,getConstantValue:ut,getEnumMemberValue:ut,getReferencedValueDeclaration:ut,getReferencedValueDeclarations:ut,getTypeReferenceSerializationKind:ut,isOptionalParameter:ut,isArgumentsLocalBinding:ut,getExternalModuleFileFromDeclaration:ut,isLiteralConstDeclaration:ut,getJsxFactoryEntity:ut,getJsxFragmentFactoryEntity:ut,isBindingCapturedByNode:ut,getDeclarationStatementsForSourceFile:ut,isImportRequiredByAugmentation:ut,isDefinitelyReferenceToGlobalSymbolObject:ut,createLateBoundIndexSignatures:ut},sU=dt((()=>uU({}))),aU=dt((()=>uU({removeComments:!0}))),cU=dt((()=>uU({removeComments:!0,neverAsciiEscape:!0}))),lU=dt((()=>uU({removeComments:!0,omitTrailingSemicolon:!0})));function uU(e={},t={}){var n,r,i,o,s,a,c,l,d,p,f,_,m,h,A,y,b,C,E,x,S,k,D,w,I,T,{hasGlobalName:F,onEmitNode:R=Fj,isEmitNotificationEnabled:P,substituteNode:N=Tj,onBeforeEmitNode:B,onAfterEmitNode:O,onBeforeEmitNodeArray:q,onAfterEmitNodeArray:$,onBeforeEmitToken:Q,onAfterEmitToken:L}=t,M=!!e.extendedDiagnostics,j=!!e.omitBraceSourceMapPositions,U=Rv(e),V=vC(e),H=new Map,G=e.preserveSourceNewlines,W=function(e){b.write(e)},z=!0,Y=-1,K=-1,X=-1,Z=-1,ee=-1,te=!1,ne=!!e.removeComments,{enter:re,exit:ie}=Jn(M,"commentTime","beforeComment","afterComment"),oe=XS.parenthesizer,se={select:e=>0===e?oe.parenthesizeLeadingTypeArgument:void 0},ae=function(){return GR((function(e,t){if(t){t.stackIndex++,t.preserveSourceNewlinesStack[t.stackIndex]=G,t.containerPosStack[t.stackIndex]=X,t.containerEndStack[t.stackIndex]=Z,t.declarationListContainerEndStack[t.stackIndex]=ee;const n=t.shouldEmitCommentsStack[t.stackIndex]=Pe(e),r=t.shouldEmitSourceMapsStack[t.stackIndex]=Ne(e);null==B||B(e),n&&Yn(e),r&&Ar(e),Te(e)}else t={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return t}),(function(t,n,r){return e(t,r,"left")}),(function(e,t,n){const r=28!==e.kind,i=Sn(n,n.left,e),o=Sn(n,e,n.right);hn(i,r),cr(e.pos),pn(e,103===e.kind?Zt:en),ur(e.end,!0),hn(o,!0)}),(function(t,n,r){return e(t,r,"right")}),(function(e,t){const n=Sn(e,e.left,e.operatorToken),r=Sn(e,e.operatorToken,e.right);if(gn(n,r),t.stackIndex>0){const n=t.preserveSourceNewlinesStack[t.stackIndex],r=t.containerPosStack[t.stackIndex],i=t.containerEndStack[t.stackIndex],o=t.declarationListContainerEndStack[t.stackIndex],s=t.shouldEmitCommentsStack[t.stackIndex],a=t.shouldEmitSourceMapsStack[t.stackIndex];Fe(n),a&&vr(e),s&&Kn(e,r,i,o),null==O||O(e),t.stackIndex--}}),void 0);function e(e,t,n){const r="left"===n?oe.getParenthesizeLeftSideOfBinaryForOperator(t.operatorToken.kind):oe.getParenthesizeRightSideOfBinaryForOperator(t.operatorToken.kind);let i=Be(0,1,e);if(i===Le&&(un.assertIsDefined(I),i=Oe(1,1,e=r(tt(I,Ju))),I=void 0),(i===zn||i===gr||i===$e)&&uI(e))return e;T=r,i(1,e)}}();return xe(),{printNode:function(e,t,n){switch(e){case 0:un.assert(JT(t),"Expected a SourceFile node.");break;case 2:un.assert(UD(t),"Expected an Identifier node.");break;case 1:un.assert(Ju(t),"Expected an Expression node.")}switch(t.kind){case 307:return ue(t);case 308:return ce(t)}return de(e,t,n,he()),ve()},printList:function(e,t,n){return pe(e,t,n,he()),ve()},printFile:ue,printBundle:ce,writeNode:de,writeList:pe,writeFile:me,writeBundle:_e};function ce(e){return _e(e,he(),void 0),ve()}function ue(e){return me(e,he(),void 0),ve()}function de(e,t,n,r){const i=b;Ee(r,void 0),be(e,t,n),xe(),b=i}function pe(e,t,n,r){const i=b;Ee(r,void 0),n&&Ce(n),Vt(void 0,t,e),xe(),b=i}function _e(e,t,n){E=!1;const r=b;Ee(t,n),Ft(e),Tt(e),Me(e),function(e){Dt(!!e.hasNoDefaultLib,e.syntheticFileReferences||[],e.syntheticTypeReferences||[],e.syntheticLibReferences||[])}(e);for(const t of e.sourceFiles)be(0,t,t);xe(),b=r}function me(e,t,n){E=!0;const r=b;Ee(t,n),Ft(e),Tt(e),be(0,e,e),xe(),b=r}function he(){return C||(C=NA(U))}function ve(){const e=C.getText();return C.clear(),e}function be(e,t,n){n&&Ce(n),Re(e,t,void 0)}function Ce(e){n=e,D=void 0,w=void 0,e&&xr(e)}function Ee(t,n){t&&e.omitTrailingSemicolon&&(t=BA(t)),x=n,z=!(b=t)||!x}function xe(){r=[],i=[],o=[],s=new Set,a=[],c=new Map,l=[],d=0,p=[],f=0,_=[],m=void 0,h=[],A=void 0,n=void 0,D=void 0,w=void 0,Ee(void 0,void 0)}function Se(){return D||(D=qs(un.checkDefined(n)))}function ke(e,t){void 0!==e&&Re(4,e,t)}function De(e){void 0!==e&&Re(2,e,void 0)}function we(e,t){void 0!==e&&Re(1,e,t)}function Ie(e){Re(kD(e)?6:4,e)}function Te(e){G&&4&Zp(e)&&(G=!1)}function Fe(e){G=e}function Re(e,t,n){T=n;Be(0,e,t)(e,t),T=void 0}function Pe(e){return!ne&&!JT(e)}function Ne(e){return!z&&!JT(e)&&!Fm(e)}function Be(e,t,n){switch(e){case 0:if(R!==Fj&&(!P||P(n)))return qe;case 1:if(N!==Tj&&(I=N(t,n)||n)!==n)return T&&(I=T(I)),Le;case 2:if(Pe(n))return zn;case 3:if(Ne(n))return gr;case 4:return $e;default:return un.assertNever(e)}}function Oe(e,t,n){return Be(e+1,t,n)}function qe(e,t){const n=Oe(0,e,t);R(e,t,n)}function $e(e,t){if(null==B||B(t),G){const n=G;Te(t),Qe(e,t),Fe(n)}else Qe(e,t);null==O||O(t),T=void 0}function Qe(e,t,r=!0){if(r){const n=Tk(t);if(n)return function(e,t,n){switch(n.kind){case 1:!function(e,t,n){sn(`\${${n.order}:`),Qe(e,t,!1),sn("}")}(e,t,n);break;case 0:!function(e,t,n){un.assert(242===t.kind,`A tab stop cannot be attached to a node of kind ${un.formatSyntaxKind(t.kind)}.`),un.assert(5!==e,"A tab stop cannot be attached to an embedded statement."),sn(`$${n.order}`)}(e,t,n)}}(e,t,n)}if(0===e)return kt(tt(t,JT));if(2===e)return Je(tt(t,UD));if(6===e)return Ue(tt(t,kD),!0);if(3===e)return function(e){ke(e.name),rn(),Zt("in"),rn(),ke(e.constraint)}(tt(t,sw));if(7===e)return function(e){Kt("{"),rn(),Zt(132===e.token?"assert":"with"),Kt(":"),rn();const t=e.elements;Vt(e,t,526226),rn(),Kt("}")}(tt(t,lT));if(5===e)return un.assertNode(t,II),Xe(!0);if(4===e){switch(t.kind){case 16:case 17:case 18:return Ue(t,!1);case 80:return Je(t);case 81:return Ve(t);case 166:return function(e){(function(e){80===e.kind?we(e):ke(e)})(e.left),Kt("."),ke(e.right)}(t);case 167:return function(e){Kt("["),we(e.expression,oe.parenthesizeExpressionOfComputedPropertyName),Kt("]")}(t);case 168:return function(e){Nt(e,e.modifiers),ke(e.name),e.constraint&&(rn(),Zt("extends"),rn(),ke(e.constraint));e.default&&(rn(),en("="),rn(),ke(e.default))}(t);case 169:return function(e){Pt(e,e.modifiers,!0),ke(e.dotDotDotToken),Rt(e.name,tn),ke(e.questionToken),e.parent&&317===e.parent.kind&&!e.name?ke(e.type):Bt(e.type);Ot(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.pos,e,oe.parenthesizeExpressionForDisallowedComma)}(t);case 170:return o=t,Kt("@"),void we(o.expression,oe.parenthesizeLeftSideOfAccess);case 171:return function(e){Nt(e,e.modifiers),Rt(e.name,on),ke(e.questionToken),Bt(e.type),Xt()}(t);case 172:return function(e){Pt(e,e.modifiers,!0),ke(e.name),ke(e.questionToken),ke(e.exclamationToken),Bt(e.type),Ot(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),Xt()}(t);case 173:return function(e){Nt(e,e.modifiers),ke(e.name),ke(e.questionToken),lt(e,pt,dt)}(t);case 174:return function(e){Pt(e,e.modifiers,!0),ke(e.asteriskToken),ke(e.name),ke(e.questionToken),lt(e,pt,ut)}(t);case 175:return function(e){Zt("static"),Tn(e),ft(e.body),Fn(e)}(t);case 176:return function(e){Pt(e,e.modifiers,!1),Zt("constructor"),lt(e,pt,ut)}(t);case 177:case 178:return function(e){const t=Pt(e,e.modifiers,!0),n=177===e.kind?139:153;rt(n,t,Zt,e),rn(),ke(e.name),lt(e,pt,ut)}(t);case 179:return function(e){lt(e,pt,dt)}(t);case 180:return function(e){Zt("new"),rn(),lt(e,pt,dt)}(t);case 181:return function(e){Pt(e,e.modifiers,!1),t=e,n=e.parameters,Vt(t,n,8848),Bt(e.type),Xt();var t,n}(t);case 182:return function(e){e.assertsModifier&&(ke(e.assertsModifier),rn());ke(e.parameterName),e.type&&(rn(),Zt("is"),rn(),ke(e.type))}(t);case 183:return function(e){ke(e.typeName),Lt(e,e.typeArguments)}(t);case 184:return function(e){lt(e,He,Ge)}(t);case 185:return function(e){Nt(e,e.modifiers),Zt("new"),rn(),lt(e,He,Ge)}(t);case 186:return function(e){Zt("typeof"),rn(),ke(e.exprName),Lt(e,e.typeArguments)}(t);case 187:return function(e){Tn(e),u(e.members,Bn),Kt("{");const t=1&Xp(e)?768:32897;Vt(e,e.members,524288|t),Kt("}"),Fn(e)}(t);case 188:return function(e){ke(e.elementType,oe.parenthesizeNonArrayTypeOfPostfixType),Kt("["),Kt("]")}(t);case 189:return function(e){rt(23,e.pos,Kt,e);const t=1&Xp(e)?528:657;Vt(e,e.elements,524288|t,oe.parenthesizeElementTypeOfTupleType),rt(24,e.elements.end,Kt,e)}(t);case 190:return function(e){ke(e.type,oe.parenthesizeTypeOfOptionalType),Kt("?")}(t);case 192:return function(e){Vt(e,e.types,516,oe.parenthesizeConstituentTypeOfUnionType)}(t);case 193:return function(e){Vt(e,e.types,520,oe.parenthesizeConstituentTypeOfIntersectionType)}(t);case 194:return function(e){ke(e.checkType,oe.parenthesizeCheckTypeOfConditionalType),rn(),Zt("extends"),rn(),ke(e.extendsType,oe.parenthesizeExtendsTypeOfConditionalType),rn(),Kt("?"),rn(),ke(e.trueType),rn(),Kt(":"),rn(),ke(e.falseType)}(t);case 195:return function(e){Zt("infer"),rn(),ke(e.typeParameter)}(t);case 196:return function(e){Kt("("),ke(e.type),Kt(")")}(t);case 233:return Ye(t);case 197:return void Zt("this");case 198:return function(e){fn(e.operator,Zt),rn();const t=148===e.operator?oe.parenthesizeOperandOfReadonlyTypeOperator:oe.parenthesizeOperandOfTypeOperator;ke(e.type,t)}(t);case 199:return function(e){ke(e.objectType,oe.parenthesizeNonArrayTypeOfPostfixType),Kt("["),ke(e.indexType),Kt("]")}(t);case 200:return function(e){const t=Xp(e);Kt("{"),1&t?rn():(an(),cn());e.readonlyToken&&(ke(e.readonlyToken),148!==e.readonlyToken.kind&&Zt("readonly"),rn());Kt("["),Re(3,e.typeParameter),e.nameType&&(rn(),Zt("as"),rn(),ke(e.nameType));Kt("]"),e.questionToken&&(ke(e.questionToken),58!==e.questionToken.kind&&Kt("?"));Kt(":"),rn(),ke(e.type),Xt(),1&t?rn():(an(),ln());Vt(e,e.members,2),Kt("}")}(t);case 201:return function(e){we(e.literal)}(t);case 202:return function(e){ke(e.dotDotDotToken),ke(e.name),ke(e.questionToken),rt(59,e.name.end,Kt,e),rn(),ke(e.type)}(t);case 203:return function(e){ke(e.head),Vt(e,e.templateSpans,262144)}(t);case 204:return function(e){ke(e.type),ke(e.literal)}(t);case 205:return function(e){e.isTypeOf&&(Zt("typeof"),rn());Zt("import"),Kt("("),ke(e.argument),e.attributes&&(Kt(","),rn(),Re(7,e.attributes));Kt(")"),e.qualifier&&(Kt("."),ke(e.qualifier));Lt(e,e.typeArguments)}(t);case 206:return function(e){Kt("{"),Vt(e,e.elements,525136),Kt("}")}(t);case 207:return function(e){Kt("["),Vt(e,e.elements,524880),Kt("]")}(t);case 208:return function(e){ke(e.dotDotDotToken),e.propertyName&&(ke(e.propertyName),Kt(":"),rn());ke(e.name),Ot(e.initializer,e.name.end,e,oe.parenthesizeExpressionForDisallowedComma)}(t);case 239:return function(e){we(e.expression),ke(e.literal)}(t);case 240:return void Xt();case 241:return function(e){Ke(e,!e.multiLine&&kn(e))}(t);case 243:return function(e){Pt(e,e.modifiers,!1),ke(e.declarationList),Xt()}(t);case 242:return Xe(!1);case 244:return function(e){we(e.expression,oe.parenthesizeExpressionOfExpressionStatement),n&&e_(n)&&!eA(e.expression)||Xt()}(t);case 245:return function(e){const t=rt(101,e.pos,Zt,e);rn(),rt(21,t,Kt,e),we(e.expression),rt(22,e.expression.end,Kt,e),Qt(e,e.thenStatement),e.elseStatement&&(_n(e,e.thenStatement,e.elseStatement),rt(93,e.thenStatement.end,Zt,e),245===e.elseStatement.kind?(rn(),ke(e.elseStatement)):Qt(e,e.elseStatement))}(t);case 246:return function(e){rt(92,e.pos,Zt,e),Qt(e,e.statement),DI(e.statement)&&!G?rn():_n(e,e.statement,e.expression);Ze(e,e.statement.end),Xt()}(t);case 247:return function(e){Ze(e,e.pos),Qt(e,e.statement)}(t);case 248:return function(e){const t=rt(99,e.pos,Zt,e);rn();let n=rt(21,t,Kt,e);nt(e.initializer),n=rt(27,e.initializer?e.initializer.end:n,Kt,e),$t(e.condition),n=rt(27,e.condition?e.condition.end:n,Kt,e),$t(e.incrementor),rt(22,e.incrementor?e.incrementor.end:n,Kt,e),Qt(e,e.statement)}(t);case 249:return function(e){const t=rt(99,e.pos,Zt,e);rn(),rt(21,t,Kt,e),nt(e.initializer),rn(),rt(103,e.initializer.end,Zt,e),rn(),we(e.expression),rt(22,e.expression.end,Kt,e),Qt(e,e.statement)}(t);case 250:return function(e){const t=rt(99,e.pos,Zt,e);rn(),function(e){e&&(ke(e),rn())}(e.awaitModifier),rt(21,t,Kt,e),nt(e.initializer),rn(),rt(165,e.initializer.end,Zt,e),rn(),we(e.expression),rt(22,e.expression.end,Kt,e),Qt(e,e.statement)}(t);case 251:return function(e){rt(88,e.pos,Zt,e),qt(e.label),Xt()}(t);case 252:return function(e){rt(83,e.pos,Zt,e),qt(e.label),Xt()}(t);case 253:return function(e){rt(107,e.pos,Zt,e),$t(e.expression&&st(e.expression),st),Xt()}(t);case 254:return function(e){const t=rt(118,e.pos,Zt,e);rn(),rt(21,t,Kt,e),we(e.expression),rt(22,e.expression.end,Kt,e),Qt(e,e.statement)}(t);case 255:return function(e){const t=rt(109,e.pos,Zt,e);rn(),rt(21,t,Kt,e),we(e.expression),rt(22,e.expression.end,Kt,e),rn(),ke(e.caseBlock)}(t);case 256:return function(e){ke(e.label),rt(59,e.label.end,Kt,e),rn(),ke(e.statement)}(t);case 257:return function(e){rt(111,e.pos,Zt,e),$t(st(e.expression),st),Xt()}(t);case 258:return function(e){rt(113,e.pos,Zt,e),rn(),ke(e.tryBlock),e.catchClause&&(_n(e,e.tryBlock,e.catchClause),ke(e.catchClause));e.finallyBlock&&(_n(e,e.catchClause||e.tryBlock,e.finallyBlock),rt(98,(e.catchClause||e.tryBlock).end,Zt,e),rn(),ke(e.finallyBlock))}(t);case 259:return function(e){dn(89,e.pos,Zt),Xt()}(t);case 260:return function(e){var t,n,r;ke(e.name),ke(e.exclamationToken),Bt(e.type),Ot(e.initializer,(null==(t=e.type)?void 0:t.end)??(null==(r=null==(n=e.name.emitNode)?void 0:n.typeNode)?void 0:r.end)??e.name.end,e,oe.parenthesizeExpressionForDisallowedComma)}(t);case 261:return function(e){if(r_(e))Zt("await"),rn(),Zt("using");else{Zt(a_(e)?"let":o_(e)?"const":i_(e)?"using":"var")}rn(),Vt(e,e.declarations,528)}(t);case 262:return function(e){ct(e)}(t);case 263:return function(e){ht(e)}(t);case 264:return function(e){Pt(e,e.modifiers,!1),Zt("interface"),rn(),ke(e.name),Mt(e,e.typeParameters),Vt(e,e.heritageClauses,512),rn(),Kt("{"),Tn(e),u(e.members,Bn),Vt(e,e.members,129),Fn(e),Kt("}")}(t);case 265:return function(e){Pt(e,e.modifiers,!1),Zt("type"),rn(),ke(e.name),Mt(e,e.typeParameters),rn(),Kt("="),rn(),ke(e.type),Xt()}(t);case 266:return function(e){Pt(e,e.modifiers,!1),Zt("enum"),rn(),ke(e.name),rn(),Kt("{"),Vt(e,e.members,145),Kt("}")}(t);case 267:return function(e){Pt(e,e.modifiers,!1),2048&~e.flags&&(Zt(32&e.flags?"namespace":"module"),rn());ke(e.name);let t=e.body;if(!t)return Xt();for(;t&&ZI(t);)Kt("."),ke(t.name),t=t.body;rn(),ke(t)}(t);case 268:return function(e){Tn(e),u(e.statements,Nn),Ke(e,kn(e)),Fn(e)}(t);case 269:return function(e){rt(19,e.pos,Kt,e),Vt(e,e.clauses,129),rt(20,e.clauses.end,Kt,e,!0)}(t);case 270:return function(e){let t=rt(95,e.pos,Zt,e);rn(),t=rt(130,t,Zt,e),rn(),t=rt(145,t,Zt,e),rn(),ke(e.name),Xt()}(t);case 271:return function(e){Pt(e,e.modifiers,!1),rt(102,e.modifiers?e.modifiers.end:e.pos,Zt,e),rn(),e.isTypeOnly&&(rt(156,e.pos,Zt,e),rn());ke(e.name),rn(),rt(64,e.name.end,Kt,e),rn(),function(e){80===e.kind?we(e):ke(e)}(e.moduleReference),Xt()}(t);case 272:return function(e){Pt(e,e.modifiers,!1),rt(102,e.modifiers?e.modifiers.end:e.pos,Zt,e),rn(),e.importClause&&(ke(e.importClause),rn(),rt(161,e.importClause.end,Zt,e),rn());we(e.moduleSpecifier),e.attributes&&qt(e.attributes);Xt()}(t);case 273:return function(e){e.isTypeOnly&&(rt(156,e.pos,Zt,e),rn());ke(e.name),e.name&&e.namedBindings&&(rt(28,e.name.end,Kt,e),rn());ke(e.namedBindings)}(t);case 274:return function(e){const t=rt(42,e.pos,Kt,e);rn(),rt(130,t,Zt,e),rn(),ke(e.name)}(t);case 280:return function(e){const t=rt(42,e.pos,Kt,e);rn(),rt(130,t,Zt,e),rn(),ke(e.name)}(t);case 275:case 279:return function(e){gt(e)}(t);case 276:case 281:return function(e){At(e)}(t);case 277:return function(e){const t=rt(95,e.pos,Zt,e);rn(),e.isExportEquals?rt(64,t,en,e):rt(90,t,Zt,e);rn(),we(e.expression,e.isExportEquals?oe.getParenthesizeRightSideOfBinaryForOperator(64):oe.parenthesizeExpressionOfExportDefault),Xt()}(t);case 278:return function(e){Pt(e,e.modifiers,!1);let t=rt(95,e.pos,Zt,e);rn(),e.isTypeOnly&&(t=rt(156,t,Zt,e),rn());e.exportClause?ke(e.exportClause):t=rt(42,t,Kt,e);if(e.moduleSpecifier){rn();rt(161,e.exportClause?e.exportClause.end:t,Zt,e),rn(),we(e.moduleSpecifier)}e.attributes&&qt(e.attributes);Xt()}(t);case 300:return function(e){rt(e.token,e.pos,Zt,e),rn();const t=e.elements;Vt(e,t,526226)}(t);case 301:return function(e){ke(e.name),Kt(":"),rn();const t=e.value;if(!(1024&Xp(t))){ur(_k(t).pos)}ke(t)}(t);case 282:case 319:case 330:case 331:case 333:case 334:case 335:case 336:case 353:case 354:return;case 283:return function(e){Zt("require"),Kt("("),we(e.expression),Kt(")")}(t);case 12:return function(e){b.writeLiteral(e.text)}(t);case 286:case 289:return function(e){if(Kt("<"),kT(e)){const t=Cn(e.tagName,e);yt(e.tagName),Lt(e,e.typeArguments),e.attributes.properties&&e.attributes.properties.length>0&&rn(),ke(e.attributes),En(e.attributes,e),gn(t)}Kt(">")}(t);case 287:case 290:return function(e){Kt("")}(t);case 291:return function(e){ke(e.name),function(e,t,n,r){n&&(t(e),r(n))}("=",Kt,e.initializer,Ie)}(t);case 292:return function(e){Vt(e,e.properties,262656)}(t);case 293:return function(e){Kt("{..."),we(e.expression),Kt("}")}(t);case 294:return function(e){var t;if(e.expression||!ne&&!eA(e)&&(r=e.pos,function(e){let t=!1;return sa((null==n?void 0:n.text)||"",e+1,(()=>t=!0)),t}(r)||function(e){let t=!1;return oa((null==n?void 0:n.text)||"",e+1,(()=>t=!0)),t}(r))){const r=n&&!eA(e)&&Ms(n,e.pos).line!==Ms(n,e.end).line;r&&b.increaseIndent();const i=rt(19,e.pos,Kt,e);ke(e.dotDotDotToken),we(e.expression),rt(20,(null==(t=e.expression)?void 0:t.end)||i,Kt,e),r&&b.decreaseIndent()}var r}(t);case 295:return function(e){De(e.namespace),Kt(":"),De(e.name)}(t);case 296:return function(e){rt(84,e.pos,Zt,e),rn(),we(e.expression,oe.parenthesizeExpressionForDisallowedComma),vt(e,e.statements,e.expression.end)}(t);case 297:return function(e){const t=rt(90,e.pos,Zt,e);vt(e,e.statements,t)}(t);case 298:return function(e){rn(),fn(e.token,Zt),rn(),Vt(e,e.types,528)}(t);case 299:return function(e){const t=rt(85,e.pos,Zt,e);rn(),e.variableDeclaration&&(rt(21,t,Kt,e),ke(e.variableDeclaration),rt(22,e.variableDeclaration.end,Kt,e),rn());ke(e.block)}(t);case 303:return function(e){ke(e.name),Kt(":"),rn();const t=e.initializer;if(!(1024&Xp(t))){ur(_k(t).pos)}we(t,oe.parenthesizeExpressionForDisallowedComma)}(t);case 304:return function(e){ke(e.name),e.objectAssignmentInitializer&&(rn(),Kt("="),rn(),we(e.objectAssignmentInitializer,oe.parenthesizeExpressionForDisallowedComma))}(t);case 305:return function(e){e.expression&&(rt(26,e.pos,Kt,e),we(e.expression,oe.parenthesizeExpressionForDisallowedComma))}(t);case 306:return function(e){ke(e.name),Ot(e.initializer,e.name.end,e,oe.parenthesizeExpressionForDisallowedComma)}(t);case 307:return kt(t);case 308:return un.fail("Bundles should be printed using printBundle");case 309:return St(t);case 310:return function(e){rn(),Kt("{"),ke(e.name),Kt("}")}(t);case 312:return Kt("*");case 313:return Kt("?");case 314:return function(e){Kt("?"),ke(e.type)}(t);case 315:return function(e){Kt("!"),ke(e.type)}(t);case 316:return function(e){ke(e.type),Kt("=")}(t);case 317:return function(e){Zt("function"),jt(e,e.parameters),Kt(":"),ke(e.type)}(t);case 191:case 318:return function(e){Kt("..."),ke(e.type)}(t);case 320:return function(e){if(W("/**"),e.comment){const t=ll(e.comment);if(t){const e=t.split(/\r\n?|\n/);for(const t of e)an(),rn(),Kt("*"),rn(),W(t)}}e.tags&&(1!==e.tags.length||344!==e.tags[0].kind||e.comment?Vt(e,e.tags,33):(rn(),ke(e.tags[0])));rn(),W("*/")}(t);case 322:return bt(t);case 323:return Ct(t);case 327:case 332:case 337:return Et((i=t).tagName),void xt(i.comment);case 328:case 329:return function(e){Et(e.tagName),rn(),Kt("{"),ke(e.class),Kt("}"),xt(e.comment)}(t);case 338:return function(e){Et(e.tagName),e.name&&(rn(),ke(e.name));xt(e.comment),Ct(e.typeExpression)}(t);case 339:return function(e){xt(e.comment),Ct(e.typeExpression)}(t);case 341:case 348:return function(e){Et(e.tagName),St(e.typeExpression),rn(),e.isBracketed&&Kt("[");ke(e.name),e.isBracketed&&Kt("]");xt(e.comment)}(t);case 340:case 342:case 343:case 344:case 349:case 350:return function(e){Et(e.tagName),St(e.typeExpression),xt(e.comment)}(t);case 345:return function(e){Et(e.tagName),St(e.constraint),rn(),Vt(e,e.typeParameters,528),xt(e.comment)}(t);case 346:return function(e){Et(e.tagName),e.typeExpression&&(309===e.typeExpression.kind?St(e.typeExpression):(rn(),Kt("{"),W("Object"),e.typeExpression.isArrayType&&(Kt("["),Kt("]")),Kt("}")));e.fullName&&(rn(),ke(e.fullName));xt(e.comment),e.typeExpression&&322===e.typeExpression.kind&&bt(e.typeExpression)}(t);case 347:return function(e){Et(e.tagName),ke(e.name),xt(e.comment)}(t);case 351:return function(e){Et(e.tagName),rn(),e.importClause&&(ke(e.importClause),rn(),rt(161,e.importClause.end,Zt,e),rn());we(e.moduleSpecifier),e.attributes&&qt(e.attributes);xt(e.comment)}(t)}if(Ju(t)&&(e=1,N!==Tj)){const n=N(e,t)||t;n!==t&&(t=n,T&&(t=T(t)))}}var i,o;if(1===e)switch(t.kind){case 9:case 10:return function(e){Ue(e,!1)}(t);case 11:case 14:case 15:return Ue(t,!1);case 80:return Je(t);case 81:return Ve(t);case 209:return function(e){const t=e.elements,n=e.multiLine?65536:0;Ht(e,t,8914|n,oe.parenthesizeExpressionForDisallowedComma)}(t);case 210:return function(e){Tn(e),u(e.properties,Bn);const t=131072&Xp(e);t&&cn();const r=e.multiLine?65536:0,i=n&&n.languageVersion>=1&&!e_(n)?64:0;Vt(e,e.properties,526226|i|r),t&&ln();Fn(e)}(t);case 211:return function(e){we(e.expression,oe.parenthesizeLeftSideOfAccess);const t=e.questionDotToken||Sx(XS.createToken(25),e.expression.end,e.name.pos),n=Sn(e,e.expression,t),r=Sn(e,t,e.name);hn(n,!1);const i=29!==t.kind&&function(e){if(xD(e=El(e))){const t=In(e,void 0,!0,!1);return!(448&e.numericLiteralFlags||t.includes(Is(25))||t.includes(String.fromCharCode(69))||t.includes(String.fromCharCode(101)))}if(xb(e)){const t=Ek(e);return"number"==typeof t&&isFinite(t)&&t>=0&&Math.floor(t)===t}}(e.expression)&&!b.hasTrailingComment()&&!b.hasTrailingWhitespace();i&&Kt(".");e.questionDotToken?ke(t):rt(t.kind,e.expression.end,Kt,e);hn(r,!1),ke(e.name),gn(n,r)}(t);case 212:return function(e){we(e.expression,oe.parenthesizeLeftSideOfAccess),ke(e.questionDotToken),rt(23,e.expression.end,Kt,e),we(e.argumentExpression),rt(24,e.argumentExpression.end,Kt,e)}(t);case 213:return function(e){const t=16&Zp(e);t&&(Kt("("),zt("0"),Kt(","),rn());we(e.expression,oe.parenthesizeLeftSideOfAccess),t&&Kt(")");ke(e.questionDotToken),Lt(e,e.typeArguments),Ht(e,e.arguments,2576,oe.parenthesizeExpressionForDisallowedComma)}(t);case 214:return function(e){rt(105,e.pos,Zt,e),rn(),we(e.expression,oe.parenthesizeExpressionOfNew),Lt(e,e.typeArguments),Ht(e,e.arguments,18960,oe.parenthesizeExpressionForDisallowedComma)}(t);case 215:return function(e){const t=16&Zp(e);t&&(Kt("("),zt("0"),Kt(","),rn());we(e.tag,oe.parenthesizeLeftSideOfAccess),t&&Kt(")");Lt(e,e.typeArguments),rn(),we(e.template)}(t);case 216:return function(e){Kt("<"),ke(e.type),Kt(">"),we(e.expression,oe.parenthesizeOperandOfPrefixUnary)}(t);case 217:return function(e){const t=rt(21,e.pos,Kt,e),n=Cn(e.expression,e);we(e.expression,void 0),En(e.expression,e),gn(n),rt(22,e.expression?e.expression.end:t,Kt,e)}(t);case 218:return function(e){On(e.name),ct(e)}(t);case 219:return function(e){Nt(e,e.modifiers),lt(e,We,ze)}(t);case 220:return function(e){rt(91,e.pos,Zt,e),rn(),we(e.expression,oe.parenthesizeOperandOfPrefixUnary)}(t);case 221:return function(e){rt(114,e.pos,Zt,e),rn(),we(e.expression,oe.parenthesizeOperandOfPrefixUnary)}(t);case 222:return function(e){rt(116,e.pos,Zt,e),rn(),we(e.expression,oe.parenthesizeOperandOfPrefixUnary)}(t);case 223:return function(e){rt(135,e.pos,Zt,e),rn(),we(e.expression,oe.parenthesizeOperandOfPrefixUnary)}(t);case 224:return function(e){fn(e.operator,en),function(e){const t=e.operand;return 224===t.kind&&(40===e.operator&&(40===t.operator||46===t.operator)||41===e.operator&&(41===t.operator||47===t.operator))}(e)&&rn();we(e.operand,oe.parenthesizeOperandOfPrefixUnary)}(t);case 225:return function(e){we(e.operand,oe.parenthesizeOperandOfPostfixUnary),fn(e.operator,en)}(t);case 226:return ae(t);case 227:return function(e){const t=Sn(e,e.condition,e.questionToken),n=Sn(e,e.questionToken,e.whenTrue),r=Sn(e,e.whenTrue,e.colonToken),i=Sn(e,e.colonToken,e.whenFalse);we(e.condition,oe.parenthesizeConditionOfConditionalExpression),hn(t,!0),ke(e.questionToken),hn(n,!0),we(e.whenTrue,oe.parenthesizeBranchOfConditionalExpression),gn(t,n),hn(r,!0),ke(e.colonToken),hn(i,!0),we(e.whenFalse,oe.parenthesizeBranchOfConditionalExpression),gn(r,i)}(t);case 228:return function(e){ke(e.head),Vt(e,e.templateSpans,262144)}(t);case 229:return function(e){rt(127,e.pos,Zt,e),ke(e.asteriskToken),$t(e.expression&&st(e.expression),at)}(t);case 230:return function(e){rt(26,e.pos,Kt,e),we(e.expression,oe.parenthesizeExpressionForDisallowedComma)}(t);case 231:return function(e){On(e.name),ht(e)}(t);case 232:case 282:case 353:return;case 234:return function(e){we(e.expression,void 0),e.type&&(rn(),Zt("as"),rn(),ke(e.type))}(t);case 235:return function(e){we(e.expression,oe.parenthesizeLeftSideOfAccess),en("!")}(t);case 233:return Ye(t);case 238:return function(e){we(e.expression,void 0),e.type&&(rn(),Zt("satisfies"),rn(),ke(e.type))}(t);case 236:return function(e){dn(e.keywordToken,e.pos,Kt),Kt("."),ke(e.name)}(t);case 237:return un.fail("SyntheticExpression should never be printed.");case 284:return function(e){ke(e.openingElement),Vt(e,e.children,262144),ke(e.closingElement)}(t);case 285:return function(e){Kt("<"),yt(e.tagName),Lt(e,e.typeArguments),rn(),ke(e.attributes),Kt("/>")}(t);case 288:return function(e){ke(e.openingFragment),Vt(e,e.children,262144),ke(e.closingFragment)}(t);case 352:return un.fail("SyntaxList should not be printed");case 355:return function(e){const t=Xp(e);1024&t||e.pos===e.expression.pos||ur(e.expression.pos);we(e.expression),2048&t||e.end===e.expression.end||cr(e.expression.end)}(t);case 356:return function(e){Ht(e,e.elements,528,void 0)}(t);case 357:return un.fail("SyntheticReferenceExpression should not be printed")}return Sg(t.kind)?pn(t,Zt):Il(t.kind)?pn(t,Kt):void un.fail(`Unhandled SyntaxKind: ${un.formatSyntaxKind(t.kind)}.`)}function Le(e,t){const n=Oe(1,e,t);un.assertIsDefined(I),t=I,I=void 0,n(e,t)}function Me(t){let r=!1;const i=308===t.kind?t:void 0;if(i&&0===V)return;const o=i?i.sourceFiles.length:1;for(let s=0;s")}function Ge(e){rn(),ke(e.type)}function We(e){Mt(e,e.typeParameters),Ut(e,e.parameters),Bt(e.type),rn(),ke(e.equalsGreaterThanToken)}function ze(e){DI(e.body)?ft(e.body):(rn(),we(e.body,oe.parenthesizeConciseBodyOfArrowFunction))}function Ye(e){we(e.expression,oe.parenthesizeLeftSideOfAccess),Lt(e,e.typeArguments)}function Ke(e,t){rt(19,e.pos,Kt,e);const n=t||1&Xp(e)?768:129;Vt(e,e.statements,n),rt(20,e.statements.end,Kt,e,!!(1&n))}function Xe(e){e?Kt(";"):Xt()}function Ze(e,t){const n=rt(117,t,Zt,e);rn(),rt(21,n,Kt,e),we(e.expression),rt(22,e.expression.end,Kt,e)}function nt(e){void 0!==e&&(261===e.kind?ke(e):we(e))}function rt(e,t,r,i,o){const s=fc(i),a=s&&s.kind===i.kind,c=t;if(a&&n&&(t=Ks(n.text,t)),a&&i.pos!==c){const e=o&&n&&!Gv(c,t,n);e&&cn(),cr(c),e&&ln()}if(t=j||19!==e&&20!==e?fn(e,r,t):dn(e,t,r,i),a&&i.end!==t){const e=294===i.kind;ur(t,!e,e)}return t}function it(e){return 2===e.kind||!!e.hasTrailingNewLine}function ot(e){if(!n)return!1;const t=ua(n.text,e.pos);if(t){const t=fc(e);if(t&&tI(t.parent))return!0}return!!J(t,it)||(!!J(hk(e),it)||!!EI(e)&&(!(e.pos===e.expression.pos||!J(da(n.text,e.expression.pos),it))||ot(e.expression)))}function st(e){if(!ne)switch(e.kind){case 355:if(ot(e)){const t=fc(e);if(t&&tI(t)){const n=XS.createParenthesizedExpression(e.expression);return ek(n,e),aP(n,t),n}return XS.createParenthesizedExpression(e)}return XS.updatePartiallyEmittedExpression(e,st(e.expression));case 211:return XS.updatePropertyAccessExpression(e,st(e.expression),e.name);case 212:return XS.updateElementAccessExpression(e,st(e.expression),e.argumentExpression);case 213:return XS.updateCallExpression(e,st(e.expression),e.typeArguments,e.arguments);case 215:return XS.updateTaggedTemplateExpression(e,st(e.tag),e.typeArguments,e.template);case 225:return XS.updatePostfixUnaryExpression(e,st(e.operand));case 226:return XS.updateBinaryExpression(e,st(e.left),e.operatorToken,e.right);case 227:return XS.updateConditionalExpression(e,st(e.condition),e.questionToken,e.whenTrue,e.colonToken,e.whenFalse);case 234:return XS.updateAsExpression(e,st(e.expression),e.type);case 238:return XS.updateSatisfiesExpression(e,st(e.expression),e.type);case 235:return XS.updateNonNullExpression(e,st(e.expression))}return e}function at(e){return st(oe.parenthesizeExpressionForDisallowedComma(e))}function ct(e){Pt(e,e.modifiers,!1),Zt("function"),ke(e.asteriskToken),rn(),De(e.name),lt(e,pt,ut)}function lt(e,t,n){const r=131072&Xp(e);r&&cn(),Tn(e),u(e.parameters,Nn),t(e),n(e),Fn(e),r&&ln()}function ut(e){const t=e.body;t?ft(t):Xt()}function dt(e){Xt()}function pt(e){Mt(e,e.typeParameters),jt(e,e.parameters),Bt(e.type)}function ft(e){Nn(e),null==B||B(e),rn(),Kt("{"),cn();const t=function(e){if(1&Xp(e))return!0;if(e.multiLine)return!1;if(!eA(e)&&n&&!Qv(e,n))return!1;if(An(e,fe(e.statements),2)||vn(e,ge(e.statements),2,e.statements))return!1;let t;for(const n of e.statements){if(yn(t,n,2)>0)return!1;t=n}return!0}(e)?_t:mt;nr(e,e.statements,t),ln(),dn(20,e.statements.end,Kt,e),null==O||O(e)}function _t(e){mt(e,!0)}function mt(e,t){const n=It(e.statements),r=b.getTextPos();Me(e),0===n&&r===b.getTextPos()&&t?(ln(),Vt(e,e.statements,768),cn()):Vt(e,e.statements,1,void 0,n)}function ht(e){Pt(e,e.modifiers,!0),rt(86,qv(e).pos,Zt,e),e.name&&(rn(),De(e.name));const t=131072&Xp(e);t&&cn(),Mt(e,e.typeParameters),Vt(e,e.heritageClauses,0),rn(),Kt("{"),Tn(e),u(e.members,Bn),Vt(e,e.members,129),Fn(e),Kt("}"),t&&ln()}function gt(e){Kt("{"),Vt(e,e.elements,525136),Kt("}")}function At(e){e.isTypeOnly&&(Zt("type"),rn()),e.propertyName&&(ke(e.propertyName),rn(),rt(130,e.propertyName.end,Zt,e),rn()),ke(e.name)}function yt(e){80===e.kind?we(e):ke(e)}function vt(e,t,r){let i=163969;1===t.length&&(!n||eA(e)||eA(t[0])||Lv(e,t[0],n))?(dn(59,r,Kt,e),rn(),i&=-130):rt(59,r,Kt,e),Vt(e,t,i)}function bt(e){Vt(e,XS.createNodeArray(e.jsDocPropertyTags),33)}function Ct(e){e.typeParameters&&Vt(e,XS.createNodeArray(e.typeParameters),33),e.parameters&&Vt(e,XS.createNodeArray(e.parameters),33),e.type&&(an(),rn(),Kt("*"),rn(),ke(e.type))}function Et(e){Kt("@"),ke(e)}function xt(e){const t=ll(e);t&&(rn(),W(t))}function St(e){e&&(rn(),Kt("{"),ke(e.type),Kt("}"))}function kt(e){an();const t=e.statements;0===t.length||!p_(t[0])||eA(t[0])?nr(e,t,wt):wt(e)}function Dt(e,t,r,i){if(e&&(nn('/// '),an()),n&&n.moduleName&&(nn(`/// `),an()),n&&n.amdDependencies)for(const e of n.amdDependencies)e.name?nn(`/// `):nn(`/// `),an();function o(e,t){for(const n of t){const t=n.resolutionMode?`resolution-mode="${99===n.resolutionMode?"import":"require"}" `:"",r=n.preserve?'preserve="true" ':"";nn(`/// `),an()}}o("path",t),o("types",r),o("lib",i)}function wt(e){const t=e.statements;Tn(e),u(e.statements,Nn),Me(e);const n=v(t,(e=>!p_(e)));!function(e){e.isDeclarationFile&&Dt(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(e),Vt(e,t,1,void 0,-1===n?t.length:n),Fn(e)}function It(e,t,n){let r=!!t;for(let i=0;i=r.length||0===a;if(c&&32768&i)return null==q||q(r),void(null==$||$(r));15360&i&&(Kt(function(e){return Nj[15360&e][0]}(i)),c&&r&&ur(r.pos,!0)),null==q||q(r),c?!(1&i)||G&&(!t||n&&Qv(t,n))?256&i&&!(524288&i)&&rn():an():Wt(e,t,r,i,o,s,a,r.hasTrailingComma,r),null==$||$(r),15360&i&&(c&&r&&cr(r.end),Kt(function(e){return Nj[15360&e][1]}(i)))}function Wt(e,t,n,r,i,o,s,a,c){const l=!(262144&r);let u=l;const d=An(t,n[o],r);d?(an(d),u=!1):256&r&&rn(),128&r&&cn();const p=function(e,t){return 1===e.length?dU:"object"==typeof t?pU:fU}(e,i);let f,_=!1;for(let a=0;a0){if(131&r||(cn(),_=!0),u&&60&r&&!YE(s.pos)){ur(_k(s).pos,!!(512&r),!0)}an(e),u=!1}else f&&512&r&&rn()}if(u){ur(_k(s).pos)}else u=l;y=s.pos,p(s,e,i,a),_&&(ln(),_=!1),f=s}const m=f?Xp(f):0,h=ne||!!(2048&m),g=a&&64&r&&16&r;g&&(f&&!h?rt(28,f.end,Kt,f):Kt(",")),f&&(t?t.end:-1)!==f.end&&60&r&&!h&&cr(g&&(null==c?void 0:c.end)?c.end:f.end),128&r&&ln();const A=vn(t,n[o+s-1],r,c);A?an(A):2097408&r&&rn()}function zt(e){b.writeLiteral(e)}function Yt(e,t){b.writeSymbol(e,t)}function Kt(e){b.writePunctuation(e)}function Xt(){b.writeTrailingSemicolon(";")}function Zt(e){b.writeKeyword(e)}function en(e){b.writeOperator(e)}function tn(e){b.writeParameter(e)}function nn(e){b.writeComment(e)}function rn(){b.writeSpace(" ")}function on(e){b.writeProperty(e)}function sn(e){b.nonEscapingWrite?b.nonEscapingWrite(e):b.write(e)}function an(e=1){for(let t=0;t0)}function cn(){b.increaseIndent()}function ln(){b.decreaseIndent()}function dn(e,t,n,r){return z?fn(e,n,t):function(e,t,n,r,i){if(z||e&&Fm(e))return i(t,n,r);const o=e&&e.emitNode,s=o&&o.flags||0,a=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[t],c=a&&a.source||S;r=br(c,a?a.pos:r),!(256&s)&&r>=0&&Er(c,r);r=i(t,n,r),a&&(r=a.end);!(512&s)&&r>=0&&Er(c,r);return r}(r,e,n,t,fn)}function pn(e,t){Q&&Q(e),t(Is(e.kind)),L&&L(e)}function fn(e,t,n){const r=Is(e);return t(r),n<0?n:n+r.length}function _n(e,t,n){if(1&Xp(e))rn();else if(G){const r=Sn(e,t,n);r?an(r):rn()}else an()}function mn(e){const t=e.split(/\r\n?|\n/),n=Bd(t);for(const e of t){const t=n?e.slice(n):e;t.length&&(an(),W(t))}}function hn(e,t){e?(cn(),an(e)):t&&rn()}function gn(e,t){e&&ln(),t&&ln()}function An(e,t,r){if(2&r||G){if(65536&r)return 1;if(void 0===t)return!e||n&&Qv(e,n)?0:1;if(t.pos===y)return 0;if(12===t.kind)return 0;if(n&&e&&!YE(e.pos)&&!eA(t)&&(!t.parent||uc(t.parent)===uc(e)))return G?bn((r=>zv(t.pos,e.pos,n,r))):Lv(e,t,n)?0:1;if(xn(t,r))return 1}return 1&r?1:0}function yn(e,t,r){if(2&r||G){if(void 0===e||void 0===t)return 0;if(12===t.kind)return 0;if(n&&!eA(e)&&!eA(t))return G&&function(e,t){if(t.pos-1&&r.indexOf(t)===i+1}(e,t)?bn((r=>Jv(e,t,n,r))):!G&&(o=t,(i=uc(i=e)).parent&&i.parent===uc(o).parent)?Uv(e,t,n)?0:1:65536&r?1:0;if(xn(e,r)||xn(t,r))return 1}else if(pk(t))return 1;var i,o;return 1&r?1:0}function vn(e,t,r,i){if(2&r||G){if(65536&r)return 1;if(void 0===t)return!e||n&&Qv(e,n)?0:1;if(n&&e&&!YE(e.pos)&&!eA(t)&&(!t.parent||t.parent===e)){if(G){const r=i&&!YE(i.end)?i.end:t.end;return bn((t=>Yv(r,e.end,n,t)))}return Mv(e,t,n)?0:1}if(xn(t,r))return 1}return 1&r&&!(131072&r)?1:0}function bn(e){un.assert(!!G);const t=e(!0);return 0===t?e(!1):t}function Cn(e,t){const n=G&&An(t,e,0);return n&&hn(n,!1),!!n}function En(e,t){const n=G&&vn(t,e,0,void 0);n&&an(n)}function xn(e,t){if(eA(e)){const n=pk(e);return void 0===n?!!(65536&t):n}return!!(65536&t)}function Sn(e,t,r){return 262144&Xp(e)?0:(e=Dn(e),t=Dn(t),pk(r=Dn(r))?1:!n||eA(e)||eA(t)||eA(r)?0:G?bn((e=>Jv(t,r,n,e))):Uv(t,r,n)?0:1)}function kn(e){return 0===e.statements.length&&(!n||Uv(e,e,n))}function Dn(e){for(;217===e.kind&&eA(e);)e=e.expression;return e}function wn(e,t){if(Vl(e)||Hl(e))return qn(e);if(kD(e)&&e.textSourceNode)return wn(e.textSourceNode,t);const r=n,i=!!r&&!!e.parent&&!eA(e);if(pl(e)){if(!i||Ap(e)!==uc(r))return hc(e)}else if(BT(e)){if(!i||Ap(e)!==uc(r))return oS(e)}else if(un.assertNode(e,Pl),!i)return e.text;return Up(r,e,t)}function In(t,r=n,i,o){if(11===t.kind&&t.textSourceNode){const e=t.textSourceNode;if(UD(e)||JD(e)||xD(e)||BT(e)){const n=xD(e)?e.text:wn(e);return o?`"${wA(n)}"`:i||16777216&Xp(t)?`"${bA(n)}"`:`"${EA(n)}"`}return In(e,Ap(e),i,o)}return nf(t,r,(i?1:0)|(o?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&e.target>=8?8:0))}function Tn(e){l.push(d),d=0,h.push(A),e&&1048576&Xp(e)||(p.push(f),f=0,a.push(c),c=void 0,_.push(m))}function Fn(e){d=l.pop(),A=h.pop(),e&&1048576&Xp(e)||(f=p.pop(),c=a.pop(),m=_.pop())}function Rn(e){m&&m!==ge(_)||(m=new Set),m.add(e)}function Pn(e){A&&A!==ge(h)||(A=new Set),A.add(e)}function Nn(e){if(e)switch(e.kind){case 241:case 296:case 297:u(e.statements,Nn);break;case 256:case 254:case 246:case 247:Nn(e.statement);break;case 245:Nn(e.thenStatement),Nn(e.elseStatement);break;case 248:case 250:case 249:Nn(e.initializer),Nn(e.statement);break;case 255:Nn(e.caseBlock);break;case 269:u(e.clauses,Nn);break;case 258:Nn(e.tryBlock),Nn(e.catchClause),Nn(e.finallyBlock);break;case 299:Nn(e.variableDeclaration),Nn(e.block);break;case 243:Nn(e.declarationList);break;case 261:u(e.declarations,Nn);break;case 260:case 169:case 208:case 263:case 274:case 280:On(e.name);break;case 262:On(e.name),1048576&Xp(e)&&(u(e.parameters,Nn),Nn(e.body));break;case 206:case 207:case 275:u(e.elements,Nn);break;case 272:Nn(e.importClause);break;case 273:On(e.name),Nn(e.namedBindings);break;case 276:On(e.propertyName||e.name)}}function Bn(e){if(e)switch(e.kind){case 303:case 304:case 172:case 171:case 174:case 173:case 177:case 178:On(e.name)}}function On(e){e&&(Vl(e)||Hl(e)?qn(e):Cu(e)&&Nn(e))}function qn(e){const t=e.emitNode.autoGenerate;if(4==(7&t.flags))return $n(YR(e),JD(e),t.flags,t.prefix,t.suffix);{const n=t.id;return o[n]||(o[n]=function(e){const t=e.emitNode.autoGenerate,n=KR(t.prefix,qn),r=KR(t.suffix);switch(7&t.flags){case 1:return jn(0,!!(8&t.flags),JD(e),n,r);case 2:return un.assertNode(e,UD),jn(268435456,!!(8&t.flags),!1,n,r);case 3:return Un(hc(e),32&t.flags?Ln:Qn,!!(16&t.flags),!!(8&t.flags),JD(e),n,r)}return un.fail(`Unsupported GeneratedIdentifierKind: ${un.formatEnum(7&t.flags,yr,!0)}.`)}(e))}}function $n(e,t,n,o,s){const a=JQ(e),c=t?i:r;return c[a]||(c[a]=Wn(e,t,n??0,KR(o,qn),KR(s)))}function Qn(e,t){return Ln(e)&&!function(e,t){let n,r;t?(n=A,r=h):(n=m,r=_);if(null==n?void 0:n.has(e))return!0;for(let t=r.length-1;t>=0;t--)if(n!==r[t]&&(n=r[t],null==n?void 0:n.has(e)))return!0;return!1}(e,t)&&!s.has(e)}function Ln(e,t){return!n||Sp(n,e,F)}function Mn(e,t){switch(e){case"":f=t;break;case"#":d=t;break;default:c??(c=new Map),c.set(e,t)}}function jn(e,t,n,r,i){r.length>0&&35===r.charCodeAt(0)&&(r=r.slice(1));const o=ZR(n,r,"",i);let s=function(e){switch(e){case"":return f;case"#":return d;default:return(null==c?void 0:c.get(e))??0}}(o);if(e&&!(s&e)){const a=ZR(n,r,268435456===e?"_i":"_n",i);if(Qn(a,n))return s|=e,n?Pn(a):t&&Rn(a),Mn(o,s),a}for(;;){const e=268435455&s;if(s++,8!==e&&13!==e){const a=ZR(n,r,e<26?"_"+String.fromCharCode(97+e):"_"+(e-26),i);if(Qn(a,n))return n?Pn(a):t&&Rn(a),Mn(o,s),a}}}function Un(e,t=Qn,n,r,i,o,a){if(e.length>0&&35===e.charCodeAt(0)&&(e=e.slice(1)),o.length>0&&35===o.charCodeAt(0)&&(o=o.slice(1)),n){const n=ZR(i,o,e,a);if(t(n,i))return i?Pn(n):r?Rn(n):s.add(n),n}95!==e.charCodeAt(e.length-1)&&(e+="_");let c=1;for(;;){const n=ZR(i,o,e+c,a);if(t(n,i))return i?Pn(n):r?Rn(n):s.add(n),n;c++}}function Vn(e){return Un(e,Ln,!0,!1,!1,"","")}function Hn(e){const t=wn(e.name);return function(e,t){for(let n=t;n&&cg(n,t);n=n.nextContainer)if(ad(n)&&n.locals){const t=n.locals.get(_c(e));if(t&&3257279&t.flags)return!1}return!0}(t,et(e,ad))?t:Un(t,Qn,!1,!1,!1,"","")}function Gn(){return Un("default",Qn,!1,!1,!1,"","")}function Wn(e,t,n,r,i){switch(e.kind){case 80:case 81:return Un(wn(e),Qn,!!(16&n),!!(8&n),t,r,i);case 267:case 266:return un.assert(!r&&!i&&!t),Hn(e);case 272:case 278:return un.assert(!r&&!i&&!t),function(e){const t=Ch(e);return Un(kD(t)?of(t.text):"module",Qn,!1,!1,!1,"","")}(e);case 262:case 263:{un.assert(!r&&!i&&!t);const o=e.name;return o&&!Vl(o)?Wn(o,!1,n,r,i):Gn()}case 277:return un.assert(!r&&!i&&!t),Gn();case 231:return un.assert(!r&&!i&&!t),Un("class",Qn,!1,!1,!1,"","");case 174:case 177:case 178:return function(e,t,n,r){return UD(e.name)?$n(e.name,t):jn(0,!1,t,n,r)}(e,t,r,i);case 167:return jn(0,!0,t,r,i);default:return jn(0,!1,t,r,i)}}function zn(e,t){const n=Oe(2,e,t),r=X,i=Z,o=ee;Yn(t),n(e,t),Kn(t,r,i,o)}function Yn(e){const t=Xp(e),n=_k(e);!function(e,t,n,r){re(),te=!1;const i=n<0||!!(1024&t)||12===e.kind,o=r<0||!!(2048&t)||12===e.kind;(n>0||r>0)&&n!==r&&(i||rr(n,353!==e.kind),(!i||n>=0&&1024&t)&&(X=n),(!o||r>=0&&2048&t)&&(Z=r,261===e.kind&&(ee=r)));u(hk(e),Zn),ie()}(e,t,n.pos,n.end),4096&t&&(ne=!0)}function Kn(e,t,n,r){const i=Xp(e),o=_k(e);4096&i&&(ne=!1),Xn(e,i,o.pos,o.end,t,n,r);const s=Nk(e);s&&Xn(e,i,s.pos,s.end,t,n,r)}function Xn(e,t,n,r,i,o,s){re();const a=r<0||!!(2048&t)||12===e.kind;u(yk(e),er),(n>0||r>0)&&n!==r&&(X=i,Z=o,ee=s,a||353===e.kind||function(e){_r(e,lr)}(r)),ie()}function Zn(e){(e.hasLeadingNewline||2===e.kind)&&b.writeLine(),tr(e),e.hasTrailingNewLine||2===e.kind?b.writeLine():b.writeSpace(" ")}function er(e){b.isAtStartOfLine()||b.writeSpace(" "),tr(e),e.hasTrailingNewLine&&b.writeLine()}function tr(e){const t=function(e){return 3===e.kind?`/*${e.text}*/`:`//${e.text}`}(e);Cy(t,3===e.kind?Ns(t):void 0,b,0,t.length,U)}function nr(e,t,r){re();const{pos:i,end:o}=t,s=Xp(e),a=ne||o<0||!!(2048&s);i<0||!!(1024&s)||function(e){const t=n&&by(n.text,Se(),b,mr,e,U,ne);t&&(w?w.push(t):w=[t])}(t),ie(),4096&s&&!ne?(ne=!0,r(e),ne=!1):r(e),re(),a||(rr(t.end,!0),te&&!b.isAtStartOfLine()&&b.writeLine()),ie()}function rr(e,t){te=!1,t?0===e&&(null==n?void 0:n.isDeclarationFile)?fr(e,or):fr(e,ar):0===e&&fr(e,ir)}function ir(e,t,n,r,i){hr(e,t)&&ar(e,t,n,r,i)}function or(e,t,n,r,i){hr(e,t)||ar(e,t,n,r,i)}function sr(t,n){return!e.onlyPrintJsDocStyle||(_P(t,n)||$p(t,n))}function ar(e,t,r,i,o){n&&sr(n.text,e)&&(te||(vy(Se(),b,o,e),te=!0),Cr(e),Cy(n.text,Se(),b,e,t,U),Cr(t),i?b.writeLine():3===r&&b.writeSpace(" "))}function cr(e){ne||-1===e||rr(e,!0)}function lr(e,t,r,i){n&&sr(n.text,e)&&(b.isAtStartOfLine()||b.writeSpace(" "),Cr(e),Cy(n.text,Se(),b,e,t,U),Cr(t),i&&b.writeLine())}function ur(e,t,n){ne||(re(),_r(e,t?lr:n?dr:pr),ie())}function dr(e,t,r){n&&(Cr(e),Cy(n.text,Se(),b,e,t,U),Cr(t),2===r&&b.writeLine())}function pr(e,t,r,i){n&&(Cr(e),Cy(n.text,Se(),b,e,t,U),Cr(t),i?b.writeLine():b.writeSpace(" "))}function fr(e,t){!n||-1!==X&&e===X||(function(e){return void 0!==w&&Ae(w).nodePos===e}(e)?function(e){if(!n)return;const t=Ae(w).detachedCommentEndPos;w.length-1?w.pop():w=void 0;oa(n.text,t,e,t)}(t):oa(n.text,e,t,e))}function _r(e,t){n&&(-1===Z||e!==Z&&e!==ee)&&sa(n.text,e,t)}function mr(e,t,r,i,o,s){n&&sr(n.text,i)&&(Cr(i),Cy(e,t,r,i,o,s),Cr(o))}function hr(e,t){return!!n&&qp(n.text,e,t)}function gr(e,t){const n=Oe(3,e,t);Ar(t),n(e,t),vr(t)}function Ar(e){const t=Xp(e),n=ck(e),r=n.source||S;353!==e.kind&&!(32&t)&&n.pos>=0&&Er(n.source||S,br(r,n.pos)),128&t&&(z=!0)}function vr(e){const t=Xp(e),n=ck(e);128&t&&(z=!1),353!==e.kind&&!(64&t)&&n.end>=0&&Er(n.source||S,n.end)}function br(e,t){return e.skipTrivia?e.skipTrivia(t):Ks(e.text,t)}function Cr(e){if(z||YE(e)||Sr(S))return;const{line:t,character:n}=Ms(S,e);x.addMapping(b.getLine(),b.getColumn(),Y,t,n,void 0)}function Er(e,t){if(e!==S){const n=S,r=Y;xr(e),Cr(t),function(e,t){S=e,Y=t}(n,r)}else Cr(t)}function xr(t){z||(S=t,t!==k?Sr(t)||(Y=x.addSource(t.fileName),e.inlineSources&&x.setSourceContent(Y,t.text),k=t,K=Y):Y=K)}function Sr(e){return Eo(e.fileName,".json")}}function dU(e,t,n,r){t(e)}function pU(e,t,n,r){t(e,n.select(r))}function fU(e,t,n,r){t(e,n)}function _U(e,t,n){if(!e.getDirectories||!e.readDirectory)return;const r=new Map,i=Jt(n);return{useCaseSensitiveFileNames:n,fileExists:function(t){const n=o(t),r=c(n);return r&&d(r.sortedAndCanonicalizedFiles,i(l(t)))||e.fileExists(t)},readFile:(t,n)=>e.readFile(t,n),directoryExists:e.directoryExists&&function(t){const n=o(t);return r.has(Vo(n))||e.directoryExists(t)},getDirectories:function(t){const n=o(t),r=u(t,n);if(r)return r.directories.slice();return e.getDirectories(t)},readDirectory:function(r,i,s,c,d){const f=o(r),_=u(r,f);let m;if(void 0!==_)return gE(r,i,s,c,n,t,d,(function(e){const t=o(e);if(t===f)return _||h(e,t);const n=u(e,t);return void 0!==n?n||h(e,t):rx}),p);return e.readDirectory(r,i,s,c,d);function h(t,n){if(m&&n===f)return m;const r={files:w(e.readDirectory(t,void 0,void 0,["*.*"]),l)||a,directories:e.getDirectories(t)||a};return n===f&&(m=r),r}},createDirectory:e.createDirectory&&function(t){const n=o(t),r=c(n);if(r){const e=l(t),n=i(e);X(r.sortedAndCanonicalizedDirectories,n,xt)&&r.directories.push(e)}e.createDirectory(t)},writeFile:e.writeFile&&function(t,n,r){const i=o(t),s=c(i);s&&_(s,l(t),!0);return e.writeFile(t,n,r)},addOrDeleteFileOrDirectory:function(t,n){if(void 0!==s(n))return void m();const r=c(n);if(!r)return void f(n);if(!e.directoryExists)return void m();const o=l(t),a={fileExists:e.fileExists(t),directoryExists:e.directoryExists(t)};a.directoryExists||d(r.sortedAndCanonicalizedDirectories,i(o))?m():_(r,o,a.fileExists);return a},addOrDeleteFile:function(e,t,n){if(1===n)return;const r=c(t);r?_(r,l(e),0===n):f(t)},clearCache:m,realpath:e.realpath&&p};function o(e){return Uo(e,t,i)}function s(e){return r.get(Vo(e))}function c(e){const t=s(Io(e));return t?(t.sortedAndCanonicalizedFiles||(t.sortedAndCanonicalizedFiles=t.files.map(i).sort(),t.sortedAndCanonicalizedDirectories=t.directories.map(i).sort()),t):t}function l(e){return To(Mo(e))}function u(t,n){const i=s(n=Vo(n));if(i)return i;try{return function(t,n){var i;if(!e.realpath||Vo(o(e.realpath(t)))===n){const i={files:w(e.readDirectory(t,void 0,void 0,["*.*"]),l)||[],directories:e.getDirectories(t)||[]};return r.set(Vo(n),i),i}if(null==(i=e.directoryExists)?void 0:i.call(e,t))return r.set(n,!1),!1}(t,n)}catch{return void un.assert(!r.has(Vo(n)))}}function d(e,t){return Ee(e,t,st,xt)>=0}function p(t){return e.realpath?e.realpath(t):t}function f(e){as(Io(e),(e=>!!r.delete(Vo(e))||void 0))}function _(e,t,n){const r=e.sortedAndCanonicalizedFiles,o=i(t);if(n)X(r,o,xt)&&e.files.push(t);else{const t=Ee(r,o,st,xt);if(t>=0){r.splice(t,1);const n=e.files.findIndex((e=>i(e)===o));e.files.splice(n,1)}}}function m(){r.clear()}}var mU=(e=>(e[e.Update=0]="Update",e[e.RootNamesAndUpdate=1]="RootNamesAndUpdate",e[e.Full=2]="Full",e))(mU||{});function hU(e,t,n,r,i){var o;const s=Oe((null==(o=null==t?void 0:t.configFile)?void 0:o.extendedSourceFiles)||a,i);n.forEach(((t,n)=>{s.has(n)||(t.projects.delete(e),t.close())})),s.forEach(((t,i)=>{const o=n.get(i);o?o.projects.add(e):n.set(i,{projects:new Set([e]),watcher:r(t,i),close:()=>{const e=n.get(i);e&&0===e.projects.size&&(e.watcher.close(),n.delete(i))}})}))}function gU(e,t){t.forEach((t=>{t.projects.delete(e)&&t.close()}))}function AU(e,t,n){e.delete(t)&&e.forEach((({extendedResult:r},i)=>{var o;(null==(o=r.extendedSourceFiles)?void 0:o.some((e=>n(e)===t)))&&AU(e,i,n)}))}function yU(e,t,n){_b(t,e.getMissingFilePaths(),{createNewValue:n,onDeleteValue:rb})}function vU(e,t,n){function r(e,t){return{watcher:n(e,t),flags:t}}t?_b(e,new Map(Object.entries(t)),{createNewValue:r,onDeleteValue:kU,onExistingValue:function(t,n,i){if(t.flags===n)return;t.watcher.close(),e.set(i,r(i,n))}}):pb(e,kU)}function bU({watchedDirPath:e,fileOrDirectory:t,fileOrDirectoryPath:n,configFileName:r,options:i,program:o,extraFileExtensions:s,currentDirectory:a,useCaseSensitiveFileNames:c,writeLog:l,toPath:u,getScriptKind:d}){const p=NV(n);if(!p)return l(`Project: ${r} Detected ignored path: ${t}`),!0;if((n=p)===e)return!1;if(Co(n)&&!QE(t,i,s)&&!function(){if(!d)return!1;switch(d(t)){case 3:case 4:case 7:case 5:return!0;case 1:case 2:return PC(i);case 6:return wC(i);case 0:return!1}}())return l(`Project: ${r} Detected file add/remove of non supported extension: ${t}`),!0;if(SO(t,i.configFile.configFileSpecs,Lo(Io(r),a),c,a))return l(`Project: ${r} Detected excluded file: ${t}`),!0;if(!o)return!1;if(i.outFile||i.outDir)return!1;if(KP(n)){if(i.declarationDir)return!1}else if(!xo(n,kE))return!1;const f=UE(n),_=Ye(o)?void 0:lH(o)?o.getProgramOrUndefined():o,m=_||Ye(o)?void 0:o;return!(!h(f+".ts")&&!h(f+".tsx"))&&(l(`Project: ${r} Detected output file: ${t}`),!0);function h(e){return _?!!_.getSourceFileByPath(e):m?m.state.fileInfos.has(e):!!A(o,(t=>u(t)===e))}}function CU(e,t){return!!e&&e.isEmittedFile(t)}var EU=(e=>(e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose",e))(EU||{});function xU(e,t,n,r){to(2===t?n:nt);const i={watchFile:(t,n,r,i)=>e.watchFile(t,n,r,i),watchDirectory:(t,n,r,i)=>e.watchDirectory(t,n,!!(1&r),i)},o=0!==t?{watchFile:l("watchFile"),watchDirectory:l("watchDirectory")}:void 0,s=2===t?{watchFile:function(e,t,i,s,a,c){n(`FileWatcher:: Added:: ${u(e,i,s,a,c,r)}`);const l=o.watchFile(e,t,i,s,a,c);return{close:()=>{n(`FileWatcher:: Close:: ${u(e,i,s,a,c,r)}`),l.close()}}},watchDirectory:function(e,t,i,s,a,c){const l=`DirectoryWatcher:: Added:: ${u(e,i,s,a,c,r)}`;n(l);const d=jn(),p=o.watchDirectory(e,t,i,s,a,c),f=jn()-d;return n(`Elapsed:: ${f}ms ${l}`),{close:()=>{const t=`DirectoryWatcher:: Close:: ${u(e,i,s,a,c,r)}`;n(t);const o=jn();p.close();const l=jn()-o;n(`Elapsed:: ${l}ms ${t}`)}}}}:o||i,a=2===t?function(e,t,i,o,s){return n(`ExcludeWatcher:: Added:: ${u(e,t,i,o,s,r)}`),{close:()=>n(`ExcludeWatcher:: Close:: ${u(e,t,i,o,s,r)}`)}}:yH;return{watchFile:c("watchFile"),watchDirectory:c("watchDirectory")};function c(t){return(n,r,i,o,c,l)=>{var u;return DO(n,"watchFile"===t?null==o?void 0:o.excludeFiles:null==o?void 0:o.excludeDirectories,"boolean"==typeof e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),(null==(u=e.getCurrentDirectory)?void 0:u.call(e))||"")?a(n,i,o,c,l):s[t].call(void 0,n,r,i,o,c,l)}}function l(e){return(t,o,s,a,c,l)=>i[e].call(void 0,t,((...i)=>{const d=`${"watchFile"===e?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${i[0]} ${void 0!==i[1]?i[1]:""}:: ${u(t,s,a,c,l,r)}`;n(d);const p=jn();o.call(void 0,...i);const f=jn()-p;n(`Elapsed:: ${f}ms ${d}`)}),s,a,c,l)}function u(e,t,n,r,i,o){return`WatchInfo: ${e} ${t} ${JSON.stringify(n)} ${o?o(r,i):void 0===i?r:`${r} ${i}`}`}}function SU(e){const t=null==e?void 0:e.fallbackPolling;return{watchFile:void 0!==t?t:1}}function kU(e){e.watcher.close()}function DU(e,t,n="tsconfig.json"){return as(e,(e=>{const r=qo(e,n);return t(r)?r:void 0}))}function wU(e,t){const n=Io(t);return Mo(go(e)?e:qo(n,e))}function IU(e,t,n){let r;const i=u(e,(e=>{const i=Qo(e,t);if(i.pop(),!r)return void(r=i);const o=Math.min(r.length,i.length);for(let e=0;e{let o;try{er("beforeIORead"),o=e(n),er("afterIORead"),tr("I/O Read","beforeIORead","afterIORead")}catch(e){i&&i(e.message),o=""}return void 0!==o?LP(n,o,r,t):void 0}}function RU(e,t,n){return(r,i,o,s)=>{try{er("beforeIOWrite"),ty(r,i,o,e,t,n),er("afterIOWrite"),tr("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){s&&s(e.message)}}}function PU(e,t,n=co){const r=new Map,i=Jt(n.useCaseSensitiveFileNames);function o(){return Io(Mo(n.getExecutingFilePath()))}const s=Rv(e),a=n.realpath&&(e=>n.realpath(e)),c={getSourceFile:FU((e=>c.readFile(e)),t),getDefaultLibLocation:o,getDefaultLibFileName:e=>qo(o(),wa(e)),writeFile:RU(((e,t,r)=>n.writeFile(e,t,r)),(e=>(c.createDirectory||n.createDirectory)(e)),(e=>{return t=e,!!r.has(t)||!!(c.directoryExists||n.directoryExists)(t)&&(r.set(t,!0),!0);var t})),getCurrentDirectory:dt((()=>n.getCurrentDirectory())),useCaseSensitiveFileNames:()=>n.useCaseSensitiveFileNames,getCanonicalFileName:i,getNewLine:()=>s,fileExists:e=>n.fileExists(e),readFile:e=>n.readFile(e),trace:e=>n.write(e+s),directoryExists:e=>n.directoryExists(e),getEnvironmentVariable:e=>n.getEnvironmentVariable?n.getEnvironmentVariable(e):"",getDirectories:e=>n.getDirectories(e),realpath:a,readDirectory:(e,t,r,i,o)=>n.readDirectory(e,t,r,i,o),createDirectory:e=>n.createDirectory(e),createHash:Je(n,n.createHash)};return c}function NU(e,t,n){const r=e.readFile,i=e.fileExists,o=e.directoryExists,s=e.createDirectory,a=e.writeFile,c=new Map,l=new Map,u=new Map,d=new Map,p=(t,n)=>{const i=r.call(e,n);return c.set(t,void 0!==i&&i),i};e.readFile=n=>{const i=t(n),o=c.get(i);return void 0!==o?!1!==o?o:void 0:Eo(n,".json")||Bj(n)?p(i,n):r.call(e,n)};const f=n?(e,r,i,o)=>{const s=t(e),a="object"==typeof r?r.impliedNodeFormat:void 0,c=d.get(a),l=null==c?void 0:c.get(s);if(l)return l;const u=n(e,r,i,o);return u&&(KP(e)||Eo(e,".json"))&&d.set(a,(c||new Map).set(s,u)),u}:void 0;return e.fileExists=n=>{const r=t(n),o=l.get(r);if(void 0!==o)return o;const s=i.call(e,n);return l.set(r,!!s),s},a&&(e.writeFile=(n,r,...i)=>{const o=t(n);l.delete(o);const s=c.get(o);void 0!==s&&s!==r?(c.delete(o),d.forEach((e=>e.delete(o)))):f&&d.forEach((e=>{const t=e.get(o);t&&t.text!==r&&e.delete(o)})),a.call(e,n,r,...i)}),o&&(e.directoryExists=n=>{const r=t(n),i=u.get(r);if(void 0!==i)return i;const s=o.call(e,n);return u.set(r,!!s),s},s&&(e.createDirectory=n=>{const r=t(n);u.delete(r),s.call(e,n)})),{originalReadFile:r,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:a,getSourceFileWithCache:f,readFileWithCache:e=>{const n=t(e),r=c.get(n);return void 0!==r?!1!==r?r:void 0:p(n,e)}}}function BU(e,t,n){let r;return r=se(r,e.getConfigFileParsingDiagnostics()),r=se(r,e.getOptionsDiagnostics(n)),r=se(r,e.getSyntacticDiagnostics(t,n)),r=se(r,e.getGlobalDiagnostics(n)),r=se(r,e.getSemanticDiagnostics(t,n)),IC(e.getCompilerOptions())&&(r=se(r,e.getDeclarationDiagnostics(t,n))),ka(r||a)}function OU(e,t){let n="";for(const r of e)n+=qU(r,t);return n}function qU(e,t){const n=`${ai(e)} TS${e.code}: ${YU(e.messageText,t.getNewLine())}${t.getNewLine()}`;if(e.file){const{line:r,character:i}=Ms(e.file,e.start);return`${is(e.file.fileName,t.getCurrentDirectory(),(e=>t.getCanonicalFileName(e)))}(${r+1},${i+1}): `+n}return n}var $U=(e=>(e.Grey="",e.Red="",e.Yellow="",e.Blue="",e.Cyan="",e))($U||{}),QU="",LU=" ",MU="",jU="...",UU=" ",JU=" ";function VU(e){switch(e){case 1:return"";case 0:return"";case 2:return un.fail("Should never get an Info diagnostic on the command line.");case 3:return""}}function HU(e,t){return t+e+MU}function GU(e,t,n,r,i,o){const{line:s,character:a}=Ms(e,t),{line:c,character:l}=Ms(e,t+n),u=Ms(e,e.text.length).line,d=c-s>=4;let p=(c+1+"").length;d&&(p=Math.max(jU.length,p));let f="";for(let t=s;t<=c;t++){f+=o.getNewLine(),d&&s+1n.getCanonicalFileName(e))):e.fileName,""),s+=":",s+=r(`${i+1}`,""),s+=":",s+=r(`${o+1}`,""),s}function zU(e,t){let n="";for(const r of e){if(r.file){const{file:e,start:i}=r;n+=WU(e,i,t),n+=" - "}if(n+=HU(ai(r),VU(r.category)),n+=HU(` TS${r.code}: `,""),n+=YU(r.messageText,t.getNewLine()),r.file&&r.code!==us.File_appears_to_be_binary.code&&(n+=t.getNewLine(),n+=GU(r.file,r.start,r.length,"",VU(r.category),t)),r.relatedInformation){n+=t.getNewLine();for(const{file:e,start:i,length:o,messageText:s}of r.relatedInformation)e&&(n+=t.getNewLine(),n+=UU+WU(e,i,t),n+=GU(e,i,o,JU,"",t)),n+=t.getNewLine(),n+=JU+YU(s,t.getNewLine())}n+=t.getNewLine()}return n}function YU(e,t,n=0){if(Xe(e))return e;if(void 0===e)return"";let r="";if(n){r+=t;for(let e=0;eeJ(t,e,n)};function aJ(e,t,n,r,i){return{nameAndMode:sJ,resolve:(o,s)=>Dq(o,e,n,r,i,t,s)}}function cJ(e){return Xe(e)?e:e.fileName}var lJ={getName:cJ,getMode:(e,t,n)=>KU(e,t&&FJ(t,n))};function uJ(e,t,n,r,i){return{nameAndMode:lJ,resolve:(o,s)=>oq(o,e,n,r,t,i,s)}}function dJ(e,t,n,r,i,o,s,c){if(0===e.length)return a;const l=[],u=new Map,d=c(t,n,r,o,s);for(const t of e){const e=d.nameAndMode.getName(t),o=d.nameAndMode.getMode(t,i,(null==n?void 0:n.commandLine.options)||r),s=hq(e,o);let a=u.get(s);a||u.set(s,a=d.resolve(e,o)),l.push(a)}return l}function pJ(e,t){return fJ(void 0,e,((e,n)=>e&&t(e,n)))}function fJ(e,t,n,r){let i;return function e(t,o,s){if(r){const e=r(t,s);if(e)return e}let a;return u(o,((e,t)=>{if(e&&(null==i?void 0:i.has(e.sourceFile.path)))return void(a??(a=new Set)).add(e);const r=n(e,s,t);if(r||!e)return r;(i||(i=new Set)).add(e.sourceFile.path)}))||u(o,(t=>t&&!(null==a?void 0:a.has(t))?e(t.commandLine.projectReferences,t.references,t):void 0))}(e,t,void 0)}var _J="__inferred type names__.ts";function mJ(e,t,n){return qo(e.configFilePath?Io(e.configFilePath):t,`__lib_node_modules_lookup_${n}__.ts`)}function hJ(e){const t=e.split(".");let n=t[1],r=2;for(;t[r]&&"d"!==t[r];)n+=(2===r?"/":"-")+t[r],r++;return"@typescript/lib-"+n}function gJ(e){return lt(e.fileName)}function AJ(e){const t=gJ(e);return fN.get(t)}function yJ(e){switch(null==e?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function vJ(e){return void 0!==e.pos}function bJ(e,t){var n,r,i,o;const s=un.checkDefined(e.getSourceFileByPath(t.file)),{kind:a,index:c}=t;let l,u,d;switch(a){case 3:const t=QJ(s,c);if(d=null==(r=null==(n=e.getResolvedModuleFromModuleSpecifier(t,s))?void 0:n.resolvedModule)?void 0:r.packageId,-1===t.pos)return{file:s,packageId:d,text:t.text};l=Ks(s.text,t.pos),u=t.end;break;case 4:({pos:l,end:u}=s.referencedFiles[c]);break;case 5:({pos:l,end:u}=s.typeReferenceDirectives[c]),d=null==(o=null==(i=e.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(s.typeReferenceDirectives[c],s))?void 0:i.resolvedTypeReferenceDirective)?void 0:o.packageId;break;case 7:({pos:l,end:u}=s.libReferenceDirectives[c]);break;default:return un.assertNever(a)}return{file:s,pos:l,end:u,packageId:d}}function CJ(e,t,n,r,i,o,s,a,c,l){if(!e||(null==a?void 0:a()))return!1;if(!ee(e.getRootFileNames(),t))return!1;let d;if(!ee(e.getProjectReferences(),l,(function(t,n,r){return ap(t,n)&&_(e.getResolvedProjectReferences()[r],t)})))return!1;if(e.getSourceFiles().some((function(e){return!function(e){return e.version===r(e.resolvedPath,e.fileName)}(e)||o(e.path)})))return!1;const p=e.getMissingFilePaths();if(p&&np(p,i))return!1;const f=e.getCompilerOptions();return!!db(f,n)&&((!e.resolvedLibReferences||!np(e.resolvedLibReferences,((e,t)=>s(t))))&&(!f.configFile||!n.configFile||f.configFile.text===n.configFile.text));function _(e,t){if(e){if(C(d,e))return!0;const n=OJ(t),r=c(n);return!!r&&(e.commandLine.options.configFile===r.options.configFile&&(!!ee(e.commandLine.fileNames,r.fileNames)&&((d||(d=[])).push(e),!u(e.references,((t,n)=>!_(t,e.commandLine.projectReferences[n]))))))}const n=OJ(t);return!c(n)}}function EJ(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function xJ(e,t,n,r){const i=SJ(e,t,n,r);return"object"==typeof i?i.impliedNodeFormat:i}function SJ(e,t,n,r){const i=bC(r),o=3<=i&&i<=99||Lq(e);return xo(e,[".d.mts",".mts",".mjs"])?99:xo(e,[".d.cts",".cts",".cjs"])?1:o&&xo(e,[".d.ts",".ts",".tsx",".js",".jsx"])?function(){const i=Zq(t,n,r),o=[];i.failedLookupLocations=o,i.affectingLocations=o;const s=e$(Io(e),i);return{impliedNodeFormat:"module"===(null==s?void 0:s.contents.packageJsonContent.type)?99:1,packageJsonLocations:o,packageJsonScope:s}}():void 0}var kJ=new Set([us.Cannot_redeclare_block_scoped_variable_0.code,us.A_module_cannot_have_multiple_default_exports.code,us.Another_export_default_is_here.code,us.The_first_export_default_is_here.code,us.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,us.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,us.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,us.constructor_is_a_reserved_word.code,us.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,us.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,us.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,us.Invalid_use_of_0_in_strict_mode.code,us.A_label_is_not_allowed_here.code,us.with_statements_are_not_allowed_in_strict_mode.code,us.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,us.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,us.A_class_declaration_without_the_default_modifier_must_have_a_name.code,us.A_class_member_cannot_have_the_0_keyword.code,us.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,us.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,us.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,us.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,us.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,us.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,us.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,us.A_destructuring_declaration_must_have_an_initializer.code,us.A_get_accessor_cannot_have_parameters.code,us.A_rest_element_cannot_contain_a_binding_pattern.code,us.A_rest_element_cannot_have_a_property_name.code,us.A_rest_element_cannot_have_an_initializer.code,us.A_rest_element_must_be_last_in_a_destructuring_pattern.code,us.A_rest_parameter_cannot_have_an_initializer.code,us.A_rest_parameter_must_be_last_in_a_parameter_list.code,us.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,us.A_return_statement_cannot_be_used_inside_a_class_static_block.code,us.A_set_accessor_cannot_have_rest_parameter.code,us.A_set_accessor_must_have_exactly_one_parameter.code,us.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,us.An_export_declaration_cannot_have_modifiers.code,us.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,us.An_import_declaration_cannot_have_modifiers.code,us.An_object_member_cannot_be_declared_optional.code,us.Argument_of_dynamic_import_cannot_be_spread_element.code,us.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,us.Cannot_redeclare_identifier_0_in_catch_clause.code,us.Catch_clause_variable_cannot_have_an_initializer.code,us.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,us.Classes_can_only_extend_a_single_class.code,us.Classes_may_not_have_a_field_named_constructor.code,us.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,us.Duplicate_label_0.code,us.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code,us.for_await_loops_cannot_be_used_inside_a_class_static_block.code,us.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,us.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,us.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,us.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,us.Jump_target_cannot_cross_function_boundary.code,us.Line_terminator_not_permitted_before_arrow.code,us.Modifiers_cannot_appear_here.code,us.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,us.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,us.Private_identifiers_are_not_allowed_outside_class_bodies.code,us.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,us.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,us.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,us.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,us.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,us.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,us.Trailing_comma_not_allowed.code,us.Variable_declaration_list_cannot_be_empty.code,us._0_and_1_operations_cannot_be_mixed_without_parentheses.code,us._0_expected.code,us._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,us._0_list_cannot_be_empty.code,us._0_modifier_already_seen.code,us._0_modifier_cannot_appear_on_a_constructor_declaration.code,us._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,us._0_modifier_cannot_appear_on_a_parameter.code,us._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,us._0_modifier_cannot_be_used_here.code,us._0_modifier_must_precede_1_modifier.code,us._0_declarations_can_only_be_declared_inside_a_block.code,us._0_declarations_must_be_initialized.code,us.extends_clause_already_seen.code,us.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,us.Class_constructor_may_not_be_a_generator.code,us.Class_constructor_may_not_be_an_accessor.code,us.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,us.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,us.Private_field_0_must_be_declared_in_an_enclosing_class.code,us.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code]);function DJ(e,t,n,r,o){var s,c,l,d,p,_,m,h,g,y,b,E,x,k,D,w;const I=Ye(e)?function(e,t,n,r,i,o){return{rootNames:e,options:t,host:n,oldProgram:r,configFileParsingDiagnostics:i,typeScriptVersion:o}}(e,t,n,r,o):e,{rootNames:T,options:P,configFileParsingDiagnostics:N,projectReferences:B,typeScriptVersion:O}=I;let{oldProgram:$}=I;for(const e of IN)if(De(P,e.name)&&"string"==typeof P[e.name])throw new Error(`${e.name} is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram`);const Q=dt((()=>Wn("ignoreDeprecations",us.Invalid_value_for_ignoreDeprecations)));let L,M,j,U,V,G,W,z,Y,K,X,Z,te,ne,ie,oe,se,ae,ce,ue,de,pe,fe=Ve();const _e="number"==typeof P.maxNodeModuleJsDepth?P.maxNodeModuleJsDepth:0;let me=0;const he=new Map,ge=new Map;null==(s=Hn)||s.push(Hn.Phase.Program,"createProgram",{configFilePath:P.configFilePath,rootDir:P.rootDir},!0),er("beforeProgram");const Ae=I.host||TU(P),ye=BJ(Ae);let ve=P.noLib;const be=dt((()=>Ae.getDefaultLibFileName(P))),Ce=Ae.getDefaultLibLocation?Ae.getDefaultLibLocation():Io(be()),Ee=uA();let xe=[];const Se=Ae.getCurrentDirectory(),ke=RE(P),we=PE(P,ke),Ie=new Map;let Te,Fe,Re,Pe;const Ne=Ae.hasInvalidatedResolutions||rt;let Be;if(Ae.resolveModuleNameLiterals?(Pe=Ae.resolveModuleNameLiterals.bind(Ae),Re=null==(c=Ae.getModuleResolutionCache)?void 0:c.call(Ae)):Ae.resolveModuleNames?(Pe=(e,t,n,r,i,o)=>Ae.resolveModuleNames(e.map(oJ),t,null==o?void 0:o.map(oJ),n,r,i).map((e=>e?void 0!==e.extension?{resolvedModule:e}:{resolvedModule:{...e,extension:ZE(e.resolvedFileName)}}:iJ)),Re=null==(l=Ae.getModuleResolutionCache)?void 0:l.call(Ae)):(Re=Cq(Se,Nn,P),Pe=(e,t,n,r,i)=>dJ(e,t,n,r,i,Ae,Re,aJ)),Ae.resolveTypeReferenceDirectiveReferences)Be=Ae.resolveTypeReferenceDirectiveReferences.bind(Ae);else if(Ae.resolveTypeReferenceDirectives)Be=(e,t,n,r,i)=>Ae.resolveTypeReferenceDirectives(e.map(cJ),t,n,r,null==i?void 0:i.impliedNodeFormat).map((e=>({resolvedTypeReferenceDirective:e})));else{const e=Eq(Se,Nn,void 0,null==Re?void 0:Re.getPackageJsonInfoCache(),null==Re?void 0:Re.optionsToRedirectsKey);Be=(t,n,r,i,o)=>dJ(t,n,r,i,o,Ae,e,uJ)}const Oe=Ae.hasInvalidatedLibResolutions||rt;let qe;if(Ae.resolveLibrary)qe=Ae.resolveLibrary.bind(Ae);else{const e=Cq(Se,Nn,P,null==Re?void 0:Re.getPackageJsonInfoCache());qe=(t,n,r)=>Sq(t,n,r,Ae,e)}const $e=new Map;let Qe,Le=new Map,Me=Ve();const je=new Map;let Ue=new Map;const He=Ae.useCaseSensitiveFileNames()?new Map:void 0;let Ge,We,ze,Ke;const Ze=!!(null==(d=Ae.useSourceOfProjectReferenceRedirect)?void 0:d.call(Ae))&&!P.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:tt,fileExists:it,directoryExists:ot}=function(e){let t;const n=e.compilerHost.fileExists,r=e.compilerHost.directoryExists,i=e.compilerHost.getDirectories,o=e.compilerHost.realpath;if(!e.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:nt,fileExists:c};let s;e.compilerHost.fileExists=c,r&&(s=e.compilerHost.directoryExists=n=>r.call(e.compilerHost,n)?(d(n),!0):!!e.getResolvedProjectReferences()&&(t||(t=new Set,e.forEachResolvedProjectReference((n=>{const r=n.commandLine.options.outFile;if(r)t.add(Io(e.toPath(r)));else{const r=n.commandLine.options.declarationDir||n.commandLine.options.outDir;r&&t.add(e.toPath(r))}}))),p(n,!1)));i&&(e.compilerHost.getDirectories=t=>!e.getResolvedProjectReferences()||r&&r.call(e.compilerHost,t)?i.call(e.compilerHost,t):[]);o&&(e.compilerHost.realpath=t=>{var n;return(null==(n=e.getSymlinkCache().getSymlinkedFiles())?void 0:n.get(e.toPath(t)))||o.call(e.compilerHost,t)});return{onProgramCreateComplete:a,fileExists:c,directoryExists:s};function a(){e.compilerHost.fileExists=n,e.compilerHost.directoryExists=r,e.compilerHost.getDirectories=i}function c(t){return!!n.call(e.compilerHost,t)||!!e.getResolvedProjectReferences()&&(!!KP(t)&&p(t,!0))}function l(t){const r=e.getSourceOfProjectReferenceRedirect(e.toPath(t));return void 0!==r?!Xe(r)||n.call(e.compilerHost,r):void 0}function u(n){const r=e.toPath(n),i=`${r}${uo}`;return rp(t,(e=>r===e||Wt(e,i)||Wt(r,`${e}/`)))}function d(t){var n;if(!e.getResolvedProjectReferences()||Px(t))return;if(!o||!t.includes(Qq))return;const r=e.getSymlinkCache(),i=Vo(e.toPath(t));if(null==(n=r.getSymlinkedDirectories())?void 0:n.has(i))return;const s=Mo(o.call(e.compilerHost,t));let a;s!==t&&(a=Vo(e.toPath(s)))!==i?r.setSymlinkedDirectory(t,{real:Vo(s),realPath:a}):r.setSymlinkedDirectory(i,!1)}function p(t,n){var r;const i=n?e=>l(e):e=>u(e),o=i(t);if(void 0!==o)return o;const s=e.getSymlinkCache(),a=s.getSymlinkedDirectories();if(!a)return!1;const c=e.toPath(t);return!!c.includes(Qq)&&(!(!n||!(null==(r=s.getSymlinkedFiles())?void 0:r.has(c)))||(f(a.entries(),(([r,o])=>{if(!o||!Wt(c,r))return;const a=i(c.replace(r,o.realPath));if(n&&a){const n=Lo(t,e.compilerHost.getCurrentDirectory());s.setSymlinkedFile(c,`${o.real}${n.replace(new RegExp(r,"i"),"")}`)}return a}))||!1))}}({compilerHost:Ae,getSymlinkCache:or,useSourceOfProjectReferenceRedirect:Ze,toPath:Tt,getResolvedProjectReferences:Qt,getSourceOfProjectReferenceRedirect:xn,forEachResolvedProjectReference:En}),at=Ae.readFile.bind(Ae);null==(p=Hn)||p.push(Hn.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!$});const ct=function(e,t){return!!e&&ep(e.getCompilerOptions(),t,xN)}($,P);let ut;if(null==(_=Hn)||_.pop(),null==(m=Hn)||m.push(Hn.Phase.Program,"tryReuseStructureFromOldProgram",{}),ut=function(){var e;if(!$)return 0;const t=$.getCompilerOptions();if(Xd(t,P))return 0;if(!ee($.getRootFileNames(),T))return 0;if(fJ($.getProjectReferences(),$.getResolvedProjectReferences(),((e,t,n)=>{const r=On((t?t.commandLine.projectReferences:B)[n]);return e?!r||r.sourceFile!==e.sourceFile||!ee(e.commandLine.fileNames,r.commandLine.fileNames):void 0!==r}),((e,t)=>!ee(e,t?kn(t.sourceFile.path).commandLine.projectReferences:B,ap))))return 0;B&&(Ge=B.map(On));const n=[],r=[];if(ut=2,np($.getMissingFilePaths(),(e=>Ae.fileExists(e))))return 0;const i=$.getSourceFiles();let o;s=o||(o={}),s[s.Exists=0]="Exists",s[s.Modified=1]="Modified";var s;const a=new Map;for(const t of i){const i=_n(t.fileName,Re,Ae,P);let o,s=Ae.getSourceFileByPath?Ae.getSourceFileByPath(t.fileName,t.resolvedPath,i,void 0,ct):Ae.getSourceFile(t.fileName,i,void 0,ct);if(!s)return 0;if(s.packageJsonLocations=(null==(e=i.packageJsonLocations)?void 0:e.length)?i.packageJsonLocations:void 0,s.packageJsonScope=i.packageJsonScope,un.assert(!s.redirectInfo,"Host should not return a redirect source file from `getSourceFile`"),t.redirectInfo){if(s!==t.redirectInfo.unredirected)return 0;o=!1,s=t}else if($.redirectTargetsMap.has(t.path)){if(s!==t)return 0;o=!1}else o=s!==t;s.path=t.path,s.originalFileName=t.originalFileName,s.resolvedPath=t.resolvedPath,s.fileName=t.fileName;const c=$.sourceFileToPackageName.get(t.path);if(void 0!==c){const e=a.get(c),t=o?1:0;if(void 0!==e&&1===t||1===e)return 0;a.set(c,t)}o?(t.impliedNodeFormat!==s.impliedNodeFormat?ut=1:ee(t.libReferenceDirectives,s.libReferenceDirectives,rn)?t.hasNoDefaultLib!==s.hasNoDefaultLib?ut=1:ee(t.referencedFiles,s.referencedFiles,rn)?(an(s),ee(t.imports,s.imports,on)&&ee(t.moduleAugmentations,s.moduleAugmentations,on)?(12582912&t.flags)!=(12582912&s.flags)?ut=1:ee(t.typeReferenceDirectives,s.typeReferenceDirectives,rn)||(ut=1):ut=1):ut=1:ut=1,r.push(s)):Ne(t.path)&&(ut=1,r.push(s)),n.push(s)}if(2!==ut)return ut;for(const e of r){const t=$J(e),n=Rt(t,e);(ce??(ce=new Map)).set(e.path,n);const r=In(e),i=hp(t,n,(t=>$.getResolvedModule(e,t.text,tJ(e,t,r))),cp);i&&(ut=1);const o=e.typeReferenceDirectives,s=Pt(o,e);(de??(de=new Map)).set(e.path,s);const a=hp(o,s,(t=>$.getResolvedTypeReferenceDirective(e,cJ(t),dr(t,e))),mp);a&&(ut=1)}if(2!==ut)return ut;if(Zd(t,P))return 1;if($.resolvedLibReferences&&np($.resolvedLibReferences,((e,t)=>Rn(t).actual!==e.actual)))return 1;if(Ae.hasChangedAutomaticTypeDirectiveNames){if(Ae.hasChangedAutomaticTypeDirectiveNames())return 1}else if(ne=lq(P,Ae),!ee($.getAutomaticTypeDirectiveNames(),ne))return 1;Ue=$.getMissingFilePaths(),un.assert(n.length===$.getSourceFiles().length);for(const e of n)je.set(e.path,e);return $.getFilesByNameMap().forEach(((e,t)=>{e?e.path!==t?je.set(t,je.get(e.path)):$.isSourceFileFromExternalLibrary(e)&&ge.set(e.path,!0):je.set(t,e)})),j=n,fe=$.getFileIncludeReasons(),te=$.getFileProcessingDiagnostics(),ne=$.getAutomaticTypeDirectiveNames(),ie=$.getAutomaticTypeDirectiveResolutions(),Le=$.sourceFileToPackageName,Me=$.redirectTargetsMap,Qe=$.usesUriStyleNodeCoreModules,ae=$.resolvedModules,ue=$.resolvedTypeReferenceDirectiveNames,oe=$.resolvedLibReferences,pe=$.getCurrentPackagesMap(),2}(),null==(h=Hn)||h.pop(),2!==ut){if(L=[],M=[],B&&(Ge||(Ge=B.map(On)),T.length&&(null==Ge||Ge.forEach(((e,t)=>{if(!e)return;const n=e.commandLine.options.outFile;if(Ze){if(n||0===vC(e.commandLine.options))for(const n of e.commandLine.fileNames)dn(n,{kind:1,index:t})}else if(n)dn(HE(n,".d.ts"),{kind:2,index:t});else if(0===vC(e.commandLine.options)){const n=dt((()=>Kj(e.commandLine,!Ae.useCaseSensitiveFileNames())));for(const r of e.commandLine.fileNames)KP(r)||Eo(r,".json")||dn(Uj(r,e.commandLine,!Ae.useCaseSensitiveFileNames(),n),{kind:2,index:t})}})))),null==(g=Hn)||g.push(Hn.Phase.Program,"processRootFiles",{count:T.length}),u(T,((e,t)=>nn(e,!1,!1,{kind:0,index:t}))),null==(y=Hn)||y.pop(),ne??(ne=T.length?lq(P,Ae):a),ie=gq(),ne.length){null==(b=Hn)||b.push(Hn.Phase.Program,"processTypeReferences",{count:ne.length});const e=qo(P.configFilePath?Io(P.configFilePath):Se,_J),t=Pt(ne,e);for(let e=0;e{nn(Fn(e),!0,!1,{kind:6,index:t})}))}j=le(L,(function(e,t){return At(It(e),It(t))})).concat(M),L=void 0,M=void 0,z=void 0}if($&&Ae.onReleaseOldSourceFile){const e=$.getSourceFiles();for(const t of e){const e=Jt(t.resolvedPath);(ct||!e||e.impliedNodeFormat!==t.impliedNodeFormat||t.resolvedPath===t.path&&e.resolvedPath!==t.path)&&Ae.onReleaseOldSourceFile(t,$.getCompilerOptions(),!!Jt(t.path),e)}Ae.getParsedCommandLine||$.forEachResolvedProjectReference((e=>{kn(e.sourceFile.path)||Ae.onReleaseOldSourceFile(e.sourceFile,$.getCompilerOptions(),!1,void 0)}))}$&&Ae.onReleaseParsedCommandLine&&fJ($.getProjectReferences(),$.getResolvedProjectReferences(),((e,t,n)=>{const r=OJ((null==t?void 0:t.commandLine.projectReferences[n])||$.getProjectReferences()[n]);(null==We?void 0:We.has(Tt(r)))||Ae.onReleaseParsedCommandLine(r,e,$.getCompilerOptions())})),$=void 0,se=void 0,ce=void 0,de=void 0;const pt={getRootFileNames:()=>T,getSourceFile:Ut,getSourceFileByPath:Jt,getSourceFiles:()=>j,getMissingFilePaths:()=>Ue,getModuleResolutionCache:()=>Re,getFilesByNameMap:()=>je,getCompilerOptions:()=>P,getSyntacticDiagnostics:function(e,t){return Vt(e,Gt,t)},getOptionsDiagnostics:function(){return ka(H(ft().getGlobalDiagnostics(),function(){if(!P.configFile)return a;let e=ft().getDiagnostics(P.configFile.fileName);return En((t=>{e=H(e,ft().getDiagnostics(t.sourceFile.fileName))})),e}()))},getGlobalDiagnostics:function(){return T.length?ka(Mt().getGlobalDiagnostics().slice()):a},getSemanticDiagnostics:function(e,t,n){return Vt(e,((e,t)=>function(e,t,n){return H(NJ(Kt(e,t,n),P),Ht(e))}(e,t,n)),t)},getCachedSemanticDiagnostics:function(e){return null==X?void 0:X.get(e.path)},getSuggestionDiagnostics:function(e,t){return Yt((()=>Mt().getSuggestionDiagnostics(e,t)))},getDeclarationDiagnostics:function(e,t){return Vt(e,tn,t)},getBindAndCheckDiagnostics:function(e,t){return Kt(e,t,void 0)},getProgramDiagnostics:Ht,getTypeChecker:Mt,getClassifiableNames:function(){var e;if(!W){Mt(),W=new Set;for(const t of j)null==(e=t.classifiableNames)||e.forEach((e=>W.add(e)))}return W},getCommonSourceDirectory:Ft,emit:function(e,t,n,r,i,o,s){var a,c;null==(a=Hn)||a.push(Hn.Phase.Emit,"emit",{path:null==e?void 0:e.path},!0);const l=Yt((()=>function(e,t,n,r,i,o,s,a){if(!s){const i=PJ(e,t,n,r);if(i)return i}const c=Mt(),l=c.getEmitResolver(P.outFile?void 0:t,r,tU(i,s));er("beforeEmit");const u=c.runWithCancellationToken(r,(()=>nU(l,Ot(n),t,xj(P,o,i),i,!1,s,a)));return er("afterEmit"),tr("Emit","beforeEmit","afterEmit"),u}(pt,e,t,n,r,i,o,s)));return null==(c=Hn)||c.pop(),l},getCurrentDirectory:()=>Se,getNodeCount:()=>Mt().getNodeCount(),getIdentifierCount:()=>Mt().getIdentifierCount(),getSymbolCount:()=>Mt().getSymbolCount(),getTypeCount:()=>Mt().getTypeCount(),getInstantiationCount:()=>Mt().getInstantiationCount(),getRelationCacheSizes:()=>Mt().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>te,getAutomaticTypeDirectiveNames:()=>ne,getAutomaticTypeDirectiveResolutions:()=>ie,isSourceFileFromExternalLibrary:Lt,isSourceFileDefaultLibrary:function(e){if(!e.isDeclarationFile)return!1;if(e.hasNoDefaultLib)return!0;if(P.noLib)return!1;const t=Ae.useCaseSensitiveFileNames()?ht:mt;return P.lib?J(P.lib,(n=>{const r=oe.get(n);return!!r&&t(e.fileName,r.actual)})):t(e.fileName,be())},getModeForUsageLocation:sr,getEmitSyntaxForUsageLocation:function(e,t){return nJ(e,t,In(e))},getModeForResolutionAtIndex:ar,getSourceFileFromReference:function(e,t){return cn(wU(t.fileName,e.fileName),Ut)},getLibFileFromReference:function(e){var t;const n=AJ(e),r=n&&(null==(t=null==oe?void 0:oe.get(n))?void 0:t.actual);return void 0!==r?Ut(r):void 0},sourceFileToPackageName:Le,redirectTargetsMap:Me,usesUriStyleNodeCoreModules:Qe,resolvedModules:ae,resolvedTypeReferenceDirectiveNames:ue,resolvedLibReferences:oe,getResolvedModule:_t,getResolvedModuleFromModuleSpecifier:function(e,t){return t??(t=Ap(e)),un.assertIsDefined(t,"`moduleSpecifier` must have a `SourceFile` ancestor. Use `program.getResolvedModule` instead to provide the containing file and resolution mode."),_t(t,e.text,sr(t,e))},getResolvedTypeReferenceDirective:gt,getResolvedTypeReferenceDirectiveFromTypeReferenceDirective:function(e,t){return gt(t,e.fileName,dr(e,t))},forEachResolvedModule:yt,forEachResolvedTypeReferenceDirective:vt,getCurrentPackagesMap:()=>pe,typesPackageExists:function(e){return Ct().has(b$(e))},packageBundlesTypes:function(e){return!!Ct().get(e)},isEmittedFile:function(e){if(P.noEmit)return!1;const t=Tt(e);if(Jt(t))return!1;const n=P.outFile;if(n)return ir(t,n)||ir(t,UE(n)+".d.ts");if(P.declarationDir&&es(P.declarationDir,t,Se,!Ae.useCaseSensitiveFileNames()))return!0;if(P.outDir)return es(P.outDir,t,Se,!Ae.useCaseSensitiveFileNames());if(xo(t,kE)||KP(t)){const e=UE(t);return!!Jt(e+".ts")||!!Jt(e+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return N||a},getProjectReferences:function(){return B},getResolvedProjectReferences:Qt,getProjectReferenceRedirect:An,getResolvedProjectReferenceToRedirect:Cn,getResolvedProjectReferenceByPath:kn,forEachResolvedProjectReference:En,isSourceOfProjectReferenceRedirect:Sn,getRedirectReferenceForResolutionFromSourceOfProject:wt,getCompilerOptionsForFile:In,getDefaultResolutionModeForFile:cr,getEmitModuleFormatOfFile:lr,getImpliedNodeFormatForEmit:function(e){return TJ(e,In(e))},shouldTransformImportCall:ur,emitBuildInfo:function(e){var t,n;null==(t=Hn)||t.push(Hn.Phase.Emit,"emitBuildInfo",{},!0),er("beforeEmit");const r=nU(oU,Ot(e),void 0,Ej,!1,!0);return er("afterEmit"),tr("Emit","beforeEmit","afterEmit"),null==(n=Hn)||n.pop(),r},fileExists:it,readFile:at,directoryExists:ot,getSymlinkCache:or,realpath:null==(D=Ae.realpath)?void 0:D.bind(Ae),useCaseSensitiveFileNames:()=>Ae.useCaseSensitiveFileNames(),getCanonicalFileName:Nn,getFileIncludeReasons:()=>fe,structureIsReused:ut,writeFile:$t,getGlobalTypingsCacheLocation:Je(Ae,Ae.getGlobalTypingsCacheLocation)};return tt(),function(){P.strictPropertyInitialization&&!LC(P,"strictNullChecks")&&Gn(us.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks");P.exactOptionalPropertyTypes&&!LC(P,"strictNullChecks")&&Gn(us.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks");(P.isolatedModules||P.verbatimModuleSyntax)&&P.outFile&&Gn(us.Option_0_cannot_be_specified_with_option_1,"outFile",P.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules");P.isolatedDeclarations&&(PC(P)&&Gn(us.Option_0_cannot_be_specified_with_option_1,"allowJs","isolatedDeclarations"),IC(P)||Gn(us.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"isolatedDeclarations","declaration","composite"));P.inlineSourceMap&&(P.sourceMap&&Gn(us.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),P.mapRoot&&Gn(us.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"));P.composite&&(!1===P.declaration&&Gn(us.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===P.incremental&&Gn(us.Composite_projects_may_not_disable_incremental_compilation,"declaration"));const e=P.outFile;P.tsBuildInfoFile||!P.incremental||e||P.configFilePath||Ee.add(Xb(us.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));if(function(){qn("5.0","5.5",(function(e,t,n,r,...i){if(n){const o=eC(void 0,us.Use_0_instead,n);Yn(!t,e,void 0,eC(o,r,...i))}else Yn(!t,e,void 0,r,...i)}),(e=>{0===P.target&&e("target","ES3"),P.noImplicitUseStrict&&e("noImplicitUseStrict"),P.keyofStringsOnly&&e("keyofStringsOnly"),P.suppressExcessPropertyErrors&&e("suppressExcessPropertyErrors"),P.suppressImplicitAnyIndexErrors&&e("suppressImplicitAnyIndexErrors"),P.noStrictGenericChecks&&e("noStrictGenericChecks"),P.charset&&e("charset"),P.out&&e("out",void 0,"outFile"),P.importsNotUsedAsValues&&e("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),P.preserveValueImports&&e("preserveValueImports",void 0,"verbatimModuleSyntax")}))}(),function(){const e=P.suppressOutputPathCheck?void 0:qj(P);fJ(B,Ge,((t,n,r)=>{const i=(n?n.commandLine.projectReferences:B)[r],o=n&&n.sourceFile;if(function(e,t,n){function r(e,r,i,o,...s){zn(t,n,o,...s)}qn("5.0","5.5",r,(t=>{e.prepend&&t("prepend")}))}(i,o,r),!t)return void zn(o,r,us.File_0_not_found,i.path);const s=t.commandLine.options;if(!s.composite||s.noEmit){(n?n.commandLine.fileNames:T).length&&(s.composite||zn(o,r,us.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),s.noEmit&&zn(o,r,us.Referenced_project_0_may_not_disable_emit,i.path))}!n&&e&&e===qj(s)&&(zn(o,r,us.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,e,i.path),Ie.set(Tt(e),!0))}))}(),P.composite){const e=new Set(T.map(Tt));for(const t of j)YA(t,pt)&&!e.has(t.path)&&Ln(t,us.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[t.fileName,P.configFilePath||""])}if(P.paths)for(const e in P.paths)if(De(P.paths,e))if(YC(e)||jn(!0,e,us.Pattern_0_can_have_at_most_one_Asterisk_character,e),Ye(P.paths[e])){const t=P.paths[e].length;0===t&&jn(!1,e,us.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,e);for(let n=0;nUP(e)&&!e.isDeclarationFile));if(P.isolatedModules||P.verbatimModuleSyntax)0===P.module&&t<2&&P.isolatedModules&&Gn(us.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===P.preserveConstEnums&&Gn(us.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,P.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(n&&t<2&&0===P.module){const e=Kf(n,"boolean"==typeof n.externalModuleIndicator?n:n.externalModuleIndicator);Ee.add(Yb(n,e.start,e.length,us.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(e&&!P.emitDeclarationOnly)if(P.module&&2!==P.module&&4!==P.module)Gn(us.Only_amd_and_system_modules_are_supported_alongside_0,"outFile","module");else if(void 0===P.module&&n){const e=Kf(n,"boolean"==typeof n.externalModuleIndicator?n:n.externalModuleIndicator);Ee.add(Yb(n,e.start,e.length,us.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,"outFile"))}wC(P)&&(1===bC(P)?Gn(us.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):OC(P)||Gn(us.Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd,"resolveJsonModule","module"));if(P.outDir||P.rootDir||P.sourceRoot||P.mapRoot||IC(P)&&P.declarationDir){const e=Ft();P.outDir&&""===e&&j.some((e=>wo(e.fileName)>1))&&Gn(us.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}P.checkJs&&!PC(P)&&Gn(us.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs");P.emitDeclarationOnly&&(IC(P)||Gn(us.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"));P.emitDecoratorMetadata&&!P.experimentalDecorators&&Gn(us.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");P.jsxFactory?(P.reactNamespace&&Gn(us.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),4!==P.jsx&&5!==P.jsx||Gn(us.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",uN.get(""+P.jsx)),MP(P.jsxFactory,t)||Wn("jsxFactory",us.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,P.jsxFactory)):P.reactNamespace&&!ma(P.reactNamespace,t)&&Wn("reactNamespace",us.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,P.reactNamespace);P.jsxFragmentFactory&&(P.jsxFactory||Gn(us.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),4!==P.jsx&&5!==P.jsx||Gn(us.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",uN.get(""+P.jsx)),MP(P.jsxFragmentFactory,t)||Wn("jsxFragmentFactory",us.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,P.jsxFragmentFactory));P.reactNamespace&&(4!==P.jsx&&5!==P.jsx||Gn(us.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",uN.get(""+P.jsx)));P.jsxImportSource&&2===P.jsx&&Gn(us.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",uN.get(""+P.jsx));const r=vC(P);P.verbatimModuleSyntax&&(2!==r&&3!==r&&4!==r||Gn(us.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"));P.allowImportingTsExtensions&&!(P.noEmit||P.emitDeclarationOnly||P.rewriteRelativeImportExtensions)&&Wn("allowImportingTsExtensions",us.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const i=bC(P);P.resolvePackageJsonExports&&!QC(i)&&Gn(us.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports");P.resolvePackageJsonImports&&!QC(i)&&Gn(us.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports");P.customConditions&&!QC(i)&&Gn(us.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions");100!==i||BC(r)||200===r||Wn("moduleResolution",us.Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later,"bundler");if(fi[r]&&100<=r&&r<=199&&!(3<=i&&i<=99)){const e=fi[r];Wn("moduleResolution",us.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1,e,e)}else if(ci[i]&&3<=i&&i<=99&&!(100<=r&&r<=199)){const e=ci[i];Wn("module",us.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1,e,e)}if(!P.noEmit&&!P.suppressOutputPathCheck){const e=Ot(),t=new Set;Oj(e,(e=>{P.emitDeclarationOnly||o(e.jsFilePath,t),o(e.declarationFilePath,t)}))}function o(e,t){if(e){const n=Tt(e);if(je.has(n)){let t;P.configFilePath||(t=eC(void 0,us.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),t=eC(t,us.Cannot_write_file_0_because_it_would_overwrite_input_file,e),rr(e,Zb(t))}const r=Ae.useCaseSensitiveFileNames()?n:lt(n);t.has(r)?rr(e,Xb(us.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,e)):t.add(r)}}}(),er("afterProgram"),tr("Program","beforeProgram","afterProgram"),null==(w=Hn)||w.pop(),pt;function ft(){return xe&&(null==te||te.forEach((e=>{switch(e.kind){case 1:return Ee.add($n(e.file&&Jt(e.file),e.fileProcessingReason,e.diagnostic,e.args||a));case 0:return Ee.add(function({reason:e}){const{file:t,pos:n,end:r}=bJ(pt,e),i=t.libReferenceDirectives[e.index],o=gJ(i),s=Nt(qt(zt(o,"lib."),".d.ts"),pN,st);return Yb(t,un.checkDefined(n),un.checkDefined(r)-n,s?us.Cannot_find_lib_definition_for_0_Did_you_mean_1:us.Cannot_find_lib_definition_for_0,o,s)}(e));case 2:return e.diagnostics.forEach((e=>Ee.add(e)));default:un.assertNever(e)}})),xe.forEach((({file:e,diagnostic:t,args:n})=>Ee.add($n(e,void 0,t,n)))),xe=void 0,Y=void 0,K=void 0),Ee}function _t(e,t,n){var r;return null==(r=null==ae?void 0:ae.get(e.path))?void 0:r.get(t,n)}function gt(e,t,n){var r;return null==(r=null==ue?void 0:ue.get(e.path))?void 0:r.get(t,n)}function yt(e,t){bt(ae,e,t)}function vt(e,t){bt(ue,e,t)}function bt(e,t,n){var r;n?null==(r=null==e?void 0:e.get(n.path))||r.forEach(((e,r,i)=>t(e,r,i,n.path))):null==e||e.forEach(((e,n)=>e.forEach(((e,r,i)=>t(e,r,i,n)))))}function Ct(){return pe||(pe=new Map,yt((({resolvedModule:e})=>{(null==e?void 0:e.packageId)&&pe.set(e.packageId.name,".d.ts"===e.extension||!!pe.get(e.packageId.name))})),pe)}function Et(e){var t;(null==(t=e.resolutionDiagnostics)?void 0:t.length)&&(te??(te=[])).push({kind:2,diagnostics:e.resolutionDiagnostics})}function xt(e,t,n,r){if(Ae.resolveModuleNameLiterals||!Ae.resolveModuleNames)return Et(n);if(!Re||Sa(t))return;const i=Io(Lo(e.originalFileName,Se)),o=Dt(e),s=Re.getFromNonRelativeNameCache(t,r,i,o);s&&Et(s)}function St(e,t,n){var r,i;const o=Lo(t.originalFileName,Se),s=Dt(t);null==(r=Hn)||r.push(Hn.Phase.Program,"resolveModuleNamesWorker",{containingFileName:o}),er("beforeResolveModule");const a=Pe(e,o,s,P,t,n);return er("afterResolveModule"),tr("ResolveModule","beforeResolveModule","afterResolveModule"),null==(i=Hn)||i.pop(),a}function kt(e,t,n){var r,i;const o=Xe(t)?void 0:t,s=Xe(t)?t:Lo(t.originalFileName,Se),a=o&&Dt(o);null==(r=Hn)||r.push(Hn.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:s}),er("beforeResolveTypeReference");const c=Be(e,s,a,P,o,n);return er("afterResolveTypeReference"),tr("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),null==(i=Hn)||i.pop(),c}function Dt(e){const t=Cn(e.originalFileName);if(t||!KP(e.originalFileName))return t;const n=wt(e.path);if(n)return n;if(!Ae.realpath||!P.preserveSymlinks||!e.originalFileName.includes(Qq))return;const r=Tt(Ae.realpath(e.originalFileName));return r===e.path?void 0:wt(r)}function wt(e){const t=xn(e);return Xe(t)?Cn(t):t?En((t=>{const n=t.commandLine.options.outFile;if(n)return Tt(n)===e?t:void 0})):void 0}function It(e){if(es(Ce,e.fileName,!1)){const t=To(e.fileName);if("lib.d.ts"===t||"lib.es6.d.ts"===t)return 0;const n=qt(zt(t,"lib."),".d.ts"),r=pN.indexOf(n);if(-1!==r)return r+1}return pN.length+2}function Tt(e){return Uo(e,Se,Nn)}function Ft(){if(void 0===V){const e=S(j,(e=>YA(e,pt)));V=Yj(P,(()=>q(e,(e=>e.isDeclarationFile?void 0:e.fileName))),Se,Nn,(t=>function(e,t){let n=!0;const r=Ae.getCanonicalFileName(Lo(t,Se));for(const i of e)if(!i.isDeclarationFile){0!==Ae.getCanonicalFileName(Lo(i.fileName,Se)).indexOf(r)&&(Ln(i,us.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[i.fileName,t]),n=!1)}return n}(e,t)))}return V}function Rt(e,t){return Bt({entries:e,containingFile:t,containingSourceFile:t,redirectedReference:Dt(t),nameAndModeGetter:sJ,resolutionWorker:St,getResolutionFromOldProgram:(e,n)=>null==$?void 0:$.getResolvedModule(t,e,n),getResolved:lp,canReuseResolutionsInFile:()=>t===(null==$?void 0:$.getSourceFile(t.fileName))&&!Ne(t.path),resolveToOwnAmbientModule:!0})}function Pt(e,t){const n=Xe(t)?void 0:t;return Bt({entries:e,containingFile:t,containingSourceFile:n,redirectedReference:n&&Dt(n),nameAndModeGetter:lJ,resolutionWorker:kt,getResolutionFromOldProgram:(e,t)=>{var r;return n?null==$?void 0:$.getResolvedTypeReferenceDirective(n,e,t):null==(r=null==$?void 0:$.getAutomaticTypeDirectiveResolutions())?void 0:r.get(e,t)},getResolved:up,canReuseResolutionsInFile:()=>n?n===(null==$?void 0:$.getSourceFile(n.fileName))&&!Ne(n.path):!Ne(Tt(t))})}function Bt({entries:e,containingFile:t,containingSourceFile:n,redirectedReference:r,nameAndModeGetter:i,resolutionWorker:o,getResolutionFromOldProgram:s,getResolved:c,canReuseResolutionsInFile:l,resolveToOwnAmbientModule:u}){if(!e.length)return a;if(!(0!==ut||u&&n.ambientModuleNames.length))return o(e,t,void 0);let d,p,f,_;const m=l();for(let a=0;af[p[t]]=e)),f):h}function Ot(e){return{getCanonicalFileName:Nn,getCommonSourceDirectory:pt.getCommonSourceDirectory,getCompilerOptions:pt.getCompilerOptions,getCurrentDirectory:()=>Se,getSourceFile:pt.getSourceFile,getSourceFileByPath:pt.getSourceFileByPath,getSourceFiles:pt.getSourceFiles,isSourceFileFromExternalLibrary:Lt,getResolvedProjectReferenceToRedirect:Cn,getProjectReferenceRedirect:An,isSourceOfProjectReferenceRedirect:Sn,getSymlinkCache:or,writeFile:e||$t,isEmitBlocked:jt,shouldTransformImportCall:ur,getEmitModuleFormatOfFile:lr,getDefaultResolutionModeForFile:cr,getModeForResolutionAtIndex:ar,readFile:e=>Ae.readFile(e),fileExists:e=>{const t=Tt(e);return!!Jt(t)||!Ue.has(t)&&Ae.fileExists(e)},realpath:Je(Ae,Ae.realpath),useCaseSensitiveFileNames:()=>Ae.useCaseSensitiveFileNames(),getBuildInfo:()=>{var e;return null==(e=pt.getBuildInfo)?void 0:e.call(pt)},getSourceFileFromReference:(e,t)=>pt.getSourceFileFromReference(e,t),redirectTargetsMap:Me,getFileIncludeReasons:pt.getFileIncludeReasons,createHash:Je(Ae,Ae.createHash),getModuleResolutionCache:()=>pt.getModuleResolutionCache(),trace:Je(Ae,Ae.trace),getGlobalTypingsCacheLocation:pt.getGlobalTypingsCacheLocation}}function $t(e,t,n,r,i,o){Ae.writeFile(e,t,n,r,i,o)}function Qt(){return Ge}function Lt(e){return!!ge.get(e.path)}function Mt(){return G||(G=GQ(pt))}function jt(e){return Ie.has(Tt(e))}function Ut(e){return Jt(Tt(e))}function Jt(e){return je.get(e)||void 0}function Vt(e,t,n){return ka(e?t(e,n):R(pt.getSourceFiles(),(e=>(n&&n.throwIfCancellationRequested(),t(e,n)))))}function Ht(e){var t;if(ux(e,P,pt))return a;const n=ft().getDiagnostics(e.fileName);return(null==(t=e.commentDirectives)?void 0:t.length)?Zt(e,e.commentDirectives,n).diagnostics:n}function Gt(e){return Im(e)?(e.additionalSyntacticDiagnostics||(e.additionalSyntacticDiagnostics=function(e){return Yt((()=>{const t=[];return n(e,e),qP(e,n,r),t;function n(e,n){switch(n.kind){case 169:case 172:case 174:if(n.questionToken===e)return t.push(s(e,us.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 173:case 176:case 177:case 178:case 218:case 262:case 219:case 260:if(n.type===e)return t.push(s(e,us.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(e.kind){case 273:if(e.isTypeOnly)return t.push(s(n,us._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 278:if(e.isTypeOnly)return t.push(s(e,us._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 276:case 281:if(e.isTypeOnly)return t.push(s(e,us._0_declarations_can_only_be_used_in_TypeScript_files,_T(e)?"import...type":"export...type")),"skip";break;case 271:return t.push(s(e,us.import_can_only_be_used_in_TypeScript_files)),"skip";case 277:if(e.isExportEquals)return t.push(s(e,us.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 298:if(119===e.token)return t.push(s(e,us.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 264:const r=Is(120);return un.assertIsDefined(r),t.push(s(e,us._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 267:const i=32&e.flags?Is(145):Is(144);return un.assertIsDefined(i),t.push(s(e,us._0_declarations_can_only_be_used_in_TypeScript_files,i)),"skip";case 265:return t.push(s(e,us.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 176:case 174:case 262:return e.body?void 0:(t.push(s(e,us.Signature_declarations_can_only_be_used_in_TypeScript_files)),"skip");case 266:const o=un.checkDefined(Is(94));return t.push(s(e,us._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 235:return t.push(s(e,us.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 234:return t.push(s(e.type,us.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 238:return t.push(s(e.type,us.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 216:un.fail()}}function r(e,n){if(IR(n)){const e=A(n.modifiers,cw);e&&t.push(s(e,us.Decorators_are_not_valid_here))}else if(lP(n)&&n.modifiers){const e=v(n.modifiers,cw);if(e>=0)if(aw(n)&&!P.experimentalDecorators)t.push(s(n.modifiers[e],us.Decorators_are_not_valid_here));else if(zI(n)){const r=v(n.modifiers,VD);if(r>=0){const i=v(n.modifiers,HD);if(e>r&&i>=0&&e=0&&e=0&&t.push(sx(s(n.modifiers[i],us.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),s(n.modifiers[e],us.Decorator_used_before_export_here)))}}}}switch(n.kind){case 263:case 231:case 174:case 176:case 177:case 178:case 218:case 262:case 219:if(e===n.typeParameters)return t.push(o(e,us.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 243:if(e===n.modifiers)return i(n.modifiers,243===n.kind),"skip";break;case 172:if(e===n.modifiers){for(const n of e)Zl(n)&&126!==n.kind&&129!==n.kind&&t.push(s(n,us.The_0_modifier_can_only_be_used_in_TypeScript_files,Is(n.kind)));return"skip"}break;case 169:if(e===n.modifiers&&J(e,Zl))return t.push(o(e,us.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 213:case 214:case 233:case 285:case 286:case 215:if(e===n.typeArguments)return t.push(o(e,us.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}}function i(e,n){for(const r of e)switch(r.kind){case 87:if(n)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 164:case 103:case 147:t.push(s(r,us.The_0_modifier_can_only_be_used_in_TypeScript_files,Is(r.kind)))}}function o(t,n,...r){const i=t.pos;return Yb(e,i,t.end-i,n,...r)}function s(t,n,...r){return Lf(e,t,n,...r)}}))}(e)),H(e.additionalSyntacticDiagnostics,e.parseDiagnostics)):e.parseDiagnostics}function Yt(e){try{return e()}catch(e){throw e instanceof xr&&(G=void 0),e}}function Kt(e,t,n){if(n)return Xt(e,t,n);let r=null==X?void 0:X.get(e.path);return r||(X??(X=new Map)).set(e.path,r=Xt(e,t)),r}function Xt(e,t,n){return Yt((()=>{if(ux(e,P,pt))return a;const r=Mt();un.assert(!!e.bindDiagnostics);const i=1===e.scriptKind||2===e.scriptKind,o=vp(e,P.checkJs),s=i&&nx(e,P);let c=e.bindDiagnostics,l=r.getDiagnostics(e,t,n);return o&&(c=S(c,(e=>kJ.has(e.code))),l=S(l,(e=>kJ.has(e.code)))),function(e,t,n,...r){var i;const o=F(r);if(!t||!(null==(i=e.commentDirectives)?void 0:i.length))return o;const{diagnostics:s,directives:a}=Zt(e,e.commentDirectives,o);if(n)return s;for(const t of a.getUnusedExpectations())s.push(Gf(e,t.range,us.Unused_ts_expect_error_directive));return s}(e,!o,!!n,c,l,s?e.jsDocDiagnostics:void 0)}))}function Zt(e,t,n){const r=Qp(e,t),i=n.filter((e=>-1===function(e,t){const{file:n,start:r}=e;if(!n)return-1;const i=qs(n);let o=$s(i,r).line-1;for(;o>=0;){if(t.markUsed(o))return o;const e=n.text.slice(i[o],i[o+1]).trim();if(""!==e&&!/^\s*\/\/.*$/.test(e))return-1;o--}return-1}(e,r)));return{diagnostics:i,directives:r}}function en(e,t){let n=null==Z?void 0:Z.get(e.path);return n||(Z??(Z=new Map)).set(e.path,n=function(e,t){return Yt((()=>{const n=Mt().getEmitResolver(e,t);return gj(Ot(nt),n,e)||a}))}(e,t)),n}function tn(e,t){return e.isDeclarationFile?a:en(e,t)}function nn(e,t,n,r){ln(Mo(e),t,n,void 0,r)}function rn(e,t){return e.fileName===t.fileName}function on(e,t){return 80===e.kind?80===t.kind&&e.escapedText===t.escapedText:11===t.kind&&e.text===t.text}function sn(e,t){const n=XS.createStringLiteral(e),r=XS.createImportDeclaration(void 0,void 0,n);return ak(r,2),wx(n,r),wx(r,t),n.flags&=-17,r.flags&=-17,n}function an(e){if(e.imports)return;const t=Im(e),n=UP(e);let r,i,o;if(t||!e.isDeclarationFile&&(EC(P)||UP(e))){P.importHelpers&&(r=[sn(Ud,e)]);const t=zC(WC(P,e),P);t&&(r||(r=[])).push(sn(t,e))}for(const t of e.statements)s(t,!1);return(4194304&e.flags||t)&&wS(e,!0,!0,((e,t)=>{Ix(e,!1),r=re(r,t)})),e.imports=r||a,e.moduleAugmentations=i||a,void(e.ambientModuleNames=o||a);function s(t,a){if(wf(t)){const n=Ch(t);!(n&&kD(n)&&n.text)||a&&Sa(n.text)||(Ix(t,!1),r=re(r,n),Qe||0!==me||e.isDeclarationFile||(Wt(n.text,"node:")&&!kS.has(n.text)?Qe=!0:void 0===Qe&&SS.has(n.text)&&(Qe=!1)))}else if(ZI(t)&&cf(t)&&(a||wy(t,128)||e.isDeclarationFile)){t.name.parent=t;const r=jg(t.name);if(n||a&&!Sa(r))(i||(i=[])).push(t.name);else if(!a){e.isDeclarationFile&&(o||(o=[])).push(r);const n=t.body;if(n)for(const e of n.statements)s(e,!0)}}}}function cn(e,t,n,r){if(Co(e)){const i=Ae.getCanonicalFileName(e);if(!P.allowNonTsExtensions&&!u(F(we),(e=>Eo(i,e))))return void(n&&(NE(i)?n(us.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,e):n(us.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,e,"'"+F(ke).join("', '")+"'")));const o=t(e);if(n)if(o)yJ(r)&&i===Ae.getCanonicalFileName(Jt(r.file).fileName)&&n(us.A_file_cannot_have_a_reference_to_itself);else{const t=An(e);t?n(us.Output_file_0_has_not_been_built_from_source_file_1,t,e):n(us.File_0_not_found,e)}return o}{const r=P.allowNonTsExtensions&&t(e);if(r)return r;if(n&&P.allowNonTsExtensions)return void n(us.File_0_not_found,e);const i=u(ke[0],(n=>t(e+n)));return n&&!i&&n(us.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,e,"'"+F(ke).join("', '")+"'"),i}}function ln(e,t,n,r,i){cn(e,(e=>fn(e,t,n,i,r)),((e,...t)=>Qn(void 0,i,e,t)),i)}function dn(e,t){return ln(e,!1,!1,void 0,t)}function pn(e,t,n){!yJ(n)&&J(fe.get(t.path),yJ)?Qn(t,n,us.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[t.fileName,e]):Qn(t,n,us.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[e,t.fileName])}function fn(e,t,n,r,i){var o,s;null==(o=Hn)||o.push(Hn.Phase.Program,"findSourceFile",{fileName:e,isDefaultLib:t||void 0,fileIncludeKind:Sr[r.kind]});const a=function(e,t,n,r,i){var o;const s=Tt(e);if(Ze){let o=xn(s);if(!o&&Ae.realpath&&P.preserveSymlinks&&KP(e)&&e.includes(Qq)){const t=Tt(Ae.realpath(e));t!==s&&(o=xn(t))}if(o){const a=Xe(o)?fn(o,t,n,r,i):void 0;return a&&hn(a,s,e,void 0),a}}const a=e;if(je.has(s)){const n=je.get(s),i=mn(n||void 0,r,!0);if(n&&i&&!1!==P.forceConsistentCasingInFileNames){const t=n.fileName;Tt(t)!==Tt(e)&&(e=An(e)||e);jo(t,Se)!==jo(e,Se)&&pn(e,n,r)}return n&&ge.get(n.path)&&0===me?(ge.set(n.path,!1),P.noResolve||(Dn(n,t),wn(n)),P.noLib||Pn(n),he.set(n.path,!1),Bn(n)):n&&he.get(n.path)&&me<_e&&(he.set(n.path,!1),Bn(n)),n||void 0}let c;if(!Ze){const t=vn(e);if(t){if(t.commandLine.options.outFile)return;const n=bn(t,e);e=n,c=Tt(n)}}const l=_n(e,Re,Ae,P),u=Ae.getSourceFile(e,l,(t=>Qn(void 0,r,us.Cannot_read_file_0_Colon_1,[e,t])),ct);if(i){const t=_p(i),n=$e.get(t);if(n){const t=function(e,t,n,r,i,o,s){var a;const c=dP.createRedirectedSourceFile({redirectTarget:e,unredirected:t});return c.fileName=n,c.path=r,c.resolvedPath=i,c.originalFileName=o,c.packageJsonLocations=(null==(a=s.packageJsonLocations)?void 0:a.length)?s.packageJsonLocations:void 0,c.packageJsonScope=s.packageJsonScope,ge.set(r,me>0),c}(n,u,e,s,Tt(e),a,l);return Me.add(n.path,e),hn(t,s,e,c),mn(t,r,!1),Le.set(s,fp(i)),M.push(t),t}u&&($e.set(t,u),Le.set(s,fp(i)))}if(hn(u,s,e,c),u){if(ge.set(s,me>0),u.fileName=e,u.path=s,u.resolvedPath=Tt(e),u.originalFileName=a,u.packageJsonLocations=(null==(o=l.packageJsonLocations)?void 0:o.length)?l.packageJsonLocations:void 0,u.packageJsonScope=l.packageJsonScope,mn(u,r,!1),Ae.useCaseSensitiveFileNames()){const t=lt(s),n=He.get(t);n?pn(e,n,r):He.set(t,u)}ve=ve||u.hasNoDefaultLib&&!n,P.noResolve||(Dn(u,t),wn(u)),P.noLib||Pn(u),Bn(u),t?L.push(u):M.push(u),(z??(z=new Set)).add(u.path)}return u}(e,t,n,r,i);return null==(s=Hn)||s.pop(),a}function _n(e,t,n,r){const i=SJ(Lo(e,Se),null==t?void 0:t.getPackageJsonInfoCache(),n,r),o=yC(r),s=_C(r);return"object"==typeof i?{...i,languageVersion:o,setExternalModuleIndicator:s,jsDocParsingMode:n.jsDocParsingMode}:{languageVersion:o,impliedNodeFormat:i,setExternalModuleIndicator:s,jsDocParsingMode:n.jsDocParsingMode}}function mn(e,t,n){return!(!e||n&&yJ(t)&&(null==z?void 0:z.has(t.file)))&&(fe.add(e.path,t),!0)}function hn(e,t,n,r){r?(gn(n,r,e),gn(n,t,e||!1)):gn(n,t,e)}function gn(e,t,n){je.set(t,n),void 0!==n?Ue.delete(t):Ue.set(t,e)}function An(e){const t=vn(e);return t&&bn(t,e)}function vn(e){if(Ge&&Ge.length&&!KP(e)&&!Eo(e,".json"))return Cn(e)}function bn(e,t){const n=e.commandLine.options.outFile;return n?HE(n,".d.ts"):Uj(t,e.commandLine,!Ae.useCaseSensitiveFileNames())}function Cn(e){void 0===ze&&(ze=new Map,En((e=>{Tt(P.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach((t=>ze.set(Tt(t),e.sourceFile.path)))})));const t=ze.get(Tt(e));return t&&kn(t)}function En(e){return pJ(Ge,e)}function xn(e){if(KP(e))return void 0===Ke&&(Ke=new Map,En((e=>{const t=e.commandLine.options.outFile;if(t){const e=HE(t,".d.ts");Ke.set(Tt(e),!0)}else{const t=dt((()=>Kj(e.commandLine,!Ae.useCaseSensitiveFileNames())));u(e.commandLine.fileNames,(n=>{if(!KP(n)&&!Eo(n,".json")){const r=Uj(n,e.commandLine,!Ae.useCaseSensitiveFileNames(),t);Ke.set(Tt(r),n)}}))}}))),Ke.get(e)}function Sn(e){return Ze&&!!Cn(e)}function kn(e){if(We)return We.get(e)||void 0}function Dn(e,t){u(e.referencedFiles,((n,r)=>{ln(wU(n.fileName,e.fileName),t,!1,void 0,{kind:4,file:e.path,index:r})}))}function wn(e){const t=e.typeReferenceDirectives;if(!t.length)return;const n=(null==de?void 0:de.get(e.path))||Pt(t,e),r=gq();(ue??(ue=new Map)).set(e.path,r);for(let i=0;i{const r=AJ(t);r?nn(Fn(r),!0,!0,{kind:7,file:e.path,index:n}):(te||(te=[])).push({kind:0,reason:{kind:7,file:e.path,index:n}})}))}function Nn(e){return Ae.getCanonicalFileName(e)}function Bn(e){if(an(e),e.imports.length||e.moduleAugmentations.length){const t=$J(e),n=(null==ce?void 0:ce.get(e.path))||Rt(t,e);un.assert(n.length===t.length);const r=In(e),i=gq();(ae??(ae=new Map)).set(e.path,i);for(let o=0;o_e,_=p&&!qJ(r,s,e)&&!r.noResolve&&o{l?void 0===i?n(r,i,o,us.Option_0_has_been_removed_Please_remove_it_from_your_configuration,r):n(r,i,o,us.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,r,i):void 0===i?n(r,i,o,us.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,r,t,e):n(r,i,o,us.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,r,i,t,e)}))}function $n(e,t,n,r){let i;const o=e&&fe.get(e.path);let s,c,l,u,d,p=yJ(t)?t:void 0,f=e&&(null==Y?void 0:Y.get(e.path));f?(f.fileIncludeReasonDetails?(i=new Set(o),null==o||o.forEach(g)):null==o||o.forEach(h),u=f.redirectInfo):(null==o||o.forEach(h),u=e&&dH(e,In(e))),t&&h(t);const _=(null==i?void 0:i.size)!==(null==o?void 0:o.length);p&&1===(null==i?void 0:i.size)&&(i=void 0),i&&f&&(f.details&&!_?d=eC(f.details,n,...r||a):f.fileIncludeReasonDetails&&(_?s=A()?re(f.fileIncludeReasonDetails.next.slice(0,o.length),s[0]):[...f.fileIncludeReasonDetails.next,s[0]]:A()?s=f.fileIncludeReasonDetails.next.slice(0,o.length):l=f.fileIncludeReasonDetails)),d||(l||(l=i&&eC(s,us.The_file_is_in_the_program_because_Colon)),d=eC(u?l?[l,...u]:u:l,n,...r||a)),e&&(f?(!f.fileIncludeReasonDetails||!_&&l)&&(f.fileIncludeReasonDetails=l):(Y??(Y=new Map)).set(e.path,f={fileIncludeReasonDetails:l,redirectInfo:u}),f.details||_||(f.details=d.next));const m=p&&bJ(pt,p);return m&&vJ(m)?Jf(m.file,m.pos,m.end-m.pos,d,c):Zb(d,c);function h(e){(null==i?void 0:i.has(e))||((i??(i=new Set)).add(e),(s??(s=[])).push(_H(pt,e)),g(e))}function g(e){!p&&yJ(e)?p=e:p!==e&&(c=re(c,function(e){let t=null==K?void 0:K.get(e);void 0===t&&(K??(K=new Map)).set(e,t=function(e){if(yJ(e)){const t=bJ(pt,e);let n;switch(e.kind){case 3:n=us.File_is_included_via_import_here;break;case 4:n=us.File_is_included_via_reference_here;break;case 5:n=us.File_is_included_via_type_library_reference_here;break;case 7:n=us.File_is_included_via_library_reference_here;break;default:un.assertNever(e)}return vJ(t)?Yb(t.file,t.pos,t.end-t.pos,n):void 0}if(!P.configFile)return;let t,n;switch(e.kind){case 0:if(!P.configFile.configFileSpecs)return;const r=Lo(T[e.index],Se),i=pH(pt,r);if(i){t=H_(P.configFile,"files",i),n=us.File_is_matched_by_files_list_specified_here;break}const o=fH(pt,r);if(!o||!Xe(o))return;t=H_(P.configFile,"include",o),n=us.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const s=un.checkDefined(null==Ge?void 0:Ge[e.index]),a=fJ(B,Ge,((e,t,n)=>e===s?{sourceFile:(null==t?void 0:t.sourceFile)||P.configFile,index:n}:void 0));if(!a)return;const{sourceFile:c,index:l}=a,u=G_(c,"references",(e=>Gw(e.initializer)?e.initializer:void 0));return u&&u.elements.length>l?Lf(c,u.elements[l],2===e.kind?us.File_is_output_from_referenced_project_specified_here:us.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!P.types)return;t=Vn("types",e.typeReference),n=us.File_is_entry_point_of_type_library_specified_here;break;case 6:if(void 0!==e.index){t=Vn("lib",P.lib[e.index]),n=us.File_is_library_specified_here;break}const d=MC(yC(P));t=d?function(e,t){return Un(e,(e=>kD(e.initializer)&&e.initializer.text===t?e.initializer:void 0))}("target",d):void 0,n=us.File_is_default_library_for_target_specified_here;break;default:un.assertNever(e)}return t&&Lf(P.configFile,t,n)}(e)??!1);return t||void 0}(e)))}function A(){var e;return(null==(e=f.fileIncludeReasonDetails.next)?void 0:e.length)!==(null==o?void 0:o.length)}}function Qn(e,t,n,r){(te||(te=[])).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:n,args:r})}function Ln(e,t,n){xe.push({file:e,diagnostic:t,args:n})}function Mn(e,t,n,...r){let i=!0;Jn((o=>{Ww(o.initializer)&&U_(o.initializer,e,(e=>{const o=e.initializer;Gw(o)&&o.elements.length>t&&(Ee.add(Lf(P.configFile,o.elements[t],n,...r)),i=!1)}))})),i&&Kn(n,...r)}function jn(e,t,n,...r){let i=!0;Jn((o=>{Ww(o.initializer)&&nr(o.initializer,e,t,void 0,n,...r)&&(i=!1)})),i&&Kn(n,...r)}function Un(e,t){return U_(Xn(),e,t)}function Jn(e){return Un("paths",e)}function Vn(e,t){const n=Xn();return n&&J_(n,e,t)}function Gn(e,t,n,r){Yn(!0,t,n,e,t,n,r)}function Wn(e,t,...n){Yn(!1,e,void 0,t,...n)}function zn(e,t,n,...r){const i=G_(e||P.configFile,"references",(e=>Gw(e.initializer)?e.initializer:void 0));i&&i.elements.length>t?Ee.add(Lf(e||P.configFile,i.elements[t],n,...r)):Ee.add(Xb(n,...r))}function Yn(e,t,n,r,...i){const o=Xn();(!o||!nr(o,e,t,n,r,...i))&&Kn(r,...i)}function Kn(e,...t){const n=Zn();n?"messageText"in e?Ee.add(Mf(P.configFile,n.name,e)):Ee.add(Lf(P.configFile,n.name,e,...t)):"messageText"in e?Ee.add(Zb(e)):Ee.add(Xb(e,...t))}function Xn(){if(void 0===Te){const e=Zn();Te=e&&et(e.initializer,Ww)||!1}return Te||void 0}function Zn(){return void 0===Fe&&(Fe=U_(V_(P.configFile),"compilerOptions",st)||!1),Fe||void 0}function nr(e,t,n,r,i,...o){let s=!1;return U_(e,n,(e=>{"messageText"in i?Ee.add(Mf(P.configFile,t?e.name:e.initializer,i)):Ee.add(Lf(P.configFile,t?e.name:e.initializer,i,...o)),s=!0}),r),s}function rr(e,t){Ie.set(Tt(e),!0),Ee.add(t)}function ir(e,t){return 0===Zo(e,t,Se,!Ae.useCaseSensitiveFileNames())}function or(){return Ae.getSymlinkCache?Ae.getSymlinkCache():(U||(U=KC(Se,Nn)),j&&!U.hasProcessedResolutions()&&U.setSymlinksFromResolutions(yt,vt,ie),U)}function sr(e,t){return tJ(e,t,In(e))}function ar(e,t){return sr(e,QJ(e,t))}function cr(e){return FJ(e,In(e))}function lr(e){return IJ(e,In(e))}function ur(e){return wJ(e,In(e))}function dr(e,t){return e.resolutionMode||cr(t)}}function wJ(e,t){const n=vC(t);return!(100<=n&&n<=199||200===n)&&IJ(e,t)<5}function IJ(e,t){return TJ(e,t)??vC(t)}function TJ(e,t){var n,r;const i=vC(t);return 100<=i&&i<=199?e.impliedNodeFormat:1!==e.impliedNodeFormat||"commonjs"!==(null==(n=e.packageJsonScope)?void 0:n.contents.packageJsonContent.type)&&!xo(e.fileName,[".cjs",".cts"])?99!==e.impliedNodeFormat||"module"!==(null==(r=e.packageJsonScope)?void 0:r.contents.packageJsonContent.type)&&!xo(e.fileName,[".mjs",".mts"])?void 0:99:1}function FJ(e,t){return mC(t)?TJ(e,t):void 0}var RJ={diagnostics:a,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0};function PJ(e,t,n,r){const i=e.getCompilerOptions();if(i.noEmit)return t?RJ:e.emitBuildInfo(n,r);if(!i.noEmitOnError)return;let o,s=[...e.getOptionsDiagnostics(r),...e.getSyntacticDiagnostics(t,r),...e.getGlobalDiagnostics(r),...e.getSemanticDiagnostics(t,r)];if(0===s.length&&IC(e.getCompilerOptions())&&(s=e.getDeclarationDiagnostics(void 0,r)),s.length){if(!t){const t=e.emitBuildInfo(n,r);t.diagnostics&&(s=[...s,...t.diagnostics]),o=t.emittedFiles}return{diagnostics:s,sourceMaps:void 0,emittedFiles:o,emitSkipped:!0}}}function NJ(e,t){return S(e,(e=>!e.skippedOn||!t[e.skippedOn]))}function BJ(e,t=e){return{fileExists:e=>t.fileExists(e),readDirectory:(e,n,r,i,o)=>(un.assertIsDefined(t.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(e,n,r,i,o)),readFile:e=>t.readFile(e),directoryExists:Je(t,t.directoryExists),getDirectories:Je(t,t.getDirectories),realpath:Je(t,t.realpath),useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:()=>e.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:e.onUnRecoverableConfigFileDiagnostic||ot,trace:e.trace?t=>e.trace(t):void 0}}function OJ(e){return $H(e.path)}function qJ(e,{extension:t},{isDeclarationFile:n}){switch(t){case".ts":case".d.ts":case".mts":case".d.mts":case".cts":case".d.cts":return;case".tsx":return r();case".jsx":return r()||i();case".js":case".mjs":case".cjs":return i();case".json":return wC(e)?void 0:us.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used;default:return n||e.allowArbitraryExtensions?void 0:us.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set}function r(){return e.jsx?void 0:us.Module_0_was_resolved_to_1_but_jsx_is_not_set}function i(){return PC(e)||!LC(e,"noImplicitAny")?void 0:us.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function $J({imports:e,moduleAugmentations:t}){const n=e.map((e=>e));for(const e of t)11===e.kind&&n.push(e);return n}function QJ({imports:e,moduleAugmentations:t},n){if(n(e[e.ComputedDts=0]="ComputedDts",e[e.StoredSignatureAtEmit=1]="StoredSignatureAtEmit",e[e.UsedVersion=2]="UsedVersion",e))(jJ||{});(e=>{function t(){return function(e,t,r){const i={getKeys:e=>t.get(e),getValues:t=>e.get(t),keys:()=>e.keys(),size:()=>e.size,deleteKey:i=>{(r||(r=new Set)).add(i);const o=e.get(i);return!!o&&(o.forEach((e=>n(t,e,i))),e.delete(i),!0)},set:(o,s)=>{null==r||r.delete(o);const a=e.get(o);return e.set(o,s),null==a||a.forEach((e=>{s.has(e)||n(t,e,o)})),s.forEach((e=>{(null==a?void 0:a.has(e))||function(e,t,n){let r=e.get(t);r||(r=new Set,e.set(t,r));r.add(n)}(t,e,o)})),i}};return i}(new Map,new Map,void 0)}function n(e,t,n){const r=e.get(t);return!!(null==r?void 0:r.delete(n))&&(r.size||e.delete(t),!0)}function r(e,t){const n=e.getSymbolAtLocation(t);return n&&function(e){return q(e.declarations,(e=>{var t;return null==(t=Ap(e))?void 0:t.resolvedPath}))}(n)}function i(e,t,n,r){return Uo(e.getProjectReferenceRedirect(t)||t,n,r)}function o(e,t,n){let o;if(t.imports&&t.imports.length>0){const n=e.getTypeChecker();for(const e of t.imports){const t=r(n,e);null==t||t.forEach(c)}}const s=Io(t.resolvedPath);if(t.referencedFiles&&t.referencedFiles.length>0)for(const r of t.referencedFiles){c(i(e,r.fileName,s,n))}if(e.forEachResolvedTypeReferenceDirective((({resolvedTypeReferenceDirective:t})=>{if(!t)return;const r=t.resolvedFileName;c(i(e,r,s,n))}),t),t.moduleAugmentations.length){const n=e.getTypeChecker();for(const e of t.moduleAugmentations){if(!kD(e))continue;const t=n.getSymbolAtLocation(e);t&&a(t)}}for(const t of e.getTypeChecker().getAmbientModules())t.declarations&&t.declarations.length>1&&a(t);return o;function a(e){if(e.declarations)for(const n of e.declarations){const e=Ap(n);e&&e!==t&&c(e.resolvedPath)}}function c(e){(o||(o=new Set)).add(e)}}function s(e,t){return t&&!t.referencedMap==!e}function c(e){return 0===e.module||e.outFile?void 0:t()}function l(e,t,n,r,i){const o=t.getSourceFileByPath(n);return o?d(e,t,o,r,i)?(e.referencedMap?g:h)(e,t,o,r,i):[o]:a}function u(e,t,n,r,i){e.emit(t,((n,o,s,a,c,l)=>{un.assert(KP(n),`File extension for signature expected to be dts: Got:: ${n}`),i(bV(e,t,o,r,l),c)}),n,2,void 0,!0)}function d(e,t,n,r,i,o=e.useFileVersionAsSignature){var s;if(null==(s=e.hasCalledUpdateShapeSignature)?void 0:s.has(n.resolvedPath))return!1;const a=e.fileInfos.get(n.resolvedPath),c=a.signature;let l;return n.isDeclarationFile||o||u(t,n,r,i,(t=>{l=t,i.storeSignatureInfo&&(e.signatureInfo??(e.signatureInfo=new Map)).set(n.resolvedPath,0)})),void 0===l&&(l=n.version,i.storeSignatureInfo&&(e.signatureInfo??(e.signatureInfo=new Map)).set(n.resolvedPath,2)),(e.oldSignatures||(e.oldSignatures=new Map)).set(n.resolvedPath,c||!1),(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(n.resolvedPath),a.signature=l,l!==c}function p(e,t){if(!e.allFileNames){const n=t.getSourceFiles();e.allFileNames=n===a?a:n.map((e=>e.fileName))}return e.allFileNames}function f(e,t){const n=e.referencedMap.getKeys(t);return n?Pe(n.keys()):[]}function _(e){return function(e){return J(e.moduleAugmentations,(e=>ff(e.parent)))}(e)||!Zf(e)&&!e_(e)&&!function(e){for(const t of e.statements)if(!lf(t))return!1;return!0}(e)}function m(e,t,n){if(e.allFilesExcludingDefaultLibraryFile)return e.allFilesExcludingDefaultLibraryFile;let r;n&&i(n);for(const e of t.getSourceFiles())e!==n&&i(e);return e.allFilesExcludingDefaultLibraryFile=r||a,e.allFilesExcludingDefaultLibraryFile;function i(e){t.isSourceFileDefaultLibrary(e)||(r||(r=[])).push(e)}}function h(e,t,n){const r=t.getCompilerOptions();return r&&r.outFile?[n]:m(e,t,n)}function g(e,t,n,r,i){if(_(n))return m(e,t,n);const o=t.getCompilerOptions();if(o&&(EC(o)||o.outFile))return[n];const s=new Map;s.set(n.resolvedPath,n);const a=f(e,n.resolvedPath);for(;a.length>0;){const n=a.pop();if(!s.has(n)){const o=t.getSourceFileByPath(n);s.set(n,o),o&&d(e,t,o,r,i)&&a.push(...f(e,o.resolvedPath))}}return Pe($(s.values(),(e=>e)))}e.createManyToManyPathMap=t,e.canReuseOldState=s,e.createReferencedMap=c,e.create=function(e,t,n){var r,i;const a=new Map,l=e.getCompilerOptions(),u=c(l),d=s(u,t);e.getTypeChecker();for(const n of e.getSourceFiles()){const s=un.checkDefined(n.version,"Program intended to be used with Builder should have source files with versions set"),c=d?null==(r=t.oldSignatures)?void 0:r.get(n.resolvedPath):void 0,p=void 0===c?d?null==(i=t.fileInfos.get(n.resolvedPath))?void 0:i.signature:void 0:c||void 0;if(u){const t=o(e,n,e.getCanonicalFileName);t&&u.set(n.resolvedPath,t)}a.set(n.resolvedPath,{version:s,signature:p,affectsGlobalScope:l.outFile?void 0:_(n)||void 0,impliedFormat:n.impliedNodeFormat})}return{fileInfos:a,referencedMap:u,useFileVersionAsSignature:!n&&!d}},e.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},e.getFilesAffectedBy=function(e,t,n,r,i){var o;const s=l(e,t,n,r,i);return null==(o=e.oldSignatures)||o.clear(),s},e.getFilesAffectedByWithOldState=l,e.updateSignatureOfFile=function(e,t,n){e.fileInfos.get(n).signature=t,(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(n)},e.computeDtsSignature=u,e.updateShapeSignature=d,e.getAllDependencies=function(e,t,n){if(t.getCompilerOptions().outFile)return p(e,t);if(!e.referencedMap||_(n))return p(e,t);const r=new Set,i=[n.resolvedPath];for(;i.length;){const t=i.pop();if(!r.has(t)){r.add(t);const n=e.referencedMap.getValues(t);if(n)for(const e of n.keys())i.push(e)}}return Pe($(r.keys(),(e=>{var n;return(null==(n=t.getSourceFileByPath(e))?void 0:n.fileName)??e})))},e.getReferencedByPaths=f,e.getAllFilesExcludingDefaultLibraryFile=m})(MJ||(MJ={}));var UJ=(e=>(e[e.None=0]="None",e[e.Js=1]="Js",e[e.JsMap=2]="JsMap",e[e.JsInlineMap=4]="JsInlineMap",e[e.DtsErrors=8]="DtsErrors",e[e.DtsEmit=16]="DtsEmit",e[e.DtsMap=32]="DtsMap",e[e.Dts=24]="Dts",e[e.AllJs=7]="AllJs",e[e.AllDtsEmit=48]="AllDtsEmit",e[e.AllDts=56]="AllDts",e[e.All=63]="All",e))(UJ||{});function JJ(e){return void 0!==e.program}function VJ(e){let t=1;return e.sourceMap&&(t|=2),e.inlineSourceMap&&(t|=4),IC(e)&&(t|=24),e.declarationMap&&(t|=32),e.emitDeclarationOnly&&(t&=56),t}function HJ(e,t){const n=t&&(Ze(t)?t:VJ(t)),r=Ze(e)?e:VJ(e);if(n===r)return 0;if(!n||!r)return r;const i=n^r;let o=0;return 7&i&&(o=7&r),8&i&&(o|=8&r),48&i&&(o|=48&r),o}function GJ(e,t){var n,r;const i=MJ.create(e,t,!1);i.program=e;const o=e.getCompilerOptions();i.compilerOptions=o;const s=o.outFile;i.semanticDiagnosticsPerFile=new Map,s&&o.composite&&(null==t?void 0:t.outSignature)&&s===t.compilerOptions.outFile&&(i.outSignature=t.outSignature&&WJ(o,t.compilerOptions,t.outSignature)),i.changedFilesSet=new Set,i.latestChangedDtsFile=o.composite?null==t?void 0:t.latestChangedDtsFile:void 0,i.checkPending=!!i.compilerOptions.noCheck||void 0;const a=MJ.canReuseOldState(i.referencedMap,t),c=a?t.compilerOptions:void 0;let l=a&&!UC(o,c);const u=o.composite&&(null==t?void 0:t.emitSignatures)&&!s&&!VC(o,t.compilerOptions);let d=!0;a?(null==(n=t.changedFilesSet)||n.forEach((e=>i.changedFilesSet.add(e))),!s&&(null==(r=t.affectedFilesPendingEmit)?void 0:r.size)&&(i.affectedFilesPendingEmit=new Map(t.affectedFilesPendingEmit),i.seenAffectedFiles=new Set),i.programEmitPending=t.programEmitPending,s&&i.changedFilesSet.size&&(l=!1,d=!1),i.hasErrorsFromOldState=t.hasErrors):i.buildInfoEmitPending=FC(o);const p=i.referencedMap,f=a?t.referencedMap:void 0,_=l&&!o.skipLibCheck==!c.skipLibCheck,m=_&&!o.skipDefaultLibCheck==!c.skipDefaultLibCheck;if(i.fileInfos.forEach(((n,r)=>{var s;let c,g;if(!a||!(c=t.fileInfos.get(r))||c.version!==n.version||c.impliedFormat!==n.impliedFormat||(A=g=p&&p.getValues(r),y=f&&f.getValues(r),A!==y&&(void 0===A||void 0===y||A.size!==y.size||rp(A,(e=>!y.has(e)))))||g&&rp(g,(e=>!i.fileInfos.has(e)&&t.fileInfos.has(e))))h(r);else{const n=e.getSourceFileByPath(r),o=d?null==(s=t.emitDiagnosticsPerFile)?void 0:s.get(r):void 0;if(o&&(i.emitDiagnosticsPerFile??(i.emitDiagnosticsPerFile=new Map)).set(r,t.hasReusableDiagnostic?XJ(o,r,e):zJ(o,e)),l){if(n.isDeclarationFile&&!_)return;if(n.hasNoDefaultLib&&!m)return;const o=t.semanticDiagnosticsPerFile.get(r);o&&(i.semanticDiagnosticsPerFile.set(r,t.hasReusableDiagnostic?XJ(o,r,e):zJ(o,e)),(i.semanticDiagnosticsFromOldState??(i.semanticDiagnosticsFromOldState=new Set)).add(r))}}var A,y;if(u){const e=t.emitSignatures.get(r);e&&(i.emitSignatures??(i.emitSignatures=new Map)).set(r,WJ(o,t.compilerOptions,e))}})),a&&np(t.fileInfos,((e,t)=>!i.fileInfos.has(t)&&(!!e.affectsGlobalScope||(i.buildInfoEmitPending=!0,!!s)))))MJ.getAllFilesExcludingDefaultLibraryFile(i,e,void 0).forEach((e=>h(e.resolvedPath)));else if(c){const t=JC(o,c)?VJ(o):HJ(o,c);0!==t&&(s?i.changedFilesSet.size||(i.programEmitPending=i.programEmitPending?i.programEmitPending|t:t):(e.getSourceFiles().forEach((e=>{i.changedFilesSet.has(e.resolvedPath)||EV(i,e.resolvedPath,t)})),un.assert(!i.seenAffectedFiles||!i.seenAffectedFiles.size),i.seenAffectedFiles=i.seenAffectedFiles||new Set),i.buildInfoEmitPending=!0)}return a&&i.semanticDiagnosticsPerFile.size!==i.fileInfos.size&&t.checkPending!==i.checkPending&&(i.buildInfoEmitPending=!0),i;function h(e){i.changedFilesSet.add(e),s&&(l=!1,d=!1,i.semanticDiagnosticsFromOldState=void 0,i.semanticDiagnosticsPerFile.clear(),i.emitDiagnosticsPerFile=void 0),i.buildInfoEmitPending=!0,i.programEmitPending=void 0}}function WJ(e,t,n){return!!e.declarationMap==!!t.declarationMap?n:Xe(n)?[n]:n[0]}function zJ(e,t){return e.length?T(e,(e=>{if(Xe(e.messageText))return e;const n=YJ(e.messageText,e.file,t,(e=>{var t;return null==(t=e.repopulateInfo)?void 0:t.call(e)}));return n===e.messageText?e:{...e,messageText:n}})):e}function YJ(e,t,n,r){const i=r(e);if(!0===i)return{...pp(t),next:KJ(e.next,t,n,r)};if(i)return{...dp(t,n,i.moduleReference,i.mode,i.packageName||i.moduleReference),next:KJ(e.next,t,n,r)};const o=KJ(e.next,t,n,r);return o===e.next?e:{...e,next:o}}function KJ(e,t,n,r){return T(e,(e=>YJ(e,t,n,r)))}function XJ(e,t,n){if(!e.length)return a;let r;return e.map((e=>{const r=ZJ(e,t,n,i);r.reportsUnnecessary=e.reportsUnnecessary,r.reportsDeprecated=e.reportDeprecated,r.source=e.source,r.skippedOn=e.skippedOn;const{relatedInformation:o}=e;return r.relatedInformation=o?o.length?o.map((e=>ZJ(e,t,n,i))):[]:void 0,r}));function i(e){return r??(r=Io(Lo(qj(n.getCompilerOptions()),n.getCurrentDirectory()))),Uo(e,r,n.getCanonicalFileName)}}function ZJ(e,t,n,r){const{file:i}=e,o=!1!==i?n.getSourceFileByPath(i?r(i):t):void 0;return{...e,file:o,messageText:Xe(e.messageText)?e.messageText:YJ(e.messageText,o,n,(e=>e.info))}}function eV(e,t){un.assert(!t||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==t||!e.semanticDiagnosticsPerFile.has(t.resolvedPath))}function tV(e,t,n){for(var r;;){const{affectedFiles:i}=e;if(i){const o=e.seenAffectedFiles;let s=e.affectedFilesIndex;for(;s{const i=n?55&t:7&t;i?e.affectedFilesPendingEmit.set(r,i):e.affectedFilesPendingEmit.delete(r)})),e.programEmitPending)){const t=n?55&e.programEmitPending:7&e.programEmitPending;e.programEmitPending=t||void 0}}function rV(e,t,n,r){let i=HJ(e,t);return n&&(i&=56),r&&(i&=8),i}function iV(e){return e?8:56}function oV(e){if(!e.cleanedDiagnosticsOfLibFiles){e.cleanedDiagnosticsOfLibFiles=!0;const t=e.program.getCompilerOptions();u(e.program.getSourceFiles(),(n=>e.program.isSourceFileDefaultLibrary(n)&&!dx(n,t,e.program)&&cV(e,n.resolvedPath)))}}function sV(e,t,n,r){if(cV(e,t.resolvedPath),e.allFilesExcludingDefaultLibraryFile===e.affectedFiles)return oV(e),void MJ.updateShapeSignature(e,e.program,t,n,r);e.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(e,t,n,r){var i,o;if(!e.referencedMap||!e.changedFilesSet.has(t.resolvedPath))return;if(!lV(e,t.resolvedPath))return;if(EC(e.compilerOptions)){const i=new Map;i.set(t.resolvedPath,!0);const o=MJ.getReferencedByPaths(e,t.resolvedPath);for(;o.length>0;){const t=o.pop();if(!i.has(t)){if(i.set(t,!0),uV(e,t,!1,n,r))return;if(aV(e,t,!1,n,r),lV(e,t)){const n=e.program.getSourceFileByPath(t);o.push(...MJ.getReferencedByPaths(e,n.resolvedPath))}}}}const s=new Set,a=!!(null==(i=t.symbol)?void 0:i.exports)&&!!np(t.symbol.exports,(n=>{if(128&n.flags)return!0;const r=sb(n,e.program.getTypeChecker());return r!==n&&(!!(128&r.flags)&&J(r.declarations,(e=>Ap(e)===t)))}));null==(o=e.referencedMap.getKeys(t.resolvedPath))||o.forEach((t=>{if(uV(e,t,a,n,r))return!0;const i=e.referencedMap.getKeys(t);return i&&rp(i,(t=>dV(e,t,a,s,n,r)))}))}(e,t,n,r)}function aV(e,t,n,r,i){if(cV(e,t),!e.changedFilesSet.has(t)){const o=e.program.getSourceFileByPath(t);o&&(MJ.updateShapeSignature(e,e.program,o,r,i,!0),n?EV(e,t,VJ(e.compilerOptions)):IC(e.compilerOptions)&&EV(e,t,e.compilerOptions.declarationMap?56:24))}}function cV(e,t){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size)}function lV(e,t){const n=un.checkDefined(e.oldSignatures).get(t)||void 0;return un.checkDefined(e.fileInfos.get(t)).signature!==n}function uV(e,t,n,r,i){var o;return!!(null==(o=e.fileInfos.get(t))?void 0:o.affectsGlobalScope)&&(MJ.getAllFilesExcludingDefaultLibraryFile(e,e.program,void 0).forEach((t=>aV(e,t.resolvedPath,n,r,i))),oV(e),!0)}function dV(e,t,n,r,i,o){var s;if(L(r,t)){if(uV(e,t,n,i,o))return!0;aV(e,t,n,i,o),null==(s=e.referencedMap.getKeys(t))||s.forEach((t=>dV(e,t,n,r,i,o)))}}function pV(e,t,n,r){return e.compilerOptions.noCheck?a:H(function(e,t,n,r){r??(r=e.semanticDiagnosticsPerFile);const i=t.resolvedPath,o=r.get(i);if(o)return NJ(o,e.compilerOptions);const s=e.program.getBindAndCheckDiagnostics(t,n);return r.set(i,s),e.buildInfoEmitPending=!0,NJ(s,e.compilerOptions)}(e,t,n,r),e.program.getProgramDiagnostics(t))}function fV(e){var t;return!!(null==(t=e.options)?void 0:t.outFile)}function _V(e){return!!e.fileNames}function mV(e){void 0===e.hasErrors&&(FC(e.compilerOptions)?e.hasErrors=!J(e.program.getSourceFiles(),(t=>{var n,r;const i=e.semanticDiagnosticsPerFile.get(t.resolvedPath);return void 0===i||!!i.length||!!(null==(r=null==(n=e.emitDiagnosticsPerFile)?void 0:n.get(t.resolvedPath))?void 0:r.length)}))&&(hV(e)||J(e.program.getSourceFiles(),(t=>!!e.program.getProgramDiagnostics(t).length))):e.hasErrors=J(e.program.getSourceFiles(),(t=>{var n,r;const i=e.semanticDiagnosticsPerFile.get(t.resolvedPath);return!!(null==i?void 0:i.length)||!!(null==(r=null==(n=e.emitDiagnosticsPerFile)?void 0:n.get(t.resolvedPath))?void 0:r.length)}))||hV(e))}function hV(e){return!!(e.program.getConfigFileParsingDiagnostics().length||e.program.getSyntacticDiagnostics().length||e.program.getOptionsDiagnostics().length||e.program.getGlobalDiagnostics().length)}function gV(e){return mV(e),e.buildInfoEmitPending??(e.buildInfoEmitPending=!!e.hasErrorsFromOldState!=!!e.hasErrors)}var AV=(e=>(e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",e))(AV||{});function yV(e,t,n,r,i,o){let s,c,l;return void 0===e?(un.assert(void 0===t),s=n,l=r,un.assert(!!l),c=l.getProgram()):Ye(e)?(l=r,c=DJ({rootNames:e,options:t,host:n,oldProgram:l&&l.getProgramOrUndefined(),configFileParsingDiagnostics:i,projectReferences:o}),s=n):(c=e,s=t,l=n,i=r),{host:s,newProgram:c,oldProgram:l,configFileParsingDiagnostics:i||a}}function vV(e,t){return void 0!==(null==t?void 0:t.sourceMapUrlPos)?e.substring(0,t.sourceMapUrlPos):e}function bV(e,t,n,r,i){var o;let s;return n=vV(n,i),(null==(o=null==i?void 0:i.diagnostics)?void 0:o.length)&&(n+=i.diagnostics.map((n=>`${function(n){if(n.file.resolvedPath===t.resolvedPath)return`(${n.start},${n.length})`;void 0===s&&(s=Io(t.resolvedPath));return`${Ho(rs(s,n.file.resolvedPath,e.getCanonicalFileName))}(${n.start},${n.length})`}(n)}${si[n.category]}${n.code}: ${a(n.messageText)}`)).join("\n")),(r.createHash??Oi)(n);function a(e){return Xe(e)?e:void 0===e?"":e.next?e.messageText+e.next.map(a).join("\n"):e.messageText}}function CV(e,{newProgram:t,host:n,oldProgram:r,configFileParsingDiagnostics:i}){let s=r&&r.state;if(s&&t===s.program&&i===t.getConfigFileParsingDiagnostics())return t=void 0,s=void 0,r;const c=GJ(t,s);t.getBuildInfo=()=>function(e){var t,n;const r=e.program.getCurrentDirectory(),i=Io(Lo(qj(e.compilerOptions),r)),s=e.latestChangedDtsFile?v(e.latestChangedDtsFile):void 0,c=[],l=new Map,d=new Set(e.program.getRootFileNames().map((t=>Uo(t,r,e.program.getCanonicalFileName))));if(mV(e),!FC(e.compilerOptions))return{root:Pe(d,(e=>b(e))),errors:!!e.hasErrors||void 0,checkPending:e.checkPending,version:o};const p=[];if(e.compilerOptions.outFile){const t=Pe(e.fileInfos.entries(),(([e,t])=>(x(e,C(e)),t.impliedFormat?{version:t.version,impliedFormat:t.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:t.version)));return{fileNames:c,fileInfos:t,root:p,resolvedRoot:S(),options:k(e.compilerOptions),semanticDiagnosticsPerFile:e.changedFilesSet.size?void 0:w(),emitDiagnosticsPerFile:I(),changeFileSet:N(),outSignature:e.outSignature,latestChangedDtsFile:s,pendingEmit:e.programEmitPending?e.programEmitPending!==VJ(e.compilerOptions)&&e.programEmitPending:void 0,errors:!!e.hasErrors||void 0,checkPending:e.checkPending,version:o}}let f,_,m;const h=Pe(e.fileInfos.entries(),(([t,n])=>{var r,i;const o=C(t);x(t,o),un.assert(c[o-1]===b(t));const s=null==(r=e.oldSignatures)?void 0:r.get(t),l=void 0!==s?s||void 0:n.signature;if(e.compilerOptions.composite){const n=e.program.getSourceFileByPath(t);if(!e_(n)&&YA(n,e.program)){const n=null==(i=e.emitSignatures)?void 0:i.get(t);n!==l&&(m=re(m,void 0===n?o:[o,Xe(n)||n[0]!==l?n:a]))}}return n.version===l?n.affectsGlobalScope||n.impliedFormat?{version:n.version,signature:void 0,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}:n.version:void 0!==l?void 0===s?n:{version:n.version,signature:l,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}:{version:n.version,signature:!1,affectsGlobalScope:n.affectsGlobalScope,impliedFormat:n.impliedFormat}}));let g;(null==(t=e.referencedMap)?void 0:t.size())&&(g=Pe(e.referencedMap.keys()).sort(xt).map((t=>[C(t),E(e.referencedMap.getValues(t))])));const A=w();let y;if(null==(n=e.affectedFilesPendingEmit)?void 0:n.size){const t=VJ(e.compilerOptions),n=new Set;for(const r of Pe(e.affectedFilesPendingEmit.keys()).sort(xt))if(L(n,r)){const n=e.program.getSourceFileByPath(r);if(!n||!YA(n,e.program))continue;const i=C(r),o=e.affectedFilesPendingEmit.get(r);y=re(y,o===t?i:24===o?[i]:[i,o])}}return{fileNames:c,fileIdsList:f,fileInfos:h,root:p,resolvedRoot:S(),options:k(e.compilerOptions),referencedMap:g,semanticDiagnosticsPerFile:A,emitDiagnosticsPerFile:I(),changeFileSet:N(),affectedFilesPendingEmit:y,emitSignatures:m,latestChangedDtsFile:s,errors:!!e.hasErrors||void 0,checkPending:e.checkPending,version:o};function v(e){return b(Lo(e,r))}function b(t){return Ho(rs(i,t,e.program.getCanonicalFileName))}function C(e){let t=l.get(e);return void 0===t&&(c.push(b(e)),l.set(e,t=c.length)),t}function E(e){const t=Pe(e.keys(),C).sort(At),n=t.join();let r=null==_?void 0:_.get(n);return void 0===r&&(f=re(f,t),(_??(_=new Map)).set(n,r=f.length)),r}function x(t,n){const r=e.program.getSourceFile(t);if(!e.program.getFileIncludeReasons().get(r.path).some((e=>0===e.kind)))return;if(!p.length)return p.push(n);const i=p[p.length-1],o=Ye(i);if(o&&i[1]===n-1)return i[1]=n;if(o||1===p.length||i!==n-1)return p.push(n);const s=p[p.length-2];return Ze(s)&&s===i-1?(p[p.length-2]=[s,n],p.length=p.length-1):p.push(n)}function S(){let t;return d.forEach((n=>{const r=e.program.getSourceFileByPath(n);r&&n!==r.resolvedPath&&(t=re(t,[C(r.resolvedPath),C(n)]))})),t}function k(e){let t;const{optionsNameMap:n}=ON();for(const r of Ie(e).sort(xt)){const i=n.get(r.toLowerCase());(null==i?void 0:i.affectsBuildInfo)&&((t||(t={}))[r]=D(i,e[r]))}return t}function D(e,t){if(e)if(un.assert("listOrElement"!==e.type),"list"===e.type){const n=t;if(e.element.isFilePath&&n.length)return n.map(v)}else if(e.isFilePath)return v(t);return t}function w(){let t;return e.fileInfos.forEach(((n,r)=>{const i=e.semanticDiagnosticsPerFile.get(r);i?i.length&&(t=re(t,[C(r),T(i,r)])):e.changedFilesSet.has(r)||(t=re(t,C(r)))})),t}function I(){var t;let n;if(!(null==(t=e.emitDiagnosticsPerFile)?void 0:t.size))return n;for(const t of Pe(e.emitDiagnosticsPerFile.keys()).sort(xt)){const r=e.emitDiagnosticsPerFile.get(t);n=re(n,[C(t),T(r,t)])}return n}function T(e,t){return un.assert(!!e.length),e.map((e=>{const n=F(e,t);n.reportsUnnecessary=e.reportsUnnecessary,n.reportDeprecated=e.reportsDeprecated,n.source=e.source,n.skippedOn=e.skippedOn;const{relatedInformation:r}=e;return n.relatedInformation=r?r.length?r.map((e=>F(e,t))):[]:void 0,n}))}function F(e,t){const{file:n}=e;return{...e,file:!!n&&(n.resolvedPath===t?void 0:b(n.resolvedPath)),messageText:Xe(e.messageText)?e.messageText:R(e.messageText)}}function R(e){if(e.repopulateInfo)return{info:e.repopulateInfo(),next:P(e.next)};const t=P(e.next);return t===e.next?e:{...e,next:t}}function P(e){return e&&u(e,((t,n)=>{const r=R(t);if(t===r)return;const i=n>0?e.slice(0,n-1):[];i.push(r);for(let t=n+1;t!!c.hasChangedEmitSignature,l.getAllDependencies=e=>MJ.getAllDependencies(c,un.checkDefined(c.program),e),l.getSemanticDiagnostics=function(e,t){if(un.assert(JJ(c)),eV(c,e),e)return pV(c,e,t);for(;;){const e=h(t);if(!e)break;if(e.affected===c.program)return e.result}let n;for(const e of c.program.getSourceFiles())n=se(n,pV(c,e,t));c.checkPending&&!c.compilerOptions.noCheck&&(c.checkPending=void 0,c.buildInfoEmitPending=!0);return n||a},l.getDeclarationDiagnostics=function(t,n){var r;if(un.assert(JJ(c)),1===e){let e,i;for(eV(c,t);e=d(void 0,n,void 0,void 0,!0);)t||(i=se(i,e.result.diagnostics));return(t?null==(r=c.emitDiagnosticsPerFile)?void 0:r.get(t.resolvedPath):i)||a}{const e=c.program.getDeclarationDiagnostics(t,n);return m(t,void 0,!0,e),e}},l.emit=function(t,n,r,i,o){un.assert(JJ(c)),1===e&&eV(c,t);const s=PJ(l,t,n,r);if(s)return s;if(!t){if(1===e){let e,t,s=[],c=!1,l=[];for(;t=f(n,r,i,o);)c=c||t.result.emitSkipped,e=se(e,t.result.diagnostics),l=se(l,t.result.emittedFiles),s=se(s,t.result.sourceMaps);return{emitSkipped:c,diagnostics:e||a,emittedFiles:l,sourceMaps:s}}nV(c,i,!1)}const u=c.program.emit(t,_(n,o),r,i,o);return m(t,i,!1,u.diagnostics),u},l.releaseProgram=()=>function(e){MJ.releaseCache(e),e.program=void 0}(c),0===e?l.getSemanticDiagnosticsOfNextAffectedFile=h:1===e?(l.getSemanticDiagnosticsOfNextAffectedFile=h,l.emitNextAffectedFile=f,l.emitBuildInfo=function(e,t){if(un.assert(JJ(c)),gV(c)){const r=c.program.emitBuildInfo(e||Je(n,n.writeFile),t);return c.buildInfoEmitPending=!1,r}return RJ}):ut(),l;function d(e,t,r,i,o){var s,a,l,u;un.assert(JJ(c));let d=tV(c,t,n);const f=VJ(c.compilerOptions);let m,h=o?8:r?56&f:f;if(!d){if(c.compilerOptions.outFile){if(c.programEmitPending&&(h=rV(c.programEmitPending,c.seenProgramEmit,r,o),h&&(d=c.program)),!d&&(null==(s=c.emitDiagnosticsPerFile)?void 0:s.size)){const e=c.seenProgramEmit||0;if(!(e&iV(o))){c.seenProgramEmit=iV(o)|e;const t=[];return c.emitDiagnosticsPerFile.forEach((e=>se(t,e))),{result:{emitSkipped:!0,diagnostics:t},affected:c.program}}}}else{const e=function(e,t,n){var r;if(null==(r=e.affectedFilesPendingEmit)?void 0:r.size)return np(e.affectedFilesPendingEmit,((r,i)=>{var o;const s=e.program.getSourceFileByPath(i);if(!s||!YA(s,e.program))return void e.affectedFilesPendingEmit.delete(i);const a=rV(r,null==(o=e.seenEmittedFiles)?void 0:o.get(s.resolvedPath),t,n);return a?{affectedFile:s,emitKind:a}:void 0}))}(c,r,o);if(e)({affectedFile:d,emitKind:h}=e);else{const e=function(e,t){var n;if(null==(n=e.emitDiagnosticsPerFile)?void 0:n.size)return np(e.emitDiagnosticsPerFile,((n,r)=>{var i;const o=e.program.getSourceFileByPath(r);if(!o||!YA(o,e.program))return void e.emitDiagnosticsPerFile.delete(r);const s=(null==(i=e.seenEmittedFiles)?void 0:i.get(o.resolvedPath))||0;return s&iV(t)?void 0:{affectedFile:o,diagnostics:n,seenKind:s}}))}(c,o);if(e)return(c.seenEmittedFiles??(c.seenEmittedFiles=new Map)).set(e.affectedFile.resolvedPath,e.seenKind|iV(o)),{result:{emitSkipped:!0,diagnostics:e.diagnostics},affected:e.affectedFile}}}if(!d){if(o||!gV(c))return;const r=c.program,i=r.emitBuildInfo(e||Je(n,n.writeFile),t);return c.buildInfoEmitPending=!1,{result:i,affected:r}}}7&h&&(m=0),56&h&&(m=void 0===m?1:void 0);const g=o?{emitSkipped:!0,diagnostics:c.program.getDeclarationDiagnostics(d===c.program?void 0:d,t)}:c.program.emit(d===c.program?void 0:d,_(e,i),t,m,i,void 0,!0);if(d!==c.program){const e=d;c.seenAffectedFiles.add(e.resolvedPath),void 0!==c.affectedFilesIndex&&c.affectedFilesIndex++,c.buildInfoEmitPending=!0;const t=(null==(a=c.seenEmittedFiles)?void 0:a.get(e.resolvedPath))||0;(c.seenEmittedFiles??(c.seenEmittedFiles=new Map)).set(e.resolvedPath,h|t);const n=HJ((null==(l=c.affectedFilesPendingEmit)?void 0:l.get(e.resolvedPath))||f,h|t);n?(c.affectedFilesPendingEmit??(c.affectedFilesPendingEmit=new Map)).set(e.resolvedPath,n):null==(u=c.affectedFilesPendingEmit)||u.delete(e.resolvedPath),g.diagnostics.length&&(c.emitDiagnosticsPerFile??(c.emitDiagnosticsPerFile=new Map)).set(e.resolvedPath,g.diagnostics)}else c.changedFilesSet.clear(),c.programEmitPending=c.changedFilesSet.size?HJ(f,h):c.programEmitPending?HJ(c.programEmitPending,h):void 0,c.seenProgramEmit=h|(c.seenProgramEmit||0),p(g.diagnostics),c.buildInfoEmitPending=!0;return{result:g,affected:d}}function p(e){let t;e.forEach((e=>{if(!e.file)return;let n=null==t?void 0:t.get(e.file.resolvedPath);n||(t??(t=new Map)).set(e.file.resolvedPath,n=[]),n.push(e)})),t&&(c.emitDiagnosticsPerFile=t)}function f(e,t,n,r){return d(e,t,n,r,!1)}function _(e,t){return un.assert(JJ(c)),IC(c.compilerOptions)?(r,i,o,s,a,l)=>{var u,d,p;if(KP(r))if(c.compilerOptions.outFile){if(c.compilerOptions.composite){const e=f(c.outSignature,void 0);if(!e)return l.skippedDtsWrite=!0;c.outSignature=e}}else{let e;if(un.assert(1===(null==a?void 0:a.length)),!t){const t=a[0],r=c.fileInfos.get(t.resolvedPath);if(r.signature===t.version){const o=bV(c.program,t,i,n,l);if((null==(u=null==l?void 0:l.diagnostics)?void 0:u.length)||(e=o),o!==t.version)if(n.storeSignatureInfo&&(c.signatureInfo??(c.signatureInfo=new Map)).set(t.resolvedPath,1),c.affectedFiles){void 0===(null==(d=c.oldSignatures)?void 0:d.get(t.resolvedPath))&&(c.oldSignatures??(c.oldSignatures=new Map)).set(t.resolvedPath,r.signature||!1),r.signature=o}else r.signature=o}}if(c.compilerOptions.composite){const t=a[0].resolvedPath;if(e=f(null==(p=c.emitSignatures)?void 0:p.get(t),e),!e)return l.skippedDtsWrite=!0;(c.emitSignatures??(c.emitSignatures=new Map)).set(t,e)}}function f(e,t){const o=!e||Xe(e)?e:e[0];if(t??(t=function(e,t,n){return(t.createHash??Oi)(vV(e,n))}(i,n,l)),t===o){if(e===o)return;l?l.differsOnlyInMap=!0:l={differsOnlyInMap:!0}}else c.hasChangedEmitSignature=!0,c.latestChangedDtsFile=r;return t}e?e(r,i,o,s,a,l):n.writeFile?n.writeFile(r,i,o,s,a,l):c.program.writeFile(r,i,o,s,a,l)}:e||Je(n,n.writeFile)}function m(t,n,r,i){t||1===e||(nV(c,n,r),p(i))}function h(e,t){for(un.assert(JJ(c));;){const r=tV(c,e,n);let i;if(!r)return void(c.checkPending&&!c.compilerOptions.noCheck&&(c.checkPending=void 0,c.buildInfoEmitPending=!0));if(r!==c.program){const n=r;if(t&&t(n)||(i=pV(c,n,e)),c.seenAffectedFiles.add(n.resolvedPath),c.affectedFilesIndex++,c.buildInfoEmitPending=!0,!i)continue}else{let t;const n=new Map;c.program.getSourceFiles().forEach((r=>t=se(t,pV(c,r,e,n)))),c.semanticDiagnosticsPerFile=n,i=t||a,c.changedFilesSet.clear(),c.programEmitPending=VJ(c.compilerOptions),c.compilerOptions.noCheck||(c.checkPending=void 0),c.buildInfoEmitPending=!0}return{result:i,affected:r}}}}function EV(e,t,n){var r,i;const o=(null==(r=e.affectedFilesPendingEmit)?void 0:r.get(t))||0;(e.affectedFilesPendingEmit??(e.affectedFilesPendingEmit=new Map)).set(t,o|n),null==(i=e.emitDiagnosticsPerFile)||i.delete(t)}function xV(e){return Xe(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:Xe(e.signature)?e:{version:e.version,signature:!1===e.signature?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function SV(e,t){return Ze(e)?t:e[1]||24}function kV(e,t){return e||VJ(t||{})}function DV(e,t,n){var r,i,o,s;const c=Io(Lo(t,n.getCurrentDirectory())),l=Jt(n.useCaseSensitiveFileNames());let u;const d=null==(r=e.fileNames)?void 0:r.map((function(e){return Uo(e,c,l)}));let p;const f=e.latestChangedDtsFile?h(e.latestChangedDtsFile):void 0,_=new Map,m=new Set(w(e.changeFileSet,g));if(fV(e))e.fileInfos.forEach(((e,t)=>{const n=g(t+1);_.set(n,Xe(e)?{version:e,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:e)})),u={fileInfos:_,compilerOptions:e.options?QB(e.options,h):{},semanticDiagnosticsPerFile:A(e.semanticDiagnosticsPerFile),emitDiagnosticsPerFile:y(e.emitDiagnosticsPerFile),hasReusableDiagnostic:!0,changedFilesSet:m,latestChangedDtsFile:f,outSignature:e.outSignature,programEmitPending:void 0===e.pendingEmit?void 0:kV(e.pendingEmit,e.options),hasErrors:e.errors,checkPending:e.checkPending};else{p=null==(i=e.fileIdsList)?void 0:i.map((e=>new Set(e.map(g))));const t=(null==(o=e.options)?void 0:o.composite)&&!e.options.outFile?new Map:void 0;e.fileInfos.forEach(((e,n)=>{const r=g(n+1),i=xV(e);_.set(r,i),t&&i.signature&&t.set(r,i.signature)})),null==(s=e.emitSignatures)||s.forEach((e=>{if(Ze(e))t.delete(g(e));else{const n=g(e[0]);t.set(n,Xe(e[1])||e[1].length?e[1]:[t.get(n)])}}));const n=e.affectedFilesPendingEmit?VJ(e.options||{}):void 0;u={fileInfos:_,compilerOptions:e.options?QB(e.options,h):{},referencedMap:function(e,t){const n=MJ.createReferencedMap(t);return n&&e?(e.forEach((([e,t])=>n.set(g(e),p[t-1]))),n):n}(e.referencedMap,e.options??{}),semanticDiagnosticsPerFile:A(e.semanticDiagnosticsPerFile),emitDiagnosticsPerFile:y(e.emitDiagnosticsPerFile),hasReusableDiagnostic:!0,changedFilesSet:m,affectedFilesPendingEmit:e.affectedFilesPendingEmit&&Oe(e.affectedFilesPendingEmit,(e=>g(Ze(e)?e:e[0])),(e=>SV(e,n))),latestChangedDtsFile:f,emitSignatures:(null==t?void 0:t.size)?t:void 0,hasErrors:e.errors,checkPending:e.checkPending}}return{state:u,getProgram:ut,getProgramOrUndefined:ot,releaseProgram:nt,getCompilerOptions:()=>u.compilerOptions,getSourceFile:ut,getSourceFiles:ut,getOptionsDiagnostics:ut,getGlobalDiagnostics:ut,getConfigFileParsingDiagnostics:ut,getSyntacticDiagnostics:ut,getDeclarationDiagnostics:ut,getSemanticDiagnostics:ut,emit:ut,getAllDependencies:ut,getCurrentDirectory:ut,emitNextAffectedFile:ut,getSemanticDiagnosticsOfNextAffectedFile:ut,emitBuildInfo:ut,close:nt,hasChangedEmitSignature:rt};function h(e){return Lo(e,c)}function g(e){return d[e-1]}function A(e){const t=new Map($(_.keys(),(e=>m.has(e)?void 0:[e,a])));return null==e||e.forEach((e=>{Ze(e)?t.delete(g(e)):t.set(g(e[0]),e[1])})),t}function y(e){return e&&Oe(e,(e=>g(e[0])),(e=>e[1]))}}function wV(e,t,n){const r=Io(Lo(t,n.getCurrentDirectory())),i=Jt(n.useCaseSensitiveFileNames()),o=new Map;let s=0;const a=new Map,c=new Map(e.resolvedRoot);return e.fileInfos.forEach(((t,n)=>{const a=Uo(e.fileNames[n],r,i),c=Xe(t)?t:t.version;if(o.set(a,c),sUo(e,r,i)))}function TV(e,t){return{state:void 0,getProgram:n,getProgramOrUndefined:()=>e.program,releaseProgram:()=>e.program=void 0,getCompilerOptions:()=>e.compilerOptions,getSourceFile:e=>n().getSourceFile(e),getSourceFiles:()=>n().getSourceFiles(),getOptionsDiagnostics:e=>n().getOptionsDiagnostics(e),getGlobalDiagnostics:e=>n().getGlobalDiagnostics(e),getConfigFileParsingDiagnostics:()=>t,getSyntacticDiagnostics:(e,t)=>n().getSyntacticDiagnostics(e,t),getDeclarationDiagnostics:(e,t)=>n().getDeclarationDiagnostics(e,t),getSemanticDiagnostics:(e,t)=>n().getSemanticDiagnostics(e,t),emit:(e,t,r,i,o)=>n().emit(e,t,r,i,o),emitBuildInfo:(e,t)=>n().emitBuildInfo(e,t),getAllDependencies:ut,getCurrentDirectory:()=>n().getCurrentDirectory(),close:nt};function n(){return un.checkDefined(e.program)}}function FV(e,t,n,r,i,o){return CV(0,yV(e,t,n,r,i,o))}function RV(e,t,n,r,i,o){return CV(1,yV(e,t,n,r,i,o))}function PV(e,t,n,r,i,o){const{newProgram:s,configFileParsingDiagnostics:a}=yV(e,t,n,r,i,o);return TV({program:s,compilerOptions:s.getCompilerOptions()},a)}function NV(e){return Ot(e,"/node_modules/.staging")?qt(e,"/.staging"):J(Xi,(t=>e.includes(t)))?void 0:e}function BV(e,t){if(t<=1)return 1;let n=1,r=0===e[0].search(/[a-z]:/i);if(e[0]!==uo&&!r&&0===e[1].search(/[a-z]\$$/i)){if(2===t)return 2;n=2,r=!0}return r&&!e[n].match(/^users$/i)?n:e[n].match(/^workspaces$/i)?n+1:n+2}function OV(e,t){if(void 0===t&&(t=e.length),t<=2)return!1;return t>BV(e,t)+1}function qV(e){return OV(Po(e))}function $V(e){return LV(Io(e))}function QV(e,t){if(t.lengthi.length+1?JV(l,c,Math.max(i.length+1,u+1),p):{dir:n,dirPath:r,nonRecursive:!0}:UV(l,c,c.length-1,u,d,i,p,a)}function UV(e,t,n,r,i,o,s,a){if(-1!==i)return JV(e,t,i+1,s);let c=!0,l=n;if(!a)for(let e=0;e=n&&r+2function(e,t,n,r,i,o,s){const a=GV(e),c=Dq(n,r,i,a,t,o,s);if(!e.getGlobalTypingsCacheLocation)return c;const l=e.getGlobalTypingsCacheLocation();if(!(void 0===l||Sa(n)||c.resolvedModule&&KE(c.resolvedModule.extension))){const{resolvedModule:r,failedLookupLocations:o,affectingLocations:s,resolutionDiagnostics:u}=I$(un.checkDefined(e.globalCacheResolutionModuleName)(n),e.projectName,i,a,l,t);if(r)return c.resolvedModule=r,c.failedLookupLocations=zO(c.failedLookupLocations,o),c.affectingLocations=zO(c.affectingLocations,s),c.resolutionDiagnostics=zO(c.resolutionDiagnostics,u),c}return c}(r,i,o,e,n,t,s)}}function zV(e,t,n){let r,i,o;const s=new Set,c=new Set,l=new Set,u=new Map,d=new Map;let p,_,m,h,g,A=!1,y=!1;const v=dt((()=>e.getCurrentDirectory())),b=e.getCachedDirectoryStructureHost(),C=new Map,E=Cq(v(),e.getCanonicalFileName,e.getCompilationSettings()),x=new Map,S=Eq(v(),e.getCanonicalFileName,e.getCompilationSettings(),E.getPackageJsonInfoCache(),E.optionsToRedirectsKey),k=new Map,D=Cq(v(),e.getCanonicalFileName,xq(e.getCompilationSettings()),E.getPackageJsonInfoCache()),w=new Map,I=new Map,T=HV(t,v),F=e.toPath(T),R=Po(F),P=OV(R),N=new Map,B=new Map,O=new Map,q=new Map;return{rootDirForResolution:t,resolvedModuleNames:C,resolvedTypeReferenceDirectives:x,resolvedLibraries:k,resolvedFileToResolution:u,resolutionsWithFailedLookups:c,resolutionsWithOnlyAffectingLocations:l,directoryWatchesOfFailedLookups:w,fileWatchesOfAffectingLocations:I,packageDirWatchers:B,dirPathToSymlinkPackageRefCount:O,watchFailedLookupLocationsOfExternalModuleResolutions:V,getModuleResolutionCache:()=>E,startRecordingFilesWithChangedResolutions:function(){r=[]},finishRecordingFilesWithChangedResolutions:function(){const e=r;return r=void 0,e},startCachingPerDirectoryResolution:function(){E.isReadonly=void 0,S.isReadonly=void 0,D.isReadonly=void 0,E.getPackageJsonInfoCache().isReadonly=void 0,E.clearAllExceptPackageJsonInfoCache(),S.clearAllExceptPackageJsonInfoCache(),D.clearAllExceptPackageJsonInfoCache(),Y(),N.clear()},finishCachingPerDirectoryResolution:function(t,n){o=void 0,y=!1,Y(),t!==n&&(!function(t){k.forEach(((n,r)=>{var i;(null==(i=null==t?void 0:t.resolvedLibReferences)?void 0:i.has(r))||(ee(n,e.toPath(mJ(e.getCompilationSettings(),v(),r)),lp),k.delete(r))}))}(t),null==t||t.getSourceFiles().forEach((e=>{var t;const n=(null==(t=e.packageJsonLocations)?void 0:t.length)??0,r=d.get(e.resolvedPath)??a;for(let t=r.length;tn)for(let e=n;e{const r=null==t?void 0:t.getSourceFileByPath(n);r&&r.resolvedPath===n||(e.forEach((e=>I.get(e).files--)),d.delete(n))})));w.forEach(L),I.forEach(M),B.forEach(Q),A=!1,E.isReadonly=!0,S.isReadonly=!0,D.isReadonly=!0,E.getPackageJsonInfoCache().isReadonly=!0,N.clear()},resolveModuleNameLiterals:function(t,r,i,o,s,a){return j({entries:t,containingFile:r,containingSourceFile:s,redirectedReference:i,options:o,reusedNames:a,perFileCache:C,loader:WV(r,i,o,e,E),getResolutionWithResolvedFileName:lp,shouldRetryResolution:e=>!e.resolvedModule||!XE(e.resolvedModule.extension),logChanges:n,deferWatchingNonRelativeResolution:!0})},resolveTypeReferenceDirectiveReferences:function(t,n,r,i,o,s){return j({entries:t,containingFile:n,containingSourceFile:o,redirectedReference:r,options:i,reusedNames:s,perFileCache:x,loader:uJ(n,r,i,GV(e),S),getResolutionWithResolvedFileName:up,shouldRetryResolution:e=>void 0===e.resolvedTypeReferenceDirective,deferWatchingNonRelativeResolution:!1})},resolveLibrary:function(t,n,r,i){const o=GV(e);let s=null==k?void 0:k.get(i);if(!s||s.isInvalidated){const a=s;s=Sq(t,n,r,o,D);const c=e.toPath(n);V(t,s,c,lp,!1),k.set(i,s),a&&ee(a,c,lp)}else if(LO(r,o)){const e=lp(s);QO(o,(null==e?void 0:e.resolvedFileName)?e.packageId?us.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:us.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:us.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,t,n,null==e?void 0:e.resolvedFileName,(null==e?void 0:e.packageId)&&_p(e.packageId))}return s},resolveSingleModuleNameWithoutWatching:function(t,n){var r,i;const o=e.toPath(n),s=C.get(o),a=null==s?void 0:s.get(t,void 0);if(a&&!a.isInvalidated)return a;const c=null==(r=e.beforeResolveSingleModuleNameWithoutWatching)?void 0:r.call(e,E),l=GV(e),u=Dq(t,n,e.getCompilationSettings(),l,E);return null==(i=e.afterResolveSingleModuleNameWithoutWatching)||i.call(e,E,t,n,u,c),u},removeResolutionsFromProjectReferenceRedirects:function(t){if(!Eo(t,".json"))return;const n=e.getCurrentProgram();if(!n)return;const r=n.getResolvedProjectReferenceByPath(t);if(!r)return;r.commandLine.fileNames.forEach((t=>ie(e.toPath(t))))},removeResolutionsOfFile:ie,hasChangedAutomaticTypeDirectiveNames:()=>A,invalidateResolutionOfFile:function(t){ie(t);const n=A;oe(u.get(t),it)&&A&&!n&&e.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:ce,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(e){un.assert(o===e||void 0===o),o=e},createHasInvalidatedResolutions:function(e,t){ce();const n=i;return i=void 0,{hasInvalidatedResolutions:t=>e(t)||y||!!(null==n?void 0:n.has(t))||$(t),hasInvalidatedLibResolutions:e=>{var n;return t(e)||!!(null==(n=null==k?void 0:k.get(e))?void 0:n.isInvalidated)}}},isFileWithInvalidatedNonRelativeUnresolvedImports:$,updateTypeRootsWatch:function(){const t=e.getCompilationSettings();if(t.types)return void pe();const n=tq(t,{getCurrentDirectory:v});n?_b(q,new Set(n),{createNewValue:fe,onDeleteValue:rb}):pe()},closeTypeRootsWatch:pe,clear:function(){pb(w,kU),pb(I,kU),N.clear(),B.clear(),O.clear(),s.clear(),pe(),C.clear(),x.clear(),u.clear(),c.clear(),l.clear(),m=void 0,h=void 0,g=void 0,_=void 0,p=void 0,y=!1,E.clear(),S.clear(),E.update(e.getCompilationSettings()),S.update(e.getCompilationSettings()),D.clear(),d.clear(),k.clear(),A=!1},onChangesAffectModuleResolution:function(){y=!0,E.clearAllExceptPackageJsonInfoCache(),S.clearAllExceptPackageJsonInfoCache(),E.update(e.getCompilationSettings()),S.update(e.getCompilationSettings())}};function $(e){if(!o)return!1;const t=o.get(e);return!!t&&!!t.length}function Q(e,t){0===e.dirPathToWatcher.size&&B.delete(t)}function L(e,t){0===e.refCount&&(w.delete(t),e.watcher.close())}function M(e,t){var n;0!==e.files||0!==e.resolutions||(null==(n=e.symlinks)?void 0:n.size)||(I.delete(t),e.watcher.close())}function j({entries:t,containingFile:n,containingSourceFile:i,redirectedReference:o,options:s,perFileCache:a,reusedNames:c,loader:l,getResolutionWithResolvedFileName:u,deferWatchingNonRelativeResolution:d,shouldRetryResolution:p,logChanges:f}){const _=e.toPath(n),m=a.get(_)||a.set(_,gq()).get(_),h=[],g=f&&$(_),A=e.getCurrentProgram(),v=A&&A.getResolvedProjectReferenceToRedirect(n),b=v?!o||o.sourceFile.path!==v.sourceFile.path:!!o,E=gq();for(const c of t){const t=l.nameAndMode.getName(c),A=l.nameAndMode.getMode(c,i,(null==o?void 0:o.commandLine.options)||s);let v=m.get(t,A);if(!E.has(t,A)&&(y||b||!v||v.isInvalidated||g&&!Sa(t)&&p(v))){const n=v;v=l.resolve(t,A),e.onDiscoveredSymlink&&YV(v)&&e.onDiscoveredSymlink(),m.set(t,A,v),v!==n&&(V(t,v,_,u,d),n&&ee(n,_,u)),f&&r&&!x(n,v)&&(r.push(_),f=!1)}else{const r=GV(e);if(LO(s,r)&&!E.has(t,A)){const e=u(v);QO(r,a===C?(null==e?void 0:e.resolvedFileName)?e.packageId?us.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:us.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:us.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:(null==e?void 0:e.resolvedFileName)?e.packageId?us.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:us.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:us.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,t,n,null==e?void 0:e.resolvedFileName,(null==e?void 0:e.packageId)&&_p(e.packageId))}}un.assert(void 0!==v&&!v.isInvalidated),E.set(t,A,!0),h.push(v)}return null==c||c.forEach((e=>E.set(l.nameAndMode.getName(e),l.nameAndMode.getMode(e,i,(null==o?void 0:o.commandLine.options)||s),!0))),m.size()!==E.size()&&m.forEach(((e,t,n)=>{E.has(t,n)||(ee(e,_,u),m.delete(t,n))})),h;function x(e,t){if(e===t)return!0;if(!e||!t)return!1;const n=u(e),r=u(t);return n===r||!(!n||!r)&&n.resolvedFileName===r.resolvedFileName}}function U(e){return Ot(e,"/node_modules/@types")}function V(t,n,r,i,o){if((n.files??(n.files=new Set)).add(r),1!==n.files.size)return;!o||Sa(t)?G(n):s.add(n);const a=i(n);if(a&&a.resolvedFileName){const t=e.toPath(a.resolvedFileName);let r=u.get(t);r||u.set(t,r=new Set),r.add(n)}}function H(t,n){const r=jV(t,e.toPath(t),T,F,R,P,v,e.preferNonRecursiveWatch);if(r){const{dir:e,dirPath:t,nonRecursive:i,packageDir:o,packageDirPath:s}=r;t===F?(un.assert(i),un.assert(!o),n=!0):K(e,t,o,s,i)}return n}function G(e){var t;un.assert(!!(null==(t=e.files)?void 0:t.size));const{failedLookupLocations:n,affectingLocations:r,alternateResult:i}=e;if(!(null==n?void 0:n.length)&&!(null==r?void 0:r.length)&&!i)return;((null==n?void 0:n.length)||i)&&c.add(e);let o=!1;if(n)for(const e of n)o=H(e,o);i&&(o=H(i,o)),o&&K(T,F,void 0,void 0,!0),function(e,t){var n;un.assert(!!(null==(n=e.files)?void 0:n.size));const{affectingLocations:r}=e;if(!(null==r?void 0:r.length))return;t&&l.add(e);for(const e of r)W(e,!0)}(e,!(null==n?void 0:n.length)&&!i)}function W(t,n){const r=I.get(t);if(r)return void(n?r.resolutions++:r.files++);let i,o=t,s=!1;e.realpath&&(o=e.realpath(t),t!==o&&(s=!0,i=I.get(o)));const a=n?1:0,c=n?0:1;if(!s||!i){const t={watcher:MV(e.toPath(o))?e.watchAffectingFileLocation(o,((t,n)=>{null==b||b.addOrDeleteFile(t,e.toPath(o),n),z(o,E.getPackageJsonInfoCache().getInternalMap()),e.scheduleInvalidateResolutionsOfFailedLookupLocations()})):AH,resolutions:s?0:a,files:s?0:c,symlinks:void 0};I.set(o,t),s&&(i=t)}if(s){un.assert(!!i);const e={watcher:{close:()=>{var e;const n=I.get(o);!(null==(e=null==n?void 0:n.symlinks)?void 0:e.delete(t))||n.symlinks.size||n.resolutions||n.files||(I.delete(o),n.watcher.close())}},resolutions:a,files:c,symlinks:void 0};I.set(t,e),(i.symlinks??(i.symlinks=new Set)).add(t)}}function z(t,n){var r;const i=I.get(t);(null==i?void 0:i.resolutions)&&(_??(_=new Set)).add(t),(null==i?void 0:i.files)&&(p??(p=new Set)).add(t),null==(r=null==i?void 0:i.symlinks)||r.forEach((e=>z(e,n))),null==n||n.delete(e.toPath(t))}function Y(){s.forEach(G),s.clear()}function K(t,n,r,i,o){i&&e.realpath?function(t,n,r,i,o){un.assert(!o);let s=N.get(i),a=B.get(i);if(void 0===s){const t=e.realpath(r);s=t!==r&&e.toPath(t)!==i,N.set(i,s),a?a.isSymlink!==s&&(a.dirPathToWatcher.forEach((e=>{te(a.isSymlink?i:n),e.watcher=l()})),a.isSymlink=s):B.set(i,a={dirPathToWatcher:new Map,isSymlink:s})}else un.assertIsDefined(a),un.assert(s===a.isSymlink);const c=a.dirPathToWatcher.get(n);function l(){return s?X(r,i,o):X(t,n,o)}c?c.refCount++:(a.dirPathToWatcher.set(n,{watcher:l(),refCount:1}),s&&O.set(n,(O.get(n)??0)+1))}(t,n,r,i,o):X(t,n,o)}function X(e,t,n){let r=w.get(t);return r?(un.assert(!!n==!!r.nonRecursive),r.refCount++):w.set(t,r={watcher:ne(e,t,n),refCount:1,nonRecursive:n}),r}function Z(t,n){const r=jV(t,e.toPath(t),T,F,R,P,v,e.preferNonRecursiveWatch);if(r){const{dirPath:t,packageDirPath:i}=r;if(t===F)n=!0;else if(i&&e.realpath){const e=B.get(i),n=e.dirPathToWatcher.get(t);if(n.refCount--,0===n.refCount&&(te(e.isSymlink?i:t),e.dirPathToWatcher.delete(t),e.isSymlink)){const e=O.get(t)-1;0===e?O.delete(t):O.set(t,e)}}else te(t)}return n}function ee(t,n,r){if(un.checkDefined(t.files).delete(n),t.files.size)return;t.files=void 0;const i=r(t);if(i&&i.resolvedFileName){const n=e.toPath(i.resolvedFileName),r=u.get(n);(null==r?void 0:r.delete(t))&&!r.size&&u.delete(n)}const{failedLookupLocations:o,affectingLocations:s,alternateResult:a}=t;if(c.delete(t)){let e=!1;if(o)for(const t of o)e=Z(t,e);a&&(e=Z(a,e)),e&&te(F)}else(null==s?void 0:s.length)&&l.delete(t);if(s)for(const e of s){I.get(e).resolutions--}}function te(e){w.get(e).refCount--}function ne(t,n,r){return e.watchDirectoryOfFailedLookupLocation(t,(t=>{const r=e.toPath(t);b&&b.addOrDeleteFileOrDirectory(t,r),se(r,n===r)}),r?0:1)}function re(e,t,n){const r=e.get(t);r&&(r.forEach((e=>ee(e,t,n))),e.delete(t))}function ie(e){re(C,e,lp),re(x,e,up)}function oe(e,t){if(!e)return!1;let n=!1;return e.forEach((e=>{if(!e.isInvalidated&&t(e)){e.isInvalidated=n=!0;for(const t of un.checkDefined(e.files))(i??(i=new Set)).add(t),A=A||Ot(t,_J)}})),n}function se(t,n){if(n)(g||(g=new Set)).add(t);else{const n=NV(t);if(!n)return!1;if(t=n,e.fileIsOpen(t))return!1;const r=Io(t);if(U(t)||cs(t)||U(r)||cs(r))(m||(m=new Set)).add(t),(h||(h=new Set)).add(t);else{if(CU(e.getCurrentProgram(),t))return!1;if(Eo(t,".map"))return!1;(m||(m=new Set)).add(t),(h||(h=new Set)).add(t);const n=Mq(t,!0);n&&(h||(h=new Set)).add(n)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function ae(){const e=E.getPackageJsonInfoCache().getInternalMap();e&&(m||h||g)&&e.forEach(((t,n)=>ue(n)?e.delete(n):void 0))}function ce(){var t;if(y)return p=void 0,ae(),(m||h||g||_)&&oe(k,le),m=void 0,h=void 0,g=void 0,_=void 0,!0;let n=!1;return p&&(null==(t=e.getCurrentProgram())||t.getSourceFiles().forEach((e=>{J(e.packageJsonLocations,(e=>p.has(e)))&&((i??(i=new Set)).add(e.path),n=!0)})),p=void 0),m||h||g||_?(n=oe(c,le)||n,ae(),m=void 0,h=void 0,g=void 0,n=oe(l,de)||n,_=void 0,n):n}function le(t){var n;return!!de(t)||!!(m||h||g)&&((null==(n=t.failedLookupLocations)?void 0:n.some((t=>ue(e.toPath(t)))))||!!t.alternateResult&&ue(e.toPath(t.alternateResult)))}function ue(e){return(null==m?void 0:m.has(e))||f((null==h?void 0:h.keys())||[],(t=>!!Wt(e,t)||void 0))||f((null==g?void 0:g.keys())||[],(t=>!(!(e.length>t.length&&Wt(e,t))||!Ao(t)&&e[t.length]!==uo)||void 0))}function de(e){var t;return!!_&&(null==(t=e.affectingLocations)?void 0:t.some((e=>_.has(e))))}function pe(){pb(q,rb)}function fe(t){return function(t){return!!e.getCompilationSettings().typeRoots||$V(e.toPath(t))}(t)?e.watchTypeRootsDirectory(t,(n=>{const r=e.toPath(n);b&&b.addOrDeleteFileOrDirectory(n,r),A=!0,e.onChangedAutomaticTypeDirectiveNames();const i=VV(t,e.toPath(t),F,R,P,v,e.preferNonRecursiveWatch,(e=>w.has(e)||O.has(e)));i&&se(r,i===r)}),1):AH}}function YV(e){var t,n;return!(!(null==(t=e.resolvedModule)?void 0:t.originalPath)&&!(null==(n=e.resolvedTypeReferenceDirective)?void 0:n.originalPath))}var KV=co?{getCurrentDirectory:()=>co.getCurrentDirectory(),getNewLine:()=>co.newLine,getCanonicalFileName:Jt(co.useCaseSensitiveFileNames)}:void 0;function XV(e,t){const n=e===co&&KV?KV:{getCurrentDirectory:()=>e.getCurrentDirectory(),getNewLine:()=>e.newLine,getCanonicalFileName:Jt(e.useCaseSensitiveFileNames)};if(!t)return t=>e.write(qU(t,n));const r=new Array(1);return t=>{r[0]=t,e.write(zU(r,n)+n.getNewLine()),r[0]=void 0}}function ZV(e,t,n){return!(!e.clearScreen||n.preserveWatchOutput||n.extendedDiagnostics||n.diagnostics||!C(eH,t.code))&&(e.clearScreen(),!0)}var eH=[us.Starting_compilation_in_watch_mode.code,us.File_change_detected_Starting_incremental_compilation.code];function tH(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):(new Date).toLocaleTimeString()}function nH(e,t){return t?(t,n,r)=>{ZV(e,t,r);let i=`[${HU(tH(e),"")}] `;i+=`${YU(t.messageText,e.newLine)}${n+n}`,e.write(i)}:(t,n,r)=>{let i="";ZV(e,t,r)||(i+=n),i+=`${tH(e)} - `,i+=`${YU(t.messageText,e.newLine)}${function(e,t){return C(eH,e.code)?t+t:t}(t,n)}`,e.write(i)}}function rH(e,t,n,r,i,o){const s=i;s.onUnRecoverableConfigFileDiagnostic=e=>wH(i,o,e);const a=nB(e,t,s,n,r);return s.onUnRecoverableConfigFileDiagnostic=void 0,a}function iH(e){return x(e,(e=>1===e.category))}function oH(e){return S(e,(e=>1===e.category)).map((e=>{if(void 0!==e.file)return`${e.file.fileName}`})).map((t=>{if(void 0===t)return;const n=A(e,(e=>void 0!==e.file&&e.file.fileName===t));if(void 0!==n){const{line:e}=Ms(n.file,n.start);return{fileName:t,line:e+1}}}))}function sH(e){return 1===e?us.Found_1_error_Watching_for_file_changes:us.Found_0_errors_Watching_for_file_changes}function aH(e,t){const n=HU(":"+e.line,"");return yo(e.fileName)&&yo(t)?rs(t,e.fileName,!1)+n:e.fileName+n}function cH(e,t,n,r){if(0===e)return"";const i=t.filter((e=>void 0!==e)),o=i.map((e=>`${e.fileName}:${e.line}`)).filter(((e,t,n)=>n.indexOf(e)===t)),s=i[0]&&aH(i[0],r.getCurrentDirectory());let a;a=1===e?void 0!==t[0]?[us.Found_1_error_in_0,s]:[us.Found_1_error]:0===o.length?[us.Found_0_errors,e]:1===o.length?[us.Found_0_errors_in_the_same_file_starting_at_Colon_1,e,s]:[us.Found_0_errors_in_1_files,e,o.length];const c=Xb(...a),l=o.length>1?function(e,t){const n=e.filter(((e,t,n)=>t===n.findIndex((t=>(null==t?void 0:t.fileName)===(null==e?void 0:e.fileName)))));if(0===n.length)return"";const r=e=>Math.log(e)*Math.LOG10E+1,i=n.map((t=>[t,x(e,(e=>e.fileName===t.fileName))])),o=vt(i,0,(e=>e[1])),s=us.Errors_Files.message,a=s.split(" ")[0].length,c=Math.max(a,r(o)),l=Math.max(r(o)-a,0);let u="";return u+=" ".repeat(l)+s+"\n",i.forEach((e=>{const[n,r]=e,i=Math.log(r)*Math.LOG10E+1|0,o=iis(t,e.getCurrentDirectory(),e.getCanonicalFileName);for(const s of e.getSourceFiles())t(`${mH(s,o)}`),null==(n=i.get(s.path))||n.forEach((n=>t(` ${_H(e,n,o).messageText}`))),null==(r=dH(s,e.getCompilerOptionsForFile(s),o))||r.forEach((e=>t(` ${e.messageText}`)))}function dH(e,t,n){var r;let i;if(e.path!==e.resolvedPath&&(i??(i=[])).push(eC(void 0,us.File_is_output_of_project_reference_source_0,mH(e.originalFileName,n))),e.redirectInfo&&(i??(i=[])).push(eC(void 0,us.File_redirects_to_file_0,mH(e.redirectInfo.redirectTarget,n))),Zf(e))switch(TJ(e,t)){case 99:e.packageJsonScope&&(i??(i=[])).push(eC(void 0,us.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,mH(Ae(e.packageJsonLocations),n)));break;case 1:e.packageJsonScope?(i??(i=[])).push(eC(void 0,e.packageJsonScope.contents.packageJsonContent.type?us.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:us.File_is_CommonJS_module_because_0_does_not_have_field_type,mH(Ae(e.packageJsonLocations),n))):(null==(r=e.packageJsonLocations)?void 0:r.length)&&(i??(i=[])).push(eC(void 0,us.File_is_CommonJS_module_because_package_json_was_not_found))}return i}function pH(e,t){var n;const r=e.getCompilerOptions().configFile;if(!(null==(n=null==r?void 0:r.configFileSpecs)?void 0:n.validatedFilesSpec))return;const i=e.getCanonicalFileName(t),o=Io(Lo(r.fileName,e.getCurrentDirectory())),s=v(r.configFileSpecs.validatedFilesSpec,(t=>e.getCanonicalFileName(Lo(t,o))===i));return-1!==s?r.configFileSpecs.validatedFilesSpecBeforeSubstitution[s]:void 0}function fH(e,t){var n,r;const i=e.getCompilerOptions().configFile;if(!(null==(n=null==i?void 0:i.configFileSpecs)?void 0:n.validatedIncludeSpecs))return;if(i.configFileSpecs.isDefaultIncludeSpec)return!0;const o=Eo(t,".json"),s=Io(Lo(i.fileName,e.getCurrentDirectory())),a=e.useCaseSensitiveFileNames(),c=v(null==(r=null==i?void 0:i.configFileSpecs)?void 0:r.validatedIncludeSpecs,(e=>{if(o&&!Ot(e,".json"))return!1;const n=pE(e,s,"files");return!!n&&hE(`(${n})$`,a).test(t)}));return-1!==c?i.configFileSpecs.validatedIncludeSpecsBeforeSubstitution[c]:void 0}function _H(e,t,n){var r,i;const o=e.getCompilerOptions();if(yJ(t)){const r=bJ(e,t),i=vJ(r)?r.file.text.substring(r.pos,r.end):`"${r.text}"`;let o;switch(un.assert(vJ(r)||3===t.kind,"Only synthetic references are imports"),t.kind){case 3:o=vJ(r)?r.packageId?us.Imported_via_0_from_file_1_with_packageId_2:us.Imported_via_0_from_file_1:r.text===Ud?r.packageId?us.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:us.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:r.packageId?us.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:us.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:un.assert(!r.packageId),o=us.Referenced_via_0_from_file_1;break;case 5:o=r.packageId?us.Type_library_referenced_via_0_from_file_1_with_packageId_2:us.Type_library_referenced_via_0_from_file_1;break;case 7:un.assert(!r.packageId),o=us.Library_referenced_via_0_from_file_1;break;default:un.assertNever(t)}return eC(void 0,o,i,mH(r.file,n),r.packageId&&_p(r.packageId))}switch(t.kind){case 0:if(!(null==(r=o.configFile)?void 0:r.configFileSpecs))return eC(void 0,us.Root_file_specified_for_compilation);const s=Lo(e.getRootFileNames()[t.index],e.getCurrentDirectory());if(pH(e,s))return eC(void 0,us.Part_of_files_list_in_tsconfig_json);const a=fH(e,s);return Xe(a)?eC(void 0,us.Matched_by_include_pattern_0_in_1,a,mH(o.configFile,n)):eC(void 0,a?us.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:us.Root_file_specified_for_compilation);case 1:case 2:const c=2===t.kind,l=un.checkDefined(null==(i=e.getResolvedProjectReferences())?void 0:i[t.index]);return eC(void 0,o.outFile?c?us.Output_from_referenced_project_0_included_because_1_specified:us.Source_from_referenced_project_0_included_because_1_specified:c?us.Output_from_referenced_project_0_included_because_module_is_specified_as_none:us.Source_from_referenced_project_0_included_because_module_is_specified_as_none,mH(l.sourceFile.fileName,n),o.outFile?"--outFile":"--out");case 8:return eC(void 0,...o.types?t.packageId?[us.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,t.typeReference,_p(t.packageId)]:[us.Entry_point_of_type_library_0_specified_in_compilerOptions,t.typeReference]:t.packageId?[us.Entry_point_for_implicit_type_library_0_with_packageId_1,t.typeReference,_p(t.packageId)]:[us.Entry_point_for_implicit_type_library_0,t.typeReference]);case 6:{if(void 0!==t.index)return eC(void 0,us.Library_0_specified_in_compilerOptions,o.lib[t.index]);const e=MC(yC(o));return eC(void 0,...e?[us.Default_library_for_target_0,e]:[us.Default_library])}default:un.assertNever(t)}}function mH(e,t){const n=Xe(e)?e:e.fileName;return t?t(n):n}function hH(e,t,n,r,i,o,s,c){const l=e.getCompilerOptions(),d=e.getConfigFileParsingDiagnostics().slice(),p=d.length;se(d,e.getSyntacticDiagnostics(void 0,o)),d.length===p&&(se(d,e.getOptionsDiagnostics(o)),l.listFilesOnly||(se(d,e.getGlobalDiagnostics(o)),d.length===p&&se(d,e.getSemanticDiagnostics(void 0,o)),l.noEmit&&IC(l)&&d.length===p&&se(d,e.getDeclarationDiagnostics(void 0,o))));const f=l.listFilesOnly?{emitSkipped:!0,diagnostics:a}:e.emit(void 0,i,o,s,c);se(d,f.diagnostics);const _=ka(d);if(_.forEach(t),n){const t=e.getCurrentDirectory();u(f.emittedFiles,(e=>{const r=Lo(e,t);n(`TSFILE: ${r}`)})),function(e,t){const n=e.getCompilerOptions();n.explainFiles?uH(lH(e)?e.getProgram():e,t):(n.listFiles||n.listFilesOnly)&&u(e.getSourceFiles(),(e=>{t(e.fileName)}))}(e,n)}return r&&r(iH(_),oH(_)),{emitResult:f,diagnostics:_}}function gH(e,t,n,r,i,o,s,a){const{emitResult:c,diagnostics:l}=hH(e,t,n,r,i,o,s,a);return c.emitSkipped&&l.length>0?1:l.length>0?2:0}var AH={close:nt},yH=()=>AH;function vH(e=co,t){return{onWatchStatusChange:t||nH(e),watchFile:Je(e,e.watchFile)||yH,watchDirectory:Je(e,e.watchDirectory)||yH,setTimeout:Je(e,e.setTimeout)||nt,clearTimeout:Je(e,e.clearTimeout)||nt,preferNonRecursiveWatch:e.preferNonRecursiveWatch}}var bH={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 CH(e,t){const n=e.trace?t.extendedDiagnostics?2:t.diagnostics?1:0:0,r=0!==n?t=>e.trace(t):nt,i=xU(e,n,r);return i.writeLog=r,i}function EH(e,t,n=e){const r=e.useCaseSensitiveFileNames(),i={getSourceFile:FU(((t,n)=>n?e.readFile(t,n):i.readFile(t)),void 0),getDefaultLibLocation:Je(e,e.getDefaultLibLocation),getDefaultLibFileName:t=>e.getDefaultLibFileName(t),writeFile:RU(((t,n,r)=>e.writeFile(t,n,r)),(t=>e.createDirectory(t)),(t=>e.directoryExists(t))),getCurrentDirectory:dt((()=>e.getCurrentDirectory())),useCaseSensitiveFileNames:()=>r,getCanonicalFileName:Jt(r),getNewLine:()=>Rv(t()),fileExists:t=>e.fileExists(t),readFile:t=>e.readFile(t),trace:Je(e,e.trace),directoryExists:Je(n,n.directoryExists),getDirectories:Je(n,n.getDirectories),realpath:Je(e,e.realpath),getEnvironmentVariable:Je(e,e.getEnvironmentVariable)||(()=>""),createHash:Je(e,e.createHash),readDirectory:Je(e,e.readDirectory),storeSignatureInfo:e.storeSignatureInfo,jsDocParsingMode:e.jsDocParsingMode};return i}function xH(e,t){if(t.match(_L)){let e=t.length,n=e;for(let r=e-1;r>=0;r--){const i=t.charCodeAt(r);switch(i){case 10:r&&13===t.charCodeAt(r-1)&&r--;case 13:break;default:if(i<127||!Js(i)){n=r;continue}}const o=t.substring(n,e);if(o.match(mL)){t=t.substring(0,n);break}if(!o.match(hL))break;e=n}}return(e.createHash||Oi)(t)}function SH(e){const t=e.getSourceFile;e.getSourceFile=(...n)=>{const r=t.call(e,...n);return r&&(r.version=xH(e,r.text)),r}}function kH(e,t){const n=dt((()=>Io(Mo(e.getExecutingFilePath()))));return{useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames,getNewLine:()=>e.newLine,getCurrentDirectory:dt((()=>e.getCurrentDirectory())),getDefaultLibLocation:n,getDefaultLibFileName:e=>qo(n(),wa(e)),fileExists:t=>e.fileExists(t),readFile:(t,n)=>e.readFile(t,n),directoryExists:t=>e.directoryExists(t),getDirectories:t=>e.getDirectories(t),readDirectory:(t,n,r,i,o)=>e.readDirectory(t,n,r,i,o),realpath:Je(e,e.realpath),getEnvironmentVariable:Je(e,e.getEnvironmentVariable),trace:t=>e.write(t+e.newLine),createDirectory:t=>e.createDirectory(t),writeFile:(t,n,r)=>e.writeFile(t,n,r),createHash:Je(e,e.createHash),createProgram:t||RV,storeSignatureInfo:e.storeSignatureInfo,now:Je(e,e.now)}}function DH(e=co,t,n,r){const i=t=>e.write(t+e.newLine),o=kH(e,t);return Ue(o,vH(e,r)),o.afterProgramCreate=e=>{const t=e.getCompilerOptions(),r=Rv(t);hH(e,n,i,(e=>o.onWatchStatusChange(Xb(sH(e),e),r,t,e)))},o}function wH(e,t,n){t(n),e.exit(1)}function IH({configFileName:e,optionsToExtend:t,watchOptionsToExtend:n,extraFileExtensions:r,system:i,createProgram:o,reportDiagnostic:s,reportWatchStatus:a}){const c=s||XV(i),l=DH(i,o,c,a);return l.onUnRecoverableConfigFileDiagnostic=e=>wH(i,c,e),l.configFileName=e,l.optionsToExtend=t,l.watchOptionsToExtend=n,l.extraFileExtensions=r,l}function TH({rootFiles:e,options:t,watchOptions:n,projectReferences:r,system:i,createProgram:o,reportDiagnostic:s,reportWatchStatus:a}){const c=DH(i,o,s||XV(i),a);return c.rootFiles=e,c.options=t,c.watchOptions=n,c.projectReferences=r,c}function FH(e){const t=e.system||co,n=e.host||(e.host=PH(e.options,t)),r=NH(e),i=gH(r,e.reportDiagnostic||XV(t),(e=>n.trace&&n.trace(e)),e.reportErrorSummary||e.options.pretty?(e,r)=>t.write(cH(e,r,t.newLine,n)):void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(r),i}function RH(e,t){const n=qj(e);if(!n)return;let r;if(t.getBuildInfo)r=t.getBuildInfo(n,e.configFilePath);else{const e=t.readFile(n);if(!e)return;r=iU(n,e)}return r&&r.version===o&&_V(r)?DV(r,n,t):void 0}function PH(e,t=co){const n=PU(e,void 0,t);return n.createHash=Je(t,t.createHash),n.storeSignatureInfo=t.storeSignatureInfo,SH(n),NU(n,(e=>Uo(e,n.getCurrentDirectory(),n.getCanonicalFileName))),n}function NH({rootNames:e,options:t,configFileParsingDiagnostics:n,projectReferences:r,host:i,createProgram:o}){return(o=o||RV)(e,t,i=i||PH(t),RH(t,i),n,r)}function BH(e,t,n,r,i,o,s,a){return Ye(e)?TH({rootFiles:e,options:t,watchOptions:a,projectReferences:s,system:n,createProgram:r,reportDiagnostic:i,reportWatchStatus:o}):IH({configFileName:e,optionsToExtend:t,watchOptionsToExtend:s,extraFileExtensions:a,system:n,createProgram:r,reportDiagnostic:i,reportWatchStatus:o})}function OH(e){let t,n,r,i,o,s,a,c,l=new Map([[void 0,void 0]]),u=e.extendedConfigCache,d=!1;const p=new Map;let f,_=!1;const m=e.useCaseSensitiveFileNames(),h=e.getCurrentDirectory(),{configFileName:g,optionsToExtend:A={},watchOptionsToExtend:y,extraFileExtensions:v,createProgram:b}=e;let C,E,{rootFiles:x,options:S,watchOptions:k,projectReferences:D}=e,w=!1,I=!1;const T=void 0===g?void 0:_U(e,h,m),F=T||e,R=BJ(e,F);let P=z();g&&e.configFileParsingResult&&(ce(e.configFileParsingResult),P=z()),ee(us.Starting_compilation_in_watch_mode),g&&!e.configFileParsingResult&&(P=Rv(A),un.assert(!x),ae(),P=z()),un.assert(S),un.assert(x);const{watchFile:N,watchDirectory:B,writeLog:O}=CH(e,S),q=Jt(m);let $;O(`Current directory: ${h} CaseSensitiveFileNames: ${m}`),g&&($=N(g,(function(){un.assert(!!g),n=2,ie()}),2e3,k,bH.ConfigFile));const Q=EH(e,(()=>S),F);SH(Q);const L=Q.getSourceFile;Q.getSourceFile=(e,...t)=>X(e,Y(e),...t),Q.getSourceFileByPath=X,Q.getNewLine=()=>P,Q.fileExists=function(e){const t=Y(e);if(K(p.get(t)))return!1;return F.fileExists(e)},Q.onReleaseOldSourceFile=function(e,t,n){const r=p.get(e.resolvedPath);void 0!==r&&(K(r)?(f||(f=[])).push(e.path):r.sourceFile===e&&(r.fileWatcher&&r.fileWatcher.close(),p.delete(e.resolvedPath),n||M.removeResolutionsOfFile(e.path)))},Q.onReleaseParsedCommandLine=function(e){var t;const n=Y(e),r=null==a?void 0:a.get(n);if(!r)return;a.delete(n),r.watchedDirectories&&pb(r.watchedDirectories,kU);null==(t=r.watcher)||t.close(),gU(n,c)},Q.toPath=Y,Q.getCompilationSettings=()=>S,Q.useSourceOfProjectReferenceRedirect=Je(e,e.useSourceOfProjectReferenceRedirect),Q.preferNonRecursiveWatch=e.preferNonRecursiveWatch,Q.watchDirectoryOfFailedLookupLocation=(e,t,n)=>B(e,t,n,k,bH.FailedLookupLocations),Q.watchAffectingFileLocation=(e,t)=>N(e,t,2e3,k,bH.AffectingFileLocation),Q.watchTypeRootsDirectory=(e,t,n)=>B(e,t,n,k,bH.TypeRoots),Q.getCachedDirectoryStructureHost=()=>T,Q.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!e.setTimeout||!e.clearTimeout)return M.invalidateResolutionsOfFailedLookupLocations();const t=ne();O("Scheduling invalidateFailedLookup"+(t?", Cancelled earlier one":"")),s=e.setTimeout(re,250,"timerToInvalidateFailedLookupResolutions")},Q.onInvalidatedResolution=ie,Q.onChangedAutomaticTypeDirectiveNames=ie,Q.fileIsOpen=rt,Q.getCurrentProgram=G,Q.writeLog=O,Q.getParsedCommandLine=le;const M=zV(Q,g?Io(Lo(g,h)):h,!1);Q.resolveModuleNameLiterals=Je(e,e.resolveModuleNameLiterals),Q.resolveModuleNames=Je(e,e.resolveModuleNames),Q.resolveModuleNameLiterals||Q.resolveModuleNames||(Q.resolveModuleNameLiterals=M.resolveModuleNameLiterals.bind(M)),Q.resolveTypeReferenceDirectiveReferences=Je(e,e.resolveTypeReferenceDirectiveReferences),Q.resolveTypeReferenceDirectives=Je(e,e.resolveTypeReferenceDirectives),Q.resolveTypeReferenceDirectiveReferences||Q.resolveTypeReferenceDirectives||(Q.resolveTypeReferenceDirectiveReferences=M.resolveTypeReferenceDirectiveReferences.bind(M)),Q.resolveLibrary=e.resolveLibrary?e.resolveLibrary.bind(e):M.resolveLibrary.bind(M),Q.getModuleResolutionCache=e.resolveModuleNameLiterals||e.resolveModuleNames?Je(e,e.getModuleResolutionCache):()=>M.getModuleResolutionCache();const j=!!(e.resolveModuleNameLiterals||e.resolveTypeReferenceDirectiveReferences||e.resolveModuleNames||e.resolveTypeReferenceDirectives)?Je(e,e.hasInvalidatedResolutions)||it:rt,U=e.resolveLibrary?Je(e,e.hasInvalidatedLibResolutions)||it:rt;return t=RH(S,Q),W(),g?{getCurrentProgram:H,getProgram:se,close:J,getResolutionCache:V}:{getCurrentProgram:H,getProgram:se,updateRootFileNames:function(e){un.assert(!g,"Cannot update root file names with config file watch mode"),x=e,ie()},close:J,getResolutionCache:V};function J(){ne(),M.clear(),pb(p,(e=>{e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),$&&($.close(),$=void 0),null==u||u.clear(),u=void 0,c&&(pb(c,kU),c=void 0),i&&(pb(i,kU),i=void 0),r&&(pb(r,rb),r=void 0),a&&(pb(a,(e=>{var t;null==(t=e.watcher)||t.close(),e.watcher=void 0,e.watchedDirectories&&pb(e.watchedDirectories,kU),e.watchedDirectories=void 0})),a=void 0),t=void 0}function V(){return M}function H(){return t}function G(){return t&&t.getProgramOrUndefined()}function W(){O("Synchronizing program"),un.assert(S),un.assert(x),ne();const n=H();_&&(P=z(),n&&Xd(n.getCompilerOptions(),S)&&M.onChangesAffectModuleResolution());const{hasInvalidatedResolutions:o,hasInvalidatedLibResolutions:s}=M.createHasInvalidatedResolutions(j,U),{originalReadFile:c,originalFileExists:u,originalDirectoryExists:A,originalCreateDirectory:y,originalWriteFile:v,readFileWithCache:w}=NU(Q,Y);return CJ(G(),x,S,(e=>function(e,t){const n=p.get(e);if(!n)return;if(n.version)return n.version;const r=t(e);return void 0!==r?xH(Q,r):void 0}(e,w)),(e=>Q.fileExists(e)),o,s,te,le,D)?I&&(d&&ee(us.File_change_detected_Starting_incremental_compilation),t=b(void 0,void 0,Q,t,E,D),I=!1):(d&&ee(us.File_change_detected_Starting_incremental_compilation),function(e,n){O("CreatingProgramWith::"),O(` roots: ${JSON.stringify(x)}`),O(` options: ${JSON.stringify(S)}`),D&&O(` projectReferences: ${JSON.stringify(D)}`);const i=_||!G();_=!1,I=!1,M.startCachingPerDirectoryResolution(),Q.hasInvalidatedResolutions=e,Q.hasInvalidatedLibResolutions=n,Q.hasChangedAutomaticTypeDirectiveNames=te;const o=G();t=b(x,S,Q,t,E,D),M.finishCachingPerDirectoryResolution(t.getProgram(),o),yU(t.getProgram(),r||(r=new Map),fe),i&&M.updateTypeRootsWatch();if(f){for(const e of f)r.has(e)||p.delete(e);f=void 0}}(o,s)),d=!1,e.afterProgramCreate&&n!==t&&e.afterProgramCreate(t),Q.readFile=c,Q.fileExists=u,Q.directoryExists=A,Q.createDirectory=y,Q.writeFile=v,null==l||l.forEach(((e,t)=>{if(t){const n=null==a?void 0:a.get(t);n&&function(e,t,n){var r,i,o,s;n.watcher||(n.watcher=N(e,((n,r)=>{pe(e,t,r);const i=null==a?void 0:a.get(t);i&&(i.updateLevel=2),M.removeResolutionsFromProjectReferenceRedirects(t),ie()}),2e3,(null==(r=n.parsedCommandLine)?void 0:r.watchOptions)||k,bH.ConfigFileOfReferencedProject)),vU(n.watchedDirectories||(n.watchedDirectories=new Map),null==(i=n.parsedCommandLine)?void 0:i.wildcardDirectories,((r,i)=>{var o;return B(r,(n=>{const i=Y(n);T&&T.addOrDeleteFileOrDirectory(n,i),Z(i);const o=null==a?void 0:a.get(t);(null==o?void 0:o.parsedCommandLine)&&(bU({watchedDirPath:Y(r),fileOrDirectory:n,fileOrDirectoryPath:i,configFileName:e,options:o.parsedCommandLine.options,program:o.parsedCommandLine.fileNames,currentDirectory:h,useCaseSensitiveFileNames:m,writeLog:O,toPath:Y})||2!==o.updateLevel&&(o.updateLevel=1,ie()))}),i,(null==(o=n.parsedCommandLine)?void 0:o.watchOptions)||k,bH.WildcardDirectoryOfReferencedProject)})),he(t,null==(o=n.parsedCommandLine)?void 0:o.options,(null==(s=n.parsedCommandLine)?void 0:s.watchOptions)||k,bH.ExtendedConfigOfReferencedProject)}(e,t,n)}else vU(i||(i=new Map),C,me),g&&he(Y(g),S,k,bH.ExtendedConfigFile)})),l=void 0,t}function z(){return Rv(S||A)}function Y(e){return Uo(e,h,q)}function K(e){return"boolean"==typeof e}function X(e,t,n,r,i){const o=p.get(t);if(K(o))return;const s="object"==typeof n?n.impliedNodeFormat:void 0;if(void 0===o||i||function(e){return"boolean"==typeof e.version}(o)||o.sourceFile.impliedNodeFormat!==s){const i=L(e,n,r);if(o)i?(o.sourceFile=i,o.version=i.version,o.fileWatcher||(o.fileWatcher=ue(t,e,de,250,k,bH.SourceFile))):(o.fileWatcher&&o.fileWatcher.close(),p.set(t,!1));else if(i){const n=ue(t,e,de,250,k,bH.SourceFile);p.set(t,{sourceFile:i,version:i.version,fileWatcher:n})}else p.set(t,!1);return i}return o.sourceFile}function Z(e){const t=p.get(e);void 0!==t&&(K(t)?p.set(e,{version:!1}):t.version=!1)}function ee(t){e.onWatchStatusChange&&e.onWatchStatusChange(Xb(t),P,S||A)}function te(){return M.hasChangedAutomaticTypeDirectiveNames()}function ne(){return!!s&&(e.clearTimeout(s),s=void 0,!0)}function re(){s=void 0,M.invalidateResolutionsOfFailedLookupLocations()&&ie()}function ie(){e.setTimeout&&e.clearTimeout&&(o&&e.clearTimeout(o),O("Scheduling update"),o=e.setTimeout(oe,250,"timerToUpdateProgram"))}function oe(){o=void 0,d=!0,se()}function se(){switch(n){case 1:!function(){O("Reloading new file names and options"),un.assert(S),un.assert(g),n=0,x=xO(S.configFile.configFileSpecs,Lo(Io(g),h),S,R,v),oO(x,Lo(g,h),S.configFile.configFileSpecs,E,w)&&(I=!0);W()}();break;case 2:!function(){un.assert(g),O(`Reloading config file: ${g}`),n=0,T&&T.clearCache();ae(),_=!0,(l??(l=new Map)).set(void 0,void 0),W()}();break;default:W()}return H()}function ae(){un.assert(g),ce(nB(g,A,R,u||(u=new Map),y,v))}function ce(e){x=e.fileNames,S=e.options,k=e.watchOptions,D=e.projectReferences,C=e.wildcardDirectories,E=EJ(e).slice(),w=iO(e.raw),I=!0}function le(t){const n=Y(t);let r=null==a?void 0:a.get(n);if(r){if(!r.updateLevel)return r.parsedCommandLine;if(r.parsedCommandLine&&1===r.updateLevel&&!e.getParsedCommandLine){O("Reloading new file names and options"),un.assert(S);const e=xO(r.parsedCommandLine.options.configFile.configFileSpecs,Lo(Io(t),h),S,R);return r.parsedCommandLine={...r.parsedCommandLine,fileNames:e},r.updateLevel=void 0,r.parsedCommandLine}}O(`Loading config file: ${t}`);const i=e.getParsedCommandLine?e.getParsedCommandLine(t):function(e){const t=R.onUnRecoverableConfigFileDiagnostic;R.onUnRecoverableConfigFileDiagnostic=nt;const n=nB(e,void 0,R,u||(u=new Map),y);return R.onUnRecoverableConfigFileDiagnostic=t,n}(t);return r?(r.parsedCommandLine=i,r.updateLevel=void 0):(a||(a=new Map)).set(n,r={parsedCommandLine:i}),(l??(l=new Map)).set(n,t),i}function ue(e,t,n,r,i,o){return N(t,((t,r)=>n(t,r,e)),r,i,o)}function de(e,t,n){pe(e,n,t),2===t&&p.has(n)&&M.invalidateResolutionOfFile(n),Z(n),ie()}function pe(e,t,n){T&&T.addOrDeleteFile(e,t,n)}function fe(e,t){return(null==a?void 0:a.has(e))?AH:ue(e,t,_e,500,k,bH.MissingFile)}function _e(e,t,n){pe(e,n,t),0===t&&r.has(n)&&(r.get(n).close(),r.delete(n),Z(n),ie())}function me(e,t){return B(e,(t=>{un.assert(g),un.assert(S);const r=Y(t);T&&T.addOrDeleteFileOrDirectory(t,r),Z(r),bU({watchedDirPath:Y(e),fileOrDirectory:t,fileOrDirectoryPath:r,configFileName:g,extraFileExtensions:v,options:S,program:H()||x,currentDirectory:h,useCaseSensitiveFileNames:m,writeLog:O,toPath:Y})||2!==n&&(n=1,ie())}),t,k,bH.WildcardDirectory)}function he(e,t,r,i){hU(e,t,c||(c=new Map),((e,t)=>N(e,((r,i)=>{var o;pe(e,t,i),u&&AU(u,t,Y);const s=null==(o=c.get(t))?void 0:o.projects;(null==s?void 0:s.size)&&s.forEach((e=>{if(g&&Y(g)===e)n=2;else{const t=null==a?void 0:a.get(e);t&&(t.updateLevel=2),M.removeResolutionsFromProjectReferenceRedirects(e)}ie()}))}),2e3,r,i)),Y)}}var qH=(e=>(e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutputMissing=3]="OutputMissing",e[e.ErrorReadingFile=4]="ErrorReadingFile",e[e.OutOfDateWithSelf=5]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",e[e.OutOfDateBuildInfoWithPendingEmit=7]="OutOfDateBuildInfoWithPendingEmit",e[e.OutOfDateBuildInfoWithErrors=8]="OutOfDateBuildInfoWithErrors",e[e.OutOfDateOptions=9]="OutOfDateOptions",e[e.OutOfDateRoots=10]="OutOfDateRoots",e[e.UpstreamOutOfDate=11]="UpstreamOutOfDate",e[e.UpstreamBlocked=12]="UpstreamBlocked",e[e.ComputingUpstream=13]="ComputingUpstream",e[e.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",e[e.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",e[e.ContainerOnly=16]="ContainerOnly",e[e.ForceBuild=17]="ForceBuild",e))(qH||{});function $H(e){return Eo(e,".json")?e:qo(e,"tsconfig.json")}var QH=new Date(-864e13);function LH(e,t){return function(e,t,n){const r=e.get(t);let i;return r||(i=n(),e.set(t,i)),r||i}(e,t,(()=>new Map))}function MH(e){return e.now?e.now():new Date}function jH(e){return!!e&&!!e.buildOrder}function UH(e){return jH(e)?e.buildOrder:e}function JH(e,t){return n=>{let r=t?`[${HU(tH(e),"")}] `:`${tH(e)} - `;r+=`${YU(n.messageText,e.newLine)}${e.newLine+e.newLine}`,e.write(r)}}function VH(e,t,n,r){const i=kH(e,t);return i.getModifiedTime=e.getModifiedTime?t=>e.getModifiedTime(t):ot,i.setModifiedTime=e.setModifiedTime?(t,n)=>e.setModifiedTime(t,n):nt,i.deleteFile=e.deleteFile?t=>e.deleteFile(t):nt,i.reportDiagnostic=n||XV(e),i.reportSolutionBuilderStatus=r||JH(e),i.now=Je(e,e.now),i}function HH(e=co,t,n,r,i){const o=VH(e,t,n,r);return o.reportErrorSummary=i,o}function GH(e=co,t,n,r,i){const o=VH(e,t,n,r);return Ue(o,vH(e,i)),o}function WH(e,t,n){return MG(!1,e,t,n)}function zH(e,t,n,r){return MG(!0,e,t,n,r)}function YH(e,t,n,r,i){const o=t,s=t,a=function(e){const t={};return mN.forEach((n=>{De(e,n.name)&&(t[n.name]=e[n.name])})),t.tscBuild=!0,t}(r),c=EH(o,(()=>m.projectCompilerOptions));let l,u,d;SH(c),c.getParsedCommandLine=e=>tG(m,e,XH(m,e)),c.resolveModuleNameLiterals=Je(o,o.resolveModuleNameLiterals),c.resolveTypeReferenceDirectiveReferences=Je(o,o.resolveTypeReferenceDirectiveReferences),c.resolveLibrary=Je(o,o.resolveLibrary),c.resolveModuleNames=Je(o,o.resolveModuleNames),c.resolveTypeReferenceDirectives=Je(o,o.resolveTypeReferenceDirectives),c.getModuleResolutionCache=Je(o,o.getModuleResolutionCache),c.resolveModuleNameLiterals||c.resolveModuleNames||(l=Cq(c.getCurrentDirectory(),c.getCanonicalFileName),c.resolveModuleNameLiterals=(e,t,n,r,i)=>dJ(e,t,n,r,i,o,l,aJ),c.getModuleResolutionCache=()=>l),c.resolveTypeReferenceDirectiveReferences||c.resolveTypeReferenceDirectives||(u=Eq(c.getCurrentDirectory(),c.getCanonicalFileName,void 0,null==l?void 0:l.getPackageJsonInfoCache(),null==l?void 0:l.optionsToRedirectsKey),c.resolveTypeReferenceDirectiveReferences=(e,t,n,r,i)=>dJ(e,t,n,r,i,o,u,uJ)),c.resolveLibrary||(d=Cq(c.getCurrentDirectory(),c.getCanonicalFileName,void 0,null==l?void 0:l.getPackageJsonInfoCache()),c.resolveLibrary=(e,t,n)=>Sq(e,t,n,o,d)),c.getBuildInfo=(e,t)=>CG(m,e,XH(m,t),void 0);const{watchFile:p,watchDirectory:f,writeLog:_}=CH(s,r),m={host:o,hostWithWatch:s,parseConfigFileHost:BJ(o),write:Je(o,o.trace),options:r,baseCompilerOptions:a,rootNames:n,baseWatchOptions:i,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:c,moduleResolutionCache:l,typeReferenceDirectiveResolutionCache:u,libraryResolutionCache:d,buildOrder:void 0,readFileWithCache:e=>o.readFile(e),projectCompilerOptions:a,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:e,watch:e,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:p,watchDirectory:f,writeLog:_};return m}function KH(e,t){return Uo(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function XH(e,t){const{resolvedConfigFilePaths:n}=e,r=n.get(t);if(void 0!==r)return r;const i=KH(e,t);return n.set(t,i),i}function ZH(e){return!!e.options}function eG(e,t){const n=e.configFileCache.get(t);return n&&ZH(n)?n:void 0}function tG(e,t,n){const{configFileCache:r}=e,i=r.get(n);if(i)return ZH(i)?i:void 0;let o;er("SolutionBuilder::beforeConfigFileParsing");const{parseConfigFileHost:s,baseCompilerOptions:a,baseWatchOptions:c,extendedConfigCache:l,host:u}=e;let d;return u.getParsedCommandLine?(d=u.getParsedCommandLine(t),d||(o=Xb(us.File_0_not_found,t))):(s.onUnRecoverableConfigFileDiagnostic=e=>o=e,d=nB(t,a,s,l,c),s.onUnRecoverableConfigFileDiagnostic=nt),r.set(n,d||o),er("SolutionBuilder::afterConfigFileParsing"),tr("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),d}function nG(e,t){return $H($o(e.compilerHost.getCurrentDirectory(),t))}function rG(e,t){const n=new Map,r=new Map,i=[];let o,s;for(const e of t)c(e);return s?{buildOrder:o||a,circularDiagnostics:s}:o||a;function c(t,a){const l=XH(e,t);if(r.has(l))return;if(n.has(l))return void(a||(s||(s=[])).push(Xb(us.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,i.join("\r\n"))));n.set(l,!0),i.push(t);const u=tG(e,t,l);if(u&&u.projectReferences)for(const t of u.projectReferences){c(nG(e,t.path),a||t.circular)}i.pop(),r.set(l,!0),(o||(o=[])).push(t)}}function iG(e){return e.buildOrder||function(e){const t=rG(e,e.rootNames.map((t=>nG(e,t))));e.resolvedConfigFilePaths.clear();const n=new Set(UH(t).map((t=>XH(e,t)))),r={onDeleteValue:nt};fb(e.configFileCache,n,r),fb(e.projectStatus,n,r),fb(e.builderPrograms,n,r),fb(e.diagnostics,n,r),fb(e.projectPendingBuild,n,r),fb(e.projectErrorsReported,n,r),fb(e.buildInfoCache,n,r),fb(e.outputTimeStamps,n,r),fb(e.lastCachedPackageJsonLookups,n,r),e.watch&&(fb(e.allWatchedConfigFiles,n,{onDeleteValue:rb}),e.allWatchedExtendedConfigFiles.forEach((e=>{e.projects.forEach((t=>{n.has(t)||e.projects.delete(t)})),e.close()})),fb(e.allWatchedWildcardDirectories,n,{onDeleteValue:e=>e.forEach(kU)}),fb(e.allWatchedInputFiles,n,{onDeleteValue:e=>e.forEach(rb)}),fb(e.allWatchedPackageJsonFiles,n,{onDeleteValue:e=>e.forEach(rb)}));return e.buildOrder=t}(e)}function oG(e,t,n){const r=t&&nG(e,t),i=iG(e);if(jH(i))return i;if(r){const t=XH(e,r);if(-1===v(i,(n=>XH(e,n)===t)))return}const o=r?rG(e,[r]):i;return un.assert(!jH(o)),un.assert(!n||void 0!==r),un.assert(!n||o[o.length-1]===r),n?o.slice(0,o.length-1):o}function sG(e){e.cache&&aG(e);const{compilerHost:t,host:n}=e,r=e.readFileWithCache,i=t.getSourceFile,{originalReadFile:o,originalFileExists:s,originalDirectoryExists:a,originalCreateDirectory:c,originalWriteFile:l,getSourceFileWithCache:u,readFileWithCache:d}=NU(n,(t=>KH(e,t)),((...e)=>i.call(t,...e)));e.readFileWithCache=d,t.getSourceFile=u,e.cache={originalReadFile:o,originalFileExists:s,originalDirectoryExists:a,originalCreateDirectory:c,originalWriteFile:l,originalReadFileWithCache:r,originalGetSourceFile:i}}function aG(e){if(!e.cache)return;const{cache:t,host:n,compilerHost:r,extendedConfigCache:i,moduleResolutionCache:o,typeReferenceDirectiveResolutionCache:s,libraryResolutionCache:a}=e;n.readFile=t.originalReadFile,n.fileExists=t.originalFileExists,n.directoryExists=t.originalDirectoryExists,n.createDirectory=t.originalCreateDirectory,n.writeFile=t.originalWriteFile,r.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,i.clear(),null==o||o.clear(),null==s||s.clear(),null==a||a.clear(),e.cache=void 0}function cG(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function lG({projectPendingBuild:e},t,n){const r=e.get(t);(void 0===r||re.projectPendingBuild.set(XH(e,t),0))),t&&t.throwIfCancellationRequested()}var dG=(e=>(e[e.Build=0]="Build",e[e.UpdateOutputFileStamps=1]="UpdateOutputFileStamps",e))(dG||{});function pG(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function fG(e,t,n,r,i,o,s){let c,l,u=0;return{kind:0,project:t,projectPath:n,buildOrder:s,getCompilerOptions:()=>i.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>d(st),getProgram:()=>d((e=>e.getProgramOrUndefined())),getSourceFile:e=>d((t=>t.getSourceFile(e))),getSourceFiles:()=>p((e=>e.getSourceFiles())),getOptionsDiagnostics:e=>p((t=>t.getOptionsDiagnostics(e))),getGlobalDiagnostics:e=>p((t=>t.getGlobalDiagnostics(e))),getConfigFileParsingDiagnostics:()=>p((e=>e.getConfigFileParsingDiagnostics())),getSyntacticDiagnostics:(e,t)=>p((n=>n.getSyntacticDiagnostics(e,t))),getAllDependencies:e=>p((t=>t.getAllDependencies(e))),getSemanticDiagnostics:(e,t)=>p((n=>n.getSemanticDiagnostics(e,t))),getSemanticDiagnosticsOfNextAffectedFile:(e,t)=>d((n=>n.getSemanticDiagnosticsOfNextAffectedFile&&n.getSemanticDiagnosticsOfNextAffectedFile(e,t))),emit:(n,r,i,o,s)=>n||o?d((a=>{var c,l;return a.emit(n,r,i,o,s||(null==(l=(c=e.host).getCustomTransformers)?void 0:l.call(c,t)))})):(m(0,i),_(r,i,s)),done:function(t,r,i){return m(3,t,r,i),er("SolutionBuilder::Projects built"),pG(e,n)}};function d(e){return m(0),c&&e(c)}function p(e){return d(e)||a}function f(){var r,o,s;if(un.assert(void 0===c),e.options.dry)return UG(e,us.A_non_dry_build_would_build_project_0,t),l=1,void(u=2);if(e.options.verbose&&UG(e,us.Building_project_0,t),0===i.fileNames.length)return HG(e,n,EJ(i)),l=0,void(u=2);const{host:a,compilerHost:d}=e;if(e.projectCompilerOptions=i.options,null==(r=e.moduleResolutionCache)||r.update(i.options),null==(o=e.typeReferenceDirectiveResolutionCache)||o.update(i.options),c=a.createProgram(i.fileNames,i.options,d,function({options:e,builderPrograms:t,compilerHost:n},r,i){if(e.force)return;const o=t.get(r);return o||RH(i.options,n)}(e,n,i),EJ(i),i.projectReferences),e.watch){const t=null==(s=e.moduleResolutionCache)?void 0:s.getPackageJsonInfoCache().getInternalMap();e.lastCachedPackageJsonLookups.set(n,t&&new Set(Pe(t.values(),(t=>e.host.realpath&&(uq(t)||t.directoryExists)?e.host.realpath(qo(t.packageDirectory,"package.json")):qo(t.packageDirectory,"package.json"))))),e.builderPrograms.set(n,c)}u++}function _(r,s,a){var d,p,f;un.assertIsDefined(c),un.assert(1===u);const{host:_,compilerHost:m}=e,h=new Map,g=c.getCompilerOptions(),A=FC(g);let y,v;const{emitResult:b,diagnostics:C}=hH(c,(e=>_.reportDiagnostic(e)),e.write,void 0,((t,i,o,s,a,l)=>{var u;const d=KH(e,t);if(h.set(KH(e,t),t),null==l?void 0:l.buildInfo){v||(v=MH(e.host));const r=null==(u=c.hasChangedEmitSignature)?void 0:u.call(c),i=bG(e,t,n);i?(i.buildInfo=l.buildInfo,i.modifiedTime=v,r&&(i.latestChangedDtsTime=v)):e.buildInfoCache.set(n,{path:KH(e,t),buildInfo:l.buildInfo,modifiedTime:v,latestChangedDtsTime:r?v:void 0})}const p=(null==l?void 0:l.differsOnlyInMap)?Mi(e.host,t):void 0;(r||m.writeFile)(t,i,o,s,a,l),(null==l?void 0:l.differsOnlyInMap)?e.host.setModifiedTime(t,p):!A&&e.watch&&(y||(y=vG(e,n))).set(d,v||(v=MH(e.host)))}),s,void 0,a||(null==(p=(d=e.host).getCustomTransformers)?void 0:p.call(d,t)));return g.noEmitOnError&&C.length||!h.size&&8===o.type||kG(e,i,n,us.Updating_unchanged_output_timestamps_of_project_0,h),e.projectErrorsReported.set(n,!0),l=(null==(f=c.hasChangedEmitSignature)?void 0:f.call(c))?0:2,C.length?(e.diagnostics.set(n,C),e.projectStatus.set(n,{type:0,reason:"it had errors"}),l|=4):(e.diagnostics.delete(n),e.projectStatus.set(n,{type:1,oldestOutputFileName:_e(h.values())??eU(i,!_.useCaseSensitiveFileNames())})),function(e,t){t&&(e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram());e.projectCompilerOptions=e.baseCompilerOptions}(e,c),u=2,b}function m(o,a,c,d){for(;u<=o&&u<3;){const o=u;switch(u){case 0:f();break;case 1:_(c,a,d);break;case 2:IG(e,t,n,r,i,s,un.checkDefined(l)),u++}un.assert(u>o)}}}function _G(e,t,n){if(!e.projectPendingBuild.size)return;if(jH(t))return;const{options:r,projectPendingBuild:i}=e;for(let o=0;or.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{wG(e,r,n),o=!1},done:()=>(o&&wG(e,r,n),er("SolutionBuilder::Timestamps only updates"),pG(e,n))}}(e,t.project,t.projectPath,t.config,n)}function hG(e,t,n){const r=_G(e,t,n);return r?mG(e,r,t):r}function gG(e){return!!e.watcher}function AG(e,t){const n=KH(e,t),r=e.filesWatched.get(n);if(e.watch&&r){if(!gG(r))return r;if(r.modifiedTime)return r.modifiedTime}const i=Mi(e.host,t);return e.watch&&(r?r.modifiedTime=i:e.filesWatched.set(n,i)),i}function yG(e,t,n,r,i,o,s){const a=KH(e,t),c=e.filesWatched.get(a);if(c&&gG(c))c.callbacks.push(n);else{const l=e.watchFile(t,((t,n,r)=>{const i=un.checkDefined(e.filesWatched.get(a));un.assert(gG(i)),i.modifiedTime=r,i.callbacks.forEach((e=>e(t,n,r)))}),r,i,o,s);e.filesWatched.set(a,{callbacks:[n],watcher:l,modifiedTime:c})}return{close:()=>{const t=un.checkDefined(e.filesWatched.get(a));un.assert(gG(t)),1===t.callbacks.length?(e.filesWatched.delete(a),kU(t)):Ut(t.callbacks,n)}}}function vG(e,t){if(!e.watch)return;let n=e.outputTimeStamps.get(t);return n||e.outputTimeStamps.set(t,n=new Map),n}function bG(e,t,n){const r=KH(e,t),i=e.buildInfoCache.get(n);return(null==i?void 0:i.path)===r?i:void 0}function CG(e,t,n,r){const i=KH(e,t),o=e.buildInfoCache.get(n);if(void 0!==o&&o.path===i)return o.buildInfo||void 0;const s=e.readFileWithCache(t),a=s?iU(t,s):void 0;return e.buildInfoCache.set(n,{path:i,buildInfo:a||!1,modifiedTime:r||Li}),a}function EG(e,t,n,r){if(nE&&(v=n,E=t),S.add(r)}if(y?(k||(k=wV(y,_,f)),D=np(k.roots,((e,t)=>S.has(t)?void 0:t))):D=u(IV(A,_,f),(e=>S.has(e)?void 0:e)),D)return{type:10,buildInfoFile:_,inputFile:D};if(!m){const r=Xj(t,!f.useCaseSensitiveFileNames()),i=vG(e,n);for(const t of r){if(t===_)continue;const n=KH(e,t);let r=null==i?void 0:i.get(n);if(r||(r=Mi(e.host,t),null==i||i.set(n,r)),r===Li)return{type:3,missingOutputFileName:t};if(rEG(e,t,b,C)));if(T)return T;const F=e.lastCachedPackageJsonLookups.get(n),R=F&&rp(F,(t=>EG(e,t,b,C)));return R||{type:w?2:x?15:1,newestInputFileTime:E,newestInputFileName:v,oldestOutputFileName:C}}(e,t,n);return er("SolutionBuilder::afterUpToDateCheck"),tr("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(n,i),i}function kG(e,t,n,r,i){if(t.options.noEmit)return;let o;const s=qj(t.options),a=FC(t.options);if(s&&a)return(null==i?void 0:i.has(KH(e,s)))||(e.options.verbose&&UG(e,r,t.options.configFilePath),e.host.setModifiedTime(s,o=MH(e.host)),bG(e,s,n).modifiedTime=o),void e.outputTimeStamps.delete(n);const{host:c}=e,l=Xj(t,!c.useCaseSensitiveFileNames()),u=vG(e,n),d=u?new Set:void 0;if(!i||l.length!==i.size){let a=!!e.options.verbose;for(const p of l){const l=KH(e,p);(null==i?void 0:i.has(l))||(a&&(a=!1,UG(e,r,t.options.configFilePath)),c.setModifiedTime(p,o||(o=MH(e.host))),p===s?bG(e,s,n).modifiedTime=o:u&&(u.set(l,o),d.add(l)))}}null==u||u.forEach(((e,t)=>{(null==i?void 0:i.has(t))||d.has(t)||u.delete(t)}))}function DG(e,t,n){if(!t.composite)return;const r=un.checkDefined(e.buildInfoCache.get(n));if(void 0!==r.latestChangedDtsTime)return r.latestChangedDtsTime||void 0;const i=r.buildInfo&&_V(r.buildInfo)&&r.buildInfo.latestChangedDtsFile?e.host.getModifiedTime(Lo(r.buildInfo.latestChangedDtsFile,Io(r.path))):void 0;return r.latestChangedDtsTime=i||!1,i}function wG(e,t,n){if(e.options.dry)return UG(e,us.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);kG(e,t,n,us.Updating_output_timestamps_of_project_0),e.projectStatus.set(n,{type:1,oldestOutputFileName:eU(t,!e.host.useCaseSensitiveFileNames())})}function IG(e,t,n,r,i,o,s){if(!(e.options.stopBuildOnErrors&&4&s)&&i.options.composite)for(let i=r+1;ie.diagnostics.has(XH(e,t))))?c?2:1:0}(e,t,n,r,i,o);return er("SolutionBuilder::afterBuild"),tr("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),s}function FG(e,t,n){er("SolutionBuilder::beforeClean");const r=function(e,t,n){const r=oG(e,t,n);if(!r)return 3;if(jH(r))return VG(e,r.circularDiagnostics),4;const{options:i,host:o}=e,s=i.dry?[]:void 0;for(const t of r){const n=XH(e,t),r=tG(e,t,n);if(void 0===r){GG(e,n);continue}const i=Xj(r,!o.useCaseSensitiveFileNames());if(!i.length)continue;const a=new Set(r.fileNames.map((t=>KH(e,t))));for(const t of i)a.has(KH(e,t))||o.fileExists(t)&&(s?s.push(t):(o.deleteFile(t),RG(e,n,0)))}s&&UG(e,us.A_non_dry_build_would_delete_the_following_files_Colon_0,s.map((e=>`\r\n * ${e}`)).join(""));return 0}(e,t,n);return er("SolutionBuilder::afterClean"),tr("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),r}function RG(e,t,n){e.host.getParsedCommandLine&&1===n&&(n=2),2===n&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,cG(e,t),lG(e,t,n),sG(e)}function PG(e,t,n){e.reportFileChangeDetected=!0,RG(e,t,n),NG(e,250,!0)}function NG(e,t,n){const{hostWithWatch:r}=e;r.setTimeout&&r.clearTimeout&&(e.timerToBuildInvalidatedProject&&r.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=r.setTimeout(BG,t,"timerToBuildInvalidatedProject",e,n))}function BG(e,t,n){er("SolutionBuilder::beforeBuild");const r=function(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),JG(e,us.File_change_detected_Starting_incremental_compilation));let n=0;const r=iG(e),i=hG(e,r,!1);if(i)for(i.done(),n++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;const i=_G(e,r,!1);if(!i)break;if(1!==i.kind&&(t||5===n))return void NG(e,100,!1);mG(e,i,r).done(),1!==i.kind&&n++}return aG(e),r}(t,n);er("SolutionBuilder::afterBuild"),tr("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),r&&WG(t,r)}function OG(e,t,n,r){e.watch&&!e.allWatchedConfigFiles.has(n)&&e.allWatchedConfigFiles.set(n,yG(e,t,(()=>PG(e,n,2)),2e3,null==r?void 0:r.watchOptions,bH.ConfigFile,t))}function qG(e,t,n){hU(t,null==n?void 0:n.options,e.allWatchedExtendedConfigFiles,((t,r)=>yG(e,t,(()=>{var t;return null==(t=e.allWatchedExtendedConfigFiles.get(r))?void 0:t.projects.forEach((t=>PG(e,t,2)))}),2e3,null==n?void 0:n.watchOptions,bH.ExtendedConfigFile)),(t=>KH(e,t)))}function $G(e,t,n,r){e.watch&&vU(LH(e.allWatchedWildcardDirectories,n),r.wildcardDirectories,((i,o)=>e.watchDirectory(i,(o=>{var s;bU({watchedDirPath:KH(e,i),fileOrDirectory:o,fileOrDirectoryPath:KH(e,o),configFileName:t,currentDirectory:e.compilerHost.getCurrentDirectory(),options:r.options,program:e.builderPrograms.get(n)||(null==(s=eG(e,n))?void 0:s.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:t=>e.writeLog(t),toPath:t=>KH(e,t)})||PG(e,n,1)}),o,null==r?void 0:r.watchOptions,bH.WildcardDirectory,t)))}function QG(e,t,n,r){e.watch&&_b(LH(e.allWatchedInputFiles,n),new Set(r.fileNames),{createNewValue:i=>yG(e,i,(()=>PG(e,n,0)),250,null==r?void 0:r.watchOptions,bH.SourceFile,t),onDeleteValue:rb})}function LG(e,t,n,r){e.watch&&e.lastCachedPackageJsonLookups&&_b(LH(e.allWatchedPackageJsonFiles,n),e.lastCachedPackageJsonLookups.get(n),{createNewValue:i=>yG(e,i,(()=>PG(e,n,0)),2e3,null==r?void 0:r.watchOptions,bH.PackageJson,t),onDeleteValue:rb})}function MG(e,t,n,r,i){const o=YH(e,t,n,r,i);return{build:(e,t,n,r)=>TG(o,e,t,n,r),clean:e=>FG(o,e),buildReferences:(e,t,n,r)=>TG(o,e,t,n,r,!0),cleanReferences:e=>FG(o,e,!0),getNextInvalidatedProject:e=>(uG(o,e),hG(o,iG(o),!1)),getBuildOrder:()=>iG(o),getUpToDateStatusOfProject:e=>{const t=nG(o,e),n=XH(o,t);return SG(o,tG(o,t,n),n)},invalidateProject:(e,t)=>RG(o,e,t||0),close:()=>function(e){pb(e.allWatchedConfigFiles,rb),pb(e.allWatchedExtendedConfigFiles,kU),pb(e.allWatchedWildcardDirectories,(e=>pb(e,kU))),pb(e.allWatchedInputFiles,(e=>pb(e,rb))),pb(e.allWatchedPackageJsonFiles,(e=>pb(e,rb)))}(o)}}function jG(e,t){return is(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function UG(e,t,...n){e.host.reportSolutionBuilderStatus(Xb(t,...n))}function JG(e,t,...n){var r,i;null==(i=(r=e.hostWithWatch).onWatchStatusChange)||i.call(r,Xb(t,...n),e.host.getNewLine(),e.baseCompilerOptions)}function VG({host:e},t){t.forEach((t=>e.reportDiagnostic(t)))}function HG(e,t,n){VG(e,n),e.projectErrorsReported.set(t,!0),n.length&&e.diagnostics.set(t,n)}function GG(e,t){HG(e,t,[e.configFileCache.get(t)])}function WG(e,t){if(!e.needsSummary)return;e.needsSummary=!1;const n=e.watch||!!e.host.reportErrorSummary,{diagnostics:r}=e;let i=0,o=[];jH(t)?(zG(e,t.buildOrder),VG(e,t.circularDiagnostics),n&&(i+=iH(t.circularDiagnostics)),n&&(o=[...o,...oH(t.circularDiagnostics)])):(t.forEach((t=>{const n=XH(e,t);e.projectErrorsReported.has(n)||VG(e,r.get(n)||a)})),n&&r.forEach((e=>i+=iH(e))),n&&r.forEach((e=>[...o,...oH(e)]))),e.watch?JG(e,sH(i),i):e.host.reportErrorSummary&&e.host.reportErrorSummary(i,o)}function zG(e,t){e.options.verbose&&UG(e,us.Projects_in_this_build_Colon_0,t.map((t=>"\r\n * "+jG(e,t))).join(""))}function YG(e,t,n){e.options.verbose&&function(e,t,n){switch(n.type){case 5:return UG(e,us.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,jG(e,t),jG(e,n.outOfDateOutputFileName),jG(e,n.newerInputFileName));case 6:return UG(e,us.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,jG(e,t),jG(e,n.outOfDateOutputFileName),jG(e,n.newerProjectName));case 3:return UG(e,us.Project_0_is_out_of_date_because_output_file_1_does_not_exist,jG(e,t),jG(e,n.missingOutputFileName));case 4:return UG(e,us.Project_0_is_out_of_date_because_there_was_error_reading_file_1,jG(e,t),jG(e,n.fileName));case 7:return UG(e,us.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,jG(e,t),jG(e,n.buildInfoFile));case 8:return UG(e,us.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors,jG(e,t),jG(e,n.buildInfoFile));case 9:return UG(e,us.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,jG(e,t),jG(e,n.buildInfoFile));case 10:return UG(e,us.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,jG(e,t),jG(e,n.buildInfoFile),jG(e,n.inputFile));case 1:if(void 0!==n.newestInputFileTime)return UG(e,us.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,jG(e,t),jG(e,n.newestInputFileName||""),jG(e,n.oldestOutputFileName||""));break;case 2:return UG(e,us.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,jG(e,t));case 15:return UG(e,us.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,jG(e,t));case 11:return UG(e,us.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,jG(e,t),jG(e,n.upstreamProjectName));case 12:return UG(e,n.upstreamProjectBlocked?us.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:us.Project_0_can_t_be_built_because_its_dependency_1_has_errors,jG(e,t),jG(e,n.upstreamProjectName));case 0:return UG(e,us.Project_0_is_out_of_date_because_1,jG(e,t),n.reason);case 14:return UG(e,us.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,jG(e,t),n.version,o);case 17:UG(e,us.Project_0_is_being_forcibly_rebuilt,jG(e,t))}}(e,t,n)}var KG=(e=>(e[e.time=0]="time",e[e.count=1]="count",e[e.memory=2]="memory",e))(KG||{});function XG(e){const t=function(){const e=new Map;return e.set("Library",0),e.set("Definitions",0),e.set("TypeScript",0),e.set("JavaScript",0),e.set("JSON",0),e.set("Other",0),e}();return u(e.getSourceFiles(),(n=>{const r=function(e,t){if(e.isSourceFileDefaultLibrary(t))return"Library";if(t.isDeclarationFile)return"Definitions";const n=t.path;return xo(n,EE)?"TypeScript":xo(n,kE)?"JavaScript":Eo(n,".json")?"JSON":"Other"}(e,n),i=qs(n).length;t.set(r,t.get(r)+i)})),t}function ZG(e,t,n){return tW(e,n)?XV(e,!0):t}function eW(e){return!!e.writeOutputIsTTY&&e.writeOutputIsTTY()&&!e.getEnvironmentVariable("NO_COLOR")}function tW(e,t){return t&&void 0!==t.pretty?t.pretty:eW(e)}function nW(e){return e.options.all?le(yN.concat(FN),((e,t)=>Ct(e.name,t.name))):S(yN.concat(FN),(e=>!!e.showInSimplifiedHelpView))}function rW(e){e.write(tB(us.Version_0,o)+e.newLine)}function iW(e){if(!eW(e))return{bold:e=>e,blue:e=>e,blueBackground:e=>e,brightWhite:e=>e};const t=e.getEnvironmentVariable("OS")&&e.getEnvironmentVariable("OS").toLowerCase().includes("windows"),n=e.getEnvironmentVariable("WT_SESSION"),r=e.getEnvironmentVariable("TERM_PROGRAM")&&"vscode"===e.getEnvironmentVariable("TERM_PROGRAM");const i="truecolor"===e.getEnvironmentVariable("COLORTERM")||"xterm-256color"===e.getEnvironmentVariable("TERM");function o(e){return`${e}`}return{bold:function(e){return`${e}`},blue:function(e){return!t||n||r?`${e}`:o(e)},brightWhite:o,blueBackground:function(e){return i?`${e}`:`${e}`}}}function oW(e){return`--${e.name}${e.shortName?`, -${e.shortName}`:""}`}function sW(e,t,n,r){var i;const o=[],s=iW(e),a=oW(t),c=function(e){if("object"===e.type)return;return{valueType:function(e){switch(un.assert("listOrElement"!==e.type),e.type){case"string":case"number":case"boolean":return tB(us.type_Colon);case"list":return tB(us.one_or_more_Colon);default:return tB(us.one_of_Colon)}}(e),possibleValues:function e(t){let n;switch(t.type){case"string":case"number":case"boolean":n=t.type;break;case"list":case"listOrElement":n=e(t.element);break;case"object":n="";break;default:const r={};return t.type.forEach(((e,n)=>{var i;(null==(i=t.deprecatedKeys)?void 0:i.has(n))||(r[e]||(r[e]=[])).push(n)})),Object.entries(r).map((([,e])=>e.join("/"))).join(", ")}return n}(e)}}(t),l="object"==typeof t.defaultValueDescription?tB(t.defaultValueDescription):function(e,t){return void 0!==e&&"object"==typeof t?Pe(t.entries()).filter((([,t])=>t===e)).map((([e])=>e)).join("/"):String(e)}(t.defaultValueDescription,"list"===t.type||"listOrElement"===t.type?t.element.type:t.type),u=(null==(i=e.getWidthOfTerminal)?void 0:i.call(e))??0;if(u>=80){let i="";t.description&&(i=tB(t.description)),o.push(...p(a,i,n,r,u,!0),e.newLine),d(c,t)&&(c&&o.push(...p(c.valueType,c.possibleValues,n,r,u,!1),e.newLine),l&&o.push(...p(tB(us.default_Colon),l,n,r,u,!1),e.newLine)),o.push(e.newLine)}else{if(o.push(s.blue(a),e.newLine),t.description){const e=tB(t.description);o.push(e)}if(o.push(e.newLine),d(c,t)){if(c&&o.push(`${c.valueType} ${c.possibleValues}`),l){c&&o.push(e.newLine);const t=tB(us.default_Colon);o.push(`${t} ${l}`)}o.push(e.newLine)}o.push(e.newLine)}return o;function d(e,t){const n=t.defaultValueDescription;return t.category!==us.Command_line_Options&&(!C(["string"],null==e?void 0:e.possibleValues)||!C([void 0,"false","n/a"],n))}function p(e,t,n,r,i,o){const a=[];let c=!0,l=t;const u=i-r;for(;l.length>0;){let t="";c?(t=e.padStart(n),t=t.padEnd(r),t=o?s.blue(t):t):t="".padStart(r);const i=l.substr(0,u);l=l.slice(u),a.push(`${t}${i}`),c=!1}return a}}function aW(e,t){let n=0;for(const e of t){const t=oW(e).length;n=n>t?n:t}const r=n+2,i=r+2;let o=[];for(const n of t){const t=sW(e,n,r,i);o=[...o,...t]}return o[o.length-2]!==e.newLine&&o.push(e.newLine),o}function cW(e,t,n,r,i,o){let s=[];if(s.push(iW(e).bold(t)+e.newLine+e.newLine),i&&s.push(i+e.newLine+e.newLine),!r)return s=[...s,...aW(e,n)],o&&s.push(o+e.newLine+e.newLine),s;const a=new Map;for(const e of n){if(!e.category)continue;const t=tB(e.category),n=a.get(t)??[];n.push(e),a.set(t,n)}return a.forEach(((t,n)=>{s.push(`### ${n}${e.newLine}${e.newLine}`),s=[...s,...aW(e,t)]})),o&&s.push(o+e.newLine+e.newLine),s}function lW(e,t){let n=[...uW(e,`${tB(us.tsc_Colon_The_TypeScript_Compiler)} - ${tB(us.Version_0,o)}`)];n=[...n,...cW(e,tB(us.BUILD_OPTIONS),S(t,(e=>e!==FN)),!1,Kb(us.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0,"https://aka.ms/tsc-composite-builds"))];for(const t of n)e.write(t)}function uW(e,t){var n;const r=iW(e),i=[],o=(null==(n=e.getWidthOfTerminal)?void 0:n.call(e))??0,s=r.blueBackground("".padStart(5)),a=r.blueBackground(r.brightWhite("TS ".padStart(5)));if(o>=t.length+5){const n=(o>120?120:o)-5;i.push(t.padEnd(n)+s+e.newLine),i.push("".padStart(n)+a+e.newLine)}else i.push(t+e.newLine),i.push(e.newLine);return i}function dW(e,t){t.options.all?function(e,t,n,r){let i=[...uW(e,`${tB(us.tsc_Colon_The_TypeScript_Compiler)} - ${tB(us.Version_0,o)}`)];i=[...i,...cW(e,tB(us.ALL_COMPILER_OPTIONS),t,!0,void 0,Kb(us.You_can_learn_about_all_of_the_compiler_options_at_0,"https://aka.ms/tsc"))],i=[...i,...cW(e,tB(us.WATCH_OPTIONS),r,!1,tB(us.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon))],i=[...i,...cW(e,tB(us.BUILD_OPTIONS),S(n,(e=>e!==FN)),!1,Kb(us.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0,"https://aka.ms/tsc-composite-builds"))];for(const t of i)e.write(t)}(e,nW(t),RN,_N):function(e,t){const n=iW(e);let r=[...uW(e,`${tB(us.tsc_Colon_The_TypeScript_Compiler)} - ${tB(us.Version_0,o)}`)];r.push(n.bold(tB(us.COMMON_COMMANDS))+e.newLine+e.newLine),a("tsc",us.Compiles_the_current_project_tsconfig_json_in_the_working_directory),a("tsc app.ts util.ts",us.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options),a("tsc -b",us.Build_a_composite_project_in_the_working_directory),a("tsc --init",us.Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory),a("tsc -p ./path/to/tsconfig.json",us.Compiles_the_TypeScript_project_located_at_the_specified_path),a("tsc --help --all",us.An_expanded_version_of_this_information_showing_all_possible_compiler_options),a(["tsc --noEmit","tsc --target esnext"],us.Compiles_the_current_project_with_additional_settings);const i=t.filter((e=>e.isCommandLineOnly||e.category===us.Command_line_Options)),s=t.filter((e=>!C(i,e)));r=[...r,...cW(e,tB(us.COMMAND_LINE_FLAGS),i,!1,void 0,void 0),...cW(e,tB(us.COMMON_COMPILER_OPTIONS),s,!1,void 0,Kb(us.You_can_learn_about_all_of_the_compiler_options_at_0,"https://aka.ms/tsc"))];for(const t of r)e.write(t);function a(t,i){const o="string"==typeof t?[t]:t;for(const t of o)r.push(" "+n.blue(t)+e.newLine);r.push(" "+tB(i)+e.newLine+e.newLine)}}(e,nW(t))}function pW(e,t,n){let r,i=XV(e);if(n.options.locale&&lc(n.options.locale,e,n.errors),n.errors.length>0)return n.errors.forEach(i),e.exit(1);if(n.options.init)return function(e,t,n,r){const i=e.getCurrentDirectory(),o=Mo(qo(i,"tsconfig.json"));if(e.fileExists(o))t(Xb(us.A_tsconfig_json_file_is_already_defined_at_Colon_0,o));else{e.writeFile(o,$B(n,r,e.newLine));const t=[e.newLine,...uW(e,"Created a new tsconfig.json with:")];t.push(OB(n,e.newLine)+e.newLine+e.newLine),t.push("You can learn more at https://aka.ms/tsconfig"+e.newLine);for(const n of t)e.write(n)}}(e,i,n.options,n.fileNames),e.exit(0);if(n.options.version)return rW(e),e.exit(0);if(n.options.help||n.options.all)return dW(e,n),e.exit(0);if(n.options.watch&&n.options.listFilesOnly)return i(Xb(us.Options_0_and_1_cannot_be_combined,"watch","listFilesOnly")),e.exit(1);if(n.options.project){if(0!==n.fileNames.length)return i(Xb(us.Option_project_cannot_be_mixed_with_source_files_on_a_command_line)),e.exit(1);const t=Mo(n.options.project);if(!t||e.directoryExists(t)){if(r=qo(t,"tsconfig.json"),!e.fileExists(r))return i(Xb(us.Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0,n.options.project)),e.exit(1)}else if(r=t,!e.fileExists(r))return i(Xb(us.The_specified_path_does_not_exist_Colon_0,n.options.project)),e.exit(1)}else if(0===n.fileNames.length){r=DU(Mo(e.getCurrentDirectory()),(t=>e.fileExists(t)))}if(0===n.fileNames.length&&!r)return n.options.showConfig?i(Xb(us.Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0,Mo(e.getCurrentDirectory()))):(rW(e),dW(e,n)),e.exit(1);const o=e.getCurrentDirectory(),s=QB(n.options,(e=>Lo(e,o)));if(r){const o=new Map,a=rH(r,s,o,n.watchOptions,e,i);if(s.showConfig)return 0!==a.errors.length?(i=ZG(e,i,a.options),a.errors.forEach(i),e.exit(1)):(e.write(JSON.stringify(wB(a,r,e),null,4)+e.newLine),e.exit(0));if(i=ZG(e,i,a.options),nb(a.options)){if(mW(e,i))return;return function(e,t,n,r,i,o,s){const a=IH({configFileName:r.options.configFilePath,optionsToExtend:i,watchOptionsToExtend:o,system:e,reportDiagnostic:n,reportWatchStatus:xW(e,r.options)});return EW(e,t,a),a.configFileParsingResult=r,a.extendedConfigCache=s,OH(a)}(e,t,i,a,s,n.watchOptions,o)}FC(a.options)?vW(e,t,i,a):yW(e,t,i,a)}else{if(s.showConfig)return e.write(JSON.stringify(wB(n,qo(o,"tsconfig.json"),e),null,4)+e.newLine),e.exit(0);if(i=ZG(e,i,s),nb(s)){if(mW(e,i))return;return function(e,t,n,r,i,o){const s=TH({rootFiles:r,options:i,watchOptions:o,system:e,reportDiagnostic:n,reportWatchStatus:xW(e,i)});return EW(e,t,s),OH(s)}(e,t,i,n.fileNames,s,n.watchOptions)}FC(s)?vW(e,t,i,{...n,options:s}):yW(e,t,i,{...n,options:s})}}function fW(e){if(e.length>0&&45===e[0].charCodeAt(0)){const t=e[0].slice(45===e[0].charCodeAt(1)?2:1).toLowerCase();return t===FN.name||t===FN.shortName}return!1}function _W(e,t,n){if(fW(n)){const{buildOptions:r,watchOptions:i,projects:o,errors:s}=eB(n);if(!r.generateCpuProfile||!e.enableCPUProfiler)return gW(e,t,r,i,o,s);e.enableCPUProfiler(r.generateCpuProfile,(()=>gW(e,t,r,i,o,s)))}const r=zN(n,(t=>e.readFile(t)));if(!r.options.generateCpuProfile||!e.enableCPUProfiler)return pW(e,t,r);e.enableCPUProfiler(r.options.generateCpuProfile,(()=>pW(e,t,r)))}function mW(e,t){return(!e.watchFile||!e.watchDirectory)&&(t(Xb(us.The_current_host_does_not_support_the_0_option,"--watch")),e.exit(1),!0)}var hW=2;function gW(e,t,n,r,i,o){const s=ZG(e,XV(e),n);if(n.locale&&lc(n.locale,e,o),o.length>0)return o.forEach(s),e.exit(1);if(n.help)return rW(e),lW(e,PN),e.exit(0);if(0===i.length)return rW(e),lW(e,PN),e.exit(0);if(!e.getModifiedTime||!e.setModifiedTime||n.clean&&!e.deleteFile)return s(Xb(us.The_current_host_does_not_support_the_0_option,"--build")),e.exit(1);if(n.watch){if(mW(e,s))return;const o=GH(e,void 0,s,JH(e,tW(e,n)),xW(e,n));o.jsDocParsingMode=hW;const a=SW(e,n);bW(e,t,o,a);const c=o.onWatchStatusChange;let l=!1;o.onWatchStatusChange=(e,t,n,r)=>{null==c||c(e,t,n,r),!l||e.code!==us.Found_0_errors_Watching_for_file_changes.code&&e.code!==us.Found_1_error_Watching_for_file_changes.code||kW(u,a)};const u=zH(o,i,n,r);return u.build(),kW(u,a),l=!0,u}const a=HH(e,void 0,s,JH(e,tW(e,n)),AW(e,n));a.jsDocParsingMode=hW;const c=SW(e,n);bW(e,t,a,c);const l=WH(a,i,n),u=n.clean?l.clean():l.build();return kW(l,c),pr(),e.exit(u)}function AW(e,t){return tW(e,t)?(t,n)=>e.write(cH(t,n,e.newLine,e)):void 0}function yW(e,t,n,r){const{fileNames:i,options:o,projectReferences:s}=r,a=PU(o,void 0,e);a.jsDocParsingMode=hW;const c=a.getCurrentDirectory(),l=Jt(a.useCaseSensitiveFileNames());NU(a,(e=>Uo(e,c,l))),IW(e,o,!1);const u=DJ({rootNames:i,options:o,projectReferences:s,host:a,configFileParsingDiagnostics:EJ(r)}),d=gH(u,n,(t=>e.write(t+e.newLine)),AW(e,o));return FW(e,u,void 0),t(u),e.exit(d)}function vW(e,t,n,r){const{options:i,fileNames:o,projectReferences:s}=r;IW(e,i,!1);const a=PH(i,e);a.jsDocParsingMode=hW;const c=FH({host:a,system:e,rootNames:o,options:i,configFileParsingDiagnostics:EJ(r),projectReferences:s,reportDiagnostic:n,reportErrorSummary:AW(e,i),afterProgramEmitAndDiagnostics:n=>{FW(e,n.getProgram(),void 0),t(n)}});return e.exit(c)}function bW(e,t,n,r){CW(e,n,!0),n.afterProgramEmitAndDiagnostics=n=>{FW(e,n.getProgram(),r),t(n)}}function CW(e,t,n){const r=t.createProgram;t.createProgram=(t,i,o,s,a,c)=>(un.assert(void 0!==t||void 0===i&&!!s),void 0!==i&&IW(e,i,n),r(t,i,o,s,a,c))}function EW(e,t,n){n.jsDocParsingMode=hW,CW(e,n,!1);const r=n.afterProgramCreate;n.afterProgramCreate=n=>{r(n),FW(e,n.getProgram(),void 0),t(n)}}function xW(e,t){return nH(e,tW(e,t))}function SW(e,t){if(e===co&&t.extendedDiagnostics)return lr(),function(){let e;return{addAggregateStatistic:t,forEachAggregateStatistics:n,clear:r};function t(t){const n=null==e?void 0:e.get(t.name);n?2===n.type?n.value=Math.max(n.value,t.value):n.value+=t.value:(e??(e=new Map)).set(t.name,t)}function n(t){null==e||e.forEach(t)}function r(){e=void 0}}()}function kW(e,t){if(!t)return;if(!cr())return void co.write(us.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message+"\n");const n=[];function r(e){const t=nr(e);t&&n.push({name:i(e),value:t,type:1})}function i(e){return e.replace("SolutionBuilder::","")}n.push({name:"Projects in scope",value:UH(e.getBuildOrder()).length,type:1}),r("SolutionBuilder::Projects built"),r("SolutionBuilder::Timestamps only updates"),r("SolutionBuilder::Bundles updated"),t.forEachAggregateStatistics((e=>{e.name=`Aggregate ${e.name}`,n.push(e)})),ir(((e,t)=>{TW(e)&&n.push({name:`${i(e)} time`,value:t,type:0})})),ur(),lr(),t.clear(),RW(co,n)}function DW(e,t){return e===co&&(t.diagnostics||t.extendedDiagnostics)}function wW(e,t){return e===co&&t.generateTrace}function IW(e,t,n){DW(e,t)&&lr(e),wW(e,t)&&dr(n?"build":"project",t.generateTrace,t.configFilePath)}function TW(e){return Wt(e,"SolutionBuilder::")}function FW(e,t,n){var r;const i=t.getCompilerOptions();let o;if(wW(e,i)&&(null==(r=Hn)||r.stopTracing()),DW(e,i)){o=[];const r=e.getMemoryUsage?e.getMemoryUsage():-1;a("Files",t.getSourceFiles().length);const l=XG(t);if(i.extendedDiagnostics)for(const[e,t]of l.entries())a("Lines of "+e,t);else a("Lines",_(l.values(),((e,t)=>e+t),0));a("Identifiers",t.getIdentifierCount()),a("Symbols",t.getSymbolCount()),a("Types",t.getTypeCount()),a("Instantiations",t.getInstantiationCount()),r>=0&&s({name:"Memory used",value:r,type:2},!0);const u=cr(),d=u?rr("Program"):0,p=u?rr("Bind"):0,f=u?rr("Check"):0,m=u?rr("Emit"):0;if(i.extendedDiagnostics){const e=t.getRelationCacheSizes();a("Assignability cache size",e.assignable),a("Identity cache size",e.identity),a("Subtype cache size",e.subtype),a("Strict subtype cache size",e.strictSubtype),u&&ir(((e,t)=>{TW(e)||c(`${e} time`,t,!0)}))}else u&&(c("I/O read",rr("I/O Read"),!0),c("I/O write",rr("I/O Write"),!0),c("Parse time",d,!0),c("Bind time",p,!0),c("Check time",f,!0),c("Emit time",m,!0));u&&c("Total time",d+p+f+m,!1),RW(e,o),u?n?(ir((e=>{TW(e)||sr(e)})),or((e=>{TW(e)||ar(e)}))):ur():e.write(us.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message+"\n")}function s(e,t){o.push(e),t&&(null==n||n.addAggregateStatistic(e))}function a(e,t){s({name:e,value:t,type:1},!0)}function c(e,t,n){s({name:e,value:t,type:0},n)}}function RW(e,t){let n=0,r=0;for(const e of t){e.name.length>n&&(n=e.name.length);const t=PW(e);t.length>r&&(r=t.length)}for(const i of t)e.write(`${i.name}:`.padEnd(n+2)+PW(i).toString().padStart(r)+e.newLine)}function PW(e){switch(e.type){case 1:return""+e.value;case 0:return(e.value/1e3).toFixed(2)+"s";case 2:return Math.round(e.value/1e3)+"K";default:un.assertNever(e.type)}}function NW(e,t=!0){return{type:e,reportFallback:t}}var BW=NW(void 0,!1),OW=NW(void 0,!1),qW=NW(void 0,!0);function $W(e,t){const n=LC(e,"strictNullChecks");return{serializeTypeOfDeclaration:function(e,n,r){switch(e.kind){case 169:case 341:return d(e,n,r);case 260:return function(e,n,r){var i;const o=_y(e);let a=qW;o?a=NW(s(o,r,e,n)):!e.initializer||1!==(null==(i=n.declarations)?void 0:i.length)&&1!==x(n.declarations,HI)||t.isExpandoFunctionDeclaration(e)||T(e)||(a=g(e.initializer,r,void 0,void 0,s_(e)));return void 0!==a.type?a.type:p(e,n,r,a.reportFallback)}(e,n,r);case 171:case 348:case 172:return function(e,n,r){const i=_y(e),o=t.requiresAddingImplicitUndefined(e,n,r.enclosingDeclaration);let a=qW;if(i)a=NW(s(i,r,e,n,o));else{const t=uw(e)?e.initializer:void 0;if(t&&!T(e)){a=g(t,r,void 0,o,n_(e))}}return void 0!==a.type?a.type:p(e,n,r,a.reportFallback)}(e,n,r);case 208:return p(e,n,r);case 277:return l(e.expression,r,void 0,!0);case 211:case 212:case 226:return function(e,t,n){const r=_y(e);let i;r&&(i=s(r,n,e,t));const o=n.suppressReportInferenceFallback;n.suppressReportInferenceFallback=!0;const a=i??p(e,t,n,!1);return n.suppressReportInferenceFallback=o,a}(e,n,r);case 303:case 304:return function(e,n,r){const i=_y(e);let s;i&&t.canReuseTypeNodeAnnotation(r,e,i,n)&&(s=o(i,r));if(!s&&303===e.kind){const t=e.initializer,n=aR(t)?cR(t):234===t.kind||216===t.kind?t.type:void 0;n&&!Cl(n)&&(s=o(n,r))}return s??p(e,n,r,!1)}(e,n,r);default:un.assertNever(e,`Node needs to be an inferrable node, found ${un.formatSyntaxKind(e.kind)}`)}},serializeReturnTypeForSignature:function(e,t,n){switch(e.kind){case 177:return c(e,t,n);case 174:case 262:case 180:case 173:case 179:case 176:case 178:case 181:case 184:case 185:case 218:case 219:case 317:case 323:return I(e,t,n);default:un.assertNever(e,`Node needs to be an inferrable node, found ${un.formatSyntaxKind(e.kind)}`)}},serializeTypeOfExpression:l,serializeTypeOfAccessor:c,tryReuseExistingTypeNode(e,n){if(t.canReuseTypeNode(e,n))return i(e,n)}};function r(e,n,r=n){return void 0===n?void 0:t.markNodeReuse(e,16&n.flags?n:XS.cloneNode(n),r??n)}function i(n,r){const{finalizeBoundary:i,startRecoveryScope:o,hadError:s,markError:a}=t.createRecoveryBoundary(n),c=eL(r,l,vu);if(i())return n.approximateLength+=r.end-r.pos,c;function l(r){if(s())return r;const i=o(),c=TS(r)?t.enterNewScope(n,r):void 0,u=function(r){var i;if(HT(r))return eL(r.type,l,vu);if(XT(r)||319===r.kind)return XS.createKeywordTypeNode(133);if(ZT(r))return XS.createKeywordTypeNode(159);if(eF(r))return XS.createUnionTypeNode([eL(r.type,l,vu),XS.createLiteralTypeNode(XS.createNull())]);if(nF(r))return XS.createUnionTypeNode([eL(r.type,l,vu),XS.createKeywordTypeNode(157)]);if(tF(r))return eL(r.type,l);if(iF(r))return XS.createArrayTypeNode(eL(r.type,l,vu));if(aF(r))return XS.createTypeLiteralNode(w(r.jsDocPropertyTags,(e=>{const i=eL(UD(e.name)?e.name:e.name.right,l,UD),o=t.getJsDocPropertyOverride(n,r,e);return XS.createPropertySignature(void 0,i,e.isBracketed||e.typeExpression&&nF(e.typeExpression.type)?XS.createToken(58):void 0,o||e.typeExpression&&eL(e.typeExpression.type,l,vu)||XS.createKeywordTypeNode(133))})));if(bw(r)&&UD(r.typeName)&&""===r.typeName.escapedText)return ek(XS.createKeywordTypeNode(133),r);if((gI(r)||bw(r))&&Nm(r))return XS.createTypeLiteralNode([XS.createIndexSignature(void 0,[XS.createParameterDeclaration(void 0,void 0,"x",void 0,eL(r.typeArguments[0],l,vu))],eL(r.typeArguments[1],l,vu))]);if(rF(r)){if(Dh(r)){let e;return XS.createConstructorTypeNode(void 0,tL(r.typeParameters,l,sw),q(r.parameters,((r,i)=>r.name&&UD(r.name)&&"new"===r.name.escapedText?void(e=r.type):XS.createParameterDeclaration(void 0,c(r),t.markNodeReuse(n,XS.createIdentifier(u(r,i)),r),XS.cloneNode(r.questionToken),eL(r.type,l,vu),void 0))),eL(e||r.type,l,vu)||XS.createKeywordTypeNode(133))}return XS.createFunctionTypeNode(tL(r.typeParameters,l,sw),w(r.parameters,((e,r)=>XS.createParameterDeclaration(void 0,c(e),t.markNodeReuse(n,XS.createIdentifier(u(e,r)),e),XS.cloneNode(e.questionToken),eL(e.type,l,vu),void 0))),eL(r.type,l,vu)||XS.createKeywordTypeNode(133))}if(Ow(r))return t.canReuseTypeNode(n,r)||a(),r;if(sw(r)){const{node:e}=t.trackExistingEntityName(n,r.name);return XS.updateTypeParameterDeclaration(r,tL(r.modifiers,l,Zl),e,eL(r.constraint,l,vu),eL(r.default,l,vu))}if($w(r)){const e=d(r);return e||(a(),r)}if(bw(r)){const e=_(r);return e||(a(),r)}if(d_(r))return 132===(null==(i=r.attributes)?void 0:i.token)?(a(),r):t.canReuseTypeNode(n,r)?XS.updateImportTypeNode(r,XS.updateLiteralTypeNode(r.argument,m(r,r.argument.literal)),eL(r.attributes,l,lT),eL(r.qualifier,l,eu),tL(r.typeArguments,l,vu),r.isTypeOf):t.serializeExistingTypeNode(n,r);if(Ec(r)&&167===r.name.kind&&!t.hasLateBindableName(r)){if(!$g(r))return o(r,l);if(t.shouldRemoveDeclaration(n,r))return}if(ru(r)&&!r.type||uw(r)&&!r.type&&!r.initializer||lw(r)&&!r.type&&!r.initializer||aw(r)&&!r.type&&!r.initializer){let e=o(r,l);return e===r&&(e=t.markNodeReuse(n,XS.cloneNode(r),r)),e.type=XS.createKeywordTypeNode(133),aw(r)&&(e.modifiers=void 0),e}if(xw(r)){const e=f(r);return e||(a(),r)}if(ow(r)&&av(r.expression)){const{node:i,introducesError:o}=t.trackExistingEntityName(n,r.expression);if(o){const i=t.serializeTypeOfExpression(n,r.expression);let o;if(Lw(i))o=i.literal;else{const e=t.evaluateEntityNameExpression(r.expression),s="string"==typeof e.value?XS.createStringLiteral(e.value,void 0):"number"==typeof e.value?XS.createNumericLiteral(e.value,0):void 0;if(!s)return Mw(i)&&t.trackComputedName(n,r.expression),r;o=s}return 11===o.kind&&ma(o.text,yC(e))?XS.createIdentifier(o.text):9!==o.kind||o.text.startsWith("-")?XS.updateComputedPropertyName(r,o):o}return XS.updateComputedPropertyName(r,i)}if(vw(r)){let e;if(UD(r.parameterName)){const{node:i,introducesError:o}=t.trackExistingEntityName(n,r.parameterName);o&&a(),e=i}else e=XS.cloneNode(r.parameterName);return XS.updateTypePredicateNode(r,XS.cloneNode(r.assertsModifier),e,eL(r.type,l,vu))}if(Dw(r)||Sw(r)||Qw(r)){const e=o(r,l),i=t.markNodeReuse(n,e===r?XS.cloneNode(r):e,r);return ik(i,Xp(i)|(1024&n.flags&&Sw(r)?0:1)),i}if(kD(r)&&268435456&n.flags&&!r.singleQuote){const e=XS.cloneNode(r);return e.singleQuote=!0,e}if(Pw(r)){const e=eL(r.checkType,l,vu),i=t.enterNewScope(n,r),o=eL(r.extendsType,l,vu),s=eL(r.trueType,l,vu);i();const a=eL(r.falseType,l,vu);return XS.updateConditionalTypeNode(r,e,o,s,a)}if(qw(r))if(158===r.operator&&155===r.type.kind){if(!t.canReuseTypeNode(n,r))return a(),r}else if(143===r.operator){const e=p(r);return e||(a(),r)}return o(r,l);function o(e,t){return uL(e,t,void 0,!n.enclosingFile||n.enclosingFile!==Ap(e)?s:void 0)}function s(e,t,n,r,i){let o=tL(e,t,n,r,i);return o&&(-1===o.pos&&-1===o.end||(o===e&&(o=XS.createNodeArray(e.slice(),e.hasTrailingComma)),Sx(o,-1,-1))),o}function c(e){return e.dotDotDotToken||(e.type&&iF(e.type)?XS.createToken(26):void 0)}function u(e,t){return e.name&&UD(e.name)&&"this"===e.name.escapedText?"this":c(e)?"args":`arg${t}`}function m(e,r){const i=t.getModuleSpecifierOverride(n,e,r);return i?ek(XS.createStringLiteral(i),r):eL(r,l,kD)}}(r);return null==c||c(),s()?vu(r)&&!vw(r)?(i(),t.serializeExistingTypeNode(n,r)):r:u?t.markNodeReuse(n,u,r):void 0}function u(e){const t=og(e);switch(t.kind){case 183:return _(t);case 186:return f(t);case 199:return d(t);case 198:const e=t;if(143===e.operator)return p(e)}return eL(e,l,vu)}function d(e){const t=u(e.objectType);if(void 0!==t)return XS.updateIndexedAccessTypeNode(e,t,eL(e.indexType,l,vu))}function p(e){un.assertEqual(e.operator,143);const t=u(e.type);if(void 0!==t)return XS.updateTypeOperatorNode(e,t)}function f(e){const{introducesError:r,node:i}=t.trackExistingEntityName(n,e.exprName);if(!r)return XS.updateTypeQueryNode(e,i,tL(e.typeArguments,l,vu));const o=t.serializeTypeName(n,e.exprName,!0);return o?t.markNodeReuse(n,o,e.exprName):void 0}function _(e){if(t.canReuseTypeNode(n,e)){const{introducesError:r,node:i}=t.trackExistingEntityName(n,e.typeName),o=tL(e.typeArguments,l,vu);if(!r){const r=XS.updateTypeReferenceNode(e,i,o);return t.markNodeReuse(n,r,e)}{const r=t.serializeTypeName(n,e.typeName,!1,o);if(r)return t.markNodeReuse(n,r,e.typeName)}}}}function o(e,n,r){if(!e)return;let o;return r&&!D(e)||!t.canReuseTypeNode(n,e)||(o=i(n,e),void 0!==o&&(o=k(o,r,void 0,n))),o}function s(e,n,r,i,s,a=void 0!==s){if(!e)return;if(!(t.canReuseTypeNodeAnnotation(n,r,e,i,s)||s&&t.canReuseTypeNodeAnnotation(n,r,e,i,!1)))return;let c;return s&&!D(e)||(c=o(e,n,s)),void 0===c&&a?(n.tracker.reportInferenceFallback(r),t.serializeExistingTypeNode(n,e,s)??XS.createKeywordTypeNode(133)):c}function a(e,n,r,i){if(!e)return;const s=o(e,n,r);return void 0!==s?s:(n.tracker.reportInferenceFallback(e),t.serializeExistingTypeNode(n,e,r)??XS.createKeywordTypeNode(133))}function c(e,n,r){return function(e,n,r){const i=t.getAllAccessorDeclarations(e),o=function(e,t){let n=u(e);n||e===t.firstAccessor||(n=u(t.firstAccessor));!n&&t.secondAccessor&&e!==t.secondAccessor&&(n=u(t.secondAccessor));return n}(e,i);if(o&&!vw(o))return m(r,e,(()=>s(o,r,e,n)??p(e,n,r)));if(i.getAccessor)return m(r,i.getAccessor,(()=>I(i.getAccessor,void 0,r)));return}(e,n,r)??_(e,t.getAllAccessorDeclarations(e),r,n)}function l(e,t,n,r){const i=g(e,t,!1,n,r);return void 0!==i.type?i.type:f(e,t,i.reportFallback)}function u(e){if(e)return 177===e.kind?Tm(e)&&nl(e)||hy(e):Ay(e)}function d(e,n,r){const i=e.parent;if(178===i.kind)return c(i,void 0,r);const o=_y(e),a=t.requiresAddingImplicitUndefined(e,n,r.enclosingDeclaration);let l=qW;return o?l=NW(s(o,r,e,n,a)):aw(e)&&e.initializer&&UD(e.name)&&!T(e)&&(l=g(e.initializer,r,void 0,a)),void 0!==l.type?l.type:p(e,n,r,l.reportFallback)}function p(e,n,r,i=!0){return i&&r.tracker.reportInferenceFallback(e),!0===r.noInferenceFallback?XS.createKeywordTypeNode(133):t.serializeTypeOfDeclaration(r,e,n)}function f(e,n,r=!0,i){return un.assert(!i),r&&n.tracker.reportInferenceFallback(e),!0===n.noInferenceFallback?XS.createKeywordTypeNode(133):t.serializeTypeOfExpression(n,e)??XS.createKeywordTypeNode(133)}function _(e,n,r,i,o=!0){if(177===e.kind)return I(e,i,r,o);o&&r.tracker.reportInferenceFallback(e);return(n.getAccessor&&I(n.getAccessor,i,r,o))??t.serializeTypeOfDeclaration(r,e,i)??XS.createKeywordTypeNode(133)}function m(e,n,r){const i=t.enterNewScope(e,n),o=r();return i(),o}function h(e,t,n,r){return Cl(t)?g(e,n,!0,r):NW(a(t,n,r))}function g(e,r,i=!1,o=!1,s=!1){switch(e.kind){case 217:return aR(e)?h(e.expression,cR(e),r,o):g(e.expression,r,i,o);case 80:if(t.isUndefinedIdentifierExpression(e))return NW(E());break;case 106:return NW(n?k(XS.createLiteralTypeNode(XS.createNull()),o,e,r):XS.createKeywordTypeNode(133));case 219:case 218:return un.type(e),m(r,e,(()=>function(e,t){const n=t.noInferenceFallback;return t.noInferenceFallback=!0,I(e,void 0,t),v(e.typeParameters,t),e.parameters.map((e=>y(e,t))),t.noInferenceFallback=n,BW}(e,r)));case 216:case 234:const a=e;return h(a.expression,a.type,r,o);case 224:const c=e;if(vS(c))return S(40===c.operator?c.operand:c,10===c.operand.kind?163:150,r,i||s,o);break;case 209:return function(e,t,n,r){if(!function(e,t,n){if(!n)return t.tracker.reportInferenceFallback(e),!1;for(const n of e.elements)if(230===n.kind)return t.tracker.reportInferenceFallback(n),!1;return!0}(e,t,n))return r||ud(rg(e).parent)?OW:NW(f(e,t,!1,r));const i=t.noInferenceFallback;t.noInferenceFallback=!0;const o=[];for(const r of e.elements)if(un.assert(230!==r.kind),232===r.kind)o.push(E());else{const e=g(r,t,n),i=void 0!==e.type?e.type:f(r,t,e.reportFallback);o.push(i)}return XS.createTupleTypeNode(o).emitNode={flags:1,autoGenerate:void 0,internalFlags:0},t.noInferenceFallback=i,BW}(e,r,i,o);case 210:return function(e,n,r,i){if(!function(e,n){let r=!0;for(const i of e.properties){if(262144&i.flags){r=!1;break}if(304===i.kind||305===i.kind)n.tracker.reportInferenceFallback(i),r=!1;else{if(262144&i.name.flags){r=!1;break}if(81===i.name.kind)r=!1;else if(167===i.name.kind){const e=i.name.expression;vS(e,!1)||t.isDefinitelyReferenceToGlobalSymbolObject(e)||(n.tracker.reportInferenceFallback(i.name),r=!1)}}}return r}(e,n))return i||ud(rg(e).parent)?OW:NW(f(e,n,!1,i));const o=n.noInferenceFallback;n.noInferenceFallback=!0;const s=[],a=n.flags;n.flags|=4194304;for(const t of e.properties){un.assert(!MT(t)&&!jT(t));const e=t.name;let i;switch(t.kind){case 174:i=m(n,t,(()=>b(t,e,n,r)));break;case 303:i=A(t,e,n,r);break;case 178:case 177:i=C(t,e,n)}i&&(mk(i,t),s.push(i))}n.flags=a;const c=XS.createTypeLiteralNode(s);1024&n.flags||ik(c,1);return n.noInferenceFallback=o,BW}(e,r,i,o);case 231:return NW(f(e,r,!0,o));case 228:if(!i&&!s)return NW(XS.createKeywordTypeNode(154));break;default:let l,u=e;switch(e.kind){case 9:l=150;break;case 15:u=XS.createStringLiteral(e.text),l=154;break;case 11:l=154;break;case 10:l=163;break;case 112:case 97:l=136}if(l)return S(u,l,r,i||s,o)}return qW}function A(e,t,n,i){const o=i?[XS.createModifier(148)]:[],s=g(e.initializer,n,i),a=void 0!==s.type?s.type:p(e,void 0,n,s.reportFallback);return XS.createPropertySignature(o,r(n,t),void 0,a)}function y(e,n){return XS.updateParameterDeclaration(e,[],r(n,e.dotDotDotToken),t.serializeNameOfParameter(n,e),t.isOptionalParameter(e)?XS.createToken(58):void 0,d(e,void 0,n),void 0)}function v(e,t){return null==e?void 0:e.map((e=>{var n;return XS.updateTypeParameterDeclaration(e,null==(n=e.modifiers)?void 0:n.map((e=>r(t,e))),r(t,e.name),a(e.constraint,t),a(e.default,t))}))}function b(e,t,n,i){const o=I(e,void 0,n),s=v(e.typeParameters,n),a=e.parameters.map((e=>y(e,n)));return i?XS.createPropertySignature([XS.createModifier(148)],r(n,t),r(n,e.questionToken),XS.createFunctionTypeNode(s,a,o)):(UD(t)&&"new"===t.escapedText&&(t=XS.createStringLiteral("new")),XS.createMethodSignature([],r(n,t),r(n,e.questionToken),s,a,o))}function C(e,n,i){const o=t.getAllAccessorDeclarations(e),s=o.getAccessor&&u(o.getAccessor),c=o.setAccessor&&u(o.setAccessor);if(void 0!==s&&void 0!==c)return m(i,e,(()=>{const t=e.parameters.map((e=>y(e,i)));return Dd(e)?XS.updateGetAccessorDeclaration(e,[],r(i,n),t,a(s,i),void 0):XS.updateSetAccessorDeclaration(e,[],r(i,n),t,void 0)}));if(o.firstAccessor===e){const t=(s?m(i,o.getAccessor,(()=>a(s,i))):c?m(i,o.setAccessor,(()=>a(c,i))):void 0)??_(e,o,i,void 0);return XS.createPropertySignature(void 0===o.setAccessor?[XS.createModifier(148)]:[],r(i,n),void 0,t)}}function E(){return n?XS.createKeywordTypeNode(157):XS.createKeywordTypeNode(133)}function S(e,t,n,i,o){let s;return i?(224===e.kind&&40===e.operator&&(s=XS.createLiteralTypeNode(r(n,e.operand))),s=XS.createLiteralTypeNode(r(n,e))):s=XS.createKeywordTypeNode(t),NW(k(s,o,e,n))}function k(e,t,r,i){const o=r&&rg(r).parent,s=o&&ud(o)&&Yx(o);return n&&(t||s)?(D(e)||i.tracker.reportInferenceFallback(e),Fw(e)?XS.createUnionTypeNode([...e.types,XS.createKeywordTypeNode(157)]):XS.createUnionTypeNode([e,XS.createKeywordTypeNode(157)])):e}function D(e){return!n||(!(!Sg(e.kind)&&201!==e.kind&&184!==e.kind&&185!==e.kind&&188!==e.kind&&189!==e.kind&&187!==e.kind&&203!==e.kind&&197!==e.kind)||(196===e.kind?D(e.type):(192===e.kind||193===e.kind)&&e.types.every(D)))}function I(e,n,r,i=!0){let a=qW;const c=Dh(e)?_y(e.parameters[0]):hy(e);return c?a=NW(s(c,r,e,n)):eg(e)&&(a=function(e,t){let n;if(e&&!kp(e.body)){if(3&Ng(e))return qW;const t=e.body;t&&DI(t)?D_(t,(e=>e.parent!==t||n?(n=void 0,!0):void(n=e.expression))):n=t}if(n){if(!T(n))return g(n,t);{const e=aR(n)?cR(n):AI(n)||eI(n)?n.type:void 0;if(e&&!Cl(e))return NW(o(e,t))}}return qW}(e,r)),void 0!==a.type?a.type:function(e,n,r){return r&&n.tracker.reportInferenceFallback(e),!0===n.noInferenceFallback?XS.createKeywordTypeNode(133):t.serializeReturnTypeForSignature(n,e)??XS.createKeywordTypeNode(133)}(e,r,i&&a.reportFallback&&!c)}function T(e){return dc(e.parent,(e=>Kw(e)||!ou(e)&&!!_y(e)||xT(e)||NT(e)))}}var QW={};n(QW,{NameValidationResult:()=>cz,discoverTypings:()=>sz,isTypingUpToDate:()=>nz,loadSafeList:()=>iz,loadTypesMap:()=>oz,nonRelativeModuleNameForTypingCache:()=>rz,renderPackageNameValidationFailure:()=>pz,validatePackageName:()=>uz});var LW,MW,jW="action::set",UW="action::invalidate",JW="action::packageInstalled",VW="event::typesRegistry",HW="event::beginInstallTypes",GW="event::endInstallTypes",WW="event::initializationFailed",zW="action::watchTypingLocations";function YW(e){return co.args.includes(e)}function KW(e){const t=co.args.indexOf(e);return t>=0&&te.readFile(t)));return new Map(Object.entries(n.config))}function oz(e,t){var n;const r=rB(t,(t=>e.readFile(t)));if(null==(n=r.config)?void 0:n.simpleMap)return new Map(Object.entries(r.config.simpleMap))}function sz(e,t,n,r,i,o,s,a,c,l){if(!s||!s.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const d=new Map;n=q(n,(e=>{const t=Mo(e);if(NE(t))return t}));const p=[];s.include&&A(s.include,"Explicitly included types");const f=s.exclude||[];if(!l.types){const e=new Set(n.map(Io));e.add(r),e.forEach((e=>{y(e,"bower.json","bower_components",p),y(e,"package.json","node_modules",p)}))}if(s.disableFilenameBasedTypeAcquisition||function(e){const n=q(e,(e=>{if(!NE(e))return;const t=Qt(UE(lt(To(e))));return i.get(t)}));n.length&&A(n,"Inferred typings from file names");J(e,(e=>Eo(e,".jsx")))&&(t&&t("Inferred 'react' typings due to presence of '.jsx' extension"),g("react"))}(n),a){A(Y(a.map(rz),ht,xt),"Inferred typings from unresolved imports")}for(const e of f){d.delete(e)&&t&&t(`Typing for ${e} is in exclude list, will be ignored.`)}o.forEach(((e,t)=>{const n=c.get(t);!1===d.get(t)&&void 0!==n&&nz(e,n)&&d.set(t,e.typingLocation)}));const _=[],m=[];d.forEach(((e,t)=>{e?m.push(e):_.push(t)}));const h={cachedTypingPaths:m,newTypingNames:_,filesToWatch:p};return t&&t(`Finished typings discovery:${tz(h)}`),h;function g(e){d.has(e)||d.set(e,!1)}function A(e,n){t&&t(`${n}: ${JSON.stringify(e)}`),u(e,g)}function y(n,r,i,o){const s=qo(n,r);let a,c;e.fileExists(s)&&(o.push(s),a=rB(s,(t=>e.readFile(t))).config,c=R([a.dependencies,a.devDependencies,a.optionalDependencies,a.peerDependencies],Ie),A(c,`Typing names in '${s}' dependencies`));const l=qo(n,i);if(o.push(l),!e.directoryExists(l))return;const u=[],p=c?c.map((e=>qo(l,e,r))):e.readDirectory(l,[".json"],void 0,void 0,3).filter((e=>{if(To(e)!==r)return!1;const t=Po(Mo(e)),n="@"===t[t.length-3][0];return n&<(t[t.length-4])===i||!n&<(t[t.length-3])===i}));t&&t(`Searching for typing names in ${l}; all files: ${JSON.stringify(p)}`);for(const n of p){const r=Mo(n),i=rB(r,(t=>e.readFile(t))),o=i.config;if(!o.name)continue;const s=o.types||o.typings;if(s){const n=Lo(s,Io(r));e.fileExists(n)?(t&&t(` Package '${o.name}' provides its own types.`),d.set(o.name,n)):t&&t(` Package '${o.name}' provides its own types but they are missing.`)}else u.push(o.name)}A(u," Found package names")}}var az,cz=(e=>(e[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",e))(cz||{}),lz=214;function uz(e){return dz(e,!0)}function dz(e,t){if(!e)return 1;if(e.length>lz)return 2;if(46===e.charCodeAt(0))return 3;if(95===e.charCodeAt(0))return 4;if(t){const t=/^@([^/]+)\/([^/]+)$/.exec(e);if(t){const e=dz(t[1],!1);if(0!==e)return{name:t[1],isScopeName:!0,result:e};const n=dz(t[2],!1);return 0!==n?{name:t[2],isScopeName:!1,result:n}:0}}return encodeURIComponent(e)!==e?5:0}function pz(e,t){return"object"==typeof e?fz(t,e.result,e.name,e.isScopeName):fz(t,e,t,!1)}function fz(e,t,n,r){const i=r?"Scope":"Package";switch(t){case 1:return`'${e}':: ${i} name '${n}' cannot be empty`;case 2:return`'${e}':: ${i} name '${n}' should be less than ${lz} characters`;case 3:return`'${e}':: ${i} name '${n}' cannot start with '.'`;case 4:return`'${e}':: ${i} name '${n}' cannot start with '_'`;case 5:return`'${e}':: ${i} name '${n}' contains non URI safe characters`;case 0:return un.fail();default:un.assertNever(t)}}(e=>{class t{constructor(e){this.text=e}getText(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)}getLength(){return this.text.length}getChangeRange(){}}e.fromString=function(e){return new t(e)}})(az||(az={}));var _z=(e=>(e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All",e))(_z||{}),mz=(e=>(e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e))(mz||{}),hz=(e=>(e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e))(hz||{}),gz={},Az=(e=>(e.Original="original",e.TwentyTwenty="2020",e))(Az||{}),yz=(e=>(e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e))(yz||{}),vz=(e=>(e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e))(vz||{}),bz=(e=>(e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e))(bz||{}),Cz=(e=>(e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e))(Cz||{}),Ez=(e=>(e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e))(Ez||{}),xz=(e=>(e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e))(xz||{});function Sz(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:2,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:"ignore",trimTrailingWhitespace:!0,indentSwitchCase:!0}}var kz=Sz("\n"),Dz=(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))(Dz||{}),wz=(e=>(e[e.None=0]="None",e[e.MayIncludeAutoImports=1]="MayIncludeAutoImports",e[e.IsImportStatementCompletion=2]="IsImportStatementCompletion",e[e.IsContinuation=4]="IsContinuation",e[e.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",e[e.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",e[e.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",e))(wz||{}),Iz=(e=>(e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e))(Iz||{}),Tz=(e=>(e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e))(Tz||{}),Fz=(e=>(e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",e))(Fz||{}),Rz=(e=>(e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral",e))(Rz||{}),Pz=(e=>(e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.variableUsingElement="using",e.variableAwaitUsingElement="await using",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.memberAccessorVariableElement="accessor",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string",e.link="link",e.linkName="link name",e.linkText="link text",e))(Pz||{}),Nz=(e=>(e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.dmtsModifier=".d.mts",e.mtsModifier=".mts",e.mjsModifier=".mjs",e.dctsModifier=".d.cts",e.ctsModifier=".cts",e.cjsModifier=".cjs",e))(Nz||{}),Bz=(e=>(e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value",e))(Bz||{}),Oz=(e=>(e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral",e))(Oz||{}),qz=ha(99,!0),$z=(e=>(e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All",e))($z||{});function Qz(e){switch(e.kind){case 260:return Tm(e)&&Yc(e)?7:1;case 169:case 208:case 172:case 171:case 303:case 304:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 299:case 291:return 1;case 168:case 264:case 265:case 187:return 2;case 346:return void 0===e.name?3:2;case 306:case 263:return 3;case 267:return cf(e)||1===N$(e)?5:4;case 266:case 275:case 276:case 271:case 272:case 277:case 278:return 7;case 307:return 5}return 7}function Lz(e){const t=(e=QY(e)).parent;return 307===e.kind?1:mT(t)||AT(t)||ET(t)||_T(t)||oT(t)||rT(t)&&e===t.name?7:Mz(e)?function(e){const t=166===e.kind?e:iw(e.parent)&&e.parent.right===e?e.parent:void 0;return t&&271===t.parent.kind?7:4}(e):lg(e)?Qz(t):eu(e)&&dc(e,Zt(GT,qd,WT))?7:function(e){fv(e)&&(e=e.parent);switch(e.kind){case 110:return!vm(e);case 197:return!0}switch(e.parent.kind){case 183:return!0;case 205:return!e.parent.isTypeOf;case 233:return S_(e.parent)}return!1}(e)?2:function(e){return function(e){let t=e,n=!0;if(166===t.parent.kind){for(;t.parent&&166===t.parent.kind;)t=t.parent;n=t.right===e}return 183===t.parent.kind&&!n}(e)||function(e){let t=e,n=!0;if(211===t.parent.kind){for(;t.parent&&211===t.parent.kind;)t=t.parent;n=t.name===e}if(!n&&233===t.parent.kind&&298===t.parent.parent.kind){const e=t.parent.parent.parent;return 263===e.kind&&119===t.parent.parent.token||264===e.kind&&96===t.parent.parent.token}return!1}(e)}(e)?4:sw(t)?(un.assert(kF(t.parent)),2):Lw(t)?3:1}function Mz(e){for(;166===e.parent.kind;)e=e.parent;return Dm(e.parent)&&e.parent.moduleReference===e}function jz(e,t=!1,n=!1){return Kz(e,Kw,Wz,t,n)}function Uz(e,t=!1,n=!1){return Kz(e,Xw,Wz,t,n)}function Jz(e,t=!1,n=!1){return Kz(e,Ou,Wz,t,n)}function Vz(e,t=!1,n=!1){return Kz(e,Zw,zz,t,n)}function Hz(e,t=!1,n=!1){return Kz(e,cw,Wz,t,n)}function Gz(e,t=!1,n=!1){return Kz(e,vd,Yz,t,n)}function Wz(e){return e.expression}function zz(e){return e.tag}function Yz(e){return e.tagName}function Kz(e,t,n,r,i){let o=r?function(e){return sY(e)||aY(e)?e.parent:e}(e):Xz(e);return i&&(o=uR(o)),!!o&&!!o.parent&&t(o.parent)&&n(o.parent)===o}function Xz(e){return sY(e)?e.parent:e}function Zz(e,t){for(;e;){if(256===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}}function eY(e,t){return!!zw(e.expression)&&e.expression.name.text===t}function tY(e){var t;return UD(e)&&(null==(t=et(e.parent,Sl))?void 0:t.label)===e}function nY(e){var t;return UD(e)&&(null==(t=et(e.parent,jI))?void 0:t.label)===e}function rY(e){return nY(e)||tY(e)}function iY(e){var t;return(null==(t=et(e.parent,Sd))?void 0:t.tagName)===e}function oY(e){var t;return(null==(t=et(e.parent,iw))?void 0:t.right)===e}function sY(e){var t;return(null==(t=et(e.parent,zw))?void 0:t.name)===e}function aY(e){var t;return(null==(t=et(e.parent,Yw))?void 0:t.argumentExpression)===e}function cY(e){var t;return(null==(t=et(e.parent,ZI))?void 0:t.name)===e}function lY(e){var t;return UD(e)&&(null==(t=et(e.parent,ru))?void 0:t.name)===e}function uY(e){switch(e.parent.kind){case 172:case 171:case 303:case 306:case 174:case 173:case 177:case 178:case 267:return Sc(e.parent)===e;case 212:return e.parent.argumentExpression===e;case 167:return!0;case 201:return 199===e.parent.parent.kind;default:return!1}}function dY(e){return xm(e.parent.parent)&&Sm(e.parent.parent)===e}function pY(e){for(wh(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 307:case 174:case 173:case 262:case 218:case 177:case 178:case 263:case 264:case 266:case 267:return e}}}function fY(e){switch(e.kind){case 307:return UP(e)?"module":"script";case 267:return"module";case 263:case 231:return"class";case 264:return"interface";case 265:case 338:case 346:return"type";case 266:return"enum";case 260:return t(e);case 208:return t(Xg(e));case 219:case 262:case 218:return"function";case 177:return"getter";case 178:return"setter";case 174:case 173:return"method";case 303:const{initializer:n}=e;return ru(n)?"method":"property";case 172:case 171:case 304:case 305:return"property";case 181:return"index";case 180:return"construct";case 179:return"call";case 176:case 175:return"constructor";case 168:return"type parameter";case 306:return"enum member";case 169:return wy(e,31)?"property":"parameter";case 271:case 276:case 281:case 274:case 280:return"alias";case 226:const r=th(e),{right:i}=e;switch(r){case 7:case 8:case 9:case 0:default:return"";case 1:case 2:const e=fY(i);return""===e?"const":e;case 3:case 5:return nI(i)?"method":"property";case 4:return"property";case 6:return"local class"}case 80:return oT(e.parent)?"alias":"";case 277:const o=fY(e.expression);return""===o?"const":o;default:return""}function t(e){return o_(e)?"const":a_(e)?"let":"var"}}function _Y(e){switch(e.kind){case 110:return!0;case 80:return py(e)&&169===e.parent.kind;default:return!1}}var mY=/^\/\/\/\s*=n}function bY(e,t,n){return EY(e.pos,e.end,t,n)}function CY(e,t,n,r){return EY(e.getStart(t),e.end,n,r)}function EY(e,t,n,r){return Math.max(e,n)e.kind===t))}function TY(e){const t=A(e.parent.getChildren(),(t=>NF(t)&&Kv(t,e)));return un.assert(!t||C(t.getChildren(),e)),t}function FY(e){return 90===e.kind}function RY(e){return 86===e.kind}function PY(e){return 100===e.kind}function NY(e,t){if(16777216&e.flags)return;const n=pZ(e,t);if(n)return n;const r=function(e){let t;return dc(e,(e=>(vu(e)&&(t=e),!iw(e.parent)&&!vu(e.parent)&&!gu(e.parent)))),t}(e);return r&&t.getTypeAtLocation(r)}function BY(e,t){if(!t)switch(e.kind){case 263:case 231:return function(e){if(Ec(e))return e.name;if(zI(e)){const t=e.modifiers&&A(e.modifiers,FY);if(t)return t}if(mI(e)){const t=A(e.getChildren(),RY);if(t)return t}}(e);case 262:case 218:return function(e){if(Ec(e))return e.name;if(WI(e)){const t=A(e.modifiers,FY);if(t)return t}if(nI(e)){const t=A(e.getChildren(),PY);if(t)return t}}(e);case 176:return e}if(Ec(e))return e.name}function OY(e,t){if(e.importClause){if(e.importClause.name&&e.importClause.namedBindings)return;if(e.importClause.name)return e.importClause.name;if(e.importClause.namedBindings){if(fT(e.importClause.namedBindings)){const t=ye(e.importClause.namedBindings.elements);if(!t)return;return t.name}if(dT(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!t)return e.moduleSpecifier}function qY(e,t){if(e.exportClause){if(gT(e.exportClause)){if(!ye(e.exportClause.elements))return;return e.exportClause.elements[0].name}if(pT(e.exportClause))return e.exportClause.name}if(!t)return e.moduleSpecifier}function $Y(e,t){const{parent:n}=e;if(Zl(e)&&(t||90!==e.kind)?cP(n)&&C(n.modifiers,e):86===e.kind?zI(n)||mI(e):100===e.kind?WI(n)||nI(e):120===e.kind?YI(n):94===e.kind?XI(n):156===e.kind?KI(n):145===e.kind||144===e.kind?ZI(n):102===e.kind?rT(n):139===e.kind?mw(n):153===e.kind&&hw(n)){const e=BY(n,t);if(e)return e}if((115===e.kind||87===e.kind||121===e.kind)&&GI(n)&&1===n.declarations.length){const e=n.declarations[0];if(UD(e.name))return e.name}if(156===e.kind){if(oT(n)&&n.isTypeOnly){const e=OY(n.parent,t);if(e)return e}if(hT(n)&&n.isTypeOnly){const e=qY(n,t);if(e)return e}}if(130===e.kind){if(_T(n)&&n.propertyName||AT(n)&&n.propertyName||dT(n)||pT(n))return n.name;if(hT(n)&&n.exportClause&&pT(n.exportClause))return n.exportClause.name}if(102===e.kind&&iT(n)){const e=OY(n,t);if(e)return e}if(95===e.kind){if(hT(n)){const e=qY(n,t);if(e)return e}if(mT(n))return uR(n.expression)}if(149===e.kind&&ET(n))return n.expression;if(161===e.kind&&(iT(n)||hT(n))&&n.moduleSpecifier)return n.moduleSpecifier;if((96===e.kind||119===e.kind)&&$T(n)&&n.token===e.kind){const e=function(e){if(1===e.types.length)return e.types[0].expression}(n);if(e)return e}if(96===e.kind){if(sw(n)&&n.constraint&&bw(n.constraint))return n.constraint.typeName;if(Pw(n)&&bw(n.extendsType))return n.extendsType.typeName}if(140===e.kind&&Nw(n))return n.typeParameter.name;if(103===e.kind&&sw(n)&&Qw(n.parent))return n.name;if(143===e.kind&&qw(n)&&143===n.operator&&bw(n.type))return n.type.typeName;if(148===e.kind&&qw(n)&&148===n.operator&&kw(n.type)&&bw(n.type.elementType))return n.type.elementType.typeName;if(!t){if((105===e.kind&&Xw(n)||116===e.kind&&sI(n)||114===e.kind&&oI(n)||135===e.kind&&aI(n)||127===e.kind&&fI(n)||91===e.kind&&iI(n))&&n.expression)return uR(n.expression);if((103===e.kind||104===e.kind)&&uI(n)&&n.operatorToken===e)return uR(n.right);if(130===e.kind&&AI(n)&&bw(n.type))return n.type.typeName;if(103===e.kind&&BI(n)||165===e.kind&&OI(n))return uR(n.expression)}return e}function QY(e){return $Y(e,!1)}function LY(e){return $Y(e,!0)}function MY(e,t){return jY(e,t,(e=>Mg(e)||Sg(e.kind)||JD(e)))}function jY(e,t,n){return JY(e,t,!1,n,!1)}function UY(e,t){return JY(e,t,!0,void 0,!1)}function JY(e,t,n,r,i){let o,s=e;for(;;){const i=s.getChildren(e),c=xe(i,t,((e,t)=>t),((o,s)=>{const c=i[o].getEnd();if(ct?1:a(i[o],l,c)?i[o-1]&&a(i[o-1])?1:0:r&&l===t&&i[o-1]&&i[o-1].getEnd()===t&&a(i[o-1])?1:-1}));if(o)return o;if(!(c>=0&&i[c]))return s;s=i[c]}function a(s,a,c){if(c??(c=s.getEnd()),ct)return!1;if(tn.getStart(e)&&t(r.pos<=e.pos&&r.end>e.end||r.pos===e.end)&&uK(r,n)?t(r):void 0))}(t)}function WY(e,t,n,r){const i=function i(o){if(zY(o)&&1!==o.kind)return o;const s=o.getChildren(t),a=xe(s,e,((e,t)=>t),((t,n)=>e=s[t-1].end?0:1:-1));if(a>=0&&s[a]){const n=s[a];if(e=e||!uK(n,t)||eK(n)){const e=KY(s,a,t,o.kind);return e?!r&&xd(e)&&e.getChildren(t).length?i(e):YY(e,t):void 0}return i(n)}}un.assert(void 0!==n||307===o.kind||1===o.kind||xd(o));const c=KY(s,s.length,t,o.kind);return c&&YY(c,t)}(n||t);return un.assert(!(i&&eK(i))),i}function zY(e){return Tl(e)&&!eK(e)}function YY(e,t){if(zY(e))return e;const n=e.getChildren(t);if(0===n.length)return e;const r=KY(n,n.length,t,e.kind);return r&&YY(r,t)}function KY(e,t,n,r){for(let i=t-1;i>=0;i--){if(eK(e[i]))0!==i||12!==r&&285!==r||un.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(uK(e[i],n))return e[i]}}function XY(e,t,n=WY(t,e)){if(n&&Ul(n)){const r=n.getStart(e),i=n.getEnd();if(rn.getStart(e)}function nK(e,t){const n=UY(e,t);return!!DD(n)||(!(19!==n.kind||!NT(n.parent)||!xT(n.parent.parent))||!(30!==n.kind||!vd(n.parent)||!xT(n.parent.parent)))}function rK(e,t){return function(n){for(;n;)if(n.kind>=285&&n.kind<=294||12===n.kind||30===n.kind||32===n.kind||80===n.kind||20===n.kind||19===n.kind||44===n.kind)n=n.parent;else{if(284!==n.kind)return!1;if(t>n.getStart(e))return!0;n=n.parent}return!1}(UY(e,t))}function iK(e,t,n){const r=Is(e.kind),i=Is(t),o=e.getFullStart(),s=n.text.lastIndexOf(i,o);if(-1===s)return;if(n.text.lastIndexOf(r,o-1)!!e.typeParameters&&e.typeParameters.length>=t))}function aK(e,t){if(-1===t.text.lastIndexOf("<",e?e.pos:t.text.length))return;let n=e,r=0,i=0;for(;n;){switch(n.kind){case 30:if(n=WY(n.getFullStart(),t),n&&29===n.kind&&(n=WY(n.getFullStart(),t)),!n||!UD(n))return;if(!r)return lg(n)?void 0:{called:n,nTypeArguments:i};r--;break;case 50:r=3;break;case 49:r=2;break;case 32:r++;break;case 20:if(n=iK(n,19,t),!n)return;break;case 22:if(n=iK(n,21,t),!n)return;break;case 24:if(n=iK(n,23,t),!n)return;break;case 28:i++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(vu(n))break;return}n=WY(n.getFullStart(),t)}}function cK(e,t,n){return xpe.getRangeOfEnclosingComment(e,t,void 0,n)}function lK(e,t){return!!dc(UY(e,t),sF)}function uK(e,t){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(t)}function dK(e,t=0){const n=[],r=ud(e)?oc(e)&~t:0;return 2&r&&n.push("private"),4&r&&n.push("protected"),1&r&&n.push("public"),(256&r||fw(e))&&n.push("static"),64&r&&n.push("abstract"),32&r&&n.push("export"),65536&r&&n.push("deprecated"),33554432&e.flags&&n.push("declare"),277===e.kind&&n.push("export"),n.length>0?n.join(","):""}function pK(e){return 183===e.kind||213===e.kind?e.typeArguments:ru(e)||263===e.kind||264===e.kind?e.typeParameters:void 0}function fK(e){return 2===e||3===e}function _K(e){return!(11!==e&&14!==e&&!Bl(e))}function mK(e,t,n){return!!(4&t.flags)&&e.isEmptyAnonymousObjectType(n)}function hK(e){if(!e.isIntersection())return!1;const{types:t,checker:n}=e;return 2===t.length&&(mK(n,t[0],t[1])||mK(n,t[1],t[0]))}function gK(e,t,n){return Bl(e.kind)&&e.getStart(n){const n=JQ(t);return!e[n]&&(e[n]=!0)}}function qK(e){return e.getText(0,e.getLength())}function $K(e,t){let n="";for(let r=0;r!(t.isDeclarationFile||e.isSourceFileFromExternalLibrary(t)||!t.externalModuleIndicator&&!t.commonJsModuleIndicator)))}function jK(e){return e.getSourceFiles().some((t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator))}function UK(e){return!!e.module||yC(e)>=2||!!e.noEmit}function JK(e,t){return{fileExists:t=>e.fileExists(t),getCurrentDirectory:()=>t.getCurrentDirectory(),readFile:Je(t,t.readFile),useCaseSensitiveFileNames:Je(t,t.useCaseSensitiveFileNames)||e.useCaseSensitiveFileNames,getSymlinkCache:Je(t,t.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:Je(t,t.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var t;return null==(t=e.getModuleResolutionCache())?void 0:t.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:Je(t,t.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:t=>e.getProjectReferenceRedirect(t),isSourceOfProjectReferenceRedirect:t=>e.isSourceOfProjectReferenceRedirect(t),getNearestAncestorDirectoryWithPackageJson:Je(t,t.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>e.getFileIncludeReasons(),getCommonSourceDirectory:()=>e.getCommonSourceDirectory(),getDefaultResolutionModeForFile:t=>e.getDefaultResolutionModeForFile(t),getModeForResolutionAtIndex:(t,n)=>e.getModeForResolutionAtIndex(t,n)}}function VK(e,t){return{...JK(e,t),getCommonSourceDirectory:()=>e.getCommonSourceDirectory()}}function HK(e){return 2===e||e>=3&&e<=99||100===e}function GK(e,t,n,r,i){return XS.createImportDeclaration(void 0,e||t?XS.createImportClause(!!i,e,t&&t.length?XS.createNamedImports(t):void 0):void 0,"string"==typeof n?WK(n,r):n,void 0)}function WK(e,t){return XS.createStringLiteral(e,0===t)}var zK=(e=>(e[e.Single=0]="Single",e[e.Double=1]="Double",e))(zK||{});function YK(e,t){return jm(e,t)?1:0}function KK(e,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;{const t=wm(e)&&e.imports&&A(e.imports,(e=>kD(e)&&!eA(e.parent)));return t?YK(t,e):1}}function XK(e){switch(e){case 0:return"'";case 1:return'"';default:return un.assertNever(e)}}function ZK(e){const t=eX(e);return void 0===t?void 0:mc(t)}function eX(e){return"default"!==e.escapedName?e.escapedName:p(e.declarations,(e=>{const t=Sc(e);return t&&80===t.kind?t.escapedText:void 0}))}function tX(e){return Od(e)&&(ET(e.parent)||iT(e.parent)||PF(e.parent)||Bm(e.parent,!1)&&e.parent.arguments[0]===e||l_(e.parent)&&e.parent.arguments[0]===e)}function nX(e){return Hw(e)&&Jw(e.parent)&&UD(e.name)&&!e.propertyName}function rX(e,t){const n=e.getTypeAtLocation(t.parent);return n&&e.getPropertyOfType(n,t.name.text)}function iX(e,t,n){if(e)for(;e.parent;){if(JT(e.parent)||!oX(n,e.parent,t))return e;e=e.parent}}function oX(e,t,n){return Fa(e,t.getStart(n))&&t.getEnd()<=Ia(e)}function sX(e,t){return cP(e)?A(e.modifiers,(e=>e.kind===t)):void 0}function aX(e,t,n,r,i){var o;const s=243===(Ye(n)?n[0]:n).kind?Lm:Ef,a=S(t.statements,s),{comparer:c,isSorted:l}=lue.getOrganizeImportsStringComparerWithDetection(a,i),u=Ye(n)?le(n,((e,t)=>lue.compareImportsOrRequireStatements(e,t,c))):[n];if(null==a?void 0:a.length)if(un.assert(wm(t)),a&&l)for(const n of u){const r=lue.getImportDeclarationInsertionIndex(a,n,c);if(0===r){const r=a[0]===t.statements[0]?{leadingTriviaOption:zde.LeadingTriviaOption.Exclude}:{};e.insertNodeBefore(t,a[0],n,!1,r)}else{const i=a[r-1];e.insertNodeAfter(t,i,n)}}else{const n=ge(a);n?e.insertNodesAfter(t,n,u):e.insertNodesAtTopOfFile(t,u,r)}else if(wm(t))e.insertNodesAtTopOfFile(t,u,r);else for(const n of u)e.insertStatementsInNewFile(t.fileName,[n],null==(o=uc(n))?void 0:o.getSourceFile())}function cX(e,t){return un.assert(e.isTypeOnly),tt(e.getChildAt(0,t),NK)}function lX(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function uX(e,t,n){return(n?ht:mt)(e.fileName,t.fileName)&&lX(e.textSpan,t.textSpan)}function dX(e){return(t,n)=>uX(t,n,e)}function pX(e,t){if(e)for(let n=0;n!!aw(e)||!(Hw(e)||Jw(e)||Vw(e))&&"quit"))}var AX=function(){const e=10*Jd;let t,n,r,i;c();const o=e=>a(e,17);return{displayParts:()=>{const n=t.length&&t[t.length-1].text;return i>e&&n&&"..."!==n&&(js(n.charCodeAt(n.length-1))||t.push(yX(" ",16)),t.push(yX("...",15))),t},writeKeyword:e=>a(e,5),writeOperator:e=>a(e,12),writePunctuation:e=>a(e,15),writeTrailingSemicolon:e=>a(e,15),writeSpace:e=>a(e,16),writeStringLiteral:e=>a(e,8),writeParameter:e=>a(e,13),writeProperty:e=>a(e,14),writeLiteral:e=>a(e,8),writeSymbol:function(n,r){if(i>e)return;s(),i+=n.length,t.push(function(e,t){return yX(e,n(t));function n(e){const t=e.flags;return 3&t?gX(e)?13:9:4&t||32768&t||65536&t?14:8&t?19:16&t?20:32&t?1:64&t?4:384&t?2:1536&t?11:8192&t?10:262144&t?18:524288&t||2097152&t?0:17}}(n,r))},writeLine:function(){if(i>e)return;i+=1,t.push(BX()),n=!0},write:o,writeComment:o,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:ut,getIndent:()=>r,increaseIndent:()=>{r++},decreaseIndent:()=>{r--},clear:c};function s(){if(!(i>e)&&n){const e=RA(r);e&&(i+=e.length,t.push(yX(e,16))),n=!1}}function a(n,r){i>e||(s(),i+=n.length,t.push(yX(n,r)))}function c(){t=[],n=!0,r=0,i=0}}();function yX(e,t){return{text:e,kind:Dz[t]}}function vX(){return yX(" ",16)}function bX(e){return yX(Is(e),5)}function CX(e){return yX(Is(e),15)}function EX(e){return yX(Is(e),12)}function xX(e){return yX(e,13)}function SX(e){return yX(e,14)}function kX(e){const t=Ts(e);return void 0===t?DX(e):bX(t)}function DX(e){return yX(e,17)}function wX(e){return yX(e,0)}function IX(e){return yX(e,18)}function TX(e){return yX(e,24)}function FX(e){return yX(e,22)}function RX(e,t){var n;const r=[FX(`{@${zT(e)?"link":YT(e)?"linkcode":"linkplain"} `)];if(e.name){const i=null==t?void 0:t.getSymbolAtLocation(e.name),o=i&&t?jX(i,t):void 0,s=function(e){let t=e.indexOf("://");if(0===t){for(;t"===e[n]&&t--,n++,!t)return n}return 0}(e.text),a=zp(e.name)+e.text.slice(0,s),c=function(e){let t=0;if(124===e.charCodeAt(t++)){for(;t{e.writeType(t,n,17408|r,i)}))}function $X(e,t,n,r,i=0){return OX((o=>{e.writeSymbol(t,n,r,8|i,o)}))}function QX(e,t,n,r=0){return r|=25632,OX((i=>{e.writeSignature(t,n,r,void 0,i)}))}function LX(e){return!!e.parent&&$l(e.parent)&&e.parent.propertyName===e}function MX(e,t){return vE(e,t.getScriptKind&&t.getScriptKind(e))}function jX(e,t){let n=e;for(;UX(n)||zd(n)&&n.links.target;)n=zd(n)&&n.links.target?n.links.target:sb(n,t);return n}function UX(e){return!!(2097152&e.flags)}function JX(e,t){return VQ(sb(e,t))}function VX(e,t){for(;js(e.charCodeAt(t));)t+=1;return t}function HX(e,t){for(;t>-1&&Us(e.charCodeAt(t));)t-=1;return t+1}function GX(e,t=!0){const n=e&&zX(e);return n&&!t&&XX(n),Ix(n,!1)}function WX(e,t,n){let r=n(e);return r?ek(r,e):r=zX(e,n),r&&!t&&XX(r),r}function zX(e,t){const n=t?e=>WX(e,!0,t):GX,r=uL(e,n,void 0,t?e=>e&&KX(e,!0,t):e=>e&&YX(e),n);if(r===e){return aP(kD(e)?ek(XS.createStringLiteralFromNode(e),e):xD(e)?ek(XS.createNumericLiteral(e.text,e.numericLiteralFlags),e):XS.cloneNode(e),e)}return r.parent=void 0,r}function YX(e,t=!0){if(e){const n=XS.createNodeArray(e.map((e=>GX(e,t))),e.hasTrailingComma);return aP(n,e),n}return e}function KX(e,t,n){return XS.createNodeArray(e.map((e=>WX(e,t,n))),e.hasTrailingComma)}function XX(e){ZX(e),eZ(e)}function ZX(e){nZ(e,1024,rZ)}function eZ(e){nZ(e,2048,vb)}function tZ(e,t){const n=e.getSourceFile();!function(e,t){const n=e.getFullStart(),r=e.getStart();for(let e=n;ee))}function iZ(e,t){let n=e;for(let r=1;!Sp(t,n);r++)n=`${e}_${r}`;return n}function oZ(e,t,n,r){let i=0,o=-1;for(const{fileName:s,textChanges:a}of e){un.assert(s===t);for(const e of a){const{span:t,newText:s}=e,a=uZ(s,bA(n));if(-1!==a&&(o=t.start+i+a,!r))return o;i+=s.length-t.length}}return un.assert(r),un.assert(o>=0),o}function sZ(e,t,n,r,i){oa(n.text,e.pos,lZ(t,n,r,i,Ak))}function aZ(e,t,n,r,i){sa(n.text,e.end,lZ(t,n,r,i,bk))}function cZ(e,t,n,r,i){sa(n.text,e.pos,lZ(t,n,r,i,Ak))}function lZ(e,t,n,r,i){return(o,s,a,c)=>{3===a?(o+=2,s-=2):o+=2,i(e,n||a,t.text.slice(o,s),void 0!==r?r:c)}}function uZ(e,t){if(Wt(e,t))return 0;let n=e.indexOf(" "+t);return-1===n&&(n=e.indexOf("."+t)),-1===n&&(n=e.indexOf('"'+t)),-1===n?-1:n+1}function dZ(e){return uI(e)&&28===e.operatorToken.kind||Ww(e)||(AI(e)||yI(e))&&Ww(e.expression)}function pZ(e,t,n){const r=rg(e.parent);switch(r.kind){case 214:return t.getContextualType(r,n);case 226:{const{left:i,operatorToken:o,right:s}=r;return _Z(o.kind)?t.getTypeAtLocation(e===s?i:s):t.getContextualType(e,n)}case 296:return gZ(r,t);default:return t.getContextualType(e,n)}}function fZ(e,t,n){const r=KK(e,t),i=JSON.stringify(n);return 0===r?`'${IA(i).replace(/'/g,(()=>"\\'")).replace(/\\"/g,'"')}'`:i}function _Z(e){switch(e){case 37:case 35:case 38:case 36:return!0;default:return!1}}function mZ(e){switch(e.kind){case 11:case 15:case 228:case 215:return!0;default:return!1}}function hZ(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function gZ(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}var AZ="anonymous function";function yZ(e,t,n,r){const i=n.getTypeChecker();let o=!0;const s=()=>o=!1,a=i.typeToTypeNode(e,t,1,8,{trackSymbol:(e,t,n)=>(o=o&&0===i.isSymbolAccessible(e,t,n,!1).accessibility,!o),reportInaccessibleThisError:s,reportPrivateInBaseOfClassExpression:s,reportInaccessibleUniqueSymbolError:s,moduleResolverHost:VK(n,r)});return o?a:void 0}function vZ(e){return 179===e||180===e||181===e||171===e||173===e}function bZ(e){return 262===e||176===e||174===e||177===e||178===e}function CZ(e){return 267===e}function EZ(e){return 243===e||244===e||246===e||251===e||252===e||253===e||257===e||259===e||172===e||265===e||272===e||271===e||278===e||270===e||277===e}var xZ=Zt(vZ,bZ,CZ,EZ);function SZ(e,t,n){const r=dc(t,(t=>t.end!==e?"quit":xZ(t.kind)));return!!r&&function(e,t){const n=e.getLastToken(t);if(n&&27===n.kind)return!1;if(vZ(e.kind)){if(n&&28===n.kind)return!1}else if(CZ(e.kind)){const n=Ae(e.getChildren(t));if(n&&eT(n))return!1}else if(bZ(e.kind)){const n=Ae(e.getChildren(t));if(n&&$_(n))return!1}else if(!EZ(e.kind))return!1;if(246===e.kind)return!0;const r=GY(e,dc(e,(e=>!e.parent)),t);return!r||20===r.kind||t.getLineAndCharacterOfPosition(e.getEnd()).line!==t.getLineAndCharacterOfPosition(r.getStart(t)).line}(r,n)}function kZ(e){let t=0,n=0;return OP(e,(function r(i){if(EZ(i.kind)){const r=i.getLastToken(e);27===(null==r?void 0:r.kind)?t++:n++}else if(vZ(i.kind)){const r=i.getLastToken(e);if(27===(null==r?void 0:r.kind))t++;else if(r&&28!==r.kind){Ms(e,r.getStart(e)).line!==Ms(e,zf(e,r.end).start).line&&n++}}return t+n>=5||OP(i,r)})),0===t&&n<=1||t/n>.2}function DZ(e,t){return RZ(e,e.getDirectories,t)||[]}function wZ(e,t,n,r,i){return RZ(e,e.readDirectory,t,n,r,i)||a}function IZ(e,t){return RZ(e,e.fileExists,t)}function TZ(e,t){return FZ((()=>Iv(t,e)))||!1}function FZ(e){try{return e()}catch{return}}function RZ(e,t,...n){return FZ((()=>t&&t.apply(e,n)))}function PZ(e,t){const n=[];return m$(t,e,(e=>{const r=qo(e,"package.json");IZ(t,r)&&n.push(r)})),n}function NZ(e,t){let n;return m$(t,e,(e=>"node_modules"===e||(n=DU(e,(e=>IZ(t,e)),"package.json"),!!n||void 0))),n}function BZ(e,t){if(!t.readFile)return;const n=["dependencies","devDependencies","optionalDependencies","peerDependencies"],r=wv(t.readFile(e)||""),i={};if(r)for(const e of n){const t=r[e];if(!t)continue;const n=new Map;for(const e in t)n.set(e,t[e]);i[e]=n}const o=[[1,i.dependencies],[2,i.devDependencies],[8,i.optionalDependencies],[4,i.peerDependencies]];return{...i,parseable:!!r,fileName:e,get:s,has:(e,t)=>!!s(e,t)};function s(e,t=15){for(const[n,r]of o)if(r&&t&n){const t=r.get(e);if(void 0!==t)return t}}}function OZ(e,t,n){const r=(n.getPackageJsonsVisibleToFile&&n.getPackageJsonsVisibleToFile(e.fileName)||function(e,t){if(!t.fileExists)return[];const n=[];return m$(t,Io(e),(e=>{const r=qo(e,"package.json");if(t.fileExists(r)){const e=BZ(r,t);e&&n.push(e)}})),n}(e.fileName,n)).filter((e=>e.parseable));let i,o,s;return{allowsImportingAmbientModule:function(e,t){if(!r.length||!e.valueDeclaration)return!0;if(o){const t=o.get(e);if(void 0!==t)return t}else o=new Map;const n=IA(e.getName());if(c(n))return o.set(e,!0),!0;const i=l(e.valueDeclaration.getSourceFile().fileName,t);if(void 0===i)return o.set(e,!0),!0;const s=a(i)||a(n);return o.set(e,s),s},getSourceFileInfo:function(e,t){if(!r.length)return{importable:!0,packageName:void 0};if(s){const t=s.get(e);if(void 0!==t)return t}else s=new Map;const n=l(e.fileName,t);if(!n){const t={importable:!0,packageName:n};return s.set(e,t),t}const i={importable:a(n),packageName:n};return s.set(e,i),i},allowsImportingSpecifier:function(e){if(!r.length||c(e))return!0;if(vo(e)||go(e))return!0;return a(e)}};function a(e){const t=u(e);for(const e of r)if(e.has(t)||e.has(b$(t)))return!0;return!1}function c(t){return!!(wm(e)&&Im(e)&&DS.has(t)&&(void 0===i&&(i=qZ(e)),i))}function l(r,i){if(!r.includes("node_modules"))return;const o=G$.getNodeModulesPackageName(n.getCompilationSettings(),e,r,i,t);return o?vo(o)||go(o)?void 0:u(o):void 0}function u(e){const t=Po(E$(e)).slice(1);return Wt(t[0],"@")?`${t[0]}/${t[1]}`:t[0]}}function qZ(e){return J(e.imports,(({text:e})=>DS.has(e)))}function $Z(e){return C(Po(e),"node_modules")}function QZ(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function LZ(e,t){const n=xe(t,SK(e),st,yt);if(n>=0){const r=t[n];return un.assertEqual(r.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),tt(r,QZ)}}function MZ(e,t){var n;let r=xe(t,e.start,(e=>e.start),At);for(r<0&&(r=~r);(null==(n=t[r-1])?void 0:n.start)===e.start;)r--;const i=[],o=Ia(e);for(;;){const n=et(t[r],QZ);if(!n||n.start>o)break;Pa(e,n)&&i.push(n),r++}return i}function jZ({startPosition:e,endPosition:t}){return Ha(e,void 0===t?e:t)}function UZ(e,t){const n=dc(UY(e,t.start),(n=>n.getStart(e)Ia(t)?"quit":Ju(n)&&lX(t,SK(n,e))));return n}function JZ(e,t,n=st){return e?Ye(e)?n(w(e,t)):t(e,0):void 0}function VZ(e){return Ye(e)?me(e):e}function HZ(e,t,n){return"export="===e.escapedName||"default"===e.escapedName?GZ(e)||WZ(function(e){var t;return un.checkDefined(e.parent,`Symbol parent was undefined. Flags: ${un.formatSymbolFlags(e.flags)}. Declarations: ${null==(t=e.declarations)?void 0:t.map((e=>{const t=un.formatSyntaxKind(e.kind),n=Tm(e),{expression:r}=e;return(n?"[JS]":"")+t+(r?` (expression: ${un.formatSyntaxKind(r.kind)})`:"")})).join(", ")}.`)}(e),t,!!n):e.name}function GZ(e){return p(e.declarations,(t=>{var n,r,i;if(mT(t))return null==(n=et(uR(t.expression),UD))?void 0:n.text;if(AT(t)&&2097152===t.symbol.flags)return null==(r=et(t.propertyName,UD))?void 0:r.text;const o=null==(i=et(Sc(t),UD))?void 0:i.text;return o||(e.parent&&!Yd(e.parent)?e.parent.getName():void 0)}))}function WZ(e,t,n){return zZ(UE(IA(e.name)),t,n)}function zZ(e,t,n){const r=To(qt(e,"/index"));let i="",o=!0;const s=r.charCodeAt(0);fa(s,t)?(i+=String.fromCharCode(s),n&&(i=i.toUpperCase())):o=!1;for(let e=1;ee.length)return!1;for(let i=0;i(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",e))(l0||{}),u0=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD",e[e.Module=4]="Module",e))(u0||{});function d0(e){let t=1;const n=Ve(),r=new Map,i=new Map;let o;const s={isUsableByFile:e=>e===o,isEmpty:()=>!n.size,clear:()=>{n.clear(),r.clear(),o=void 0},add:(e,a,c,l,u,d,p,f)=>{let _;if(e!==o&&(s.clear(),o=e),u){const t=Ux(u.fileName);if(t){const{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:r,packageRootIndex:o}=t;if(_=x$(E$(u.fileName.substring(r+1,o))),Wt(e,u.path.substring(0,n))){const e=i.get(_),t=u.fileName.substring(0,r+1);if(e){n>e.indexOf(Qq)&&i.set(_,t)}else i.set(_,t)}}}const m=1===d&&vv(a)||a,h=0===d||Yd(m)?mc(c):function(e,t,n){let r;return C0(e,t,n,((e,t)=>(r=t?[e,t]:e,!0))),un.checkDefined(r)}(m,f,void 0),g="string"==typeof h?h:h[0],A="string"==typeof h?void 0:h[1],y=IA(l.name),v=t++,b=sb(a,f),C=33554432&a.flags?void 0:a,E=33554432&l.flags?void 0:l;C&&E||r.set(v,[a,l]),n.add(function(e,t,n,r){const i=n||"";return`${e.length} ${VQ(sb(t,r))} ${e} ${i}`}(g,a,Sa(y)?void 0:y,f),{id:v,symbolTableKey:c,symbolName:g,capitalizedSymbolName:A,moduleName:y,moduleFile:u,moduleFileName:null==u?void 0:u.fileName,packageName:_,exportKind:d,targetFlags:b.flags,isFromPackageJson:p,symbol:C,moduleSymbol:E})},get:(e,t)=>{if(e!==o)return;const r=n.get(t);return null==r?void 0:r.map(c)},search:(t,r,s,a)=>{if(t===o)return np(n,((t,n)=>{const{symbolName:o,ambientModuleName:l}=function(e){const t=e.indexOf(" "),n=e.indexOf(" ",t+1),r=parseInt(e.substring(0,t),10),i=e.substring(n+1),o=i.substring(0,r),s=i.substring(r+1),a=""===s?void 0:s;return{symbolName:o,ambientModuleName:a}}(n),u=r&&t[0].capitalizedSymbolName||o;if(s(u,t[0].targetFlags)){const r=t.map(c).filter(((n,r)=>function(t,n){if(!n||!t.moduleFileName)return!0;const r=e.getGlobalTypingsCacheLocation();if(r&&Wt(t.moduleFileName,r))return!0;const o=i.get(n);return!o||Wt(t.moduleFileName,o)}(n,t[r].packageName)));if(r.length){const e=a(r,u,!!l,n);if(void 0!==e)return e}}}))},releaseSymbols:()=>{r.clear()},onFileChanged:(e,t,n)=>(!l(e)||!l(t))&&(o&&o!==t.path||n&&qZ(e)!==qZ(t)||!ee(e.moduleAugmentations,t.moduleAugmentations)||!function(e,t){if(!ee(e.ambientModuleNames,t.ambientModuleNames))return!1;let n=-1,r=-1;for(const i of t.ambientModuleNames){const o=e=>uf(e)&&e.name.text===i;if(n=v(e.statements,o,n+1),r=v(t.statements,o,r+1),e.statements[n]!==t.statements[r])return!1}return!0}(e,t)?(s.clear(),!0):(o=t.path,!1))};return un.isDebugging&&Object.defineProperty(s,"__cache",{value:n}),s;function c(t){if(t.symbol&&t.moduleSymbol)return t;const{id:n,exportKind:i,targetFlags:o,isFromPackageJson:s,moduleFileName:c}=t,[l,u]=r.get(n)||a;if(l&&u)return{symbol:l,moduleSymbol:u,moduleFileName:c,exportKind:i,targetFlags:o,isFromPackageJson:s};const d=(s?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),p=t.moduleSymbol||u||un.checkDefined(t.moduleFile?d.getMergedSymbol(t.moduleFile.symbol):d.tryFindAmbientModule(t.moduleName)),f=t.symbol||l||un.checkDefined(2===i?d.resolveExternalModuleSymbol(p):d.tryGetMemberInModuleExportsAndProperties(mc(t.symbolTableKey),p),`Could not find symbol '${t.symbolName}' by key '${t.symbolTableKey}' in module ${p.name}`);return r.set(n,[f,p]),{symbol:f,moduleSymbol:p,moduleFileName:c,exportKind:i,targetFlags:o,isFromPackageJson:s}}function l(e){return!(e.commonJsModuleIndicator||e.externalModuleIndicator||e.moduleAugmentations||e.ambientModuleNames)}}function p0(e,t,n,r,i,o,s,a){var c;if(!n){let n;const i=IA(r.name);return DS.has(i)&&void 0!==(n=ZZ(t,e))?n===Wt(i,"node:"):!o||o.allowsImportingAmbientModule(r,s)||f0(t,i)}if(un.assertIsDefined(n),t===n)return!1;const l=null==a?void 0:a.get(t.path,n.path,i,{});if(void 0!==(null==l?void 0:l.isBlockedByPackageJsonDependencies))return!l.isBlockedByPackageJsonDependencies||!!l.packageName&&f0(t,l.packageName);const u=qA(s),d=null==(c=s.getGlobalTypingsCacheLocation)?void 0:c.call(s),p=!!G$.forEachFileNameOfModule(t.fileName,n.fileName,s,!1,(r=>{const i=e.getSourceFile(r);return(i===n||!i)&&function(e,t,n,r,i){const o=m$(i,t,(e=>"node_modules"===To(e)?e:void 0)),s=o&&Io(n(o));return void 0===s||Wt(n(e),s)||!!r&&Wt(n(r),s)}(t.fileName,r,u,d,s)}));if(o){const e=p?o.getSourceFileInfo(n,s):void 0;return null==a||a.setBlockedByPackageJsonDependencies(t.path,n.path,i,{},null==e?void 0:e.packageName,!(null==e?void 0:e.importable)),!!(null==e?void 0:e.importable)||p&&!!(null==e?void 0:e.packageName)&&f0(t,e.packageName)}return p}function f0(e,t){return e.imports&&e.imports.some((e=>e.text===t||e.text.startsWith(t+"/")))}function _0(e,t,n,r,i){var o,s;const a=OA(t),c=n.autoImportFileExcludePatterns&&m0(n,a);h0(e.getTypeChecker(),e.getSourceFiles(),c,t,((t,n)=>i(t,n,e,!1)));const l=r&&(null==(o=t.getPackageJsonAutoImportProvider)?void 0:o.call(t));if(l){const n=jn(),r=e.getTypeChecker();h0(l.getTypeChecker(),l.getSourceFiles(),c,t,((t,n)=>{(n&&!e.getSourceFile(n.fileName)||!n&&!r.resolveName(t.name,void 0,1536,!1))&&i(t,n,l,!0)})),null==(s=t.log)||s.call(t,"forEachExternalModuleToImportFrom autoImportProvider: "+(jn()-n))}}function m0(e,t){return q(e.autoImportFileExcludePatterns,(e=>{const n=fE(e,"","exclude");return n?hE(n,t):void 0}))}function h0(e,t,n,r,i){var o;const s=n&&g0(n,r);for(const t of e.getAmbientModules())t.name.includes("*")||n&&(null==(o=t.declarations)?void 0:o.every((e=>s(e.getSourceFile()))))||i(t,void 0);for(const n of t)Zf(n)&&!(null==s?void 0:s(n))&&i(e.getMergedSymbol(n.symbol),n)}function g0(e,t){var n;const r=null==(n=t.getSymlinkCache)?void 0:n.call(t).getSymlinkedDirectoriesByRealpath();return({fileName:n,path:i})=>{if(e.some((e=>e.test(n))))return!0;if((null==r?void 0:r.size)&&Lq(n)){let o=Io(n);return m$(t,Io(i),(t=>{const i=r.get(Vo(t));if(i)return i.some((t=>e.some((e=>e.test(n.replace(o,t))))));o=Io(o)}))??!1}return!1}}function A0(e,t){return t.autoImportFileExcludePatterns?g0(m0(t,OA(e)),e):()=>!1}function y0(e,t,n,r,i){var o,s,a,c,l;const u=jn();null==(o=t.getPackageJsonAutoImportProvider)||o.call(t);const d=(null==(s=t.getCachedExportInfoMap)?void 0:s.call(t))||d0({getCurrentProgram:()=>n,getPackageJsonAutoImportProvider:()=>{var e;return null==(e=t.getPackageJsonAutoImportProvider)?void 0:e.call(t)},getGlobalTypingsCacheLocation:()=>{var e;return null==(e=t.getGlobalTypingsCacheLocation)?void 0:e.call(t)}});if(d.isUsableByFile(e.path))return null==(a=t.log)||a.call(t,"getExportInfoMap: cache hit"),d;null==(c=t.log)||c.call(t,"getExportInfoMap: cache miss or empty; calculating new results");let p=0;try{_0(n,t,r,!0,((t,n,r,o)=>{++p%100==0&&(null==i||i.throwIfCancellationRequested());const s=new Set,a=r.getTypeChecker(),c=v0(t,a);c&&b0(c.symbol,a)&&d.add(e.path,c.symbol,1===c.exportKind?"default":"export=",t,n,c.exportKind,o,a),a.forEachExportAndPropertyOfModule(t,((r,i)=>{r!==(null==c?void 0:c.symbol)&&b0(r,a)&&bb(s,i)&&d.add(e.path,r,i,t,n,0,o,a)}))}))}catch(e){throw d.clear(),e}return null==(l=t.log)||l.call(t,`getExportInfoMap: done in ${jn()-u} ms`),d}function v0(e,t){const n=t.resolveExternalModuleSymbol(e);if(n!==e){const e=t.tryGetMemberInModuleExports("default",n);return e?{symbol:e,exportKind:1}:{symbol:n,exportKind:2}}const r=t.tryGetMemberInModuleExports("default",e);if(r)return{symbol:r,exportKind:1}}function b0(e,t){return!(t.isUndefinedSymbol(e)||t.isUnknownSymbol(e)||Vg(e)||Hg(e))}function C0(e,t,n,r){let i,o=e;const s=new Set;for(;o;){const e=GZ(o);if(e){const t=r(e);if(t)return t}if("default"!==o.escapedName&&"export="!==o.escapedName){const e=r(o.name);if(e)return e}if(i=re(i,o),!bb(s,o))break;o=2097152&o.flags?t.getImmediateAliasedSymbol(o):void 0}for(const e of i??a)if(e.parent&&Yd(e.parent)){const t=r(WZ(e.parent,n,!1),WZ(e.parent,n,!0));if(t)return t}}function E0(){const e=ha(99,!1);function t(t,n,r){let i=0,o=0;const s=[],{prefix:a,pushTemplate:c}=function(e){switch(e){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return un.assertNever(e)}}(n);t=a+t;const l=a.length;c&&s.push(16),e.setText(t);let u=0;const d=[];let p=0;do{i=e.scan(),Rg(i)||(f(),o=i);const n=e.getTokenEnd();if(D0(e.getTokenStart(),n,l,I0(i),d),n>=t.length){const t=k0(e,i,ge(s));void 0!==t&&(u=t)}}while(1!==i);function f(){switch(i){case 44:case 69:S0[o]||14!==e.reScanSlashToken()||(i=14);break;case 30:80===o&&p++;break;case 32:p>0&&p--;break;case 133:case 154:case 150:case 136:case 155:p>0&&!r&&(i=80);break;case 16:s.push(i);break;case 19:s.length>0&&s.push(i);break;case 20:if(s.length>0){const t=ge(s);16===t?(i=e.reScanTemplateToken(!1),18===i?s.pop():un.assertEqual(i,17,"Should have been a template middle.")):(un.assertEqual(t,19,"Should have been an open brace"),s.pop())}break;default:if(!Sg(i))break;(25===o||Sg(o)&&Sg(i)&&!function(e,t){if(!AK(e))return!0;switch(t){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}(o,i))&&(i=80)}}return{endOfLineState:u,spans:d}}return{getClassificationsForLine:function(e,n,r){return function(e,t){const n=[],r=e.spans;let i=0;for(let e=0;e=0){const e=t-i;e>0&&n.push({length:e,classification:4})}n.push({length:o,classification:w0(s)}),i=t+o}const o=t.length-i;o>0&&n.push({length:o,classification:4});return{entries:n,finalLexState:e.endOfLineState}}(t(e,n,r),e)},getEncodedLexicalClassifications:t}}var x0,S0=qe([80,11,9,10,14,110,46,47,22,24,20,112,97],(e=>e),(()=>!0));function k0(e,t,n){switch(t){case 11:{if(!e.isUnterminated())return;const t=e.getTokenText(),n=t.length-1;let r=0;for(;92===t.charCodeAt(n-r);)r++;if(!(1&r))return;return 34===t.charCodeAt(0)?3:2}case 3:return e.isUnterminated()?1:void 0;default:if(Bl(t)){if(!e.isUnterminated())return;switch(t){case 18:return 5;case 15:return 4;default:return un.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 16===n?6:void 0}}function D0(e,t,n,r,i){if(8===r)return;0===e&&n>0&&(e+=n);const o=t-e;o>0&&i.push(e-n,o,r)}function w0(e){switch(e){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}function I0(e){if(Sg(e))return 3;if(function(e){switch(e){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}(e)||function(e){switch(e){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}(e))return 5;if(e>=19&&e<=79)return 10;switch(e){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;default:return Bl(e)?6:2}}function T0(e,t,n,r,i){return B0(R0(e,t,n,r,i))}function F0(e,t){switch(t){case 267:case 263:case 264:case 262:case 231:case 218:case 219:e.throwIfCancellationRequested()}}function R0(e,t,n,r,i){const o=[];return n.forEachChild((function s(a){if(a&&Qa(i,a.pos,a.getFullWidth())){if(F0(t,a.kind),UD(a)&&!kp(a)&&r.has(a.escapedText)){const t=e.getSymbolAtLocation(a),r=t&&P0(t,Lz(a),e);r&&function(e,t,n){const r=t-e;un.assert(r>0,`Classification had non-positive length of ${r}`),o.push(e),o.push(r),o.push(n)}(a.getStart(n),a.getEnd(),r)}a.forEachChild(s)}})),{spans:o,endOfLineState:0}}function P0(e,t,n){const r=e.getFlags();return 2885600&r?32&r?11:384&r?12:524288&r?16:1536&r?4&t||1&t&&function(e){return J(e.declarations,(e=>ZI(e)&&1===N$(e)))}(e)?14:void 0:2097152&r?P0(n.getAliasedSymbol(e),t,n):2&t?64&r?13:262144&r?15:void 0:void 0:void 0}function N0(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function B0(e){un.assert(e.spans.length%3==0);const t=e.spans,n=[];for(let e=0;e])*)(\/>)?)?/m,i=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/g,o=t.text.substr(e,n),s=r.exec(o);if(!s)return!1;if(!s[3]||!(s[3]in Ni))return!1;let a=e;u(a,s[1].length),a+=s[1].length,c(a,s[2].length,10),a+=s[2].length,c(a,s[3].length,21),a+=s[3].length;const l=s[4];let d=a;for(;;){const e=i.exec(l);if(!e)break;const t=a+e.index+e[1].length;t>d&&(u(d,t-d),d=t),c(d,e[2].length,22),d+=e[2].length,e[3].length&&(u(d,e[3].length),d+=e[3].length),c(d,e[4].length,5),d+=e[4].length,e[5].length&&(u(d,e[5].length),d+=e[5].length),c(d,e[6].length,24),d+=e[6].length}a+=s[4].length,a>d&&u(d,a-d);s[5]&&(c(a,s[5].length,10),a+=s[5].length);const p=e+n;a=0),i>0){const t=n||m(e.kind,e);t&&c(r,i,t)}return!0}function m(e,t){if(Sg(e))return 3;if((30===e||32===e)&&t&&pK(t.parent))return 10;if(kg(e)){if(t){const n=t.parent;if(64===e&&(260===n.kind||172===n.kind||169===n.kind||291===n.kind))return 5;if(226===n.kind||224===n.kind||225===n.kind||227===n.kind)return 5}return 10}if(9===e)return 4;if(10===e)return 25;if(11===e)return t&&291===t.parent.kind?24:6;if(14===e)return 6;if(Bl(e))return 6;if(12===e)return 23;if(80===e){if(t){switch(t.parent.kind){case 263:return t.parent.name===t?11:void 0;case 168:return t.parent.name===t?15:void 0;case 264:return t.parent.name===t?13:void 0;case 266:return t.parent.name===t?12:void 0;case 267:return t.parent.name===t?14:void 0;case 169:return t.parent.name===t?ly(t)?3:17:void 0}if(Cl(t.parent))return 3}return 2}}function h(n){if(n&&La(r,i,n.pos,n.getFullWidth())){F0(e,n.kind);for(const e of n.getChildren(t))_(e)||h(e)}}}function $0(e){return!!e.sourceFile}function Q0(e,t,n){return L0(e,t,n)}function L0(e,t="",n,r){const i=new Map,o=Jt(!!e);function s(e){return"function"==typeof e.getCompilationSettings?e.getCompilationSettings():e}function a(e,t,n,r,i,o,s,a){return u(e,t,n,r,i,o,!0,s,a)}function c(e,t,n,r,i,o,a,c){return u(e,t,s(n),r,i,o,!1,a,c)}function l(e,t){const n=$0(e)?e:e.get(un.checkDefined(t,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return un.assert(void 0===t||!n||n.sourceFile.scriptKind===t,`Script kind should match provided ScriptKind:${t} and sourceFile.scriptKind: ${null==n?void 0:n.sourceFile.scriptKind}, !entry: ${!n}`),n}function u(e,t,o,a,c,u,d,p,f){var _,m,h,g;p=vE(e,p);const A=s(o),y=o===A?void 0:o,v=6===p?100:yC(A),b="object"==typeof f?f:{languageVersion:v,impliedNodeFormat:y&&xJ(t,null==(g=null==(h=null==(m=null==(_=y.getCompilerHost)?void 0:_.call(y))?void 0:m.getModuleResolutionCache)?void 0:h.call(m))?void 0:g.getPackageJsonInfoCache(),y,A),setExternalModuleIndicator:_C(A),jsDocParsingMode:n};b.languageVersion=v,un.assertEqual(n,b.jsDocParsingMode);const C=i.size,E=j0(a,b.impliedNodeFormat),x=Q(i,E,(()=>new Map));if(Hn){i.size>C&&Hn.instant(Hn.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:A.configFilePath,key:E});const e=!KP(t)&&np(i,((e,n)=>n!==E&&e.has(t)&&n));e&&Hn.instant(Hn.Phase.Session,"documentRegistryBucketOverlap",{path:t,key1:e,key2:E})}const S=x.get(t);let k=S&&l(S,p);if(!k&&r){const e=r.getDocument(E,t);e&&e.scriptKind===p&&e.text===qK(c)&&(un.assert(d),k={sourceFile:e,languageServiceRefCount:0},D())}if(k)k.sourceFile.version!==u&&(k.sourceFile=K8(k.sourceFile,c,u,c.getChangeRange(k.sourceFile.scriptSnapshot)),r&&r.setDocument(E,t,k.sourceFile)),d&&k.languageServiceRefCount++;else{const n=Y8(e,c,b,u,!1,p);r&&r.setDocument(E,t,n),k={sourceFile:n,languageServiceRefCount:1},D()}return un.assert(0!==k.languageServiceRefCount),k.sourceFile;function D(){if(S)if($0(S)){const e=new Map;e.set(S.sourceFile.scriptKind,S),e.set(p,k),x.set(t,e)}else S.set(p,k);else x.set(t,k)}}function d(e,t,n,r){const o=un.checkDefined(i.get(j0(t,r))),s=o.get(e),a=l(s,n);a.languageServiceRefCount--,un.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&($0(s)?o.delete(e):(s.delete(n),1===s.size&&o.set(e,f(s.values(),st))))}return{acquireDocument:function(e,n,r,i,c,l){return a(e,Uo(e,t,o),n,M0(s(n)),r,i,c,l)},acquireDocumentWithKey:a,updateDocument:function(e,n,r,i,a,l){return c(e,Uo(e,t,o),n,M0(s(n)),r,i,a,l)},updateDocumentWithKey:c,releaseDocument:function(e,n,r,i){return d(Uo(e,t,o),M0(n),r,i)},releaseDocumentWithKey:d,getKeyForCompilationSettings:M0,getDocumentRegistryBucketKeyWithMode:j0,reportStats:function(){const e=Pe(i.keys()).filter((e=>e&&"_"===e.charAt(0))).map((e=>{const t=i.get(e),n=[];return t.forEach(((e,t)=>{$0(e)?n.push({name:t,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach(((e,r)=>n.push({name:t,scriptKind:r,refCount:e.languageServiceRefCount})))})),n.sort(((e,t)=>t.refCount-e.refCount)),{bucket:e,sourceFiles:n}}));return JSON.stringify(e,void 0,2)},getBuckets:()=>i}}function M0(e){return fq(e,xN)}function j0(e,t){return t?`${e}|${t}`:e}function U0(e,t,n,r,i,o,s){const a=OA(r),c=Jt(a),l=J0(t,n,c,s),u=J0(n,t,c,s);return zde.ChangeTracker.with({host:r,formatContext:i,preferences:o},(i=>{!function(e,t,n,r,i,o,s){const{configFile:a}=e.getCompilerOptions();if(!a)return;const c=Io(a.fileName),l=V_(a);if(!l)return;function u(e){const t=Gw(e.initializer)?e.initializer.elements:[e.initializer];let n=!1;for(const e of t)n=d(e)||n;return n}function d(e){if(!kD(e))return!1;const r=V0(c,e.text),i=n(r);return void 0!==i&&(t.replaceRangeWithText(a,z0(e,a),p(i)),!0)}function p(e){return rs(c,e,!s)}Y0(l,((e,n)=>{switch(n){case"files":case"include":case"exclude":{if(u(e)||"include"!==n||!Gw(e.initializer))return;const l=q(e.initializer.elements,(e=>kD(e)?e.text:void 0));if(0===l.length)return;const d=mE(c,[],l,s,o);return void(hE(un.checkDefined(d.includeFilePattern),s).test(r)&&!hE(un.checkDefined(d.includeFilePattern),s).test(i)&&t.insertNodeAfter(a,Ae(e.initializer.elements),XS.createStringLiteral(p(i))))}case"compilerOptions":return void Y0(e.initializer,((e,t)=>{const n=YN(t);un.assert("listOrElement"!==(null==n?void 0:n.type)),n&&(n.isFilePath||"list"===n.type&&n.element.isFilePath)?u(e):"paths"===t&&Y0(e.initializer,(e=>{if(Gw(e.initializer))for(const t of e.initializer.elements)d(t)}))}))}}))}(e,i,l,t,n,r.getCurrentDirectory(),a),function(e,t,n,r,i,o){const s=e.getSourceFiles();for(const a of s){const c=n(a.fileName),l=c??a.fileName,u=Io(l),d=r(a.fileName),p=d||a.fileName,f=Io(p),_=void 0!==c||void 0!==d;W0(a,t,(e=>{if(!vo(e))return;const t=V0(f,e),r=n(t);return void 0===r?void 0:Ho(rs(u,r,o))}),(t=>{const r=e.getTypeChecker().getSymbolAtLocation(t);if((null==r?void 0:r.declarations)&&r.declarations.some((e=>cf(e))))return;const o=void 0!==d?G0(t,Dq(t.text,p,e.getCompilerOptions(),i),n,s):H0(r,t,a,e,i,n);return void 0!==o&&(o.updated||_&&vo(t.text))?G$.updateModuleSpecifier(e.getCompilerOptions(),a,l,o.newFileName,JK(e,i),t.text):void 0}))}}(e,i,l,u,r,c)}))}function J0(e,t,n,r){const i=n(e);return e=>{const o=r&&r.tryGetSourcePosition({fileName:e,pos:0}),s=function(e){if(n(e)===i)return t;const r=ZC(e,i,n);return void 0===r?void 0:t+"/"+r}(o?o.fileName:e);return o?void 0===s?void 0:function(e,t,n,r){const i=os(e,t,r);return V0(Io(n),i)}(o.fileName,s,e,n):s}}function V0(e,t){return Ho(function(e,t){return Mo(qo(e,t))}(e,t))}function H0(e,t,n,r,i,o){if(e){const t=A(e.declarations,JT).fileName,n=o(t);return void 0===n?{newFileName:t,updated:!1}:{newFileName:n,updated:!0}}{const e=r.getModeForUsageLocation(n,t);return G0(t,i.resolveModuleNameLiterals||!i.resolveModuleNames?r.getResolvedModuleFromModuleSpecifier(t,n):i.getResolvedModuleWithFailedLookupLocationsFromCache&&i.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,n.fileName,e),o,r.getSourceFiles())}}function G0(e,t,n,r){if(!t)return;if(t.resolvedModule){const e=s(t.resolvedModule.resolvedFileName);if(e)return e}const i=u(t.failedLookupLocations,(function(e){const t=n(e);return t&&A(r,(e=>e.fileName===t))?o(e):void 0}))||vo(e.text)&&u(t.failedLookupLocations,o);return i||t.resolvedModule&&{newFileName:t.resolvedModule.resolvedFileName,updated:!1};function o(e){return Ot(e,"/package.json")?void 0:s(e)}function s(e){const t=n(e);return t&&{newFileName:t,updated:!0}}}function W0(e,t,n,r){for(const r of e.referencedFiles||a){const i=n(r.fileName);void 0!==i&&i!==e.text.slice(r.pos,r.end)&&t.replaceRangeWithText(e,r,i)}for(const n of e.imports){const i=r(n);void 0!==i&&i!==n.text&&t.replaceRangeWithText(e,z0(n,e),i)}}function z0(e,t){return Pv(e.getStart(t)+1,e.end-1)}function Y0(e,t){if(Ww(e))for(const n of e.properties)LT(n)&&kD(n.name)&&t(n,n.name.text)}(e=>{function t(e,t){return{fileName:t.fileName,textSpan:SK(e,t),kind:"none"}}function n(e){return UI(e)?[e]:JI(e)?H(e.catchClause?n(e.catchClause):e.tryBlock&&n(e.tryBlock),e.finallyBlock&&n(e.finallyBlock)):ru(e)?void 0:i(e,n)}function r(e){return Sl(e)?[e]:ru(e)?void 0:i(e,r)}function i(e,t){const n=[];return e.forEachChild((e=>{const r=t(e);void 0!==r&&n.push(...Ke(r))})),n}function o(e,t){const n=s(t);return!!n&&n===e}function s(e){return dc(e,(t=>{switch(t.kind){case 255:if(251===e.kind)return!1;case 248:case 249:case 250:case 247:case 246:return!e.label||function(e,t){return!!dc(e.parent,(e=>jI(e)?e.label.escapedText===t:"quit"))}(t,e.label.escapedText);default:return ru(t)&&"quit"}}))}function a(e,t,...n){return!(!t||!C(n,t.kind))&&(e.push(t),!0)}function c(e){const t=[];if(a(t,e.getFirstToken(),99,117,92)&&246===e.kind){const n=e.getChildren();for(let e=n.length-1;e>=0&&!a(t,n[e],117);e--);}return u(r(e.statement),(n=>{o(e,n)&&a(t,n.getFirstToken(),83,88)})),t}function l(e){const t=s(e);if(t)switch(t.kind){case 248:case 249:case 250:case 246:case 247:return c(t);case 255:return d(t)}}function d(e){const t=[];return a(t,e.getFirstToken(),109),u(e.caseBlock.clauses,(n=>{a(t,n.getFirstToken(),84,90),u(r(n),(n=>{o(e,n)&&a(t,n.getFirstToken(),83)}))})),t}function p(e,t){const n=[];if(a(n,e.getFirstToken(),113),e.catchClause&&a(n,e.catchClause.getFirstToken(),85),e.finallyBlock){a(n,IY(e,98,t),98)}return n}function f(e,t){const r=function(e){let t=e;for(;t.parent;){const e=t.parent;if($_(e)||307===e.kind)return e;if(JI(e)&&e.tryBlock===t&&e.catchClause)return t;t=e}}(e);if(!r)return;const i=[];return u(n(r),(e=>{i.push(IY(e,111,t))})),$_(r)&&D_(r,(e=>{i.push(IY(e,107,t))})),i}function _(e,t){const r=W_(e);if(!r)return;const i=[];return D_(tt(r.body,DI),(e=>{i.push(IY(e,107,t))})),u(n(r.body),(e=>{i.push(IY(e,111,t))})),i}function m(e){const t=W_(e);if(!t)return;const n=[];return t.modifiers&&t.modifiers.forEach((e=>{a(n,e,134)})),OP(t,(e=>{h(e,(e=>{aI(e)&&a(n,e.getFirstToken(),135)}))})),n}function h(e,t){t(e),ru(e)||du(e)||YI(e)||ZI(e)||KI(e)||vu(e)||OP(e,(e=>h(e,t)))}e.getDocumentHighlights=function(e,n,r,i,o){const s=MY(r,i);if(s.parent&&(kT(s.parent)&&s.parent.tagName===s||DT(s.parent))){const{openingElement:e,closingElement:n}=s.parent.parent,i=[e,n].map((({tagName:e})=>t(e,r)));return[{fileName:r.fileName,highlightSpans:i}]}return function(e,t,n,r,i){const o=new Set(i.map((e=>e.fileName))),s=kce.getReferenceEntriesForNode(e,t,n,i,r,void 0,o);if(!s)return;const a=$e(s.map(kce.toHighlightSpan),(e=>e.fileName),(e=>e.span)),c=Jt(n.useCaseSensitiveFileNames());return Pe($(a.entries(),(([e,t])=>{if(!o.has(e)){if(!n.redirectTargetsMap.has(Uo(e,n.getCurrentDirectory(),c)))return;const t=n.getSourceFile(e);e=A(i,(e=>!!e.redirectInfo&&e.redirectInfo.redirectTarget===t)).fileName,un.assert(o.has(e))}return{fileName:e,highlightSpans:t}})))}(i,s,e,n,o)||function(e,n){const r=function(e,n){switch(e.kind){case 101:case 93:return FI(e.parent)?function(e,n){const r=function(e,t){const n=[];for(;FI(e.parent)&&e.parent.elseStatement===e;)e=e.parent;for(;;){const r=e.getChildren(t);a(n,r[0],101);for(let e=r.length-1;e>=0&&!a(n,r[e],93);e--);if(!e.elseStatement||!FI(e.elseStatement))break;e=e.elseStatement}return n}(e,n),i=[];for(let e=0;e=t.end;e--)if(!Us(n.text.charCodeAt(e))){s=!1;break}if(s){i.push({fileName:n.fileName,textSpan:Ha(t.getStart(),o.end),kind:"reference"}),e++;continue}}i.push(t(r[e],n))}return i}(e.parent,n):void 0;case 107:return o(e.parent,QI,_);case 111:return o(e.parent,UI,f);case 113:case 85:case 98:return o(85===e.kind?e.parent.parent:e.parent,JI,p);case 109:return o(e.parent,MI,d);case 84:case 90:return qT(e.parent)||OT(e.parent)?o(e.parent.parent.parent,MI,d):void 0;case 83:case 88:return o(e.parent,Sl,l);case 99:case 117:case 92:return o(e.parent,(e=>Hu(e,!0)),c);case 137:return i(_w,[137]);case 139:case 153:return i(pu,[139,153]);case 135:return o(e.parent,aI,m);case 134:return s(m(e));case 127:return s(function(e){const t=W_(e);if(!t)return;const n=[];return OP(t,(e=>{h(e,(e=>{fI(e)&&a(n,e.getFirstToken(),127)}))})),n}(e));case 103:case 147:return;default:return Yl(e.kind)&&(ud(e.parent)||wI(e.parent))?s((r=e.kind,q(function(e,t){const n=e.parent;switch(n.kind){case 268:case 307:case 241:case 296:case 297:return 64&t&&zI(e)?[...e.members,e]:n.statements;case 176:case 174:case 262:return[...n.parameters,...du(n.parent)?n.parent.members:[]];case 263:case 231:case 264:case 187:const r=n.members;if(15&t){const e=A(n.members,_w);if(e)return[...r,...e.parameters]}else if(64&t)return[...r,n];return r;default:return}}(e.parent,Wy(r)),(e=>sX(e,r))))):void 0}var r;function i(t,r){return o(e.parent,t,(e=>{var i;return q(null==(i=et(e,sd))?void 0:i.symbol.declarations,(e=>t(e)?A(e.getChildren(n),(e=>C(r,e.kind))):void 0))}))}function o(e,t,r){return t(e)?s(r(e,n)):void 0}function s(e){return e&&e.map((e=>t(e,n)))}}(e,n);return r&&[{fileName:n.fileName,highlightSpans:r}]}(s,r)}})(x0||(x0={}));var K0=(e=>(e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",e))(K0||{});function X0(e,t){return{kind:e,isCaseSensitive:t}}function Z0(e){const t=new Map,n=e.trim().split(".").map((e=>function(e){return{totalTextChunk:f1(e),subWordTextChunks:p1(e)}}(e.trim())));return 1===n.length&&""===n[0].totalTextChunk.text?{getMatchForLastSegmentOfPattern:()=>X0(2,!0),getFullMatch:()=>X0(2,!0),patternContainsDots:!1}:n.some((e=>!e.subWordTextChunks.length))?void 0:{getFullMatch:(e,r)=>function(e,t,n,r){const i=n1(t,Ae(n),r);if(!i)return;if(n.length-1>e.length)return;let o;for(let t=n.length-2,i=e.length-1;t>=0;t-=1,i-=1)o=r1(o,n1(e[i],n[t],r));return o}(e,r,n,t),getMatchForLastSegmentOfPattern:e=>n1(e,Ae(n),t),patternContainsDots:n.length>1}}function e1(e,t){let n=t.get(e);return n||t.set(e,n=m1(e)),n}function t1(e,t,n){const r=function(e,t){const n=e.length-t.length;for(let r=0;r<=n;r++)if(C1(t,((t,n)=>l1(e.charCodeAt(n+r))===t)))return r;return-1}(e,t.textLowerCase);if(0===r)return X0(t.text.length===e.length?0:1,Wt(e,t.text));if(t.isLowerCase){if(-1===r)return;const i=e1(e,n);for(const n of i)if(o1(e,n,t.text,!0))return X0(2,o1(e,n,t.text,!1));if(t.text.length0)return X0(2,!0);if(t.characterSpans.length>0){const r=e1(e,n),i=!!s1(e,r,t,!1)||!s1(e,r,t,!0)&&void 0;if(void 0!==i)return X0(3,i)}}}function n1(e,t,n){if(C1(t.totalTextChunk.text,(e=>32!==e&&42!==e))){const r=t1(e,t.totalTextChunk,n);if(r)return r}const r=t.subWordTextChunks;let i;for(const t of r)i=r1(i,t1(e,t,n));return i}function r1(e,t){return bt([e,t],i1)}function i1(e,t){return void 0===e?1:void 0===t?-1:At(e.kind,t.kind)||Pt(!e.isCaseSensitive,!t.isCaseSensitive)}function o1(e,t,n,r,i={start:0,length:n.length}){return i.length<=t.length&&b1(0,i.length,(o=>function(e,t,n){return n?l1(e)===l1(t):e===t}(n.charCodeAt(i.start+o),e.charCodeAt(t.start+o),r)))}function s1(e,t,n,r){const i=n.characterSpans;let o=0,s=0;for(;;){if(s===i.length)return!0;if(o===t.length)return!1;let a=t[o],c=!1;for(;s=65&&e<=90)return!0;if(e<127||!ks(e,99))return!1;const t=String.fromCharCode(e);return t===t.toUpperCase()}function c1(e){if(e>=97&&e<=122)return!0;if(e<127||!ks(e,99))return!1;const t=String.fromCharCode(e);return t===t.toLowerCase()}function l1(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function u1(e){return e>=48&&e<=57}function d1(e){return a1(e)||c1(e)||u1(e)||95===e||36===e}function p1(e){const t=[];let n=0,r=0;for(let i=0;i0&&(t.push(f1(e.substr(n,r))),r=0)}return r>0&&t.push(f1(e.substr(n,r))),t}function f1(e){const t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:_1(e)}}function _1(e){return h1(e,!1)}function m1(e){return h1(e,!0)}function h1(e,t){const n=[];let r=0;for(let i=1;ig1(e)&&95!==e),t,n)}function y1(e,t,n){return t!==n&&t+1t(e.charCodeAt(n),n)))}function E1(e,t=!0,n=!1){const r={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},i=[];let o,s,a,c=0,u=!1;function d(){return s=a,a=qz.scan(),19===a?c++:20===a&&c--,a}function p(){const e=qz.getTokenValue(),t=qz.getTokenStart();return{fileName:e,pos:t,end:t+e.length}}function f(){i.push(p()),_()}function _(){0===c&&(u=!0)}function m(){let e=qz.getToken();return 138===e&&(e=d(),144===e&&(e=d(),11===e&&(o||(o=[]),o.push({ref:p(),depth:c}))),!0)}function h(){if(25===s)return!1;let e=qz.getToken();if(102===e){if(e=d(),21===e){if(e=d(),11===e||15===e)return f(),!0}else{if(11===e)return f(),!0;if(156===e){qz.lookAhead((()=>{const e=qz.scan();return 161!==e&&(42===e||19===e||80===e||Sg(e))}))&&(e=d())}if(80===e||Sg(e))if(e=d(),161===e){if(e=d(),11===e)return f(),!0}else if(64===e){if(A(!0))return!0}else{if(28!==e)return!0;e=d()}if(19===e){for(e=d();20!==e&&1!==e;)e=d();20===e&&(e=d(),161===e&&(e=d(),11===e&&f()))}else 42===e&&(e=d(),130===e&&(e=d(),(80===e||Sg(e))&&(e=d(),161===e&&(e=d(),11===e&&f()))))}return!0}return!1}function g(){let e=qz.getToken();if(95===e){if(_(),e=d(),156===e){qz.lookAhead((()=>{const e=qz.scan();return 42===e||19===e}))&&(e=d())}if(19===e){for(e=d();20!==e&&1!==e;)e=d();20===e&&(e=d(),161===e&&(e=d(),11===e&&f()))}else if(42===e)e=d(),161===e&&(e=d(),11===e&&f());else if(102===e){if(e=d(),156===e){qz.lookAhead((()=>{const e=qz.scan();return 80===e||Sg(e)}))&&(e=d())}if((80===e||Sg(e))&&(e=d(),64===e&&A(!0)))return!0}return!0}return!1}function A(e,t=!1){let n=e?d():qz.getToken();return 149===n&&(n=d(),21===n&&(n=d(),(11===n||t&&15===n)&&f()),!0)}function y(){let e=qz.getToken();if(80===e&&"define"===qz.getTokenValue()){if(e=d(),21!==e)return!0;if(e=d(),11===e||15===e){if(e=d(),28!==e)return!0;e=d()}if(23!==e)return!0;for(e=d();24!==e&&1!==e;)11!==e&&15!==e||f(),e=d();return!0}return!1}if(t&&function(){for(qz.setText(e),d();1!==qz.getToken();){if(16===qz.getToken()){const e=[qz.getToken()];e:for(;l(e);){const t=qz.scan();switch(t){case 1:break e;case 102:h();break;case 16:e.push(t);break;case 19:l(e)&&e.push(t);break;case 20:l(e)&&(16===ge(e)?18===qz.reScanTemplateToken(!1)&&e.pop():e.pop())}}d()}m()||h()||g()||n&&(A(!1,!0)||y())||d()}qz.setText(void 0)}(),ZP(r,e),eN(r,nt),u){if(o)for(const e of o)i.push(e.ref);return{referencedFiles:r.referencedFiles,typeReferenceDirectives:r.typeReferenceDirectives,libReferenceDirectives:r.libReferenceDirectives,importedFiles:i,isLibFile:!!r.hasNoDefaultLib,ambientExternalModules:void 0}}{let e;if(o)for(const t of o)0===t.depth?(e||(e=[]),e.push(t.ref.fileName)):i.push(t.ref);return{referencedFiles:r.referencedFiles,typeReferenceDirectives:r.typeReferenceDirectives,libReferenceDirectives:r.libReferenceDirectives,importedFiles:i,isLibFile:!!r.hasNoDefaultLib,ambientExternalModules:e}}}var x1=/^data:(?:application\/json;charset=[uU][tT][fF]-8;base64,([A-Za-z0-9+/=]+)$)?/;function S1(e){const t=Jt(e.useCaseSensitiveFileNames()),n=e.getCurrentDirectory(),r=new Map,i=new Map;return{tryGetSourcePosition:function e(t){if(!KP(t.fileName))return;const n=a(t.fileName);if(!n)return;const r=s(t.fileName).getSourcePosition(t);return r&&r!==t?e(r)||r:void 0},tryGetGeneratedPosition:function(t){if(KP(t.fileName))return;const n=a(t.fileName);if(!n)return;const r=e.getProgram();if(r.isSourceOfProjectReferenceRedirect(n.fileName))return;const i=r.getCompilerOptions(),o=i.outFile,c=o?UE(o)+".d.ts":JA(t.fileName,r.getCompilerOptions(),r);if(void 0===c)return;const l=s(c,t.fileName).getGeneratedPosition(t);return l===t?void 0:l},toLineColumnOffset:function(e,t){const n=l(e);return n.getLineAndCharacterOfPosition(t)},clearCache:function(){r.clear(),i.clear()},documentPositionMappers:i};function o(e){return Uo(e,n,t)}function s(n,r){const s=o(n),a=i.get(s);if(a)return a;let c;if(e.getDocumentPositionMapper)c=e.getDocumentPositionMapper(n,r);else if(e.readFile){const r=l(n);c=r&&k1({getSourceFileLike:l,getCanonicalFileName:t,log:t=>e.log(t)},n,gL(r.text,qs(r)),(t=>!e.fileExists||e.fileExists(t)?e.readFile(t):void 0))}return i.set(s,c||FL),c||FL}function a(t){const n=e.getProgram();if(!n)return;const r=o(t),i=n.getSourceFileByPath(r);return i&&i.resolvedPath===r?i:void 0}function c(t){const n=o(t),i=r.get(n);if(void 0!==i)return i||void 0;if(!e.readFile||e.fileExists&&!e.fileExists(t))return void r.set(n,!1);const s=e.readFile(t),a=!!s&&function(e,t){return{text:e,lineMap:t,getLineAndCharacterOfPosition(e){return $s(qs(this),e)}}}(s);return r.set(n,a),a||void 0}function l(t){return e.getSourceFileLike?e.getSourceFileLike(t):a(t)||c(t)}}function k1(e,t,n,r){let i=AL(n);if(i){const n=x1.exec(i);if(n){if(n[1]){const r=n[1];return D1(e,Sv(co,r),t)}i=void 0}}const o=[];i&&o.push(i),o.push(t+".map");const s=i&&Lo(i,Io(t));for(const n of o){const i=Lo(n,Io(t)),o=r(i,s);if(Xe(o))return D1(e,o,i);if(void 0!==o)return o||void 0}}function D1(e,t,n){const r=vL(t);if(r&&r.sources&&r.file&&r.mappings&&(!r.sourcesContent||!r.sourcesContent.some(Xe)))return TL(e,r,n)}var w1=new Map;function I1(e,t,n){var r;t.getSemanticDiagnostics(e,n);const i=[],o=t.getTypeChecker();var s;!(1===t.getImpliedNodeFormatForEmit(e)||xo(e.fileName,[".cts",".cjs"]))&&e.commonJsModuleIndicator&&(jK(t)||UK(t.getCompilerOptions()))&&function(e){return e.statements.some((e=>{switch(e.kind){case 243:return e.declarationList.declarations.some((e=>!!e.initializer&&Bm(T1(e.initializer),!0)));case 244:{const{expression:t}=e;if(!uI(t))return Bm(t,!0);const n=th(t);return 1===n||2===n}default:return!1}}))}(e)&&i.push($f(uI(s=e.commonJsModuleIndicator)?s.left:s,us.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const a=Im(e);if(w1.clear(),function t(n){if(a)(function(e,t){var n,r,i,o;if(nI(e)){if(HI(e.parent)&&(null==(n=e.symbol.members)?void 0:n.size))return!0;const o=t.getSymbolOfExpando(e,!1);return!(!o||!(null==(r=o.exports)?void 0:r.size)&&!(null==(i=o.members)?void 0:i.size))}if(WI(e))return!!(null==(o=e.symbol.members)?void 0:o.size);return!1})(n,o)&&i.push($f(HI(n.parent)?n.parent.name:n,us.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(wI(n)&&n.parent===e&&2&n.declarationList.flags&&1===n.declarationList.declarations.length){const e=n.declarationList.declarations[0].initializer;e&&Bm(e,!0)&&i.push($f(e,us.require_call_may_be_converted_to_an_import))}const t=R5.getJSDocTypedefNodes(n);for(const e of t)i.push($f(e,us.JSDoc_typedef_may_be_converted_to_TypeScript_type));R5.parameterShouldGetTypeFromJSDoc(n)&&i.push($f(n.name||n,us.JSDoc_types_may_be_moved_to_TypeScript_types))}Q1(n)&&function(e,t,n){(function(e,t){return!Bg(e)&&e.body&&DI(e.body)&&function(e,t){return!!D_(e,(e=>P1(e,t)))}(e.body,t)&&R1(e,t)})(e,t)&&!w1.has($1(e))&&n.push($f(!e.name&&HI(e.parent)&&UD(e.parent.name)?e.parent.name:e,us.This_may_be_converted_to_an_async_function))}(n,o,i);n.forEachChild(t)}(e),SC(t.getCompilerOptions()))for(const n of e.imports){const o=F1(yh(n));if(!o)continue;const s=null==(r=t.getResolvedModuleFromModuleSpecifier(n,e))?void 0:r.resolvedModule,a=s&&t.getSourceFile(s.resolvedFileName);a&&a.externalModuleIndicator&&!0!==a.externalModuleIndicator&&mT(a.externalModuleIndicator)&&a.externalModuleIndicator.isExportEquals&&i.push($f(o,us.Import_may_be_converted_to_a_default_import))}return se(i,e.bindSuggestionDiagnostics),se(i,t.getSuggestionDiagnostics(e,n)),i.sort(((e,t)=>e.start-t.start)),i}function T1(e){return zw(e)?T1(e.expression):e}function F1(e){switch(e.kind){case 272:const{importClause:t,moduleSpecifier:n}=e;return t&&!t.name&&t.namedBindings&&274===t.namedBindings.kind&&kD(n)?t.namedBindings.name:void 0;case 271:return e.name;default:return}}function R1(e,t){const n=t.getSignatureFromDeclaration(e),r=n?t.getReturnTypeOfSignature(n):void 0;return!!r&&!!t.getPromisedTypeOfPromise(r)}function P1(e,t){return QI(e)&&!!e.expression&&N1(e.expression,t)}function N1(e,t){if(!B1(e)||!O1(e)||!e.arguments.every((e=>q1(e,t))))return!1;let n=e.expression.expression;for(;B1(n)||zw(n);)if(Kw(n)){if(!O1(n)||!n.arguments.every((e=>q1(e,t))))return!1;n=n.expression.expression}else n=n.expression;return!0}function B1(e){return Kw(e)&&(eY(e,"then")||eY(e,"catch")||eY(e,"finally"))}function O1(e){const t=e.expression.name.text,n="then"===t?2:"catch"===t||"finally"===t?1:0;return!(e.arguments.length>n)&&(e.arguments.length106===e.kind||UD(e)&&"undefined"===e.text))))}function q1(e,t){switch(e.kind){case 262:case 218:if(1&Ng(e))return!1;case 219:w1.set($1(e),!0);case 106:return!0;case 80:case 211:{const n=t.getSymbolAtLocation(e);return!!n&&(t.isUndefinedSymbol(n)||J(sb(n,t).declarations,(e=>ru(e)||Td(e)&&!!e.initializer&&ru(e.initializer))))}default:return!1}}function $1(e){return`${e.pos.toString()}:${e.end.toString()}`}function Q1(e){switch(e.kind){case 262:case 174:case 218:case 219:return!0;default:return!1}}var L1=new Set(["isolatedModules"]);function M1(e,t){return G1(e,t,!1)}function j1(e,t){return G1(e,t,!0)}var U1,J1,V1='/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number {}\ninterface Object {}\ninterface RegExp {}\ninterface String {}\ninterface Array { length: number; [n: number]: T; }\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}',H1="lib.d.ts";function G1(e,t,n){U1??(U1=LP(H1,V1,{languageVersion:99}));const r=[],i=t.compilerOptions?z1(t.compilerOptions,r):{},o={target:1,jsx:1};for(const e in o)De(o,e)&&void 0===i[e]&&(i[e]=o[e]);for(const e of kN)i.verbatimModuleSyntax&&L1.has(e.name)||(i[e.name]=e.transpileOptionValue);i.suppressOutputPathCheck=!0,i.allowNonTsExtensions=!0,n?(i.declaration=!0,i.emitDeclarationOnly=!0,i.isolatedDeclarations=!0):(i.declaration=!1,i.declarationMap=!1);const s=Rv(i),a={getSourceFile:e=>e===Mo(c)?l:e===Mo(H1)?U1:void 0,writeFile:(e,t)=>{Eo(e,".map")?(un.assertEqual(d,void 0,"Unexpected multiple source map outputs, file:",e),d=t):(un.assertEqual(u,void 0,"Unexpected multiple outputs, file:",e),u=t)},getDefaultLibFileName:()=>H1,useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:e=>e,getCurrentDirectory:()=>"",getNewLine:()=>s,fileExists:e=>e===c||!!n&&e===H1,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},c=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),l=LP(c,e,{languageVersion:yC(i),impliedNodeFormat:xJ(Uo(c,"",a.getCanonicalFileName),void 0,a,i),setExternalModuleIndicator:_C(i),jsDocParsingMode:t.jsDocParsingMode??0});let u,d;t.moduleName&&(l.moduleName=t.moduleName),t.renamedDependencies&&(l.renamedDependencies=new Map(Object.entries(t.renamedDependencies)));const p=DJ(n?[c,H1]:[c],i,a);t.reportDiagnostics&&(se(r,p.getSyntacticDiagnostics(l)),se(r,p.getOptionsDiagnostics()));return se(r,p.emit(void 0,void 0,void 0,n,t.transformers,n).diagnostics),void 0===u?un.fail("Output generation failed"):{outputText:u,diagnostics:r,sourceMapText:d}}function W1(e,t,n,r,i){const o=M1(e,{compilerOptions:t,fileName:n,reportDiagnostics:!!r,moduleName:i});return se(r,o.diagnostics),o.outputText}function z1(e,t){J1=J1||S(yN,(e=>"object"==typeof e.type&&!np(e.type,(e=>"number"!=typeof e)))),e=yK(e);for(const n of J1){if(!De(e,n.name))continue;const r=e[n.name];Xe(r)?e[n.name]=MN(n,r,t):np(n.type,(e=>e===r))||t.push(QN(n))}return e}var Y1={};function K1(e,t,n,r,i,o,s){const c=Z0(r);if(!c)return a;const l=[],u=1===e.length?e[0]:void 0;for(const r of e)n.throwIfCancellationRequested(),o&&r.isDeclarationFile||X1(r,!!s,u)||r.getNamedDeclarations().forEach(((e,n)=>{Z1(c,n,e,t,r.fileName,!!s,u,l)}));return l.sort(o2),(void 0===i?l:l.slice(0,i)).map(s2)}function X1(e,t,n){return e!==n&&t&&($Z(e.path)||e.hasNoDefaultLib)}function Z1(e,t,n,r,i,o,s,a){const c=e.getMatchForLastSegmentOfPattern(t);if(c)for(const l of n)if(e2(l,r,o,s))if(e.patternContainsDots){const n=e.getFullMatch(i2(l),t);n&&a.push({name:t,fileName:i,matchKind:n.kind,isCaseSensitive:n.isCaseSensitive,declaration:l})}else a.push({name:t,fileName:i,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:l})}function e2(e,t,n,r){var i;switch(e.kind){case 273:case 276:case 271:const o=t.getSymbolAtLocation(e.name),s=t.getAliasedSymbol(o);return o.escapedName!==s.escapedName&&!(null==(i=s.declarations)?void 0:i.every((e=>X1(e.getSourceFile(),n,r))));default:return!0}}function t2(e,t){const n=Sc(e);return!!n&&(r2(n,t)||167===n.kind&&n2(n.expression,t))}function n2(e,t){return r2(e,t)||zw(e)&&(t.push(e.name.text),!0)&&n2(e.expression,t)}function r2(e,t){return Mg(e)&&(t.push(jg(e)),!0)}function i2(e){const t=[],n=Sc(e);if(n&&167===n.kind&&!n2(n.expression,t))return a;t.shift();let r=pY(e);for(;r;){if(!t2(r,t))return a;r=pY(r)}return t.reverse(),t}function o2(e,t){return At(e.matchKind,t.matchKind)||Ft(e.name,t.name)}function s2(e){const t=e.declaration,n=pY(t),r=n&&Sc(n);return{name:e.name,kind:fY(t),kindModifiers:dK(t),matchKind:K0[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:SK(t),containerName:r?r.text:"",containerKind:r?fY(n):""}}n(Y1,{getNavigateToItems:()=>K1});var a2={};n(a2,{getNavigationBarItems:()=>g2,getNavigationTree:()=>A2});var c2,l2,u2,d2,p2=/\s+/g,f2=150,_2=[],m2=[],h2=[];function g2(e,t){c2=t,l2=e;try{return w(function(e){const t=[];function n(e){if(r(e)&&(t.push(e),e.children))for(const t of e.children)n(t)}return n(e),t;function r(e){if(e.children)return!0;switch(b2(e)){case 263:case 231:case 266:case 264:case 267:case 307:case 265:case 346:case 338:return!0;case 219:case 262:case 218:return t(e);default:return!1}function t(e){if(!e.node.body)return!1;switch(b2(e.parent)){case 268:case 307:case 174:case 176:return!0;default:return!1}}}}(E2(e)),H2)}finally{y2()}}function A2(e,t){c2=t,l2=e;try{return V2(E2(e))}finally{y2()}}function y2(){l2=void 0,c2=void 0,_2=[],u2=void 0,h2=[]}function v2(e){return n3(e.getText(l2))}function b2(e){return e.node.kind}function C2(e,t){e.children?e.children.push(t):e.children=[t]}function E2(e){un.assert(!_2.length);const t={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};u2=t;for(const t of e.statements)N2(t);return T2(),un.assert(!u2&&!_2.length),t}function x2(e,t){C2(u2,S2(e,t))}function S2(e,t){return{node:e,name:t||(ud(e)||Ju(e)?Sc(e):void 0),additionalNodes:void 0,parent:u2,children:void 0,indent:u2.indent+1}}function k2(e){d2||(d2=new Map),d2.set(e,!0)}function D2(e){for(let t=0;t0;t--){I2(e,n[t])}return[n.length-1,n[0]]}function I2(e,t){const n=S2(e,t);C2(u2,n),_2.push(u2),m2.push(d2),d2=void 0,u2=n}function T2(){u2.children&&(B2(u2.children,u2),M2(u2.children)),u2=_2.pop(),d2=m2.pop()}function F2(e,t,n){I2(e,n),N2(t),T2()}function R2(e){e.initializer&&function(e){switch(e.kind){case 219:case 218:case 231:return!0;default:return!1}}(e.initializer)?(I2(e),OP(e.initializer,N2),T2()):F2(e,e.initializer)}function P2(e){const t=Sc(e);if(void 0===t)return!1;if(ow(t)){const e=t.expression;return av(e)||xD(e)||Og(e)}return!!t}function N2(e){if(c2.throwIfCancellationRequested(),e&&!Tl(e))switch(e.kind){case 176:const t=e;F2(t,t.body);for(const e of t.parameters)Za(e,t)&&x2(e);break;case 174:case 177:case 178:case 173:P2(e)&&F2(e,e.body);break;case 172:P2(e)&&R2(e);break;case 171:P2(e)&&x2(e);break;case 273:const n=e;n.name&&x2(n.name);const{namedBindings:r}=n;if(r)if(274===r.kind)x2(r);else for(const e of r.elements)x2(e);break;case 304:F2(e,e.name);break;case 305:const{expression:i}=e;UD(i)?x2(e,i):x2(e);break;case 208:case 303:case 260:{const t=e;Cu(t.name)?N2(t.name):R2(t);break}case 262:const o=e.name;o&&UD(o)&&k2(o.text),F2(e,e.body);break;case 219:case 218:F2(e,e.body);break;case 266:I2(e);for(const t of e.members)K2(t)||x2(t);T2();break;case 263:case 231:case 264:I2(e);for(const t of e.members)N2(t);T2();break;case 267:F2(e,Y2(e).body);break;case 277:{const t=e.expression,n=Ww(t)||Kw(t)?t:rI(t)||nI(t)?t.body:void 0;n?(I2(e),N2(n),T2()):x2(e);break}case 281:case 271:case 181:case 179:case 180:case 265:x2(e);break;case 213:case 226:{const t=th(e);switch(t){case 1:case 2:return void F2(e,e.right);case 6:case 3:{const n=e,r=n.left,i=3===t?r.expression:r;let o,s=0;return UD(i.expression)?(k2(i.expression.text),o=i.expression):[s,o]=w2(n,i.expression),6===t?Ww(n.right)&&n.right.properties.length>0&&(I2(n,o),OP(n.right,N2),T2()):nI(n.right)||rI(n.right)?F2(e,n.right,o):(I2(n,o),F2(e,n.right,r.name),T2()),void D2(s)}case 7:case 9:{const n=e,r=7===t?n.arguments[0]:n.arguments[0].expression,i=n.arguments[1],[o,s]=w2(e,r);return I2(e,s),I2(e,aP(XS.createIdentifier(i.text),i)),N2(e.arguments[2]),T2(),T2(),void D2(o)}case 5:{const t=e,n=t.left,r=n.expression;if(UD(r)&&"prototype"!==uh(n)&&d2&&d2.has(r.text))return void(nI(t.right)||rI(t.right)?F2(e,t.right,r):oh(n)&&(I2(t,r),F2(t.left,t.right,ch(n)),T2()));break}case 4:case 0:case 8:break;default:un.assertNever(t)}}default:wd(e)&&u(e.jsDoc,(e=>{u(e.tags,(e=>{wh(e)&&x2(e)}))})),OP(e,N2)}}function B2(e,t){const n=new Map;k(e,((e,r)=>{const i=e.name||Sc(e.node),o=i&&v2(i);if(!o)return!0;const s=n.get(o);if(!s)return n.set(o,e),!0;if(s instanceof Array){for(const n of s)if(q2(n,e,r,t))return!1;return s.push(e),!0}{const i=s;return!q2(i,e,r,t)&&(n.set(o,[i,e]),!0)}}))}var O2={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1};function q2(e,t,n,r){return!!function(e,t,n,r){function i(e){return nI(e)||WI(e)||HI(e)}const o=uI(t.node)||Kw(t.node)?th(t.node):0,s=uI(e.node)||Kw(e.node)?th(e.node):0;if(O2[o]&&O2[s]||i(e.node)&&O2[o]||i(t.node)&&O2[s]||zI(e.node)&&$2(e.node)&&O2[o]||zI(t.node)&&O2[s]||zI(e.node)&&$2(e.node)&&i(t.node)||zI(t.node)&&i(e.node)&&$2(e.node)){let o=e.additionalNodes&&ge(e.additionalNodes)||e.node;if(!zI(e.node)&&!zI(t.node)||i(e.node)||i(t.node)){const n=i(e.node)?e.node:i(t.node)?t.node:void 0;if(void 0!==n){const r=S2(aP(XS.createConstructorDeclaration(void 0,[],void 0),n));r.indent=e.indent+1,r.children=e.node===n?e.children:t.children,e.children=e.node===n?H([r],t.children||[t]):H(e.children||[{...e}],[r])}else(e.children||t.children)&&(e.children=H(e.children||[{...e}],t.children||[t]),e.children&&(B2(e.children,e),M2(e.children)));o=e.node=aP(XS.createClassDeclaration(void 0,e.name||XS.createIdentifier("__class__"),void 0,void 0,[]),e.node)}else e.children=H(e.children,t.children),e.children&&B2(e.children,e);const s=t.node;return r.children[n-1].node.end===o.end?aP(o,{pos:o.pos,end:s.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(aP(XS.createClassDeclaration(void 0,e.name||XS.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return 0!==o}(e,t,n,r)||!!function(e,t,n){if(e.kind!==t.kind||e.parent!==t.parent&&(!Q2(e,n)||!Q2(t,n)))return!1;switch(e.kind){case 172:case 174:case 177:case 178:return Iy(e)===Iy(t);case 267:return L2(e,t)&&z2(e)===z2(t);default:return!0}}(e.node,t.node,r)&&(function(e,t){e.additionalNodes=e.additionalNodes||[],e.additionalNodes.push(t.node),t.additionalNodes&&e.additionalNodes.push(...t.additionalNodes);e.children=H(e.children,t.children),e.children&&(B2(e.children,e),M2(e.children))}(e,t),!0)}function $2(e){return!!(16&e.flags)}function Q2(e,t){if(void 0===e.parent)return!1;const n=eT(e.parent)?e.parent.parent:e.parent;return n===t.node||C(t.additionalNodes,n)}function L2(e,t){return e.body&&t.body?e.body.kind===t.body.kind&&(267!==e.body.kind||L2(e.body,t.body)):e.body===t.body}function M2(e){e.sort(j2)}function j2(e,t){return Ft(U2(e.node),U2(t.node))||At(b2(e),b2(t))}function U2(e){if(267===e.kind)return W2(e);const t=Sc(e);if(t&&tu(t)){const e=Lg(t);return e&&mc(e)}switch(e.kind){case 218:case 219:case 231:return e3(e);default:return}}function J2(e,t){if(267===e.kind)return n3(W2(e));if(t){const e=UD(t)?t.text:Yw(t)?`[${v2(t.argumentExpression)}]`:v2(t);if(e.length>0)return n3(e)}switch(e.kind){case 307:const t=e;return UP(t)?`"${bA(To(UE(Mo(t.fileName))))}"`:"";case 277:return mT(e)&&e.isExportEquals?"export=":"default";case 219:case 262:case 218:case 263:case 231:return 2048&jy(e)?"default":e3(e);case 176:return"constructor";case 180:return"new()";case 179:return"()";case 181:return"[]";default:return""}}function V2(e){return{text:J2(e.node,e.name),kind:fY(e.node),kindModifiers:Z2(e.node),spans:G2(e),nameSpan:e.name&&X2(e.name),childItems:w(e.children,V2)}}function H2(e){return{text:J2(e.node,e.name),kind:fY(e.node),kindModifiers:Z2(e.node),spans:G2(e),childItems:w(e.children,(function(e){return{text:J2(e.node,e.name),kind:fY(e.node),kindModifiers:dK(e.node),spans:G2(e),childItems:h2,indent:0,bolded:!1,grayed:!1}}))||h2,indent:e.indent,bolded:!1,grayed:!1}}function G2(e){const t=[X2(e.node)];if(e.additionalNodes)for(const n of e.additionalNodes)t.push(X2(n));return t}function W2(e){return cf(e)?zp(e.name):z2(e)}function z2(e){const t=[jg(e.name)];for(;e.body&&267===e.body.kind;)e=e.body,t.push(jg(e.name));return t.join(".")}function Y2(e){return e.body&&ZI(e.body)?Y2(e.body):e}function K2(e){return!e.name||167===e.name.kind}function X2(e){return 307===e.kind?wK(e):SK(e,l2)}function Z2(e){return e.parent&&260===e.parent.kind&&(e=e.parent),dK(e)}function e3(e){const{parent:t}=e;if(e.name&&sp(e.name)>0)return n3(Rf(e.name));if(HI(t))return n3(Rf(t.name));if(uI(t)&&64===t.operatorToken.kind)return v2(t.left).replace(p2,"");if(LT(t))return v2(t.name);if(2048&jy(e))return"default";if(du(e))return"";if(Kw(t)){let e=t3(t.expression);if(void 0!==e){if(e=n3(e),e.length>f2)return`${e} callback`;return`${e}(${n3(q(t.arguments,(e=>Od(e)||qu(e)?e.getText(l2):void 0)).join(", "))}) callback`}}return""}function t3(e){if(UD(e))return e.text;if(zw(e)){const t=t3(e.expression),n=e.name.text;return void 0===t?n:`${t}.${n}`}}function n3(e){return(e=e.length>f2?e.substring(0,f2)+"...":e).replace(/\\?(?:\r?\n|[\r\u2028\u2029])/g,"")}var r3={};n(r3,{addExportsInOldFile:()=>O3,addImportsForMovedSymbols:()=>U3,addNewFileToTsconfig:()=>B3,addOrRemoveBracesToArrowFunction:()=>T6,addTargetFileImports:()=>A6,containsJsx:()=>n6,convertArrowFunctionOrFunctionExpression:()=>M6,convertParamsToDestructuredObject:()=>K6,convertStringOrTemplateLiteral:()=>g4,convertToOptionalChainExpression:()=>F4,createNewFileName:()=>e6,doChangeNamedToNamespaceOrDefault:()=>y3,extractSymbol:()=>U4,generateGetAccessorAndSetAccessor:()=>c8,getApplicableRefactors:()=>s3,getEditsForRefactor:()=>a3,getExistingLocals:()=>_6,getIdentifierForNode:()=>g6,getNewStatementsAndRemoveFromOldFile:()=>N3,getStatementsToMove:()=>t6,getUsageInfo:()=>i6,inferFunctionReturnType:()=>p8,isInImport:()=>a6,isRefactorErrorInfo:()=>m6,refactorKindBeginsWith:()=>h6,registerRefactor:()=>o3});var i3=new Map;function o3(e,t){i3.set(e,t)}function s3(e,t){return Pe(N(i3.values(),(n=>{var r;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||!(null==(r=n.kinds)?void 0:r.some((t=>h6(t,e.kind))))?void 0:n.getAvailableActions(e,t)})))}function a3(e,t,n,r){const i=i3.get(t);return i&&i.getEditsForAction(e,n,r)}var c3="Convert export",l3={name:"Convert default export to named export",description:Vb(us.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},u3={name:"Convert named export to default export",description:Vb(us.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"};function d3(e,t=!0){const{file:n,program:r}=e,i=jZ(e),o=UY(n,i.start),s=o.parent&&32&jy(o.parent)&&t?o.parent:iX(o,n,i);if(!(s&&(JT(s.parent)||eT(s.parent)&&cf(s.parent.parent))))return{error:Vb(us.Could_not_find_export_statement)};const a=r.getTypeChecker(),c=function(e,t){if(JT(e))return e.symbol;const n=e.parent.symbol;if(n.valueDeclaration&&_f(n.valueDeclaration))return t.getMergedSymbol(n);return n}(s.parent,a),l=jy(s)||(mT(s)&&!s.isExportEquals?2080:0),u=!!(2048&l);if(!(32&l)||!u&&c.exports.has("default"))return{error:Vb(us.This_file_already_has_a_default_export)};const d=e=>UD(e)&&a.getSymbolAtLocation(e)?void 0:{error:Vb(us.Can_only_convert_named_export)};switch(s.kind){case 262:case 263:case 264:case 266:case 265:case 267:{const e=s;if(!e.name)return;return d(e.name)||{exportNode:e,exportName:e.name,wasDefault:u,exportingModuleSymbol:c}}case 243:{const e=s;if(!(2&e.declarationList.flags)||1!==e.declarationList.declarations.length)return;const t=me(e.declarationList.declarations);if(!t.initializer)return;return un.assert(!u,"Can't have a default flag here"),d(t.name)||{exportNode:e,exportName:t.name,wasDefault:u,exportingModuleSymbol:c}}case 277:{const e=s;if(e.isExportEquals)return;return d(e.expression)||{exportNode:e,exportName:e.expression,wasDefault:u,exportingModuleSymbol:c}}default:return}}function p3(e,t){return XS.createImportSpecifier(!1,e===t?void 0:XS.createIdentifier(e),XS.createIdentifier(t))}function f3(e,t){return XS.createExportSpecifier(!1,e===t?void 0:XS.createIdentifier(e),XS.createIdentifier(t))}o3(c3,{kinds:[l3.kind,u3.kind],getAvailableActions:function(e){const t=d3(e,"invoked"===e.triggerReason);if(!t)return a;if(!m6(t)){const e=t.wasDefault?l3:u3;return[{name:c3,description:e.description,actions:[e]}]}return e.preferences.provideRefactorNotApplicableReason?[{name:c3,description:Vb(us.Convert_default_export_to_named_export),actions:[{...l3,notApplicableReason:t.error},{...u3,notApplicableReason:t.error}]}]:a},getEditsForAction:function(e,t){un.assert(t===l3.name||t===u3.name,"Unexpected action name");const n=d3(e);un.assert(n&&!m6(n),"Expected applicable refactor info");const r=zde.ChangeTracker.with(e,(t=>function(e,t,n,r,i){(function(e,{wasDefault:t,exportNode:n,exportName:r},i,o){if(t)if(mT(n)&&!n.isExportEquals){const t=n.expression,r=f3(t.text,t.text);i.replaceNode(e,n,XS.createExportDeclaration(void 0,!1,XS.createNamedExports([r])))}else i.delete(e,un.checkDefined(sX(n,90),"Should find a default keyword in modifier list"));else{const t=un.checkDefined(sX(n,95),"Should find an export keyword in modifier list");switch(n.kind){case 262:case 263:case 264:i.insertNodeAfter(e,t,XS.createToken(90));break;case 243:const s=me(n.declarationList.declarations);if(!kce.Core.isSymbolReferencedInFile(r,o,e)&&!s.type){i.replaceNode(e,n,XS.createExportDefault(un.checkDefined(s.initializer,"Initializer was previously known to be present")));break}case 266:case 265:case 267:i.deleteModifier(e,t),i.insertNodeAfter(e,n,XS.createExportDefault(XS.createIdentifier(r.text)));break;default:un.fail(`Unexpected exportNode kind ${n.kind}`)}}})(e,n,r,t.getTypeChecker()),function(e,{wasDefault:t,exportName:n,exportingModuleSymbol:r},i,o){const s=e.getTypeChecker(),a=un.checkDefined(s.getSymbolAtLocation(n),"Export name should resolve to a symbol");kce.Core.eachExportReference(e.getSourceFiles(),s,o,a,r,n.text,t,(e=>{if(n===e)return;const r=e.getSourceFile();t?function(e,t,n,r){const{parent:i}=t;switch(i.kind){case 211:n.replaceNode(e,t,XS.createIdentifier(r));break;case 276:case 281:{const t=i;n.replaceNode(e,t,p3(r,t.name.text));break}case 273:{const o=i;un.assert(o.name===t,"Import clause name should match provided ref");const s=p3(r,t.text),{namedBindings:a}=o;if(a)if(274===a.kind){n.deleteRange(e,{pos:t.getStart(e),end:a.getStart(e)});const i=kD(o.parent.moduleSpecifier)?YK(o.parent.moduleSpecifier,e):1,s=GK(void 0,[p3(r,t.text)],o.parent.moduleSpecifier,i);n.insertNodeAfter(e,o.parent,s)}else n.delete(e,t),n.insertNodeAtEndOfList(e,a.elements,s);else n.replaceNode(e,t,XS.createNamedImports([s]));break}case 205:const o=i;n.replaceNode(e,i,XS.createImportTypeNode(o.argument,o.attributes,XS.createIdentifier(r),o.typeArguments,o.isTypeOf));break;default:un.failBadSyntaxKind(i)}}(r,e,i,n.text):function(e,t,n){const r=t.parent;switch(r.kind){case 211:n.replaceNode(e,t,XS.createIdentifier("default"));break;case 276:{const t=XS.createIdentifier(r.name.text);1===r.parent.elements.length?n.replaceNode(e,r.parent,t):(n.delete(e,r),n.insertNodeBefore(e,r.parent,t));break}case 281:n.replaceNode(e,r,f3("default",r.name.text));break;default:un.assertNever(r,`Unexpected parent kind ${r.kind}`)}}(r,e,i)}))}(t,n,r,i)}(e.file,e.program,n,t,e.cancellationToken)));return{edits:r,renameFilename:void 0,renameLocation:void 0}}});var _3="Convert import",m3={0:{name:"Convert namespace import to named imports",description:Vb(us.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:Vb(us.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:Vb(us.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"}};function h3(e,t=!0){const{file:n}=e,r=jZ(e),i=UY(n,r.start),o=t?dc(i,Zt(iT,PF)):iX(i,n,r);if(void 0===o||!iT(o)&&!PF(o))return{error:"Selection is not an import declaration."};const s=r.start+r.length,a=GY(o,o.parent,n);if(a&&s>a.getStart())return;const{importClause:c}=o;if(!c)return{error:Vb(us.Could_not_find_import_clause)};if(!c.namedBindings)return{error:Vb(us.Could_not_find_namespace_import_or_named_imports)};if(274===c.namedBindings.kind)return{convertTo:0,import:c.namedBindings};return g3(e.program,c)?{convertTo:1,import:c.namedBindings}:{convertTo:2,import:c.namedBindings}}function g3(e,t){return SC(e.getCompilerOptions())&&function(e,t){const n=t.resolveExternalModuleName(e);if(!n)return!1;const r=t.resolveExternalModuleSymbol(n);return n!==r}(t.parent.moduleSpecifier,e.getTypeChecker())}function A3(e){return zw(e)?e.name:e.right}function y3(e,t,n,r,i=g3(t,r.parent)){const o=t.getTypeChecker(),s=r.parent.parent,{moduleSpecifier:a}=s,c=new Set;r.elements.forEach((e=>{const t=o.getSymbolAtLocation(e.name);t&&c.add(t)}));const l=a&&kD(a)?zZ(a.text,99):"module";const u=r.elements.some((function(t){return!!kce.Core.eachSymbolReferenceInFile(t.name,o,e,(e=>{const t=o.resolveName(l,e,-1,!0);return!!t&&(!c.has(t)||AT(e.parent))}))})),d=u?iZ(l,e):l,p=new Set;for(const t of r.elements){const r=t.propertyName||t.name;kce.Core.eachSymbolReferenceInFile(t.name,o,e,(i=>{const o=11===r.kind?XS.createElementAccessExpression(XS.createIdentifier(d),XS.cloneNode(r)):XS.createPropertyAccessExpression(XS.createIdentifier(d),XS.cloneNode(r));MT(i.parent)?n.replaceNode(e,i.parent,XS.createPropertyAssignment(i.text,o)):AT(i.parent)?p.add(t):n.replaceNode(e,i,o)}))}if(n.replaceNode(e,r,i?XS.createIdentifier(d):XS.createNamespaceImport(XS.createIdentifier(d))),p.size&&iT(s)){const t=Pe(p.values(),(e=>XS.createImportSpecifier(e.isTypeOnly,e.propertyName&&XS.cloneNode(e.propertyName),XS.cloneNode(e.name))));n.insertNodeAfter(e,r.parent.parent,v3(s,void 0,t))}}function v3(e,t,n){return XS.createImportDeclaration(void 0,b3(t,n),e.moduleSpecifier,void 0)}function b3(e,t){return XS.createImportClause(!1,e,t&&t.length?XS.createNamedImports(t):void 0)}o3(_3,{kinds:Fe(m3).map((e=>e.kind)),getAvailableActions:function(e){const t=h3(e,"invoked"===e.triggerReason);if(!t)return a;if(!m6(t)){const e=m3[t.convertTo];return[{name:_3,description:e.description,actions:[e]}]}return e.preferences.provideRefactorNotApplicableReason?Fe(m3).map((e=>({name:_3,description:e.description,actions:[{...e,notApplicableReason:t.error}]}))):a},getEditsForAction:function(e,t){un.assert(J(Fe(m3),(e=>e.name===t)),"Unexpected action name");const n=h3(e);un.assert(n&&!m6(n),"Expected applicable refactor info");const r=zde.ChangeTracker.with(e,(t=>function(e,t,n,r){const i=t.getTypeChecker();0===r.convertTo?function(e,t,n,r,i){let o=!1;const s=[],a=new Map;kce.Core.eachSymbolReferenceInFile(r.name,t,e,(e=>{if(Pu(e.parent)){const r=A3(e.parent).text;t.resolveName(r,e,-1,!0)&&a.set(r,!0),un.assert((zw(n=e.parent)?n.expression:n.left)===e,"Parent expression should match id"),s.push(e.parent)}else o=!0;var n}));const c=new Map;for(const t of s){const r=A3(t).text;let i=c.get(r);void 0===i&&c.set(r,i=a.has(r)?iZ(r,e):r),n.replaceNode(e,t,XS.createIdentifier(i))}const l=[];c.forEach(((e,t)=>{l.push(XS.createImportSpecifier(!1,e===t?void 0:XS.createIdentifier(t),XS.createIdentifier(e)))}));const u=r.parent.parent;if(o&&!i&&iT(u))n.insertNodeAfter(e,u,v3(u,void 0,l));else{const t=o?XS.createIdentifier(r.name.text):void 0;n.replaceNode(e,r.parent,b3(t,l))}}(e,i,n,r.import,SC(t.getCompilerOptions())):y3(e,t,n,r.import,1===r.convertTo)}(e.file,e.program,t,n)));return{edits:r,renameFilename:void 0,renameLocation:void 0}}});var C3="Extract type",E3={name:"Extract to type alias",description:Vb(us.Extract_to_type_alias),kind:"refactor.extract.type"},x3={name:"Extract to interface",description:Vb(us.Extract_to_interface),kind:"refactor.extract.interface"},S3={name:"Extract to typedef",description:Vb(us.Extract_to_typedef),kind:"refactor.extract.typedef"};function k3(e,t=!0){const{file:n,startPosition:r}=e,i=Im(n),o=IK(jZ(e)),s=o.pos===o.end&&t,c=function(e,t,n,r){const i=[()=>UY(e,t),()=>jY(e,t,(()=>!0))];for(const t of i){const i=t(),o=CY(i,e,n.pos,n.end),s=dc(i,(t=>t.parent&&vu(t)&&!w3(n,t.parent,e)&&(r||o)));if(s)return s}return}(n,r,o,s);if(!c||!vu(c))return{info:{error:Vb(us.Selection_is_not_a_valid_type_node)},affectedTextRange:void 0};const l=e.program.getTypeChecker(),u=function(e,t){return dc(e,fd)||(t?dc(e,sF):void 0)}(c,i);if(void 0===u)return{info:{error:Vb(us.No_type_could_be_extracted_from_this_type_node)},affectedTextRange:void 0};const d=function(e,t){return dc(e,(e=>e===t?"quit":!(!Fw(e.parent)&&!Rw(e.parent))))??e}(c,u);if(!vu(d))return{info:{error:Vb(us.Selection_is_not_a_valid_type_node)},affectedTextRange:void 0};const p=[];(Fw(d.parent)||Rw(d.parent))&&o.end>c.end&&se(p,d.parent.types.filter((e=>CY(e,n,o.pos,o.end))));const f=p.length>1?p:d,{typeParameters:_,affectedTextRange:m}=function(e,t,n,r){const i=[],o=Ke(t),s={pos:o[0].getStart(r),end:o[o.length-1].end};for(const e of o)if(c(e))return{typeParameters:void 0,affectedTextRange:void 0};return{typeParameters:i,affectedTextRange:s};function c(t){if(bw(t)){if(UD(t.typeName)){const o=t.typeName,c=e.resolveName(o.text,o,262144,!0);for(const e of(null==c?void 0:c.declarations)||a)if(sw(e)&&e.getSourceFile()===r){if(e.name.escapedText===o.escapedText&&w3(e,s,r))return!0;if(w3(n,e,r)&&!w3(s,e,r)){ae(i,e);break}}}}else if(Nw(t)){const e=dc(t,(e=>Pw(e)&&w3(e.extendsType,t,r)));if(!e||!w3(s,e,r))return!0}else if(vw(t)||Ow(t)){const e=dc(t.parent,ru);if(e&&e.type&&w3(e.type,t,r)&&!w3(s,e,r))return!0}else if(xw(t))if(UD(t.exprName)){const i=e.resolveName(t.exprName.text,t.exprName,111551,!1);if((null==i?void 0:i.valueDeclaration)&&w3(n,i.valueDeclaration,r)&&!w3(s,i.valueDeclaration,r))return!0}else if(ly(t.exprName.left)&&!w3(s,t.parent,r))return!0;return r&&Dw(t)&&Ms(r,t.pos).line===Ms(r,t.end).line&&ik(t,1),OP(t,c)}}(l,f,u,n);if(!_)return{info:{error:Vb(us.No_type_could_be_extracted_from_this_type_node)},affectedTextRange:void 0};return{info:{isJS:i,selection:f,enclosingNode:u,typeParameters:_,typeElements:D3(l,f)},affectedTextRange:m}}function D3(e,t){if(t){if(Ye(t)){const n=[];for(const r of t){const t=D3(e,r);if(!t)return;se(n,t)}return n}if(Rw(t)){const n=[],r=new Set;for(const i of t.types){const t=D3(e,i);if(!t||!t.every((e=>e.name&&bb(r,LK(e.name)))))return;se(n,t)}return n}return Bw(t)?D3(e,t.type):Sw(t)?t.members:void 0}}function w3(e,t,n){return vY(e,Ks(n.text,t.pos),t.end)}function I3(e){return Ye(e.selection)?{firstTypeNode:e.selection[0],lastTypeNode:e.selection[e.selection.length-1],newTypeNode:Fw(e.selection[0].parent)?XS.createUnionTypeNode(e.selection):XS.createIntersectionTypeNode(e.selection)}:{firstTypeNode:e.selection,lastTypeNode:e.selection,newTypeNode:e.selection}}o3(C3,{kinds:[E3.kind,x3.kind,S3.kind],getAvailableActions:function(e){const{info:t,affectedTextRange:n}=k3(e,"invoked"===e.triggerReason);if(!t)return a;if(!m6(t)){return[{name:C3,description:Vb(us.Extract_type),actions:t.isJS?[S3]:re([E3],t.typeElements&&x3)}].map((t=>({...t,actions:t.actions.map((t=>({...t,range:n?{start:{line:Ms(e.file,n.pos).line,offset:Ms(e.file,n.pos).character},end:{line:Ms(e.file,n.end).line,offset:Ms(e.file,n.end).character}}:void 0})))})))}return e.preferences.provideRefactorNotApplicableReason?[{name:C3,description:Vb(us.Extract_type),actions:[{...S3,notApplicableReason:t.error},{...E3,notApplicableReason:t.error},{...x3,notApplicableReason:t.error}]}]:a},getEditsForAction:function(e,t){const{file:n}=e,{info:r}=k3(e);un.assert(r&&!m6(r),"Expected to find a range to extract");const i=iZ("NewType",n),o=zde.ChangeTracker.with(e,(o=>{switch(t){case E3.name:return un.assert(!r.isJS,"Invalid actionName/JS combo"),function(e,t,n,r){const{enclosingNode:i,typeParameters:o}=r,{firstTypeNode:s,lastTypeNode:a,newTypeNode:c}=I3(r),l=XS.createTypeAliasDeclaration(void 0,n,o.map((e=>XS.updateTypeParameterDeclaration(e,e.modifiers,e.name,e.constraint,void 0))),c);e.insertNodeBefore(t,i,Rk(l),!0),e.replaceNodeRange(t,s,a,XS.createTypeReferenceNode(n,o.map((e=>XS.createTypeReferenceNode(e.name,void 0)))),{leadingTriviaOption:zde.LeadingTriviaOption.Exclude,trailingTriviaOption:zde.TrailingTriviaOption.ExcludeWhitespace})}(o,n,i,r);case S3.name:return un.assert(r.isJS,"Invalid actionName/JS combo"),function(e,t,n,r,i){var o;Ke(i.selection).forEach((e=>{ik(e,7168)}));const{enclosingNode:s,typeParameters:a}=i,{firstTypeNode:c,lastTypeNode:l,newTypeNode:d}=I3(i),p=XS.createJSDocTypedefTag(XS.createIdentifier("typedef"),XS.createJSDocTypeExpression(d),XS.createIdentifier(r)),f=[];u(a,(e=>{const t=dl(e),n=XS.createTypeParameterDeclaration(void 0,e.name),r=XS.createJSDocTemplateTag(XS.createIdentifier("template"),t&&tt(t,HT),[n]);f.push(r)}));const _=XS.createJSDocComment(void 0,XS.createNodeArray(H(f,[p])));if(sF(s)){const r=s.getStart(n),i=NX(t.host,null==(o=t.formatContext)?void 0:o.options);e.insertNodeAt(n,s.getStart(n),_,{suffix:i+i+n.text.slice(HX(n.text,r-1),r)})}else e.insertNodeBefore(n,s,_,!0);e.replaceNodeRange(n,c,l,XS.createTypeReferenceNode(r,a.map((e=>XS.createTypeReferenceNode(e.name,void 0)))))}(o,e,n,i,r);case x3.name:return un.assert(!r.isJS&&!!r.typeElements,"Invalid actionName/JS combo"),function(e,t,n,r){var i;const{enclosingNode:o,typeParameters:s,typeElements:a}=r,c=XS.createInterfaceDeclaration(void 0,n,s,void 0,a);aP(c,null==(i=a[0])?void 0:i.parent),e.insertNodeBefore(t,o,Rk(c),!0);const{firstTypeNode:l,lastTypeNode:u}=I3(r);e.replaceNodeRange(t,l,u,XS.createTypeReferenceNode(n,s.map((e=>XS.createTypeReferenceNode(e.name,void 0)))),{leadingTriviaOption:zde.LeadingTriviaOption.Exclude,trailingTriviaOption:zde.TrailingTriviaOption.ExcludeWhitespace})}(o,n,i,r);default:un.fail("Unexpected action name")}})),s=n.fileName;return{edits:o,renameFilename:s,renameLocation:oZ(o,s,i,!1)}}});var T3="Move to file",F3=Vb(us.Move_to_file),R3={name:"Move to file",description:F3,kind:"refactor.move.file"};function P3(e){return{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:e}}function N3(e,t,n,r,i,o,s,a,c,u){const d=o.getTypeChecker(),f=an(e.statements,p_),_=!s0(t.fileName,o,s,!!e.commonJsModuleIndicator),m=KK(e,a);U3(n.oldFileImportsFromTargetFile,t.fileName,u,o),function(e,t,n,r){for(const i of e.statements)C(t,i)||M3(i,(e=>{j3(e,(e=>{n.has(e.symbol)&&r.removeExistingImport(e)}))}))}(e,i.all,n.unusedImportsFromOldFile,u),u.writeFixes(r,m),function(e,t,n){for(const{first:r,afterLast:i}of t)n.deleteNodeRangeExcludingEnd(e,r,i)}(e,i.ranges,r),function(e,t,n,r,i,o,s){const a=t.getTypeChecker();for(const c of t.getSourceFiles())if(c!==r)for(const l of c.statements)M3(l,(u=>{if(a.getSymbolAtLocation(L3(u))!==r.symbol)return;const d=e=>{const t=Hw(e.parent)?rX(a,e.parent):sb(a.getSymbolAtLocation(e),a);return!!t&&i.has(t)};V3(c,u,e,d);const p=$o(Io(Lo(r.fileName,t.getCurrentDirectory())),o);if(0===St(!t.useCaseSensitiveFileNames())(p,c.fileName))return;const f=G$.getModuleSpecifier(t.getCompilerOptions(),c,c.fileName,p,JK(t,n)),_=Y3(u,WK(f,s),d);_&&e.insertNodeAfter(c,l,_);const m=q3(u);m&&$3(e,c,a,i,f,m,u,s)}))}(r,o,s,e,n.movedSymbols,t.fileName,m),O3(e,n.targetFileImportsFromOldFile,r,_),A6(e,n.oldImportsNeededByTargetFile,n.targetFileImportsFromOldFile,d,o,c),!wm(t)&&f.length&&r.insertStatementsInNewFile(t.fileName,f,e),c.writeFixes(r,m);const h=function(e,t,n,r){return R(t,(t=>{if(H3(t)&&!J3(e,t,r)&&s6(t,(e=>{var t;return n.includes(un.checkDefined(null==(t=et(e,sd))?void 0:t.symbol))}))){const e=function(e,t){return t?[G3(e)]:function(e){return[e,...z3(e).map(W3)]}(e)}(GX(t),r);if(e)return e}return GX(t)}))}(e,i.all,Pe(n.oldFileImportsFromTargetFile.keys()),_);wm(t)&&t.statements.length>0?function(e,t,n,r,i){var o;const s=new Set,a=null==(o=r.symbol)?void 0:o.exports;if(a){const n=t.getTypeChecker(),o=new Map;for(const e of i.all)H3(e)&&wy(e,32)&&s6(e,(e=>{var t;const n=p(sd(e)?null==(t=a.get(e.symbol.escapedName))?void 0:t.declarations:void 0,(e=>hT(e)?e:AT(e)?et(e.parent.parent,hT):void 0));n&&n.moduleSpecifier&&o.set(n,(o.get(n)||new Set).add(e))}));for(const[t,i]of Pe(o))if(t.exportClause&&gT(t.exportClause)&&l(t.exportClause.elements)){const o=t.exportClause.elements,a=S(o,(e=>void 0===A(sb(e.symbol,n).declarations,(e=>l6(e)&&i.has(e)))));if(0===l(a)){e.deleteNode(r,t),s.add(t);continue}l(a)hT(e)&&!!e.moduleSpecifier&&!s.has(e)));c?e.insertNodesBefore(r,c,n,!0):e.insertNodesAfter(r,r.statements[r.statements.length-1],n)}(r,o,h,t,i):wm(t)?r.insertNodesAtEndOfFile(t,h,!1):r.insertStatementsInNewFile(t.fileName,c.hasFixes()?[4,...h]:h,e)}function B3(e,t,n,r,i){const o=e.getCompilerOptions().configFile;if(!o)return;const s=Mo(qo(n,"..",r)),a=os(o.fileName,s,i),c=o.statements[0]&&et(o.statements[0].expression,Ww),l=c&&A(c.properties,(e=>LT(e)&&kD(e.name)&&"files"===e.name.text));l&&Gw(l.initializer)&&t.insertNodeInListAfter(o,Ae(l.initializer.elements),XS.createStringLiteral(a),l.initializer.elements)}function O3(e,t,n,r){const i=OK();t.forEach(((t,o)=>{if(o.declarations)for(const t of o.declarations){if(!l6(t))continue;const o=K3(t);if(!o)continue;const s=X3(t);i(s)&&Z3(e,s,o,n,r)}}))}function q3(e){switch(e.kind){case 272:return e.importClause&&e.importClause.namedBindings&&274===e.importClause.namedBindings.kind?e.importClause.namedBindings.name:void 0;case 271:return e.name;case 260:return et(e.name,UD);default:return un.assertNever(e,`Unexpected node kind ${e.kind}`)}}function $3(e,t,n,r,i,o,s,a){const c=zZ(i,99);let l=!1;const u=[];if(kce.Core.eachSymbolReferenceInFile(o,n,t,(e=>{zw(e.parent)&&(l=l||!!n.resolveName(c,e,-1,!0),r.has(n.getSymbolAtLocation(e.parent.name))&&u.push(e))})),u.length){const n=l?iZ(c,t):c;for(const r of u)e.replaceNode(t,r,XS.createIdentifier(n));e.insertNodeAfter(t,s,function(e,t,n,r){const i=XS.createIdentifier(t),o=WK(n,r);switch(e.kind){case 272:return XS.createImportDeclaration(void 0,XS.createImportClause(!1,void 0,XS.createNamespaceImport(i)),o,void 0);case 271:return XS.createImportEqualsDeclaration(void 0,!1,i,XS.createExternalModuleReference(o));case 260:return XS.createVariableDeclaration(i,void 0,void 0,Q3(o));default:return un.assertNever(e,`Unexpected node kind ${e.kind}`)}}(s,c,i,a))}}function Q3(e){return XS.createCallExpression(XS.createIdentifier("require"),void 0,[e])}function L3(e){return 272===e.kind?e.moduleSpecifier:271===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function M3(e,t){if(iT(e))kD(e.moduleSpecifier)&&t(e);else if(rT(e))ET(e.moduleReference)&&Od(e.moduleReference.expression)&&t(e);else if(wI(e))for(const n of e.declarationList.declarations)n.initializer&&Bm(n.initializer,!0)&&t(n)}function j3(e,t){var n,r,i,o,s;if(272===e.kind){if((null==(n=e.importClause)?void 0:n.name)&&t(e.importClause),274===(null==(i=null==(r=e.importClause)?void 0:r.namedBindings)?void 0:i.kind)&&t(e.importClause.namedBindings),275===(null==(s=null==(o=e.importClause)?void 0:o.namedBindings)?void 0:s.kind))for(const n of e.importClause.namedBindings.elements)t(n)}else if(271===e.kind)t(e);else if(260===e.kind)if(80===e.name.kind)t(e);else if(206===e.name.kind)for(const n of e.name.elements)UD(n.name)&&t(n)}function U3(e,t,n,r){for(const[i,o]of e){const e=HZ(i,yC(r.getCompilerOptions())),s="default"===i.name&&i.parent?1:0;n.addImportForNonExistentExport(e,t,s,i.flags,o)}}function J3(e,t,n,r){var i;return n?!TI(t)&&wy(t,32)||!!(r&&e.symbol&&(null==(i=e.symbol.exports)?void 0:i.has(r.escapedText))):!!e.symbol&&!!e.symbol.exports&&z3(t).some((t=>e.symbol.exports.has(_c(t))))}function V3(e,t,n,r){if(272===t.kind&&t.importClause){const{name:i,namedBindings:o}=t.importClause;if((!i||r(i))&&(!o||275===o.kind&&0!==o.elements.length&&o.elements.every((e=>r(e.name)))))return n.delete(e,t)}j3(t,(t=>{t.name&&UD(t.name)&&r(t.name)&&n.delete(e,t)}))}function H3(e){return un.assert(JT(e.parent),"Node parent should be a SourceFile"),p6(e)||wI(e)}function G3(e){const t=cP(e)?H([XS.createModifier(95)],wc(e)):void 0;switch(e.kind){case 262:return XS.updateFunctionDeclaration(e,t,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 263:const n=lP(e)?Dc(e):void 0;return XS.updateClassDeclaration(e,H(n,t),e.name,e.typeParameters,e.heritageClauses,e.members);case 243:return XS.updateVariableStatement(e,t,e.declarationList);case 267:return XS.updateModuleDeclaration(e,t,e.name,e.body);case 266:return XS.updateEnumDeclaration(e,t,e.name,e.members);case 265:return XS.updateTypeAliasDeclaration(e,t,e.name,e.typeParameters,e.type);case 264:return XS.updateInterfaceDeclaration(e,t,e.name,e.typeParameters,e.heritageClauses,e.members);case 271:return XS.updateImportEqualsDeclaration(e,t,e.isTypeOnly,e.name,e.moduleReference);case 244:return un.fail();default:return un.assertNever(e,`Unexpected declaration kind ${e.kind}`)}}function W3(e){return XS.createExpressionStatement(XS.createBinaryExpression(XS.createPropertyAccessExpression(XS.createIdentifier("exports"),XS.createIdentifier(e)),64,XS.createIdentifier(e)))}function z3(e){switch(e.kind){case 262:case 263:return[e.name.text];case 243:return q(e.declarationList.declarations,(e=>UD(e.name)?e.name.text:void 0));case 267:case 266:case 265:case 264:case 271:return a;case 244:return un.fail("Can't export an ExpressionStatement");default:return un.assertNever(e,`Unexpected decl kind ${e.kind}`)}}function Y3(e,t,n){switch(e.kind){case 272:{const r=e.importClause;if(!r)return;const i=r.name&&n(r.name)?r.name:void 0,o=r.namedBindings&&function(e,t){if(274===e.kind)return t(e.name)?e:void 0;{const n=e.elements.filter((e=>t(e.name)));return n.length?XS.createNamedImports(n):void 0}}(r.namedBindings,n);return i||o?XS.createImportDeclaration(void 0,XS.createImportClause(r.isTypeOnly,i,o),GX(t),void 0):void 0}case 271:return n(e.name)?e:void 0;case 260:{const r=function(e,t){switch(e.kind){case 80:return t(e)?e:void 0;case 207:return e;case 206:{const n=e.elements.filter((e=>e.propertyName||!UD(e.name)||t(e.name)));return n.length?XS.createObjectBindingPattern(n):void 0}}}(e.name,n);return r?function(e,t,n,r=2){return XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(e,void 0,t,n)],r))}(r,e.type,Q3(t),e.parent.flags):void 0}default:return un.assertNever(e,`Unexpected import kind ${e.kind}`)}}function K3(e){return TI(e)?et(e.expression.left.name,UD):et(e.name,UD)}function X3(e){switch(e.kind){case 260:return e.parent.parent;case 208:return X3(tt(e.parent.parent,(e=>HI(e)||Hw(e))));default:return e}}function Z3(e,t,n,r,i){if(!J3(e,t,i,n))if(i)TI(t)||r.insertExportModifier(e,t);else{const n=z3(t);0!==n.length&&r.insertNodesAfter(e,t,n.map(W3))}}function e6(e,t,n,r){const i=t.getTypeChecker();if(r){const t=i6(e,r.all,i),a=Io(e.fileName),c=ZE(e.fileName),l=qo(a,function(e,t,n,r){let i=e;for(let o=1;;o++){const s=qo(n,i+t);if(!r.fileExists(s))return i;i=`${e}.${o}`}}((o=t.oldFileImportsFromTargetFile,s=t.movedSymbols,rp(o,ZK)||rp(s,ZK)||"newFile"),c,a,n))+c;return l}var o,s;return""}function t6(e){const t=function(e){const{file:t}=e,n=IK(jZ(e)),{statements:r}=t;let i=v(r,(e=>e.end>n.pos));if(-1===i)return;const o=f6(t,r[i]);o&&(i=o.start);let s=v(r,(e=>e.end>=n.end),i);-1!==s&&n.end<=r[s].getStart()&&s--;const a=f6(t,r[s]);return a&&(s=a.end),{toMove:r.slice(i,-1===s?r.length:s+1),afterLast:-1===s?void 0:r[s+1]}}(e);if(void 0===t)return;const n=[],r=[],{toMove:i,afterLast:o}=t;return V(i,r6,((e,t)=>{for(let r=e;r!!(2&e.transformFlags)))}function r6(e){return!function(e){switch(e.kind){case 272:return!0;case 271:return!wy(e,32);case 243:return e.declarationList.declarations.every((e=>!!e.initializer&&Bm(e.initializer,!0)));default:return!1}}(e)&&!p_(e)}function i6(e,t,n,r=new Set,i){var o;const s=new Set,a=new Map,c=new Map,l=function(e){if(void 0===e)return;const t=n.getJsxNamespace(e),r=n.resolveName(t,e,1920,!0);return r&&J(r.declarations,a6)?r:void 0}(n6(t));l&&a.set(l,[!1,et(null==(o=l.declarations)?void 0:o[0],(e=>_T(e)||oT(e)||dT(e)||rT(e)||Hw(e)||HI(e)))]);for(const e of t)s6(e,(e=>{s.add(un.checkDefined(TI(e)?n.getSymbolAtLocation(e.expression.left):e.symbol,"Need a symbol here"))}));const u=new Set;for(const o of t)o6(o,n,i,((t,i)=>{if(!t.declarations)return;if(r.has(sb(t,n)))return void u.add(t);const o=A(t.declarations,a6);if(o){const e=a.get(t);a.set(t,[(void 0===e||e)&&i,et(o,(e=>_T(e)||oT(e)||dT(e)||rT(e)||Hw(e)||HI(e)))])}else!s.has(t)&&g(t.declarations,(t=>l6(t)&&u6(t)===e))&&c.set(t,i)}));for(const e of a.keys())u.add(e);const d=new Map;for(const r of e.statements)C(t,r)||(l&&2&r.transformFlags&&u.delete(l),o6(r,n,i,((e,t)=>{s.has(e)&&d.set(e,t),u.delete(e)})));return{movedSymbols:s,targetFileImportsFromOldFile:c,oldFileImportsFromTargetFile:d,oldImportsNeededByTargetFile:a,unusedImportsFromOldFile:u}}function o6(e,t,n,r){e.forEachChild((function e(i){if(UD(i)&&!lg(i)){if(n&&!Kv(n,i))return;const e=t.getSymbolAtLocation(i);e&&r(e,vx(i))}else i.forEachChild(e)}))}function s6(e,t){switch(e.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return t(e);case 243:return p(e.declarationList.declarations,(e=>d6(e.name,t)));case 244:{const{expression:n}=e;return uI(n)&&1===th(n)?t(e):void 0}}}function a6(e){switch(e.kind){case 271:case 276:case 273:case 274:return!0;case 260:return c6(e);case 208:return HI(e.parent.parent)&&c6(e.parent.parent);default:return!1}}function c6(e){return JT(e.parent.parent.parent)&&!!e.initializer&&Bm(e.initializer,!0)}function l6(e){return p6(e)&&JT(e.parent)||HI(e)&&JT(e.parent.parent.parent)}function u6(e){return HI(e)?e.parent.parent.parent:e.parent}function d6(e,t){switch(e.kind){case 80:return t(tt(e.parent,(e=>HI(e)||Hw(e))));case 207:case 206:return p(e.elements,(e=>hI(e)?void 0:d6(e.name,t)));default:return un.assertNever(e,`Unexpected name kind ${e.kind}`)}}function p6(e){switch(e.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return!0;default:return!1}}function f6(e,t){if(ou(t)){const n=t.symbol.declarations;if(void 0===n||l(n)<=1||!C(n,t))return;const r=n[0],i=n[l(n)-1],o=q(n,(t=>Ap(t)===e&&fd(t)?t:void 0)),s=v(e.statements,(e=>e.end>=i.end));return{toMove:o,start:v(e.statements,(e=>e.end>=r.end)),end:s}}}function _6(e,t,n){const r=new Set;for(const t of e.imports){const e=yh(t);if(iT(e)&&e.importClause&&e.importClause.namedBindings&&fT(e.importClause.namedBindings))for(const t of e.importClause.namedBindings.elements){const e=n.getSymbolAtLocation(t.propertyName||t.name);e&&r.add(sb(e,n))}if(Om(e.parent)&&Jw(e.parent.name))for(const t of e.parent.name.elements){const e=n.getSymbolAtLocation(t.propertyName||t.name);e&&r.add(sb(e,n))}}for(const i of t)o6(i,n,void 0,(t=>{const i=sb(t,n);i.valueDeclaration&&Ap(i.valueDeclaration).path===e.path&&r.add(i)}));return r}function m6(e){return void 0!==e.error}function h6(e,t){return!t||e.substr(0,t.length)===t}function g6(e,t,n,r){return!zw(e)||du(t)||n.resolveName(e.name.text,e,111551,!1)||JD(e.name)||gc(e.name)?iZ(du(t)?"newProperty":"newLocal",r):e.name.text}function A6(e,t,n,r,i,o){t.forEach((([e,t],n)=>{var i;const s=sb(n,r);r.isUnknownSymbol(s)?o.addVerbatimImport(un.checkDefined(t??dc(null==(i=n.declarations)?void 0:i[0],Sf))):void 0===s.parent?(un.assert(void 0!==t,"expected module symbol to have a declaration"),o.addImportForModuleSymbol(n,e,t)):o.addImportFromExportedSymbol(s,e,t)})),U3(n,e.fileName,o,i)}o3(T3,{kinds:[R3.kind],getAvailableActions:function(e,t){const n=e.file,r=t6(e);if(!t)return a;if("implicit"===e.triggerReason&&void 0!==e.endPosition){const t=dc(UY(n,e.startPosition),a0),r=dc(UY(n,e.endPosition),a0);if(t&&!JT(t)&&r&&!JT(r))return a}if(e.preferences.allowTextChangesInNewFiles&&r){const e={start:{line:Ms(n,r.all[0].getStart(n)).line,offset:Ms(n,r.all[0].getStart(n)).character},end:{line:Ms(n,Ae(r.all).end).line,offset:Ms(n,Ae(r.all).end).character}};return[{name:T3,description:F3,actions:[{...R3,range:e}]}]}return e.preferences.provideRefactorNotApplicableReason?[{name:T3,description:F3,actions:[{...R3,notApplicableReason:Vb(us.Selection_is_not_a_valid_statement_or_statements)}]}]:a},getEditsForAction:function(e,t,n){un.assert(t===T3,"Wrong refactor invoked");const r=un.checkDefined(t6(e)),{host:i,program:o}=e;un.assert(n,"No interactive refactor arguments available");const s=n.targetFile;if(NE(s)||BE(s)){if(i.fileExists(s)&&void 0===o.getSourceFile(s))return P3(Vb(us.Cannot_move_statements_to_the_selected_file));const t=zde.ChangeTracker.with(e,(t=>function(e,t,n,r,i,o,s,a){const c=r.getTypeChecker(),l=!s.fileExists(n),u=l?c0(n,t.externalModuleIndicator?99:t.commonJsModuleIndicator?1:void 0,r,s):un.checkDefined(r.getSourceFile(n)),d=R5.createImportAdder(t,e.program,e.preferences,e.host),p=R5.createImportAdder(u,e.program,e.preferences,e.host);N3(t,u,i6(t,i.all,c,l?void 0:_6(u,i.all,c)),o,i,r,s,a,p,d),l&&B3(r,o,t.fileName,n,qA(s))}(e,e.file,n.targetFile,e.program,r,t,e.host,e.preferences)));return{edits:t,renameFilename:void 0,renameLocation:void 0}}return P3(Vb(us.Cannot_move_to_file_selected_file_is_invalid))}});var y6="Inline variable",v6=Vb(us.Inline_variable),b6={name:y6,description:v6,kind:"refactor.inline.variable"};function C6(e,t,n,r){var i,o;const s=r.getTypeChecker(),a=MY(e,t),c=a.parent;if(UD(a)){if(tb(c)&&R_(c)&&UD(c.name)){if(1!==(null==(i=s.getMergedSymbol(c.symbol).declarations)?void 0:i.length))return{error:Vb(us.Variables_with_multiple_declarations_cannot_be_inlined)};if(E6(c))return;const t=x6(c,s,e);return t&&{references:t,declaration:c,replacement:c.initializer}}if(n){let t=s.resolveName(a.text,a,111551,!1);if(t=t&&s.getMergedSymbol(t),1!==(null==(o=null==t?void 0:t.declarations)?void 0:o.length))return{error:Vb(us.Variables_with_multiple_declarations_cannot_be_inlined)};const n=t.declarations[0];if(!tb(n)||!R_(n)||!UD(n.name))return;if(E6(n))return;const r=x6(n,s,e);return r&&{references:r,declaration:n,replacement:n.initializer}}return{error:Vb(us.Could_not_find_variable_to_inline)}}}function E6(e){return J(tt(e.parent.parent,wI).modifiers,VD)}function x6(e,t,n){const r=[],i=kce.Core.eachSymbolReferenceInFile(e.name,t,n,(t=>!(!kce.isWriteAccessForReference(t)||MT(t.parent))||(!(!AT(t.parent)&&!mT(t.parent))||(!!xw(t.parent)||(!!Ra(e,t.pos)||void r.push(t))))));return 0===r.length||i?void 0:r}function S6(e,t){t=GX(t);const{parent:n}=e;return Ju(n)&&(iA(t){for(const t of s){const r=kD(c)&&UD(t)&&rg(t.parent);r&&SI(r)&&!Zw(r.parent.parent)?k6(e,n,r,c):e.replaceNode(n,t,S6(t,c))}e.delete(n,a)}));return{edits:l}}});var D6="Move to a new file",w6=Vb(us.Move_to_a_new_file),I6={name:D6,description:w6,kind:"refactor.move.newFile"};o3(D6,{kinds:[I6.kind],getAvailableActions:function(e){const t=t6(e),n=e.file;if("implicit"===e.triggerReason&&void 0!==e.endPosition){const t=dc(UY(n,e.startPosition),a0),r=dc(UY(n,e.endPosition),a0);if(t&&!JT(t)&&r&&!JT(r))return a}if(e.preferences.allowTextChangesInNewFiles&&t){const n=e.file,r={start:{line:Ms(n,t.all[0].getStart(n)).line,offset:Ms(n,t.all[0].getStart(n)).character},end:{line:Ms(n,Ae(t.all).end).line,offset:Ms(n,Ae(t.all).end).character}};return[{name:D6,description:w6,actions:[{...I6,range:r}]}]}return e.preferences.provideRefactorNotApplicableReason?[{name:D6,description:w6,actions:[{...I6,notApplicableReason:Vb(us.Selection_is_not_a_valid_statement_or_statements)}]}]:a},getEditsForAction:function(e,t){un.assert(t===D6,"Wrong refactor invoked");const n=un.checkDefined(t6(e)),r=zde.ChangeTracker.with(e,(t=>function(e,t,n,r,i,o,s){const a=t.getTypeChecker(),c=i6(e,n.all,a),l=e6(e,t,i,n),u=c0(l,e.externalModuleIndicator?99:e.commonJsModuleIndicator?1:void 0,t,i),d=R5.createImportAdder(e,o.program,o.preferences,o.host),p=R5.createImportAdder(u,o.program,o.preferences,o.host);N3(e,u,c,r,n,t,i,s,p,d),B3(t,r,e.fileName,l,qA(i))}(e.file,e.program,n,t,e.host,e,e.preferences)));return{edits:r,renameFilename:void 0,renameLocation:void 0}}});var T6={},F6="Convert overload list to single signature",R6=Vb(us.Convert_overload_list_to_single_signature),P6={name:F6,description:R6,kind:"refactor.rewrite.function.overloadList"};function N6(e){switch(e.kind){case 173:case 174:case 179:case 176:case 180:case 262:return!0}return!1}function B6(e,t,n){const r=dc(UY(e,t),N6);if(!r)return;if(ou(r)&&r.body&&AY(r.body,t))return;const i=n.getTypeChecker(),o=r.symbol;if(!o)return;const s=o.declarations;if(l(s)<=1)return;if(!g(s,(t=>Ap(t)===e)))return;if(!N6(s[0]))return;const a=s[0].kind;if(!g(s,(e=>e.kind===a)))return;const c=s;if(J(c,(e=>!!e.typeParameters||J(e.parameters,(e=>!!e.modifiers||!UD(e.name))))))return;const u=q(c,(e=>i.getSignatureFromDeclaration(e)));if(l(u)!==l(s))return;const d=i.getReturnTypeOfSignature(u[0]);return g(u,(e=>i.getReturnTypeOfSignature(e)===d))?c:void 0}o3(F6,{kinds:[P6.kind],getEditsForAction:function(e){const{file:t,startPosition:n,program:r}=e,i=B6(t,n,r);if(!i)return;const o=r.getTypeChecker(),s=i[i.length-1];let a=s;switch(s.kind){case 173:a=XS.updateMethodSignature(s,s.modifiers,s.name,s.questionToken,s.typeParameters,u(i),s.type);break;case 174:a=XS.updateMethodDeclaration(s,s.modifiers,s.asteriskToken,s.name,s.questionToken,s.typeParameters,u(i),s.type,s.body);break;case 179:a=XS.updateCallSignature(s,s.typeParameters,u(i),s.type);break;case 176:a=XS.updateConstructorDeclaration(s,s.modifiers,u(i),s.body);break;case 180:a=XS.updateConstructSignature(s,s.typeParameters,u(i),s.type);break;case 262:a=XS.updateFunctionDeclaration(s,s.modifiers,s.asteriskToken,s.name,s.typeParameters,u(i),s.type,s.body);break;default:return un.failBadSyntaxKind(s,"Unhandled signature kind in overload list conversion refactoring")}if(a===s)return;const c=zde.ChangeTracker.with(e,(e=>{e.replaceNodeRange(t,i[0],i[i.length-1],a)}));return{renameFilename:void 0,renameLocation:void 0,edits:c};function u(e){const t=e[e.length-1];return ou(t)&&t.body&&(e=e.slice(0,e.length-1)),XS.createNodeArray([XS.createParameterDeclaration(void 0,XS.createToken(26),"args",void 0,XS.createUnionTypeNode(w(e,d)))])}function d(e){const t=w(e.parameters,p);return ik(XS.createTupleTypeNode(t),J(t,(e=>!!l(hk(e))))?0:1)}function p(e){un.assert(UD(e.name));const t=aP(XS.createNamedTupleMember(e.dotDotDotToken,e.name,e.questionToken,e.type||XS.createKeywordTypeNode(133)),e),n=e.symbol&&e.symbol.getDocumentationComment(o);if(n){const e=V8(n);e.length&&gk(t,[{text:`*\n${e.split("\n").map((e=>` * ${e}`)).join("\n")}\n `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return t}},getAvailableActions:function(e){const{file:t,startPosition:n,program:r}=e,i=B6(t,n,r);return i?[{name:F6,description:R6,actions:[P6]}]:a}});var O6="Add or remove braces in an arrow function",q6=Vb(us.Add_or_remove_braces_in_an_arrow_function),$6={name:"Add braces to arrow function",description:Vb(us.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},Q6={name:"Remove braces from arrow function",description:Vb(us.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"};function L6(e,t,n=!0,r){const i=UY(e,t),o=W_(i);if(!o)return{error:Vb(us.Could_not_find_a_containing_arrow_function)};if(!rI(o))return{error:Vb(us.Containing_function_is_not_an_arrow_function)};if(Kv(o,i)&&(!Kv(o.body,i)||n)){if(h6($6.kind,r)&&Ju(o.body))return{func:o,addBraces:!0,expression:o.body};if(h6(Q6.kind,r)&&DI(o.body)&&1===o.body.statements.length){const e=me(o.body.statements);if(QI(e)){return{func:o,addBraces:!1,expression:e.expression&&Ww(Ib(e.expression,!1))?XS.createParenthesizedExpression(e.expression):e.expression,returnStatement:e}}}}}o3(O6,{kinds:[Q6.kind],getEditsForAction:function(e,t){const{file:n,startPosition:r}=e,i=L6(n,r);un.assert(i&&!m6(i),"Expected applicable refactor info");const{expression:o,returnStatement:s,func:a}=i;let c;if(t===$6.name){const e=XS.createReturnStatement(o);c=XS.createBlock([e],!0),sZ(o,e,n,3,!0)}else if(t===Q6.name&&s){const e=o||XS.createVoidZero();c=dZ(e)?XS.createParenthesizedExpression(e):e,cZ(s,c,n,3,!1),sZ(s,c,n,3,!1),aZ(s,c,n,3,!1)}else un.fail("invalid action");const l=zde.ChangeTracker.with(e,(e=>{e.replaceNode(n,a.body,c)}));return{renameFilename:void 0,renameLocation:void 0,edits:l}},getAvailableActions:function(e){const{file:t,startPosition:n,triggerReason:r}=e,i=L6(t,n,"invoked"===r);if(!i)return a;if(!m6(i))return[{name:O6,description:q6,actions:[i.addBraces?$6:Q6]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:O6,description:q6,actions:[{...$6,notApplicableReason:i.error},{...Q6,notApplicableReason:i.error}]}];return a}});var M6={},j6="Convert arrow function or function expression",U6=Vb(us.Convert_arrow_function_or_function_expression),J6={name:"Convert to anonymous function",description:Vb(us.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},V6={name:"Convert to named function",description:Vb(us.Convert_to_named_function),kind:"refactor.rewrite.function.named"},H6={name:"Convert to arrow function",description:Vb(us.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"};function G6(e){let t=!1;return e.forEachChild((function e(n){_Y(n)?t=!0:du(n)||WI(n)||nI(n)||OP(n,e)})),t}function W6(e,t,n){const r=UY(e,t),i=n.getTypeChecker(),o=function(e,t,n){if(!function(e){return HI(e)||GI(e)&&1===e.declarations.length}(n))return;const r=(HI(n)?n:me(n.declarations)).initializer;if(r&&(rI(r)||nI(r)&&!Y6(e,t,r)))return r;return}(e,i,r.parent);if(o&&!G6(o.body)&&!i.containsArgumentsReference(o))return{selectedVariableDeclaration:!0,func:o};const s=W_(r);if(s&&(nI(s)||rI(s))&&!Kv(s.body,r)&&!G6(s.body)&&!i.containsArgumentsReference(s)){if(nI(s)&&Y6(e,i,s))return;return{selectedVariableDeclaration:!1,func:s}}}function z6(e){if(Ju(e)){const t=XS.createReturnStatement(e),n=e.getSourceFile();return aP(t,e),XX(t),cZ(e,t,n,void 0,!0),XS.createBlock([t],!0)}return e}function Y6(e,t,n){return!!n.name&&kce.Core.isSymbolReferencedInFile(n.name,t,e)}o3(j6,{kinds:[J6.kind,V6.kind,H6.kind],getEditsForAction:function(e,t){const{file:n,startPosition:r,program:i}=e,o=W6(n,r,i);if(!o)return;const{func:s}=o,a=[];switch(t){case J6.name:a.push(...function(e,t){const{file:n}=e,r=z6(t.body),i=XS.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,t.typeParameters,t.parameters,t.type,r);return zde.ChangeTracker.with(e,(e=>e.replaceNode(n,t,i)))}(e,s));break;case V6.name:const t=function(e){const t=e.parent;if(!HI(t)||!R_(t))return;const n=t.parent,r=n.parent;return GI(n)&&wI(r)&&UD(t.name)?{variableDeclaration:t,variableDeclarationList:n,statement:r,name:t.name}:void 0}(s);if(!t)return;a.push(...function(e,t,n){const{file:r}=e,i=z6(t.body),{variableDeclaration:o,variableDeclarationList:s,statement:a,name:c}=n;ZX(a);const u=32&ic(o)|Ly(t),d=XS.createModifiersFromModifierFlags(u),p=XS.createFunctionDeclaration(l(d)?d:void 0,t.asteriskToken,c,t.typeParameters,t.parameters,t.type,i);return 1===s.declarations.length?zde.ChangeTracker.with(e,(e=>e.replaceNode(r,a,p))):zde.ChangeTracker.with(e,(e=>{e.delete(r,o),e.insertNodeAfter(r,a,p)}))}(e,s,t));break;case H6.name:if(!nI(s))return;a.push(...function(e,t){const{file:n}=e,r=t.body.statements,i=r[0];let o;!function(e,t){return 1===e.statements.length&&QI(t)&&!!t.expression}(t.body,i)?o=t.body:(o=i.expression,XX(o),tZ(i,o));const s=XS.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,XS.createToken(39),o);return zde.ChangeTracker.with(e,(e=>e.replaceNode(n,t,s)))}(e,s));break;default:return un.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:a}},getAvailableActions:function(e){const{file:t,startPosition:n,program:r,kind:i}=e,o=W6(t,n,r);if(!o)return a;const{selectedVariableDeclaration:s,func:c}=o,l=[],u=[];if(h6(V6.kind,i)){const e=s||rI(c)&&HI(c.parent)?void 0:Vb(us.Could_not_convert_to_named_function);e?u.push({...V6,notApplicableReason:e}):l.push(V6)}if(h6(J6.kind,i)){const e=!s&&rI(c)?void 0:Vb(us.Could_not_convert_to_anonymous_function);e?u.push({...J6,notApplicableReason:e}):l.push(J6)}if(h6(H6.kind,i)){const e=nI(c)?void 0:Vb(us.Could_not_convert_to_arrow_function);e?u.push({...H6,notApplicableReason:e}):l.push(H6)}return[{name:j6,description:U6,actions:0===l.length&&e.preferences.provideRefactorNotApplicableReason?u:l}]}});var K6={},X6="Convert parameters to destructured object",Z6=Vb(us.Convert_parameters_to_destructured_object),e4={name:X6,description:Z6,kind:"refactor.rewrite.parameters.toDestructured"};function t4(e,t){const n=o5(e);if(n){const e=t.getContextualTypeForObjectLiteralElement(n),r=null==e?void 0:e.getSymbol();if(r&&!(6&ib(r)))return r}}function n4(e){const t=e.node;return _T(t.parent)||oT(t.parent)||rT(t.parent)||dT(t.parent)||AT(t.parent)||mT(t.parent)?t:void 0}function r4(e){if(ud(e.node.parent))return e.node}function i4(e){if(e.node.parent){const t=e.node,n=t.parent;switch(n.kind){case 213:case 214:const e=et(n,Ou);if(e&&e.expression===t)return e;break;case 211:const r=et(n,zw);if(r&&r.parent&&r.name===t){const e=et(r.parent,Ou);if(e&&e.expression===r)return e}break;case 212:const i=et(n,Yw);if(i&&i.parent&&i.argumentExpression===t){const e=et(i.parent,Ou);if(e&&e.expression===i)return e}}}}function o4(e){if(e.node.parent){const t=e.node,n=t.parent;switch(n.kind){case 211:const e=et(n,zw);if(e&&e.expression===t)return e;break;case 212:const r=et(n,Yw);if(r&&r.expression===t)return r}}}function s4(e){const t=e.node;if(2===Lz(t)||sv(t.parent))return t}function a4(e,t,n){const r=jY(e,t),i=z_(r);if(!function(e){const t=dc(e,Ed);if(t){const e=dc(t,(e=>!Ed(e)));return!!e&&ou(e)}return!1}(r))return!(i&&function(e,t){var n;if(!function(e,t){return function(e){if(p4(e))return e.length-1;return e.length}(e)>=1&&g(e,(e=>function(e,t){if(Qd(e)){const n=t.getTypeAtLocation(e);if(!t.isArrayType(n)&&!t.isTupleType(n))return!1}return!e.modifiers&&UD(e.name)}(e,t)))}(e.parameters,t))return!1;switch(e.kind){case 262:return u4(e)&&l4(e,t);case 174:if(Ww(e.parent)){const r=t4(e.name,t);return 1===(null==(n=null==r?void 0:r.declarations)?void 0:n.length)&&l4(e,t)}return l4(e,t);case 176:return zI(e.parent)?u4(e.parent)&&l4(e,t):d4(e.parent.parent)&&l4(e,t);case 218:case 219:return d4(e.parent)}return!1}(i,n)&&Kv(i,r))||i.body&&Kv(i.body,r)?void 0:i}function c4(e){return dw(e)&&(YI(e.parent)||Sw(e.parent))}function l4(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function u4(e){if(!e.name){return!!sX(e,90)}return!0}function d4(e){return HI(e)&&o_(e)&&UD(e.name)&&!e.type}function p4(e){return e.length>0&&_Y(e[0].name)}function f4(e){return p4(e)&&(e=XS.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function _4(e,t){const n=f4(e.parameters),r=Qd(Ae(n)),i=w(r?t.slice(0,n.length-1):t,((e,t)=>{const r=function(e,t){return UD(t)&&jg(t)===e?XS.createShorthandPropertyAssignment(e):XS.createPropertyAssignment(e,t)}(h4(n[t]),e);return XX(r.name),LT(r)&&XX(r.initializer),tZ(e,r),r}));if(r&&t.length>=n.length){const e=t.slice(n.length-1),r=XS.createPropertyAssignment(h4(Ae(n)),XS.createArrayLiteralExpression(e));i.push(r)}return XS.createObjectLiteralExpression(i,!1)}function m4(e,t,n){const r=t.getTypeChecker(),i=f4(e.parameters),o=w(i,(function(e){const t=XS.createBindingElement(void 0,void 0,h4(e),Qd(e)&&d(e)?XS.createArrayLiteralExpression():e.initializer);XX(t),e.initializer&&t.initializer&&tZ(e.initializer,t.initializer);return t})),s=XS.createObjectBindingPattern(o),a=function(e){const t=w(e,u);return ok(XS.createTypeLiteralNode(t),1)}(i);let c;g(i,d)&&(c=XS.createObjectLiteralExpression());const l=XS.createParameterDeclaration(void 0,void 0,s,void 0,a,c);if(p4(e.parameters)){const t=e.parameters[0],n=XS.createParameterDeclaration(void 0,void 0,t.name,void 0,t.type);return XX(n.name),tZ(t.name,n.name),t.type&&(XX(n.type),tZ(t.type,n.type)),XS.createNodeArray([n,l])}return XS.createNodeArray([l]);function u(e){let i=e.type;i||!e.initializer&&!Qd(e)||(i=function(e){const i=r.getTypeAtLocation(e);return yZ(i,e,t,n)}(e));const o=XS.createPropertySignature(void 0,h4(e),d(e)?XS.createToken(58):e.questionToken,i);return XX(o),tZ(e.name,o.name),e.type&&o.type&&tZ(e.type,o.type),o}function d(e){if(Qd(e)){const t=r.getTypeAtLocation(e);return!r.isTupleType(t)}return r.isOptionalParameter(e)}}function h4(e){return jg(e.name)}o3(X6,{kinds:[e4.kind],getEditsForAction:function(e,t){un.assert(t===X6,"Unexpected action name");const{file:n,startPosition:r,program:i,cancellationToken:o,host:s}=e,a=a4(n,r,i.getTypeChecker());if(!a||!o)return;const c=function(e,t,n){const r=function(e){switch(e.kind){case 262:if(e.name)return[e.name];return[un.checkDefined(sX(e,90),"Nameless function declaration should be a default export")];case 174:return[e.name];case 176:const t=un.checkDefined(IY(e,137,e.getSourceFile()),"Constructor declaration should have constructor keyword");if(231===e.parent.kind){return[e.parent.parent.name,t]}return[t];case 219:return[e.parent.name];case 218:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return un.assertNever(e,`Unexpected function declaration kind ${e.kind}`)}}(e),i=_w(e)?function(e){switch(e.parent.kind){case 263:const t=e.parent;if(t.name)return[t.name];return[un.checkDefined(sX(t,90),"Nameless class declaration should be a default export")];case 231:const n=e.parent,r=e.parent.parent,i=n.name;return i?[i,r.name]:[r.name]}}(e):[],o=Y([...r,...i],_t),s=t.getTypeChecker(),a=R(o,(e=>kce.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n))),c=l(a);g(c.declarations,(e=>C(o,e)))||(c.valid=!1);return c;function l(t){const n={accessExpressions:[],typeUsages:[]},o={functionCalls:[],declarations:[],classReferences:n,valid:!0},a=w(r,u),c=w(i,u),l=_w(e),d=w(r,(e=>t4(e,s)));for(const r of t){if(r.kind===kce.EntryKind.Span){o.valid=!1;continue}if(C(d,u(r.node))){if(c4(r.node.parent)){o.signature=r.node.parent;continue}const e=i4(r);if(e){o.functionCalls.push(e);continue}}const t=t4(r.node,s);if(t&&C(d,t)){const e=r4(r);if(e){o.declarations.push(e);continue}}if(C(a,u(r.node))||Uz(r.node)){if(n4(r))continue;const e=r4(r);if(e){o.declarations.push(e);continue}const t=i4(r);if(t){o.functionCalls.push(t);continue}}if(l&&C(c,u(r.node))){if(n4(r))continue;const t=r4(r);if(t){o.declarations.push(t);continue}const i=o4(r);if(i){n.accessExpressions.push(i);continue}if(zI(e.parent)){const e=s4(r);if(e){n.typeUsages.push(e);continue}}}o.valid=!1}return o}function u(e){const t=s.getSymbolAtLocation(e);return t&&jX(t,s)}}(a,i,o);if(c.valid){const t=zde.ChangeTracker.with(e,(e=>function(e,t,n,r,i,o){const s=o.signature,a=w(m4(i,t,n),(e=>GX(e)));if(s){l(s,w(m4(s,t,n),(e=>GX(e))))}l(i,a);const c=Z(o.functionCalls,((e,t)=>At(e.pos,t.pos)));for(const e of c)if(e.arguments&&e.arguments.length){const t=GX(_4(i,e.arguments),!0);r.replaceNodeRange(Ap(e),me(e.arguments),Ae(e.arguments),t,{leadingTriviaOption:zde.LeadingTriviaOption.IncludeAll,trailingTriviaOption:zde.TrailingTriviaOption.Include})}function l(t,n){r.replaceNodeRangeWithNodes(e,me(t.parameters),Ae(t.parameters),n,{joiner:", ",indentation:0,leadingTriviaOption:zde.LeadingTriviaOption.IncludeAll,trailingTriviaOption:zde.TrailingTriviaOption.Include})}}(n,i,s,e,a,c)));return{renameFilename:void 0,renameLocation:void 0,edits:t}}return{edits:[]}},getAvailableActions:function(e){const{file:t,startPosition:n}=e,r=Im(t);if(r)return a;const i=a4(t,n,e.program.getTypeChecker());return i?[{name:X6,description:Z6,actions:[e4]}]:a}});var g4={},A4="Convert to template string",y4=Vb(us.Convert_to_template_string),v4={name:A4,description:y4,kind:"refactor.rewrite.string"};function b4(e,t){const n=UY(e,t),r=E4(n);return!x4(r).isValidConcatenation&&tI(r.parent)&&uI(r.parent.parent)?r.parent.parent:n}function C4(e,t){const n=E4(t),r=e.file,i=function({nodes:e,operators:t},n){const r=S4(t,n),i=k4(e,n,r),[o,s,a,c]=w4(0,e);if(o===e.length){const e=XS.createNoSubstitutionTemplateLiteral(s,a);return i(c,e),e}const l=[],u=XS.createTemplateHead(s,a);i(c,u);for(let t=o;t{I4(e);const r=t===n.templateSpans.length-1,i=e.literal.text+(r?s:""),o=D4(e.literal)+(r?a:"");return XS.createTemplateSpan(e.expression,u&&r?XS.createTemplateTail(i,o):XS.createTemplateMiddle(i,o))}));l.push(...e)}else{const e=u?XS.createTemplateTail(s,a):XS.createTemplateMiddle(s,a);i(c,e),l.push(XS.createTemplateSpan(n,e))}}return XS.createTemplateExpression(u,l)}(x4(n),r),o=da(r.text,n.end);if(o){const t=o[o.length-1],s={pos:o[0].pos,end:t.end};return zde.ChangeTracker.with(e,(e=>{e.deleteRange(r,s),e.replaceNode(r,n,i)}))}return zde.ChangeTracker.with(e,(e=>e.replaceNode(r,n,i)))}function E4(e){const t=dc(e.parent,(e=>{switch(e.kind){case 211:case 212:return!1;case 228:case 226:return!(uI(e.parent)&&function(e){return!(64===e.operatorToken.kind||65===e.operatorToken.kind)}(e.parent));default:return"quit"}}));return t||e}function x4(e){const t=e=>{if(!uI(e))return{nodes:[e],operators:[],validOperators:!0,hasString:kD(e)||ID(e)};const{nodes:n,operators:r,hasString:i,validOperators:o}=t(e.left);if(!(i||kD(e.right)||pI(e.right)))return{nodes:[e],operators:[],hasString:!1,validOperators:!0};const s=40===e.operatorToken.kind,a=o&&s;return n.push(e.right),r.push(e.operatorToken),{nodes:n,operators:r,hasString:!0,validOperators:a}},{nodes:n,operators:r,validOperators:i,hasString:o}=t(e);return{nodes:n,operators:r,isValidConcatenation:i&&o}}o3(A4,{kinds:[v4.kind],getEditsForAction:function(e,t){const{file:n,startPosition:r}=e,i=b4(n,r);if(t===y4)return{edits:C4(e,i)};return un.fail("invalid action")},getAvailableActions:function(e){const{file:t,startPosition:n}=e,r=b4(t,n),i=E4(r),o=kD(i),s={name:A4,description:y4,actions:[]};if(o&&"invoked"!==e.triggerReason)return a;if(vm(i)&&(o||uI(i)&&x4(i).isValidConcatenation))return s.actions.push(v4),[s];if(e.preferences.provideRefactorNotApplicableReason)return s.actions.push({...v4,notApplicableReason:Vb(us.Can_only_convert_string_concatenations_and_string_literals)}),[s];return a}});var S4=(e,t)=>(n,r)=>{n(r,i)=>{for(;r.length>0;){const o=r.shift();aZ(e[o],i,t,3,!1),n(o,i)}};function D4(e){const t=TD(e)||FD(e)?-2:-1;return zp(e).slice(1,t)}function w4(e,t){const n=[];let r="",i="";for(;e"\\"===e[0]?e:"\\"+e)),n.push(e),e++}return[e,r,i,n]}function I4(e){const t=e.getSourceFile();aZ(e,e.expression,t,3,!1),cZ(e.expression,e.expression,t,3,!1)}function T4(e){return tI(e)&&(I4(e),e=e.expression),e}var F4={},R4="Convert to optional chain expression",P4=Vb(us.Convert_to_optional_chain_expression),N4={name:R4,description:P4,kind:"refactor.rewrite.expression.optionalChain"};function B4(e){return uI(e)||dI(e)}function O4(e){return B4(e)||function(e){return TI(e)||QI(e)||wI(e)}(e)}function q4(e,t=!0){const{file:n,program:r}=e,i=jZ(e),o=0===i.length;if(o&&!t)return;const s=UY(n,i.start),a=HY(n,i.start+i.length),c=Ha(s.pos,a&&a.end>=s.pos?a.getEnd():s.getEnd()),l=o?function(e){for(;e.parent;){if(O4(e)&&!O4(e.parent))return e;e=e.parent}return}(s):function(e,t){for(;e.parent;){if(O4(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}return}(s,c),u=l&&O4(l)?function(e){if(B4(e))return e;if(wI(e)){const t=Rh(e),n=null==t?void 0:t.initializer;return n&&B4(n)?n:void 0}return e.expression&&B4(e.expression)?e.expression:void 0}(l):void 0;if(!u)return{error:Vb(us.Could_not_find_convertible_access_expression)};const d=r.getTypeChecker();return dI(u)?function(e,t){const n=e.condition,r=M4(e.whenTrue);if(!r||t.isNullableType(t.getTypeAtLocation(r)))return{error:Vb(us.Could_not_find_convertible_access_expression)};if((zw(n)||UD(n))&&Q4(n,r.expression))return{finalExpression:r,occurrences:[n],expression:e};if(uI(n)){const t=$4(r.expression,n);return t?{finalExpression:r,occurrences:t,expression:e}:{error:Vb(us.Could_not_find_matching_access_expressions)}}}(u,d):function(e){if(56!==e.operatorToken.kind)return{error:Vb(us.Can_only_convert_logical_AND_access_chains)};const t=M4(e.right);if(!t)return{error:Vb(us.Could_not_find_convertible_access_expression)};const n=$4(t.expression,e.left);return n?{finalExpression:t,occurrences:n,expression:e}:{error:Vb(us.Could_not_find_matching_access_expressions)}}(u)}function $4(e,t){const n=[];for(;uI(t)&&56===t.operatorToken.kind;){const r=Q4(sg(e),sg(t.right));if(!r)break;n.push(r),e=r,t=t.left}const r=Q4(e,t);return r&&n.push(r),n.length>0?n:void 0}function Q4(e,t){if(UD(t)||zw(t)||Yw(t))return function(e,t){for(;(Kw(e)||zw(e)||Yw(e))&&L4(e)!==L4(t);)e=e.expression;for(;zw(e)&&zw(t)||Yw(e)&&Yw(t);){if(L4(e)!==L4(t))return!1;e=e.expression,t=t.expression}return UD(e)&&UD(t)&&e.getText()===t.getText()}(e,t)?t:void 0}function L4(e){return UD(e)||Og(e)?e.getText():zw(e)?L4(e.name):Yw(e)?L4(e.argumentExpression):void 0}function M4(e){return uI(e=sg(e))?M4(e.left):(zw(e)||Yw(e)||Kw(e))&&!gl(e)?e:void 0}function j4(e,t,n){if(zw(t)||Yw(t)||Kw(t)){const r=j4(e,t.expression,n),i=n.length>0?n[n.length-1]:void 0,o=(null==i?void 0:i.getText())===t.expression.getText();if(o&&n.pop(),Kw(t))return o?XS.createCallChain(r,XS.createToken(29),t.typeArguments,t.arguments):XS.createCallChain(r,t.questionDotToken,t.typeArguments,t.arguments);if(zw(t))return o?XS.createPropertyAccessChain(r,XS.createToken(29),t.name):XS.createPropertyAccessChain(r,t.questionDotToken,t.name);if(Yw(t))return o?XS.createElementAccessChain(r,XS.createToken(29),t.argumentExpression):XS.createElementAccessChain(r,t.questionDotToken,t.argumentExpression)}return t}o3(R4,{kinds:[N4.kind],getEditsForAction:function(e,t){const n=q4(e);un.assert(n&&!m6(n),"Expected applicable refactor info");const r=zde.ChangeTracker.with(e,(t=>function(e,t,n,r){const{finalExpression:i,occurrences:o,expression:s}=r,a=o[o.length-1],c=j4(t,i,o);c&&(zw(c)||Yw(c)||Kw(c))&&(uI(s)?n.replaceNodeRange(e,a,i,c):dI(s)&&n.replaceNode(e,s,XS.createBinaryExpression(c,XS.createToken(61),s.whenFalse)))}(e.file,e.program.getTypeChecker(),t,n)));return{edits:r,renameFilename:void 0,renameLocation:void 0}},getAvailableActions:function(e){const t=q4(e,"invoked"===e.triggerReason);if(!t)return a;if(!m6(t))return[{name:R4,description:P4,actions:[N4]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:R4,description:P4,actions:[{...N4,notApplicableReason:t.error}]}];return a}});var U4={};n(U4,{Messages:()=>J4,RangeFacts:()=>Y4,getRangeToExtract:()=>K4,getRefactorActionsToExtractSymbol:()=>W4,getRefactorEditsToExtractSymbol:()=>z4});var J4,V4="Extract Symbol",H4={name:"Extract Constant",description:Vb(us.Extract_constant),kind:"refactor.extract.constant"},G4={name:"Extract Function",description:Vb(us.Extract_function),kind:"refactor.extract.function"};function W4(e){const t=e.kind,n=K4(e.file,jZ(e),"invoked"===e.triggerReason),r=n.targetRange;if(void 0===r){if(!n.errors||0===n.errors.length||!e.preferences.provideRefactorNotApplicableReason)return a;const r=[];return h6(G4.kind,t)&&r.push({name:V4,description:G4.description,actions:[{...G4,notApplicableReason:m(n.errors)}]}),h6(H4.kind,t)&&r.push({name:V4,description:H4.description,actions:[{...H4,notApplicableReason:m(n.errors)}]}),r}const{affectedTextRange:i,extractions:o}=function(e,t){const{scopes:n,affectedTextRange:r,readsAndWrites:{functionErrorsPerScope:i,constantErrorsPerScope:o}}=e8(e,t),s=n.map(((e,t)=>{const n=function(e){return ou(e)?"inner function":du(e)?"method":"function"}(e),r=function(e){return du(e)?"readonly field":"constant"}(e),s=ou(e)?function(e){switch(e.kind){case 176:return"constructor";case 218:case 262:return e.name?`function '${e.name.text}'`:AZ;case 219:return"arrow function";case 174:return`method '${e.name.getText()}'`;case 177:return`'get ${e.name.getText()}'`;case 178:return`'set ${e.name.getText()}'`;default:un.assertNever(e,`Unexpected scope kind ${e.kind}`)}}(e):du(e)?function(e){return 263===e.kind?e.name?`class '${e.name.text}'`:"anonymous class declaration":e.name?`class expression '${e.name.text}'`:"anonymous class expression"}(e):function(e){return 268===e.kind?`namespace '${e.parent.name.getText()}'`:e.externalModuleIndicator?0:1}(e);let a,c;return 1===s?(a=jb(Vb(us.Extract_to_0_in_1_scope),[n,"global"]),c=jb(Vb(us.Extract_to_0_in_1_scope),[r,"global"])):0===s?(a=jb(Vb(us.Extract_to_0_in_1_scope),[n,"module"]),c=jb(Vb(us.Extract_to_0_in_1_scope),[r,"module"])):(a=jb(Vb(us.Extract_to_0_in_1),[n,s]),c=jb(Vb(us.Extract_to_0_in_1),[r,s])),0!==t||du(e)||(c=jb(Vb(us.Extract_to_0_in_enclosing_scope),[r])),{functionExtraction:{description:a,errors:i[t]},constantExtraction:{description:c,errors:o[t]}}}));return{affectedTextRange:r,extractions:s}}(r,e);if(void 0===o)return a;const s=[],c=new Map;let l;const u=[],d=new Map;let p,f=0;for(const{functionExtraction:n,constantExtraction:r}of o){if(h6(G4.kind,t)){const t=n.description;0===n.errors.length?c.has(t)||(c.set(t,!0),s.push({description:t,name:`function_scope_${f}`,kind:G4.kind,range:{start:{line:Ms(e.file,i.pos).line,offset:Ms(e.file,i.pos).character},end:{line:Ms(e.file,i.end).line,offset:Ms(e.file,i.end).character}}})):l||(l={description:t,name:`function_scope_${f}`,notApplicableReason:m(n.errors),kind:G4.kind})}if(h6(H4.kind,t)){const t=r.description;0===r.errors.length?d.has(t)||(d.set(t,!0),u.push({description:t,name:`constant_scope_${f}`,kind:H4.kind,range:{start:{line:Ms(e.file,i.pos).line,offset:Ms(e.file,i.pos).character},end:{line:Ms(e.file,i.end).line,offset:Ms(e.file,i.end).character}}})):p||(p={description:t,name:`constant_scope_${f}`,notApplicableReason:m(r.errors),kind:H4.kind})}f++}const _=[];return s.length?_.push({name:V4,description:Vb(us.Extract_function),actions:s}):e.preferences.provideRefactorNotApplicableReason&&l&&_.push({name:V4,description:Vb(us.Extract_function),actions:[l]}),u.length?_.push({name:V4,description:Vb(us.Extract_constant),actions:u}):e.preferences.provideRefactorNotApplicableReason&&p&&_.push({name:V4,description:Vb(us.Extract_constant),actions:[p]}),_.length?_:a;function m(e){let t=e[0].messageText;return"string"!=typeof t&&(t=t.messageText),t}}function z4(e,t){const n=K4(e.file,jZ(e)).targetRange,r=/^function_scope_(\d+)$/.exec(t);if(r){const t=+r[1];return un.assert(isFinite(t),"Expected to parse a finite number from the function scope index"),function(e,t,n){const{scopes:r,readsAndWrites:{target:i,usagesPerScope:o,functionErrorsPerScope:s,exposedVariableDeclarations:c}}=e8(e,t);return un.assert(!s[n].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),function(e,t,{usages:n,typeParameterUsages:r,substitutions:i},o,s,c){const l=c.program.getTypeChecker(),u=yC(c.program.getCompilerOptions()),d=R5.createImportAdder(c.file,c.program,c.preferences,c.host),p=t.getSourceFile(),f=iZ(du(t)?"newMethod":"newFunction",p),_=Tm(t),m=XS.createIdentifier(f);let h;const g=[],y=[];let v;n.forEach(((e,n)=>{let r;if(!_){let n=l.getTypeOfSymbolAtLocation(e.symbol,e.node);n=l.getBaseTypeOfLiteralType(n),r=R5.typeToAutoImportableTypeNode(l,d,n,t,u,1,8)}const i=XS.createParameterDeclaration(void 0,void 0,n,void 0,r);g.push(i),2===e.usage&&(v||(v=[])).push(e),y.push(XS.createIdentifier(n))}));const b=Pe(r.values(),(e=>({type:e,declaration:t8(e,c.startPosition)})));b.sort(n8);const C=0===b.length?void 0:q(b,(({declaration:e})=>e)),E=void 0!==C?C.map((e=>XS.createTypeReferenceNode(e.name,void 0))):void 0;if(Ju(e)&&!_){const n=l.getContextualType(e);h=l.typeToTypeNode(n,t,1,8)}const{body:x,returnValueProperty:S}=function(e,t,n,r,i){const o=void 0!==n||t.length>0;if(DI(e)&&!o&&0===r.size)return{body:XS.createBlock(e.statements,!0),returnValueProperty:void 0};let s,a=!1;const c=XS.createNodeArray(DI(e)?e.statements.slice(0):[fd(e)?e:XS.createReturnStatement(sg(e))]);if(o||r.size){const r=tL(c,l,fd).slice();if(o&&!i&&fd(e)){const e=r8(t,n);1===e.length?r.push(XS.createReturnStatement(e[0].name)):r.push(XS.createReturnStatement(XS.createObjectLiteralExpression(e)))}return{body:XS.createBlock(r,!0),returnValueProperty:s}}return{body:XS.createBlock(c,!0),returnValueProperty:void 0};function l(e){if(!a&&QI(e)&&o){const r=r8(t,n);return e.expression&&(s||(s="__return"),r.unshift(XS.createPropertyAssignment(s,eL(e.expression,l,Ju)))),1===r.length?XS.createReturnStatement(r[0].name):XS.createReturnStatement(XS.createObjectLiteralExpression(r))}{const t=a;a=a||ou(e)||du(e);const n=r.get(JQ(e).toString()),i=n?GX(n):uL(e,l,void 0);return a=t,i}}}(e,o,v,i,!!(1&s.facts));let k;XX(x);const D=!!(16&s.facts);if(du(t)){const e=_?[]:[XS.createModifier(123)];32&s.facts&&e.push(XS.createModifier(126)),4&s.facts&&e.push(XS.createModifier(134)),k=XS.createMethodDeclaration(e.length?e:void 0,2&s.facts?XS.createToken(42):void 0,m,void 0,C,g,h,x)}else D&&g.unshift(XS.createParameterDeclaration(void 0,void 0,"this",void 0,l.typeToTypeNode(l.getTypeAtLocation(s.thisNode),t,1,8),void 0)),k=XS.createFunctionDeclaration(4&s.facts?[XS.createToken(134)]:void 0,2&s.facts?XS.createToken(42):void 0,m,C,g,h,x);const w=zde.ChangeTracker.fromContext(c),I=(i8(s.range)?Ae(s.range):s.range).end,T=function(e,t){return A(function(e){if(ou(e)){const t=e.body;if(DI(t))return t.statements}else{if(eT(e)||JT(e))return e.statements;if(du(e))return e.members}return a}(t),(t=>t.pos>=e&&ou(t)&&!_w(t)))}(I,t);T?w.insertNodeBefore(c.file,T,k,!0):w.insertNodeAtEndOfScope(c.file,t,k);d.writeFixes(w);const F=[],R=function(e,t,n){const r=XS.createIdentifier(n);if(du(e)){const n=32&t.facts?XS.createIdentifier(e.name.text):XS.createThis();return XS.createPropertyAccessExpression(n,r)}return r}(t,s,f);D&&y.unshift(XS.createIdentifier("this"));let P=XS.createCallExpression(D?XS.createPropertyAccessExpression(R,"call"):R,E,y);2&s.facts&&(P=XS.createYieldExpression(XS.createToken(42),P));4&s.facts&&(P=XS.createAwaitExpression(P));s8(e)&&(P=XS.createJsxExpression(void 0,P));if(o.length&&!v)if(un.assert(!S,"Expected no returnValueProperty"),un.assert(!(1&s.facts),"Expected RangeFacts.HasReturn flag to be unset"),1===o.length){const e=o[0];F.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(GX(e.name),void 0,GX(e.type),P)],e.parent.flags)))}else{const e=[],n=[];let r=o[0].parent.flags,i=!1;for(const s of o){e.push(XS.createBindingElement(void 0,void 0,GX(s.name)));const o=l.typeToTypeNode(l.getBaseTypeOfLiteralType(l.getTypeAtLocation(s)),t,1,8);n.push(XS.createPropertySignature(void 0,s.symbol.name,void 0,o)),i=i||void 0!==s.type,r&=s.parent.flags}const s=i?XS.createTypeLiteralNode(n):void 0;s&&ik(s,1),F.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(XS.createObjectBindingPattern(e),void 0,s,P)],r)))}else if(o.length||v){if(o.length)for(const e of o){let t=e.parent.flags;2&t&&(t=-3&t|1),F.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(e.symbol.name,void 0,Q(e.type))],t)))}S&&F.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(S,void 0,Q(h))],1)));const e=r8(o,v);S&&e.unshift(XS.createShorthandPropertyAssignment(S)),1===e.length?(un.assert(!S,"Shouldn't have returnValueProperty here"),F.push(XS.createExpressionStatement(XS.createAssignment(e[0].name,P))),1&s.facts&&F.push(XS.createReturnStatement())):(F.push(XS.createExpressionStatement(XS.createAssignment(XS.createObjectLiteralExpression(e),P))),S&&F.push(XS.createReturnStatement(XS.createIdentifier(S))))}else 1&s.facts?F.push(XS.createReturnStatement(P)):i8(s.range)?F.push(XS.createExpressionStatement(P)):F.push(P);i8(s.range)?w.replaceNodeRangeWithNodes(c.file,me(s.range),Ae(s.range),F):w.replaceNodeWithNodes(c.file,s.range,F);const N=w.getChanges(),B=i8(s.range)?me(s.range):s.range,O=B.getSourceFile().fileName,$=oZ(N,O,f,!1);return{renameFilename:O,renameLocation:$,edits:N};function Q(e){if(void 0===e)return;const t=GX(e);let n=t;for(;Bw(n);)n=n.type;return Fw(n)&&A(n.types,(e=>157===e.kind))?t:XS.createUnionTypeNode([t,XS.createKeywordTypeNode(157)])}}(i,r[n],o[n],c,e,t)}(n,e,t)}const i=/^constant_scope_(\d+)$/.exec(t);if(i){const t=+i[1];return un.assert(isFinite(t),"Expected to parse a finite number from the constant scope index"),function(e,t,n){const{scopes:r,readsAndWrites:{target:i,usagesPerScope:o,constantErrorsPerScope:s,exposedVariableDeclarations:a}}=e8(e,t);un.assert(!s[n].length,"The extraction went missing? How?"),un.assert(0===a.length,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested();return function(e,t,{substitutions:n},r,i){const o=i.program.getTypeChecker(),s=t.getSourceFile(),a=g6(e,t,o,s),c=Tm(t);let l=c||!o.isContextSensitive(e)?void 0:o.typeToTypeNode(o.getContextualType(e),t,1,8),u=function(e,t){return t.size?n(e):e;function n(e){const r=t.get(JQ(e).toString());return r?GX(r):uL(e,n,void 0)}}(sg(e),n);({variableType:l,initializer:u}=m(l,u)),XX(u);const d=zde.ChangeTracker.fromContext(i);if(du(t)){un.assert(!c,"Cannot extract to a JS class");const n=[];n.push(XS.createModifier(123)),32&r&&n.push(XS.createModifier(126)),n.push(XS.createModifier(148));const o=XS.createPropertyDeclaration(n,a,void 0,l,u);let s=XS.createPropertyAccessExpression(32&r?XS.createIdentifier(t.name.getText()):XS.createThis(),XS.createIdentifier(a));s8(e)&&(s=XS.createJsxExpression(void 0,s));const p=function(e,t){const n=t.members;let r;un.assert(n.length>0,"Found no members");let i=!0;for(const t of n){if(t.pos>e)return r||n[0];if(i&&!uw(t)){if(void 0!==r)return t;i=!1}r=t}return void 0===r?un.fail():r}(e.pos,t);d.insertNodeBefore(i.file,p,o,!0),d.replaceNode(i.file,e,s)}else{const n=XS.createVariableDeclaration(a,void 0,l,u),r=function(e,t){let n;for(;void 0!==e&&e!==t;){if(HI(e)&&e.initializer===n&&GI(e.parent)&&e.parent.declarations.length>1)return e;n=e,e=e.parent}}(e,t);if(r){d.insertNodeBefore(i.file,r,n);const t=XS.createIdentifier(a);d.replaceNode(i.file,e,t)}else if(244===e.parent.kind&&t===dc(e,Z4)){const t=XS.createVariableStatement(void 0,XS.createVariableDeclarationList([n],2));d.replaceNode(i.file,e.parent,t)}else{const r=XS.createVariableStatement(void 0,XS.createVariableDeclarationList([n],2)),o=function(e,t){let n;un.assert(!du(t));for(let r=e;r!==t;r=r.parent)Z4(r)&&(n=r);for(let r=(n||e).parent;;r=r.parent){if(a0(r)){let t;for(const n of r.statements){if(n.pos>e.pos)break;t=n}return!t&&OT(r)?(un.assert(MI(r.parent.parent),"Grandparent isn't a switch statement"),r.parent.parent):un.checkDefined(t,"prevStatement failed to get set")}un.assert(r!==t,"Didn't encounter a block-like before encountering scope")}}(e,t);if(0===o.pos?d.insertNodeAtTopOfFile(i.file,r,!1):d.insertNodeBefore(i.file,o,r,!1),244===e.parent.kind)d.delete(i.file,e.parent);else{let t=XS.createIdentifier(a);s8(e)&&(t=XS.createJsxExpression(void 0,t)),d.replaceNode(i.file,e,t)}}}const p=d.getChanges(),f=e.getSourceFile().fileName,_=oZ(p,f,a,!0);return{renameFilename:f,renameLocation:_,edits:p};function m(n,r){if(void 0===n)return{variableType:n,initializer:r};if(!nI(r)&&!rI(r)||r.typeParameters)return{variableType:n,initializer:r};const i=o.getTypeAtLocation(e),s=ye(o.getSignaturesOfType(i,0));if(!s)return{variableType:n,initializer:r};if(s.getTypeParameters())return{variableType:n,initializer:r};const a=[];let c=!1;for(const e of r.parameters)if(e.type)a.push(e);else{const n=o.getTypeAtLocation(e);n===o.getAnyType()&&(c=!0),a.push(XS.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type||o.typeToTypeNode(n,t,1,8),e.initializer))}if(c)return{variableType:n,initializer:r};if(n=void 0,rI(r))r=XS.updateArrowFunction(r,cP(e)?wc(e):void 0,r.typeParameters,a,r.type||o.typeToTypeNode(s.getReturnType(),t,1,8),r.equalsGreaterThanToken,r.body);else{if(s&&s.thisParameter){const n=fe(a);if(!n||UD(n.name)&&"this"!==n.name.escapedText){const n=o.getTypeOfSymbolAtLocation(s.thisParameter,e);a.splice(0,0,XS.createParameterDeclaration(void 0,void 0,"this",void 0,o.typeToTypeNode(n,t,1,8)))}}r=XS.updateFunctionExpression(r,cP(e)?wc(e):void 0,r.asteriskToken,r.name,r.typeParameters,a,r.type||o.typeToTypeNode(s.getReturnType(),t,1),r.body)}return{variableType:n,initializer:r}}}(Ju(i)?i:i.statements[0].expression,r[n],o[n],e.facts,t)}(n,e,t)}un.fail("Unrecognized action name")}o3(V4,{kinds:[H4.kind,G4.kind],getEditsForAction:z4,getAvailableActions:W4}),(e=>{function t(e){return{message:e,code:0,category:3,key:e}}e.cannotExtractRange=t("Cannot extract range."),e.cannotExtractImport=t("Cannot extract import statement."),e.cannotExtractSuper=t("Cannot extract super call."),e.cannotExtractJSDoc=t("Cannot extract JSDoc."),e.cannotExtractEmpty=t("Cannot extract empty range."),e.expressionExpected=t("expression expected."),e.uselessConstantType=t("No reason to extract constant of type."),e.statementOrExpressionExpected=t("Statement or expression expected."),e.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),e.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),e.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),e.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),e.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),e.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),e.cannotExtractIdentifier=t("Select more than a single identifier."),e.cannotExtractExportedEntity=t("Cannot extract exported declaration"),e.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),e.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),e.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),e.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),e.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),e.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block"),e.cannotExtractFunctionsContainingThisToMethod=t("Cannot extract functions containing this to method")})(J4||(J4={}));var Y4=(e=>(e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.UsesThisInFunction=16]="UsesThisInFunction",e[e.InStaticRegion=32]="InStaticRegion",e))(Y4||{});function K4(e,t,n=!0){const{length:r}=t;if(0===r&&!n)return{errors:[Yb(e,t.start,r,J4.cannotExtractEmpty)]};const i=0===r&&n,o=VY(e,t.start),s=HY(e,Ia(t)),a=o&&s&&n?function(e,t,n){const r=e.getStart(n);let i=t.getEnd();59===n.text.charCodeAt(i)&&i++;return{start:r,length:i-r}}(o,s,e):t,c=i?function(e){return dc(e,(e=>e.parent&&o8(e)&&!uI(e.parent)))}(o):iX(o,e,a),l=i?c:iX(s,e,a);let u,d=0;if(!c||!l)return{errors:[Yb(e,t.start,r,J4.cannotExtractRange)]};if(16777216&c.flags)return{errors:[Yb(e,t.start,r,J4.cannotExtractJSDoc)]};if(c.parent!==l.parent)return{errors:[Yb(e,t.start,r,J4.cannotExtractRange)]};if(c!==l){if(!a0(c.parent))return{errors:[Yb(e,t.start,r,J4.cannotExtractRange)]};const n=[];for(const e of c.parent.statements){if(e===c||n.length){const t=_(e);if(t)return{errors:t};n.push(e)}if(e===l)break}return n.length?{targetRange:{range:n,facts:d,thisNode:u}}:{errors:[Yb(e,t.start,r,J4.cannotExtractRange)]}}if(QI(c)&&!c.expression)return{errors:[Yb(e,t.start,r,J4.cannotExtractRange)]};const p=function(e){if(QI(e)){if(e.expression)return e.expression}else if(wI(e)||GI(e)){const t=wI(e)?e.declarationList.declarations:e.declarations;let n,r=0;for(const e of t)e.initializer&&(r++,n=e.initializer);if(1===r)return n}else if(HI(e)&&e.initializer)return e.initializer;return e}(c),f=function(e){if(UD(TI(e)?e.expression:e))return[$f(e,J4.cannotExtractIdentifier)];return}(p)||_(p);return f?{errors:f}:{targetRange:{range:X4(p),facts:d,thisNode:u}};function _(e){let n;var r;if((r=n||(n={}))[r.None=0]="None",r[r.Break=1]="Break",r[r.Continue=2]="Continue",r[r.Return=4]="Return",un.assert(e.pos<=e.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),un.assert(!YE(e.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(fd(e)||vm(e)&&o8(e)||a8(e)))return[$f(e,J4.statementOrExpressionExpected)];if(33554432&e.flags)return[$f(e,J4.cannotExtractAmbientBlock)];const i=Y_(e);let o;i&&function(e,t){let n=e;for(;n!==t;){if(172===n.kind){Iy(n)&&(d|=32);break}if(169===n.kind){176===W_(n).kind&&(d|=32);break}174===n.kind&&Iy(n)&&(d|=32),n=n.parent}}(e,i);let s,a=4;if(function e(n){if(o)return!0;if(ud(n)){if(wy(260===n.kind?n.parent.parent:n,32))return(o||(o=[])).push($f(n,J4.cannotExtractExportedEntity)),!0}switch(n.kind){case 272:return(o||(o=[])).push($f(n,J4.cannotExtractImport)),!0;case 277:return(o||(o=[])).push($f(n,J4.cannotExtractExportedEntity)),!0;case 108:if(213===n.parent.kind){const e=Y_(n);if(void 0===e||e.pos=t.start+t.length)return(o||(o=[])).push($f(n,J4.cannotExtractSuper)),!0}else d|=8,u=n;break;case 219:OP(n,(function e(t){if(_Y(t))d|=8,u=n;else{if(du(t)||ru(t)&&!rI(t))return!1;OP(t,e)}}));case 263:case 262:JT(n.parent)&&void 0===n.parent.externalModuleIndicator&&(o||(o=[])).push($f(n,J4.functionWillNotBeVisibleInTheNewScope));case 231:case 218:case 174:case 176:case 177:case 178:return!1}const r=a;switch(n.kind){case 245:a&=-5;break;case 258:a=0;break;case 241:n.parent&&258===n.parent.kind&&n.parent.finallyBlock===n&&(a=4);break;case 297:case 296:a|=1;break;default:Hu(n,!1)&&(a|=3)}switch(n.kind){case 197:case 110:d|=8,u=n;break;case 256:{const t=n.label;(s||(s=[])).push(t.escapedText),OP(n,e),s.pop();break}case 252:case 251:{const e=n.label;e?C(s,e.escapedText)||(o||(o=[])).push($f(n,J4.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):a&(252===n.kind?1:2)||(o||(o=[])).push($f(n,J4.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 223:d|=4;break;case 229:d|=2;break;case 253:4&a?d|=1:(o||(o=[])).push($f(n,J4.cannotExtractRangeContainingConditionalReturnStatement));break;default:OP(n,e)}a=r}(e),8&d){const t=em(e,!1,!1);(262===t.kind||174===t.kind&&210===t.parent.kind||218===t.kind)&&(d|=16)}return o}}function X4(e){return fd(e)?[e]:vm(e)?TI(e.parent)?[e.parent]:e:a8(e)?e:void 0}function Z4(e){return rI(e)?Zu(e.body):ou(e)||JT(e)||eT(e)||du(e)}function e8(e,t){const{file:n}=t,r=function(e){let t=i8(e.range)?me(e.range):e.range;if(8&e.facts&&!(16&e.facts)){const e=Y_(t);if(e){const n=dc(t,ou);return n?[n,e]:[e]}}const n=[];for(;;)if(t=t.parent,169===t.kind&&(t=dc(t,(e=>ou(e))).parent),Z4(t)&&(n.push(t),307===t.kind))return n}(e),i=function(e,t){return i8(e.range)?{pos:me(e.range).getStart(t),end:Ae(e.range).getEnd()}:e.range}(e,n),o=function(e,t,n,r,i,o){const s=new Map,a=[],c=[],l=[],u=[],d=[],p=new Map,f=[];let _;const m=i8(e.range)?1===e.range.length&&TI(e.range[0])?e.range[0].expression:void 0:e.range;let h;if(void 0===m){const t=e.range,n=me(t).getStart(),i=Ae(t).end;h=Yb(r,n,i-n,J4.expressionExpected)}else 147456&i.getTypeAtLocation(m).flags&&(h=$f(m,J4.uselessConstantType));for(const e of t){a.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),c.push(new Map),l.push([]);const t=[];h&&t.push(h),du(e)&&Tm(e)&&t.push($f(e,J4.cannotExtractToJSClass)),rI(e)&&!DI(e.body)&&t.push($f(e,J4.cannotExtractToExpressionArrowFunction)),u.push(t)}const g=new Map,y=i8(e.range)?XS.createBlock(e.range):e.range,v=i8(e.range)?me(e.range):e.range,b=C(v);if(x(y),b&&!i8(e.range)&&!FT(e.range)){E(i.getContextualType(e.range))}if(s.size>0){const e=new Map;let n=0;for(let r=v;void 0!==r&&n{a[n].typeParameterUsages.set(t,e)})),n++),bf(r))for(const t of ul(r)){const n=i.getTypeAtLocation(t);s.has(n.id.toString())&&e.set(n.id.toString(),n)}un.assert(n===t.length,"Should have iterated all scopes")}if(d.length){OP(vf(t[0],t[0].parent)?t[0]:Tf(t[0]),D)}for(let n=0;n0&&(r.usages.size>0||r.typeParameterUsages.size>0)){const t=i8(e.range)?e.range[0]:e.range;u[n].push($f(t,J4.cannotAccessVariablesFromNestedScopes))}16&e.facts&&du(t[n])&&l[n].push($f(e.thisNode,J4.cannotExtractFunctionsContainingThisToMethod));let i,o=!1;if(a[n].usages.forEach((e=>{2===e.usage&&(o=!0,106500&e.symbol.flags&&e.symbol.valueDeclaration&&Dy(e.symbol.valueDeclaration,8)&&(i=e.symbol.valueDeclaration))})),un.assert(i8(e.range)||0===f.length,"No variable declarations expected if something was extracted"),o&&!i8(e.range)){const t=$f(e.range,J4.cannotWriteInExpression);l[n].push(t),u[n].push(t)}else if(i&&n>0){const e=$f(i,J4.cannotExtractReadonlyPropertyInitializerOutsideConstructor);l[n].push(e),u[n].push(e)}else if(_){const e=$f(_,J4.cannotExtractExportedEntity);l[n].push(e),u[n].push(e)}}return{target:y,usagesPerScope:a,functionErrorsPerScope:l,constantErrorsPerScope:u,exposedVariableDeclarations:f};function C(e){return!!dc(e,(e=>bf(e)&&0!==ul(e).length))}function E(e){const t=i.getSymbolWalker((()=>(o.throwIfCancellationRequested(),!0))),{visitedTypes:n}=t.walkType(e);for(const e of n)e.isTypeParameter()&&s.set(e.id.toString(),e)}function x(e,t=1){if(b){E(i.getTypeAtLocation(e))}if(ud(e)&&e.symbol&&d.push(e),iv(e))x(e.left,2),x(e.right);else if(ju(e))x(e.operand,2);else if(zw(e)||Yw(e))OP(e,x);else if(UD(e)){if(!e.parent)return;if(iw(e.parent)&&e!==e.parent.left)return;if(zw(e.parent)&&e!==e.parent.expression)return;S(e,t,S_(e))}else OP(e,x)}function S(e,n,r){const i=k(e,n,r);if(i)for(let n=0;n=s)return f;if(g.set(f,s),_){for(const e of a){e.usages.get(o.text)&&e.usages.set(o.text,{usage:s,symbol:p,node:o})}return f}const m=p.getDeclarations(),h=m&&A(m,(e=>e.getSourceFile()===r));if(h&&!vY(n,h.getStart(),h.end)){if(2&e.facts&&2===s){const e=$f(o,J4.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const t of l)t.push(e);for(const t of u)t.push(e)}for(let e=0;ee.symbol===n));if(e)if(HI(e)){const t=e.symbol.id.toString();p.has(t)||(f.push(e),p.set(t,!0))}else _=_||e}OP(t,D)}function w(e){return e.parent&&MT(e.parent)&&e.parent.name===e?i.getShorthandAssignmentValueSymbol(e.parent):i.getSymbolAtLocation(e)}function I(e,t,n){if(!e)return;const r=e.getDeclarations();if(r&&r.some((e=>e.parent===t)))return XS.createIdentifier(e.name);const i=I(e.parent,t,n);return void 0!==i?n?XS.createQualifiedName(i,XS.createIdentifier(e.name)):XS.createPropertyAccessExpression(i,e.name):void 0}}(e,r,i,n,t.program.getTypeChecker(),t.cancellationToken);return{scopes:r,affectedTextRange:i,readsAndWrites:o}}function t8(e,t){let n;const r=e.symbol;if(r&&r.declarations)for(const e of r.declarations)(void 0===n||e.posXS.createShorthandPropertyAssignment(e.symbol.name))),r=w(t,(e=>XS.createShorthandPropertyAssignment(e.symbol.name)));return void 0===n?r:void 0===r?n:n.concat(r)}function i8(e){return Ye(e)}function o8(e){const{parent:t}=e;if(306===t.kind)return!1;switch(e.kind){case 11:return 272!==t.kind&&276!==t.kind;case 230:case 206:case 208:return!1;case 80:return 208!==t.kind&&276!==t.kind&&281!==t.kind}return!0}function s8(e){return a8(e)||(xT(e)||ST(e)||wT(e))&&(xT(e.parent)||wT(e.parent))}function a8(e){return kD(e)&&e.parent&&FT(e.parent)}var c8={},l8="Generate 'get' and 'set' accessors",u8=Vb(us.Generate_get_and_set_accessors),d8={name:l8,description:u8,kind:"refactor.rewrite.property.generateAccessors"};o3(l8,{kinds:[d8.kind],getEditsForAction:function(e,t){if(!e.endPosition)return;const n=R5.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition);un.assert(n&&!m6(n),"Expected applicable refactor info");const r=R5.generateAccessorFromProperty(e.file,e.program,e.startPosition,e.endPosition,e,t);if(!r)return;const i=e.file.fileName,o=n.renameAccessor?n.accessorName:n.fieldName;return{renameFilename:i,renameLocation:(UD(o)?0:-1)+oZ(r,i,o.text,aw(n.declaration)),edits:r}},getAvailableActions(e){if(!e.endPosition)return a;const t=R5.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,"invoked"===e.triggerReason);return t?m6(t)?e.preferences.provideRefactorNotApplicableReason?[{name:l8,description:u8,actions:[{...d8,notApplicableReason:t.error}]}]:a:[{name:l8,description:u8,actions:[d8]}]:a}});var p8={},f8="Infer function return type",_8=Vb(us.Infer_function_return_type),m8={name:f8,description:_8,kind:"refactor.rewrite.function.returnType"};function h8(e){if(Tm(e.file)||!h6(m8.kind,e.kind))return;const t=dc(MY(e.file,e.startPosition),(e=>DI(e)||e.parent&&rI(e.parent)&&(39===e.kind||e.parent.body===e)?"quit":function(e){switch(e.kind){case 262:case 218:case 219:case 174:return!0;default:return!1}}(e)));if(!t||!t.body||t.type)return{error:Vb(us.Return_type_must_be_inferred_from_a_function)};const n=e.program.getTypeChecker();let r;if(n.isImplementationOfOverload(t)){const e=n.getTypeAtLocation(t).getCallSignatures();e.length>1&&(r=n.getUnionType(q(e,(e=>e.getReturnType()))))}if(!r){const e=n.getSignatureFromDeclaration(t);if(e){const i=n.getTypePredicateOfSignature(e);if(i&&i.type){const e=n.typePredicateToTypePredicateNode(i,t,1,8);if(e)return{declaration:t,returnTypeNode:e}}else r=n.getReturnTypeOfSignature(e)}}if(!r)return{error:Vb(us.Could_not_determine_function_return_type)};const i=n.typeToTypeNode(r,t,1,8);return i?{declaration:t,returnTypeNode:i}:void 0}o3(f8,{kinds:[m8.kind],getEditsForAction:function(e){const t=h8(e);if(t&&!m6(t)){return{renameFilename:void 0,renameLocation:void 0,edits:zde.ChangeTracker.with(e,(n=>function(e,t,n,r){const i=IY(n,22,e),o=rI(n)&&void 0===i,s=o?me(n.parameters):i;s&&(o&&(t.insertNodeBefore(e,s,XS.createToken(21)),t.insertNodeAfter(e,s,XS.createToken(22))),t.insertNodeAt(e,s.end,r,{prefix:": "}))}(e.file,n,t.declaration,t.returnTypeNode)))}}return},getAvailableActions:function(e){const t=h8(e);if(!t)return a;if(!m6(t))return[{name:f8,description:_8,actions:[m8]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:f8,description:_8,actions:[{...m8,notApplicableReason:t.error}]}];return a}});var g8=(e=>(e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",e))(g8||{}),A8=(e=>(e[e.class=0]="class",e[e.enum=1]="enum",e[e.interface=2]="interface",e[e.namespace=3]="namespace",e[e.typeParameter=4]="typeParameter",e[e.type=5]="type",e[e.parameter=6]="parameter",e[e.variable=7]="variable",e[e.enumMember=8]="enumMember",e[e.property=9]="property",e[e.function=10]="function",e[e.member=11]="member",e))(A8||{}),y8=(e=>(e[e.declaration=0]="declaration",e[e.static=1]="static",e[e.async=2]="async",e[e.readonly=3]="readonly",e[e.defaultLibrary=4]="defaultLibrary",e[e.local=5]="local",e))(y8||{});function v8(e,t,n,r){const i=b8(e,t,n,r);un.assert(i.spans.length%3==0);const o=i.spans,s=[];for(let e=0;e{i.push(e.getStart(t),e.getWidth(t),(n+1<<8)+r)};return e&&t&&function(e,t,n,r,i){const o=e.getTypeChecker();let s=!1;function a(c){switch(c.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 219:i.throwIfCancellationRequested()}if(!c||!Qa(n,c.pos,c.getFullWidth())||0===c.getFullWidth())return;const l=s;if((xT(c)||ST(c))&&(s=!0),NT(c)&&(s=!1),UD(c)&&!s&&!function(e){const t=e.parent;return t&&(oT(t)||_T(t)||dT(t))}(c)&&!Ox(c.escapedText)){let n=o.getSymbolAtLocation(c);if(n){2097152&n.flags&&(n=o.getAliasedSymbol(n));let i=function(e,t){const n=e.getFlags();if(32&n)return 0;if(384&n)return 1;if(524288&n)return 5;if(64&n){if(2&t)return 2}else if(262144&n)return 4;let r=e.valueDeclaration||e.declarations&&e.declarations[0];r&&Hw(r)&&(r=E8(r));return r&&S8.get(r.kind)}(n,Lz(c));if(void 0!==i){let s=0;if(c.parent){(Hw(c.parent)||S8.get(c.parent.kind)===i)&&c.parent.name===c&&(s=1)}6===i&&x8(c)&&(i=9),i=function(e,t,n){if(7===n||9===n||6===n){const r=e.getTypeAtLocation(t);if(r){const e=e=>e(r)||r.isUnion()&&r.types.some(e);if(6!==n&&e((e=>e.getConstructSignatures().length>0)))return 0;if(e((e=>e.getCallSignatures().length>0))&&!e((e=>e.getProperties().length>0))||function(e){for(;x8(e);)e=e.parent;return Kw(e.parent)&&e.parent.expression===e}(t))return 9===n?11:10}}return n}(o,c,i);const a=n.valueDeclaration;if(a){const r=ic(a),o=sc(a);256&r&&(s|=2),1024&r&&(s|=4),0!==i&&2!==i&&(8&r||2&o||8&n.getFlags())&&(s|=8),7!==i&&10!==i||!function(e,t){Hw(e)&&(e=E8(e));if(HI(e))return(!JT(e.parent.parent.parent)||QT(e.parent))&&e.getSourceFile()===t;if(WI(e))return!JT(e.parent)&&e.getSourceFile()===t;return!1}(a,t)||(s|=32),e.isSourceFileDefaultLibrary(a.getSourceFile())&&(s|=16)}else n.declarations&&n.declarations.some((t=>e.isSourceFileDefaultLibrary(t.getSourceFile())))&&(s|=16);r(c,i,s)}}}OP(c,a),s=l}a(t)}(e,t,n,o,r),i}function E8(e){for(;;){if(!Hw(e.parent.parent))return e.parent.parent;e=e.parent.parent}}function x8(e){return iw(e.parent)&&e.parent.right===e||zw(e.parent)&&e.parent.name===e}var S8=new Map([[260,7],[169,6],[172,9],[267,3],[266,1],[306,8],[263,0],[174,11],[262,10],[218,10],[173,11],[177,9],[178,9],[171,9],[264,2],[265,5],[168,4],[303,9],[304,9]]),k8="0.8";function D8(e,t,n,r){const i=wl(e)?new w8(e,t,n):80===e?new P8(80,t,n):81===e?new N8(81,t,n):new R8(e,t,n);return i.parent=r,i.flags=101441536&r.flags,i}var w8=class{constructor(e,t,n){this.pos=t,this.end=n,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){un.assert(!YE(this.pos)&&!YE(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return Ap(this)}getStart(e,t){return this.assertHasRealPosition(),Lp(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=Ap(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"),qF(this,e)??$F(this,e,function(e,t){const n=[];if(xd(e))return e.forEachChild((e=>{n.push(e)})),n;qz.setText((t||e.getSourceFile()).text);let r=e.pos;const i=t=>{I8(n,r,t.pos,e),n.push(t),r=t.end},o=t=>{I8(n,r,t.pos,e),n.push(function(e,t){const n=D8(352,e.pos,e.end,t),r=[];let i=e.pos;for(const n of e)I8(r,i,n.pos,t),r.push(n),i=n.end;return I8(r,i,e.end,t),n._children=r,n}(t,e)),r=t.end};return u(e.jsDoc,i),r=e.pos,e.forEachChild(i,o),I8(n,r,e.end,e),qz.setText(void 0),n}(this,e))}getFirstToken(e){this.assertHasRealPosition();const t=this.getChildren(e);if(!t.length)return;const n=A(t,(e=>e.kind<309||e.kind>351));return n.kind<166?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();const t=ge(this.getChildren(e));if(t)return t.kind<166?t:t.getLastToken(e)}forEachChild(e,t){return OP(this,e,t)}};function I8(e,t,n,r){for(qz.resetTokenState(t);t"inheritDoc"===e.tagName.text||"inheritdoc"===e.tagName.text))}function $8(e,t){if(!e)return a;let n=qle.getJsDocTagsFromDeclarations(e,t);if(t&&(0===n.length||e.some(q8))){const r=new Set;for(const i of e){const e=L8(t,i,(e=>{var n;if(!r.has(e))return r.add(e),177===i.kind||178===i.kind?e.getContextualJsDocTags(i,t):1===(null==(n=e.declarations)?void 0:n.length)?e.getJsDocTags(t):void 0}));e&&(n=[...e,...n])}}return n}function Q8(e,t){if(!e)return a;let n=qle.getJsDocCommentsFromDeclarations(e,t);if(t&&(0===n.length||e.some(q8))){const r=new Set;for(const i of e){const e=L8(t,i,(e=>{if(!r.has(e))return r.add(e),177===i.kind||178===i.kind?e.getContextualDocumentationComment(i,t):e.getDocumentationComment(t)}));e&&(n=0===n.length?e.slice():e.concat(BX(),n))}}return n}function L8(e,t,n){var r;const i=176===(null==(r=t.parent)?void 0:r.kind)?t.parent.parent:t.parent;if(!i)return;const o=Ty(t);return p(bg(i),(r=>{const i=e.getTypeAtLocation(r),s=o&&i.symbol?e.getTypeOfSymbol(i.symbol):i,a=e.getPropertyOfType(s,t.symbol.name);return a?n(a):void 0}))}var M8=class extends w8{constructor(e,t,n){super(e,t,n)}update(e,t){return JP(this,e,t)}getLineAndCharacterOfPosition(e){return Ms(this,e)}getLineStarts(){return qs(this)}getPositionOfLineAndCharacter(e,t,n){return Os(qs(this),e,t,this.text,n)}getLineEndOfPosition(e){const{line:t}=this.getLineAndCharacterOfPosition(e),n=this.getLineStarts();let r;t+1>=n.length&&(r=this.getEnd()),r||(r=n[t+1]-1);const i=this.getFullText();return"\n"===i[r]&&"\r"===i[r-1]?r-1:r}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const e=Ve();return this.forEachChild((function r(i){switch(i.kind){case 262:case 218:case 174:case 173:const o=i,s=n(o);if(s){const t=function(t){let n=e.get(t);n||e.set(t,n=[]);return n}(s),n=ge(t);n&&o.parent===n.parent&&o.symbol===n.symbol?o.body&&!n.body&&(t[t.length-1]=o):t.push(o)}OP(i,r);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:t(i),OP(i,r);break;case 169:if(!wy(i,31))break;case 260:case 208:{const e=i;if(Cu(e.name)){OP(e.name,r);break}e.initializer&&r(e.initializer)}case 306:case 172:case 171:t(i);break;case 278:const a=i;a.exportClause&&(gT(a.exportClause)?u(a.exportClause.elements,r):r(a.exportClause.name));break;case 272:const c=i.importClause;c&&(c.name&&t(c.name),c.namedBindings&&(274===c.namedBindings.kind?t(c.namedBindings):u(c.namedBindings.elements,r)));break;case 226:0!==th(i)&&t(i);default:OP(i,r)}})),e;function t(t){const r=n(t);r&&e.add(r,t)}function n(e){const t=xc(e);return t&&(ow(t)&&zw(t.expression)?t.expression.name.text:tu(t)?LK(t):void 0)}}},j8=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(e=>e)}getLineAndCharacterOfPosition(e){return Ms(this,e)}};function U8(e){let t=!0;for(const n in e)if(De(e,n)&&!J8(n)){t=!1;break}if(t)return e;const n={};for(const t in e)if(De(e,t)){n[J8(t)?t:t.charAt(0).toLowerCase()+t.substr(1)]=e[t]}return n}function J8(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function V8(e){return e?w(e,(e=>e.text)).join(""):""}function H8(){return{target:1,jsx:1}}function G8(){return R5.getSupportedErrorCodes()}var W8=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,n,r,i,o,s,a,c;const l=this.host.getScriptSnapshot(e);if(!l)throw new Error("Could not find file: '"+e+"'.");const u=MX(e,this.host),d=this.host.getScriptVersion(e);let p;if(this.currentFileName!==e){p=Y8(e,l,{languageVersion:99,impliedNodeFormat:xJ(Uo(e,this.host.getCurrentDirectory(),(null==(r=null==(n=(t=this.host).getCompilerHost)?void 0:n.call(t))?void 0:r.getCanonicalFileName)||qA(this.host)),null==(c=null==(a=null==(s=null==(o=(i=this.host).getCompilerHost)?void 0:o.call(i))?void 0:s.getModuleResolutionCache)?void 0:a.call(s))?void 0:c.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:_C(this.host.getCompilationSettings()),jsDocParsingMode:0},d,!0,u)}else if(this.currentFileVersion!==d){const e=l.getChangeRange(this.currentFileScriptSnapshot);p=K8(this.currentSourceFile,l,d,e)}return p&&(this.currentFileVersion=d,this.currentFileName=e,this.currentFileScriptSnapshot=l,this.currentSourceFile=p),this.currentSourceFile}};function z8(e,t,n){e.version=n,e.scriptSnapshot=t}function Y8(e,t,n,r,i,o){const s=LP(e,qK(t),n,i,o);return z8(s,t,r),s}function K8(e,t,n,r,i){if(r&&n!==e.version){let o;const s=0!==r.span.start?e.text.substr(0,r.span.start):"",a=Ia(r.span)!==e.text.length?e.text.substr(Ia(r.span)):"";if(0===r.newLength)o=s&&a?s+a:s||a;else{const e=t.getText(r.span.start,r.span.start+r.newLength);o=s&&a?s+e+a:s?s+e:e+a}const c=JP(e,o,r,i);return z8(c,t,n),c.nameTable=void 0,e!==c&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),c}const o={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator,jsDocParsingMode:e.jsDocParsingMode};return Y8(e.fileName,t,o,n,!0,e.scriptKind)}var X8={isCancellationRequested:rt,throwIfCancellationRequested:nt},Z8=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw null==(e=Hn)||e.instant(Hn.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new xr}},e5=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){const e=jn();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw null==(e=Hn)||e.instant(Hn.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new xr}},t5=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes","getPasteEdits"],n5=[...t5,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors","preparePasteEditsForFile"];function r5(e,t=Q0(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory(),e.jsDocParsingMode),n){var r;let i;i=void 0===n?0:"boolean"==typeof n?n?2:0:n;const o=new W8(e);let s,c,l=0;const d=e.getCancellationToken?new Z8(e.getCancellationToken()):X8,p=e.getCurrentDirectory();function f(t){e.log&&e.log(t)}Jb(null==(r=e.getLocalizedDiagnosticMessages)?void 0:r.bind(e));const _=OA(e),m=Jt(_),h=S1({useCaseSensitiveFileNames:()=>_,getCurrentDirectory:()=>p,getProgram:y,fileExists:Je(e,e.fileExists),readFile:Je(e,e.readFile),getDocumentPositionMapper:Je(e,e.getDocumentPositionMapper),getSourceFileLike:Je(e,e.getSourceFileLike),log:f});function g(e){const t=s.getSourceFile(e);if(!t){const t=new Error(`Could not find source file: '${e}'.`);throw t.ProgramFiles=s.getSourceFiles().map((e=>e.fileName)),t}return t}function A(){e.updateFromProject&&!e.updateFromProjectInProgress?e.updateFromProject():function(){var n,r,o;if(un.assert(2!==i),e.getProjectVersion){const t=e.getProjectVersion();if(t){if(c===t&&!(null==(n=e.hasChangedAutomaticTypeDirectiveNames)?void 0:n.call(e)))return;c=t}}const a=e.getTypeRootsVersion?e.getTypeRootsVersion():0;l!==a&&(f("TypeRoots version has changed; provide new program"),s=void 0,l=a);const u=e.getScriptFileNames().slice(),g=e.getCompilationSettings()||{target:1,jsx:1},A=e.hasInvalidatedResolutions||rt,y=Je(e,e.hasInvalidatedLibResolutions)||rt,v=Je(e,e.hasChangedAutomaticTypeDirectiveNames),b=null==(r=e.getProjectReferences)?void 0:r.call(e);let C,E={getSourceFile:B,getSourceFileByPath:O,getCancellationToken:()=>d,getCanonicalFileName:m,useCaseSensitiveFileNames:()=>_,getNewLine:()=>Rv(g),getDefaultLibFileName:t=>e.getDefaultLibFileName(t),writeFile:nt,getCurrentDirectory:()=>p,fileExists:t=>e.fileExists(t),readFile:t=>e.readFile&&e.readFile(t),getSymlinkCache:Je(e,e.getSymlinkCache),realpath:Je(e,e.realpath),directoryExists:t=>Iv(t,e),getDirectories:t=>e.getDirectories?e.getDirectories(t):[],readDirectory:(t,n,r,i,o)=>(un.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(t,n,r,i,o)),onReleaseOldSourceFile:N,onReleaseParsedCommandLine:R,hasInvalidatedResolutions:A,hasInvalidatedLibResolutions:y,hasChangedAutomaticTypeDirectiveNames:v,trace:Je(e,e.trace),resolveModuleNames:Je(e,e.resolveModuleNames),getModuleResolutionCache:Je(e,e.getModuleResolutionCache),createHash:Je(e,e.createHash),resolveTypeReferenceDirectives:Je(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:Je(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:Je(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:Je(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:Je(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:T,jsDocParsingMode:e.jsDocParsingMode,getGlobalTypingsCacheLocation:Je(e,e.getGlobalTypingsCacheLocation)};const x=E.getSourceFile,{getSourceFileWithCache:S}=NU(E,(e=>Uo(e,p,m)),((...e)=>x.call(E,...e)));E.getSourceFile=S,null==(o=e.setCompilerHost)||o.call(e,E);const k={useCaseSensitiveFileNames:_,fileExists:e=>E.fileExists(e),readFile:e=>E.readFile(e),directoryExists:e=>E.directoryExists(e),getDirectories:e=>E.getDirectories(e),realpath:E.realpath,readDirectory:(...e)=>E.readDirectory(...e),trace:E.trace,getCurrentDirectory:E.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:nt},D=t.getKeyForCompilationSettings(g);let w=new Set;if(CJ(s,u,g,((t,n)=>e.getScriptVersion(n)),(e=>E.fileExists(e)),A,y,v,T,b))return E=void 0,C=void 0,void(w=void 0);const I={rootNames:u,options:g,host:E,oldProgram:s,projectReferences:b};return s=DJ(I),E=void 0,C=void 0,w=void 0,h.clearCache(),void s.getTypeChecker();function T(t){const n=Uo(t,p,m),r=null==C?void 0:C.get(n);if(void 0!==r)return r||void 0;const i=e.getParsedCommandLine?e.getParsedCommandLine(t):F(t);return(C||(C=new Map)).set(n,i||!1),i}function F(e){const t=B(e,100);if(t)return t.path=Uo(e,p,m),t.resolvedPath=t.path,t.originalFileName=t.fileName,jB(t,k,Lo(Io(e),p),void 0,Lo(e,p))}function R(t,n,r){var i;e.getParsedCommandLine?null==(i=e.onReleaseParsedCommandLine)||i.call(e,t,n,r):n&&P(n.sourceFile,r)}function P(e,n){const r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r,e.scriptKind,e.impliedNodeFormat)}function N(t,n,r,i){var o;P(t,n),null==(o=e.onReleaseOldSourceFile)||o.call(e,t,n,r,i)}function B(e,t,n,r){return O(e,Uo(e,p,m),t,n,r)}function O(n,r,i,o,a){un.assert(E,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const c=e.getScriptSnapshot(n);if(!c)return;const l=MX(n,e),u=e.getScriptVersion(n);if(!a){const o=s&&s.getSourceFileByPath(r);if(o){if(l===o.scriptKind||w.has(o.resolvedPath))return t.updateDocumentWithKey(n,r,e,D,c,u,l,i);t.releaseDocumentWithKey(o.resolvedPath,t.getKeyForCompilationSettings(s.getCompilerOptions()),o.scriptKind,o.impliedNodeFormat),w.add(o.resolvedPath)}}return t.acquireDocumentWithKey(n,r,e,D,c,u,l,i)}}()}function y(){if(2!==i)return A(),s;un.assert(void 0===s)}function v(){if(s){const e=t.getKeyForCompilationSettings(s.getCompilerOptions());u(s.getSourceFiles(),(n=>t.releaseDocumentWithKey(n.resolvedPath,e,n.scriptKind,n.impliedNodeFormat))),s=void 0}}function b(e,t){if(Na(t,e))return;const n=dc(HY(e,Ia(t))||e,(e=>Ba(e,t))),r=[];return C(t,n,r),e.end===t.start+t.length&&r.push(e.endOfFileToken),J(r,JT)?void 0:r}function C(e,t,n){return!!function(e,t){const n=t.start+t.length;return e.post.start}(t,e)&&(Na(e,t)?(E(t,n),!0):a0(t)?function(e,t,n){const r=[],i=t.statements.filter((t=>C(e,t,r)));if(i.length===t.statements.length)return E(t,n),!0;return n.push(...r),!1}(e,t,n):du(t)?function(e,t,n){var r,i,o;const s=t=>ja(t,e);if((null==(r=t.modifiers)?void 0:r.some(s))||t.name&&s(t.name)||(null==(i=t.typeParameters)?void 0:i.some(s))||(null==(o=t.heritageClauses)?void 0:o.some(s)))return E(t,n),!0;const a=[],c=t.members.filter((t=>C(e,t,a)));if(c.length===t.members.length)return E(t,n),!0;return n.push(...a),!1}(e,t,n):(E(t,n),!0))}function E(e,t){for(;e.parent&&!_S(e);)e=e.parent;t.push(e)}function x(e,t,n,r){A();const i=n&&n.use===kce.FindReferencesUse.Rename?s.getSourceFiles().filter((e=>!s.isSourceFileDefaultLibrary(e))):s.getSourceFiles();return kce.findReferenceOrRenameEntries(s,d,i,e,t,n,r)}const S=new Map(Object.entries({19:20,21:22,23:24,32:30}));function k(t){return un.assertEqual(t.type,"install package"),e.installPackage?e.installPackage({fileName:(e=>Uo(e,p,m))(t.file),packageName:t.packageName}):Promise.reject("Host does not implement `installPackage`")}function D(e,t){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(t.pos).line,lastLine:e.getLineAndCharacterOfPosition(t.end).line}}function I(e,t,n){const r=o.getCurrentSourceFile(e),i=[],{lineStarts:s,firstLine:a,lastLine:c}=D(r,t);let l=n||!1,u=Number.MAX_VALUE;const d=new Map,p=new RegExp(/\S/),f=rK(r,s[a]),_=f?"{/*":"//";for(let e=a;e<=c;e++){const t=r.text.substring(s[e],r.getLineEndOfPosition(s[e])),i=p.exec(t);i&&(u=Math.min(u,i.index),d.set(e.toString(),i.index),t.substr(i.index,_.length)!==_&&(l=void 0===n||n))}for(let n=a;n<=c;n++){if(a!==c&&s[n]===t.end)continue;const o=d.get(n.toString());void 0!==o&&(f?i.push(...T(e,{pos:s[n]+u,end:r.getLineEndOfPosition(s[n])},l,f)):l?i.push({newText:_,span:{length:0,start:s[n]+u}}):r.text.substr(s[n]+o,_.length)===_&&i.push({newText:"",span:{length:_.length,start:s[n]+o}}))}return i}function T(e,t,n,r){var i;const s=o.getCurrentSourceFile(e),a=[],{text:c}=s;let l=!1,u=n||!1;const d=[];let{pos:p}=t;const f=void 0!==r?r:rK(s,p),_=f?"{/*":"/*",m=f?"*/}":"*/",h=f?"\\{\\/\\*":"\\/\\*",g=f?"\\*\\/\\}":"\\*\\/";for(;p<=t.end;){const e=cK(s,p+(c.substr(p,_.length)===_?_.length:0));if(e)f&&(e.pos--,e.end++),d.push(e.pos),3===e.kind&&d.push(e.end),l=!0,p=e.end+1;else{const e=c.substring(p,t.end).search(`(${h})|(${g})`);u=void 0!==n?n:u||!fX(c,p,-1===e?t.end:p+e),p=-1===e?t.end+1:p+e+m.length}}if(u||!l){2!==(null==(i=cK(s,t.pos))?void 0:i.kind)&&X(d,t.pos,At),X(d,t.end,At);const e=d[0];c.substr(e,_.length)!==_&&a.push({newText:_,span:{length:0,start:e}});for(let e=1;e0?e-m.length:0,n=c.substr(t,m.length)===m?m.length:0;a.push({newText:"",span:{length:_.length,start:e-n}})}return a}function F({openingElement:e,closingElement:t,parent:n}){return!aN(e.tagName,t.tagName)||xT(n)&&aN(e.tagName,n.openingElement.tagName)&&F(n)}function P({closingFragment:e,parent:t}){return!!(262144&e.flags)||wT(t)&&P(t)}function N(t,n,r,i,o,s){const[a,c]="number"==typeof n?[n,void 0]:[n.pos,n.end];return{file:t,startPosition:a,endPosition:c,program:y(),host:e,formatContext:xpe.getFormatContext(i,e),cancellationToken:d,preferences:r,triggerReason:o,kind:s}}S.forEach(((e,t)=>S.set(e.toString(),Number(t))));const B={dispose:function(){v(),e=void 0},cleanupSemanticCache:v,getSyntacticDiagnostics:function(e){return A(),s.getSyntacticDiagnostics(g(e),d).slice()},getSemanticDiagnostics:function(e){A();const t=g(e),n=s.getSemanticDiagnostics(t,d);if(!IC(s.getCompilerOptions()))return n.slice();const r=s.getDeclarationDiagnostics(t,d);return[...n,...r]},getRegionSemanticDiagnostics:function(e,t){A();const n=g(e),r=s.getCompilerOptions();if(ux(n,r,s)||!fx(n,r)||s.getCachedSemanticDiagnostics(n))return;const i=function(e,t){const n=[],r=Ja(t.map((e=>wK(e))));for(const t of r){const r=b(e,t);if(!r)return;n.push(...r)}if(!n.length)return;return n}(n,t);if(!i)return;const o=Ja(i.map((e=>Ha(e.getFullStart(),e.getEnd()))));return{diagnostics:s.getSemanticDiagnostics(n,d,i).slice(),spans:o}},getSuggestionDiagnostics:function(e){return A(),I1(g(e),s,d)},getCompilerOptionsDiagnostics:function(){return A(),[...s.getOptionsDiagnostics(d),...s.getGlobalDiagnostics(d)]},getSyntacticClassifications:function(e,t){return O0(d,o.getCurrentSourceFile(e),t)},getSemanticClassifications:function(e,t,n){return A(),"2020"===(n||"original")?v8(s,d,g(e),t):T0(s.getTypeChecker(),d,g(e),s.getClassifiableNames(),t)},getEncodedSyntacticClassifications:function(e,t){return q0(d,o.getCurrentSourceFile(e),t)},getEncodedSemanticClassifications:function(e,t,n){return A(),"original"===(n||"original")?R0(s.getTypeChecker(),d,g(e),s.getClassifiableNames(),t):b8(s,d,g(e),t)},getCompletionsAtPosition:function(t,n,r=gz,i){const o={...r,includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions};return A(),Ese.getCompletionsAtPosition(e,s,f,g(t),n,o,r.triggerCharacter,r.triggerKind,d,i&&xpe.getFormatContext(i,e),r.includeSymbol)},getCompletionEntryDetails:function(t,n,r,i,o,a=gz,c){return A(),Ese.getCompletionEntryDetails(s,f,g(t),n,{name:r,source:o,data:c},e,i&&xpe.getFormatContext(i,e),a,d)},getCompletionEntrySymbol:function(t,n,r,i,o=gz){return A(),Ese.getCompletionEntrySymbol(s,f,g(t),n,{name:r,source:i},e,o)},getSignatureHelpItems:function(e,t,{triggerReason:n}=gz){A();const r=g(e);return rde.getSignatureHelpItems(s,r,t,n,d)},getQuickInfoAtPosition:function(e,t){A();const n=g(e),r=MY(n,t);if(r===n)return;const i=s.getTypeChecker(),o=function(e){if(Xw(e.parent)&&e.pos===e.parent.pos)return e.parent.expression;if(ww(e.parent)&&e.pos===e.parent.pos)return e.parent;if(u_(e.parent)&&e.parent.name===e)return e.parent;if(BT(e.parent))return e.parent;return e}(r),a=function(e,t){const n=o5(e);if(n){const e=t.getContextualType(n.parent),r=e&&s5(n,t,e,!1);if(r&&1===r.length)return me(r)}return t.getSymbolAtLocation(e)}(o,i);if(!a||i.isUnknownSymbol(a)){const e=function(e,t,n){switch(t.kind){case 80:return!(16777216&t.flags&&!Tm(t)&&(171===t.parent.kind&&t.parent.name===t||dc(t,(e=>169===e.kind))))&&(!rY(t)&&!iY(t)&&!Cl(t.parent));case 211:case 166:return!cK(e,n);case 110:case 197:case 108:case 202:return!0;case 236:return u_(t);default:return!1}}(n,o,t)?i.getTypeAtLocation(o):void 0;return e&&{kind:"",kindModifiers:"",textSpan:SK(o,n),displayParts:i.runWithCancellationToken(d,(t=>qX(t,e,pY(o)))),documentation:e.symbol?e.symbol.getDocumentationComment(i):void 0,tags:e.symbol?e.symbol.getJsDocTags(i):void 0}}const{symbolKind:c,displayParts:l,documentation:u,tags:p}=i.runWithCancellationToken(d,(e=>Lde.getSymbolDisplayPartsDocumentationAndSymbolKind(e,a,n,pY(o),o)));return{kind:c,kindModifiers:Lde.getSymbolModifiers(i,a),textSpan:SK(o,n),displayParts:l,documentation:u,tags:p}},getDefinitionAtPosition:function(e,t,n,r){return A(),fle.getDefinitionAtPosition(s,g(e),t,n,r)},getDefinitionAndBoundSpan:function(e,t){return A(),fle.getDefinitionAndBoundSpan(s,g(e),t)},getImplementationAtPosition:function(e,t){return A(),kce.getImplementationsAtPosition(s,d,s.getSourceFiles(),g(e),t)},getTypeDefinitionAtPosition:function(e,t){return A(),fle.getTypeDefinitionAtPosition(s.getTypeChecker(),g(e),t)},getReferencesAtPosition:function(e,t){return A(),x(MY(g(e),t),t,{use:kce.FindReferencesUse.References},kce.toReferenceEntry)},findReferences:function(e,t){return A(),kce.findReferencedSymbols(s,d,s.getSourceFiles(),g(e),t)},getFileReferences:function(e){return A(),kce.Core.getReferencesForFileName(e,s,s.getSourceFiles()).map(kce.toReferenceEntry)},getDocumentHighlights:function(e,t,n){const r=Mo(e);un.assert(n.some((e=>Mo(e)===r))),A();const i=q(n,(e=>s.getSourceFile(e))),o=g(e);return x0.getDocumentHighlights(s,d,o,t,i)},getNameOrDottedNameSpan:function(e,t,n){const r=o.getCurrentSourceFile(e),i=MY(r,t);if(i===r)return;switch(i.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}let s=i;for(;;)if(sY(s)||oY(s))s=s.parent;else{if(!cY(s))break;if(267!==s.parent.parent.kind||s.parent.parent.body!==s.parent)break;s=s.parent.parent.name}return Ha(s.getStart(),i.getEnd())},getBreakpointStatementAtPosition:function(e,t){const n=o.getCurrentSourceFile(e);return l5.spanInSourceFileAtLocation(n,t)},getNavigateToItems:function(e,t,n,r=!1,i=!1){return A(),K1(n?[g(n)]:s.getSourceFiles(),s.getTypeChecker(),d,e,t,r,i)},getRenameInfo:function(e,t,n){return A(),Yue.getRenameInfo(s,g(e),t,n||{})},getSmartSelectionRange:function(e,t){return Ide.getSmartSelectionRange(t,o.getCurrentSourceFile(e))},findRenameLocations:function(e,t,n,r,i){A();const o=g(e),s=LY(MY(o,t));if(Yue.nodeIsEligibleForRename(s)){if(UD(s)&&(kT(s.parent)||DT(s.parent))&&TA(s.escapedText)){const{openingElement:e,closingElement:t}=s.parent.parent;return[e,t].map((e=>{const t=SK(e.tagName,o);return{fileName:o.fileName,textSpan:t,...kce.toContextSpan(t,o,e.parent)}}))}{const e=KK(o,i??gz),a="boolean"==typeof i?i:null==i?void 0:i.providePrefixAndSuffixTextForRename;return x(s,t,{findInStrings:n,findInComments:r,providePrefixAndSuffixTextForRename:a,use:kce.FindReferencesUse.Rename},((t,n,r)=>kce.toRenameLocation(t,n,r,a||!1,e)))}}},getNavigationBarItems:function(e){return g2(o.getCurrentSourceFile(e),d)},getNavigationTree:function(e){return A2(o.getCurrentSourceFile(e),d)},getOutliningSpans:function(e){const t=o.getCurrentSourceFile(e);return Mue.collectElements(t,d)},getTodoComments:function(e,t){A();const n=g(e);d.throwIfCancellationRequested();const r=n.text,i=[];if(t.length>0&&!function(e){return e.includes("/node_modules/")}(n.fileName)){const e=function(){const e="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/{2,}\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",n="(?:"+w(t,(e=>"("+function(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}(e.text)+")")).join("|")+")";return new RegExp(e+"("+n+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}();let s;for(;s=e.exec(r);){d.throwIfCancellationRequested();const e=3;un.assert(s.length===t.length+e);const a=s[1],c=s.index+a.length;if(!cK(n,c))continue;let l;for(let n=0;n=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57)continue;const u=s[2];i.push({descriptor:l,message:u,position:c})}}var o;return i},getBraceMatchingAtPosition:function(e,t){const n=o.getCurrentSourceFile(e),r=jY(n,t),i=r.getStart(n)===t?S.get(r.kind.toString()):void 0,s=i&&IY(r.parent,i,n);return s?[SK(r,n),SK(s,n)].sort(((e,t)=>e.start-t.start)):a},getIndentationAtPosition:function(e,t,n){let r=jn();const i=U8(n),s=o.getCurrentSourceFile(e);f("getIndentationAtPosition: getCurrentSourceFile: "+(jn()-r)),r=jn();const a=xpe.SmartIndenter.getIndentation(t,s,i);return f("getIndentationAtPosition: computeIndentation : "+(jn()-r)),a},getFormattingEditsForRange:function(t,n,r,i){const s=o.getCurrentSourceFile(t);return xpe.formatSelection(n,r,s,xpe.getFormatContext(U8(i),e))},getFormattingEditsForDocument:function(t,n){return xpe.formatDocument(o.getCurrentSourceFile(t),xpe.getFormatContext(U8(n),e))},getFormattingEditsAfterKeystroke:function(t,n,r,i){const s=o.getCurrentSourceFile(t),a=xpe.getFormatContext(U8(i),e);if(!cK(s,n))switch(r){case"{":return xpe.formatOnOpeningCurly(n,s,a);case"}":return xpe.formatOnClosingCurly(n,s,a);case";":return xpe.formatOnSemicolon(n,s,a);case"\n":return xpe.formatOnEnter(n,s,a)}return[]},getDocCommentTemplateAtPosition:function(t,n,r,i){const s=i?xpe.getFormatContext(i,e).options:void 0;return qle.getDocCommentTemplateAtPosition(NX(e,s),o.getCurrentSourceFile(t),n,r)},isValidBraceCompletionAtPosition:function(e,t,n){if(60===n)return!1;const r=o.getCurrentSourceFile(e);if(XY(r,t))return!1;if(ZY(r,t))return 123===n;if(tK(r,t))return!1;switch(n){case 39:case 34:case 96:return!cK(r,t)}return!0},getJsxClosingTagAtPosition:function(e,t){const n=o.getCurrentSourceFile(e),r=WY(t,n);if(!r)return;const i=32===r.kind&&kT(r.parent)?r.parent.parent:DD(r)&&xT(r.parent)?r.parent:void 0;if(i&&F(i))return{newText:``};const s=32===r.kind&&IT(r.parent)?r.parent.parent:DD(r)&&wT(r.parent)?r.parent:void 0;return s&&P(s)?{newText:""}:void 0},getLinkedEditingRangeAtPosition:function(e,t){const n=o.getCurrentSourceFile(e),r=WY(t,n);if(!r||307===r.parent.kind)return;const i="[a-zA-Z0-9:\\-\\._$]*";if(wT(r.parent.parent)){const e=r.parent.parent.openingFragment,o=r.parent.parent.closingFragment;if(gp(e)||gp(o))return;const s=e.getStart(n)+1,a=o.getStart(n)+2;if(t!==s&&t!==a)return;return{ranges:[{start:s,length:0},{start:a,length:0}],wordPattern:i}}{const e=dc(r.parent,(e=>!(!kT(e)&&!DT(e))));if(!e)return;un.assert(kT(e)||DT(e),"tag should be opening or closing element");const o=e.parent.openingElement,s=e.parent.closingElement,a=o.tagName.getStart(n),c=o.tagName.end,l=s.tagName.getStart(n),u=s.tagName.end;if(a===o.getStart(n)||l===s.getStart(n)||c===o.getEnd()||u===s.getEnd())return;if(!(a<=t&&t<=c||l<=t&&t<=u))return;if(o.tagName.getText(n)!==s.tagName.getText(n))return;return{ranges:[{start:a,length:c-a},{start:l,length:u-l}],wordPattern:i}}},getSpanOfEnclosingComment:function(e,t,n){const r=o.getCurrentSourceFile(e),i=xpe.getRangeOfEnclosingComment(r,t);return!i||n&&3!==i.kind?void 0:wK(i)},getCodeFixesAtPosition:function(t,n,r,i,o,a=gz){A();const c=g(t),l=Ha(n,r),u=xpe.getFormatContext(o,e);return R(Y(i,_t,At),(t=>(d.throwIfCancellationRequested(),R5.getFixes({errorCode:t,sourceFile:c,span:l,program:s,host:e,cancellationToken:d,formatContext:u,preferences:a}))))},getCombinedCodeFix:function(t,n,r,i=gz){A(),un.assert("file"===t.type);const o=g(t.fileName),a=xpe.getFormatContext(r,e);return R5.getAllFixes({fixId:n,sourceFile:o,program:s,host:e,cancellationToken:d,formatContext:a,preferences:i})},applyCodeActionCommand:function(e,t){const n="string"==typeof e?t:e;return Ye(n)?Promise.all(n.map((e=>k(e)))):k(n)},organizeImports:function(t,n,r=gz){A(),un.assert("file"===t.type);const i=g(t.fileName);if(gp(i))return a;const o=xpe.getFormatContext(n,e),c=t.mode??(t.skipDestructiveCodeActions?"SortAndCombine":"All");return lue.organizeImports(i,o,e,s,r,c)},getEditsForFileRename:function(t,n,r,i=gz){return U0(y(),t,n,e,xpe.getFormatContext(r,e),i,h)},getEmitOutput:function(t,n,r){A();const i=g(t),o=e.getCustomTransformers&&e.getCustomTransformers();return LJ(s,i,!!n,d,o,r)},getNonBoundSourceFile:function(e){return o.getCurrentSourceFile(e)},getProgram:y,getCurrentProgram:()=>s,getAutoImportProvider:function(){var t;return null==(t=e.getPackageJsonAutoImportProvider)?void 0:t.call(e)},updateIsDefinitionOfReferencedSymbols:function(t,n){const r=s.getTypeChecker(),i=function(){for(const i of t)for(const t of i.references){if(n.has(t)){const e=o(t);return un.assertIsDefined(e),r.getSymbolAtLocation(e)}const i=mX(t,h,Je(e,e.fileExists));if(i&&n.has(i)){const e=o(i);if(e)return r.getSymbolAtLocation(e)}}return}();if(!i)return!1;for(const r of t)for(const t of r.references){const r=o(t);if(un.assertIsDefined(r),n.has(t)||kce.isDeclarationOfSymbol(r,i)){n.add(t),t.isDefinition=!0;const r=mX(t,h,Je(e,e.fileExists));r&&n.add(r)}else t.isDefinition=!1}return!0;function o(e){const t=s.getSourceFile(e.fileName);if(!t)return;const n=MY(t,e.textSpan.start);return kce.Core.getAdjustedNode(n,{use:kce.FindReferencesUse.References})}},getApplicableRefactors:function(e,t,n=gz,r,i,o){A();const s=g(e);return r3.getApplicableRefactors(N(s,t,n,gz,r,i),o)},getEditsForRefactor:function(e,t,n,r,i,o=gz,s){A();const a=g(e);return r3.getEditsForRefactor(N(a,n,o,t),r,i,s)},getMoveToRefactoringFileSuggestions:function(t,n,r=gz){A();const i=g(t),o=un.checkDefined(s.getSourceFiles()),a=ZE(t),c=t6(N(i,n,r,gz)),l=n6(null==c?void 0:c.all),u=q(o,(e=>{const t=ZE(e.fileName);return!(null==s?void 0:s.isSourceFileFromExternalLibrary(i))&&!(i===g(e.fileName)||".ts"===a&&".d.ts"===t||".d.ts"===a&&Wt(To(e.fileName),"lib.")&&".d.ts"===t)&&(a===t||(".tsx"===a&&".ts"===t||".jsx"===a&&".js"===t)&&!l)?e.fileName:void 0}));return{newFileName:e6(i,s,e,c),files:u}},toLineColumnOffset:function(e,t){return 0===t?{line:0,character:0}:h.toLineColumnOffset(e,t)},getSourceMapper:()=>h,clearSourceMapperCache:()=>h.clearCache(),prepareCallHierarchy:function(e,t){A();const n=d5.resolveCallHierarchyDeclaration(s,MY(g(e),t));return n&&JZ(n,(e=>d5.createCallHierarchyItem(s,e)))},provideCallHierarchyIncomingCalls:function(e,t){A();const n=g(e),r=VZ(d5.resolveCallHierarchyDeclaration(s,0===t?n:MY(n,t)));return r?d5.getIncomingCalls(s,r,d):[]},provideCallHierarchyOutgoingCalls:function(e,t){A();const n=g(e),r=VZ(d5.resolveCallHierarchyDeclaration(s,0===t?n:MY(n,t)));return r?d5.getOutgoingCalls(s,r):[]},toggleLineComment:I,toggleMultilineComment:T,commentSelection:function(e,t){const n=o.getCurrentSourceFile(e),{firstLine:r,lastLine:i}=D(n,t);return r===i&&t.pos!==t.end?T(e,t,!0):I(e,t,!0)},uncommentSelection:function(e,t){const n=o.getCurrentSourceFile(e),r=[],{pos:i}=t;let{end:s}=t;i===s&&(s+=rK(n,i)?2:1);for(let t=i;t<=s;t++){const i=cK(n,t);if(i){switch(i.kind){case 2:r.push(...I(e,{end:i.end,pos:i.pos+1},!1));break;case 3:r.push(...T(e,{end:i.end,pos:i.pos+1},!1))}t=i.end+1}}return r},provideInlayHints:function(t,n,r=gz){A();const i=g(t);return Rle.provideInlayHints(function(t,n,r){return{file:t,program:y(),host:e,span:n,preferences:r,cancellationToken:d}}(i,n,r))},getSupportedCodeFixes:G8,preparePasteEditsForFile:function(e,t){return A(),x_e.preparePasteEdits(g(e),t,s.getTypeChecker())},getPasteEdits:function(t,n){return A(),k_e.pasteEditsProvider(g(t.targetFile),t.pastedText,t.pasteLocations,t.copiedFrom?{file:g(t.copiedFrom.file),range:t.copiedFrom.range}:void 0,e,t.preferences,xpe.getFormatContext(n,e),d)},mapCode:function(t,n,r,i,s){return rue.mapCode(o.getCurrentSourceFile(t),n,r,e,xpe.getFormatContext(i,e),s)}};switch(i){case 0:break;case 1:t5.forEach((e=>B[e]=()=>{throw new Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.PartialSemantic`)}));break;case 2:n5.forEach((e=>B[e]=()=>{throw new Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.Syntactic`)}));break;default:un.assertNever(i)}return B}function i5(e){return e.nameTable||function(e){const t=e.nameTable=new Map;e.forEachChild((function e(n){if(UD(n)&&!iY(n)&&n.escapedText||Og(n)&&function(e){return lg(e)||283===e.parent.kind||function(e){return e&&e.parent&&212===e.parent.kind&&e.parent.argumentExpression===e}(e)||dg(e)}(n)){const e=Ug(n);t.set(e,void 0===t.get(e)?n.pos:-1)}else if(JD(n)){const e=n.escapedText;t.set(e,void 0===t.get(e)?n.pos:-1)}if(OP(n,e),wd(n))for(const t of n.jsDoc)OP(t,e)}))}(e),e.nameTable}function o5(e){const t=function(e){switch(e.kind){case 11:case 15:case 9:if(167===e.parent.kind)return Rd(e.parent.parent)?e.parent.parent:void 0;case 80:return!Rd(e.parent)||210!==e.parent.parent.kind&&292!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}return}(e);return t&&(Ww(t.parent)||RT(t.parent))?t:void 0}function s5(e,t,n,r){const i=LK(e.name);if(!i)return a;if(!n.isUnion()){const e=n.getProperty(i);return e?[e]:a}const o=Ww(e.parent)||RT(e.parent)?S(n.types,(n=>!t.isTypeInvalidDueToUnionDiscriminant(n,e.parent))):n.types,s=q(o,(e=>e.getProperty(i)));if(r&&(0===s.length||s.length===n.types.length)){const e=n.getProperty(i);if(e)return[e]}return o.length||s.length?Y(s,_t):q(n.types,(e=>e.getProperty(i)))}function a5(e){if(co)return qo(Io(Mo(co.getExecutingFilePath())),wa(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}function c5(e,t,n){const r=[];n=z1(n,r);const i=Ye(e)?e:[e],o=Rj(void 0,void 0,XS,n,i,t,!0);return o.diagnostics=H(o.diagnostics,r),o}Mb({getNodeConstructor:()=>w8,getTokenConstructor:()=>R8,getIdentifierConstructor:()=>P8,getPrivateIdentifierConstructor:()=>N8,getSourceFileConstructor:()=>M8,getSymbolConstructor:()=>F8,getTypeConstructor:()=>B8,getSignatureConstructor:()=>O8,getSourceMapSourceConstructor:()=>j8});var l5={};function u5(e,t){if(e.isDeclarationFile)return;let n=UY(e,t);const r=e.getLineAndCharacterOfPosition(t).line;if(e.getLineAndCharacterOfPosition(n.getStart(e)).line>r){const t=WY(n.pos,e);if(!t||e.getLineAndCharacterOfPosition(t.getEnd()).line!==r)return;n=t}if(!(33554432&n.flags))return l(n);function i(t,n){const r=lP(t)?y(t.modifiers,cw):void 0;return Ha(r?Ks(e.text,r.end):t.getStart(e),(n||t).getEnd())}function o(t,n){return i(t,GY(n,n.parent,e))}function s(t,n){return t&&r===e.getLineAndCharacterOfPosition(t.getStart(e)).line?l(t):l(n)}function a(t){return l(WY(t.pos,e))}function c(t){return l(GY(t,t.parent,e))}function l(t){if(t){const{parent:n}=t;switch(t.kind){case 243:return r(t.declarationList.declarations[0]);case 260:case 172:case 171:return r(t);case 169:return function e(t){if(Cu(t.name))return _(t.name);if(function(e){return!!e.initializer||void 0!==e.dotDotDotToken||wy(e,3)}(t))return i(t);{const n=t.parent,r=n.parameters.indexOf(t);return un.assert(-1!==r),0!==r?e(n.parameters[r-1]):l(n.body)}}(t);case 262:case 174:case 173:case 177:case 178:case 176:case 218:case 219:return function(e){if(!e.body)return;if(d(e))return i(e);return l(e.body)}(t);case 241:if($_(t))return function(e){const t=e.statements.length?e.statements[0]:e.getLastToken();if(d(e.parent))return s(e.parent,t);return l(t)}(t);case 268:return p(t);case 299:return p(t.block);case 244:return i(t.expression);case 253:return i(t.getChildAt(0),t.expression);case 247:return o(t,t.expression);case 246:return l(t.statement);case 259:return i(t.getChildAt(0));case 245:return o(t,t.expression);case 256:return l(t.statement);case 252:case 251:return i(t.getChildAt(0),t.label);case 248:return function(e){if(e.initializer)return f(e);if(e.condition)return i(e.condition);if(e.incrementor)return i(e.incrementor)}(t);case 249:return o(t,t.expression);case 250:return f(t);case 255:return o(t,t.expression);case 296:case 297:return l(t.statements[0]);case 258:return p(t.tryBlock);case 257:case 277:return i(t,t.expression);case 271:return i(t,t.moduleReference);case 272:case 278:return i(t,t.moduleSpecifier);case 267:if(1!==N$(t))return;case 263:case 266:case 306:case 208:return i(t);case 254:return l(t.statement);case 170:return function(t,n,r){if(t){const i=t.indexOf(n);if(i>=0){let n=i,o=i+1;for(;n>0&&r(t[n-1]);)n--;for(;o0)return l(t.declarations[0])}}function _(e){const t=u(e.elements,(e=>232!==e.kind?e:void 0));return t?l(t):208===e.parent.kind?i(e.parent):n(e.parent)}function m(e){un.assert(207!==e.kind&&206!==e.kind);const t=u(209===e.kind?e.elements:e.properties,(e=>232!==e.kind?e:void 0));return t?l(t):i(226===e.parent.kind?e.parent:e)}}}n(l5,{spanInSourceFileAtLocation:()=>u5});var d5={};function p5(e){return uw(e)||HI(e)}function f5(e){return(nI(e)||rI(e)||mI(e))&&p5(e.parent)&&e===e.parent.initializer&&UD(e.parent.name)&&(!!(2&sc(e.parent))||uw(e.parent))}function _5(e){return JT(e)||ZI(e)||WI(e)||nI(e)||zI(e)||mI(e)||fw(e)||pw(e)||dw(e)||mw(e)||hw(e)}function m5(e){return JT(e)||ZI(e)&&UD(e.name)||WI(e)||zI(e)||fw(e)||pw(e)||dw(e)||mw(e)||hw(e)||function(e){return(nI(e)||mI(e))&&Ec(e)}(e)||f5(e)}function h5(e){return JT(e)?e:Ec(e)?e.name:f5(e)?e.parent.name:un.checkDefined(e.modifiers&&A(e.modifiers,g5))}function g5(e){return 90===e.kind}function A5(e,t){const n=h5(t);return n&&e.getSymbolAtLocation(n)}function y5(e,t){if(t.body)return t;if(_w(t))return iy(t.parent);if(WI(t)||pw(t)){const n=A5(e,t);return n&&n.valueDeclaration&&ou(n.valueDeclaration)&&n.valueDeclaration.body?n.valueDeclaration:void 0}return t}function v5(e,t){const n=A5(e,t);let r;if(n&&n.declarations){const e=W(n.declarations),t=w(n.declarations,(e=>({file:e.getSourceFile().fileName,pos:e.pos})));e.sort(((e,n)=>xt(t[e].file,t[n].file)||t[e].pos-t[n].pos));const i=w(e,(e=>n.declarations[e]));let o;for(const e of i)m5(e)&&(o&&o.parent===e.parent&&o.end===e.pos||(r=re(r,e)),o=e)}return r}function b5(e,t){return fw(t)?t:ou(t)?y5(e,t)??v5(e,t)??t:v5(e,t)??t}function C5(e,t){const n=e.getTypeChecker();let r=!1;for(;;){if(m5(t))return b5(n,t);if(_5(t)){const e=dc(t,m5);return e&&b5(n,e)}if(lg(t)){if(m5(t.parent))return b5(n,t.parent);if(_5(t.parent)){const e=dc(t.parent,m5);return e&&b5(n,e)}return p5(t.parent)&&t.parent.initializer&&f5(t.parent.initializer)?t.parent.initializer:void 0}if(_w(t))return m5(t.parent)?t.parent:void 0;if(126!==t.kind||!fw(t.parent)){if(HI(t)&&t.initializer&&f5(t.initializer))return t.initializer;if(!r){let e=n.getSymbolAtLocation(t);if(e&&(2097152&e.flags&&(e=n.getAliasedSymbol(e)),e.valueDeclaration)){r=!0,t=e.valueDeclaration;continue}}return}t=t.parent}}function E5(e,t){const n=t.getSourceFile(),r=function(e,t){if(JT(t))return{text:t.fileName,pos:0,end:0};if((WI(t)||zI(t))&&!Ec(t)){const e=t.modifiers&&A(t.modifiers,g5);if(e)return{text:"default",pos:e.getStart(),end:e.getEnd()}}if(fw(t)){const n=Ks(t.getSourceFile().text,qv(t).pos),r=n+6,i=e.getTypeChecker(),o=i.getSymbolAtLocation(t.parent);return{text:(o?`${i.symbolToString(o,t.parent)} `:"")+"static {}",pos:n,end:r}}const n=f5(t)?t.parent.name:un.checkDefined(Sc(t),"Expected call hierarchy item to have a name");let r=UD(n)?hc(n):Og(n)?n.text:ow(n)&&Og(n.expression)?n.expression.text:void 0;if(void 0===r){const i=e.getTypeChecker(),o=i.getSymbolAtLocation(n);o&&(r=i.symbolToString(o,t))}if(void 0===r){const e=lU();r=op((n=>e.writeNode(4,t,t.getSourceFile(),n)))}return{text:r,pos:n.getStart(),end:n.getEnd()}}(e,t),i=function(e){var t,n,r,i;if(f5(e))return uw(e.parent)&&du(e.parent.parent)?mI(e.parent.parent)?null==(t=kc(e.parent.parent))?void 0:t.getText():null==(n=e.parent.parent.name)?void 0:n.getText():eT(e.parent.parent.parent.parent)&&UD(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 177:case 178:case 174:return 210===e.parent.kind?null==(r=kc(e.parent))?void 0:r.getText():null==(i=Sc(e.parent))?void 0:i.getText();case 262:case 263:case 267:if(eT(e.parent)&&UD(e.parent.parent.name))return e.parent.parent.name.getText()}}(t),o=fY(t),s=dK(t),a=Ha(Ks(n.text,t.getFullStart(),!1,!0),t.getEnd()),c=Ha(r.pos,r.end);return{file:n.fileName,kind:o,kindModifiers:s,name:r.text,containerName:i,span:a,selectionSpan:c}}function x5(e){return void 0!==e}function S5(e){if(e.kind===kce.EntryKind.Node){const{node:t}=e;if(Jz(t,!0,!0)||Vz(t,!0,!0)||Hz(t,!0,!0)||Gz(t,!0,!0)||sY(t)||aY(t)){const e=t.getSourceFile();return{declaration:dc(t,m5)||e,range:DK(t,e)}}}}function k5(e){return JQ(e.declaration)}function D5(e,t,n){if(JT(t)||ZI(t)||fw(t))return[];const r=h5(t),i=S(kce.findReferenceOrRenameEntries(e,n,e.getSourceFiles(),r,0,{use:kce.FindReferencesUse.References},S5),x5);return i?Qe(i,k5,(t=>function(e,t){return function(e,t){return{from:e,fromSpans:t}}(E5(e,t[0].declaration),w(t,(e=>wK(e.range))))}(e,t))):[]}function w5(e,t){const n=[],r=function(e,t){function n(n){const r=Zw(n)?n.tag:vd(n)?n.tagName:xb(n)||fw(n)?n:n.expression,i=C5(e,r);if(i){const e=DK(r,n.getSourceFile());if(Ye(i))for(const n of i)t.push({declaration:n,range:e});else t.push({declaration:i,range:e})}}return function e(t){if(t&&!(33554432&t.flags))if(m5(t)){if(du(t))for(const n of t.members)n.name&&ow(n.name)&&e(n.name.expression)}else{switch(t.kind){case 80:case 271:case 272:case 278:case 264:case 265:return;case 175:return void n(t);case 216:case 234:case 238:return void e(t.expression);case 260:case 169:return e(t.name),void e(t.initializer);case 213:case 214:return n(t),e(t.expression),void u(t.arguments,e);case 215:return n(t),e(t.tag),void e(t.template);case 286:case 285:return n(t),e(t.tagName),void e(t.attributes);case 170:return n(t),void e(t.expression);case 211:case 212:n(t),OP(t,e)}S_(t)||OP(t,e)}}}(e,n);switch(t.kind){case 307:!function(e,t){u(e.statements,t)}(t,r);break;case 267:!function(e,t){!wy(e,128)&&e.body&&eT(e.body)&&u(e.body.statements,t)}(t,r);break;case 262:case 218:case 219:case 174:case 177:case 178:!function(e,t,n){const r=y5(e,t);r&&(u(r.parameters,n),n(r.body))}(e.getTypeChecker(),t,r);break;case 263:case 231:!function(e,t){u(e.modifiers,t);const n=yg(e);n&&t(n.expression);for(const n of e.members)cP(n)&&u(n.modifiers,t),uw(n)?t(n.initializer):_w(n)&&n.body?(u(n.parameters,t),t(n.body)):fw(n)&&t(n)}(t,r);break;case 175:!function(e,t){t(e.body)}(t,r);break;default:un.assertNever(t)}return n}function I5(e,t){return 33554432&t.flags||dw(t)?[]:Qe(w5(e,t),k5,(t=>function(e,t){return n=E5(e,t[0].declaration),r=w(t,(e=>wK(e.range))),{to:n,fromSpans:r};var n,r}(e,t)))}n(d5,{createCallHierarchyItem:()=>E5,getIncomingCalls:()=>D5,getOutgoingCalls:()=>I5,resolveCallHierarchyDeclaration:()=>C5});var T5={};n(T5,{v2020:()=>F5});var F5={};n(F5,{TokenEncodingConsts:()=>g8,TokenModifier:()=>y8,TokenType:()=>A8,getEncodedSemanticClassifications:()=>b8,getSemanticClassifications:()=>v8});var R5={};n(R5,{PreserveOptionalFlags:()=>Mie,addNewNodeForMemberSymbol:()=>jie,codeFixAll:()=>H5,createCodeFixAction:()=>q5,createCodeFixActionMaybeFixAll:()=>$5,createCodeFixActionWithoutFixAll:()=>O5,createCombinedCodeActions:()=>J5,createFileTextChanges:()=>V5,createImportAdder:()=>gee,createImportSpecifierResolver:()=>yee,createMissingMemberNodes:()=>Qie,createSignatureDeclarationFromCallExpression:()=>Jie,createSignatureDeclarationFromSignature:()=>Uie,createStubbedBody:()=>toe,eachDiagnostic:()=>G5,findAncestorMatchingSpan:()=>loe,generateAccessorFromProperty:()=>uoe,getAccessorConvertiblePropertyAtPosition:()=>_oe,getAllFixes:()=>U5,getAllSupers:()=>goe,getFixes:()=>j5,getImportCompletionAction:()=>vee,getImportKind:()=>Oee,getJSDocTypedefNodes:()=>iee,getNoopSymbolTrackerWithResolver:()=>Lie,getPromoteTypeOnlyCompletionAction:()=>bee,getSupportedErrorCodes:()=>M5,importFixName:()=>_ee,importSymbols:()=>coe,parameterShouldGetTypeFromJSDoc:()=>q7,registerCodeFix:()=>L5,setJsonCompilerOptionValue:()=>roe,setJsonCompilerOptionValues:()=>noe,tryGetAutoImportableReferenceFromTypeNode:()=>soe,typeNodeToAutoImportableTypeNode:()=>Gie,typePredicateToAutoImportableTypeNode:()=>zie,typeToAutoImportableTypeNode:()=>Hie,typeToMinimizedReferenceType:()=>Wie});var P5,N5=Ve(),B5=new Map;function O5(e,t,n){return Q5(e,t0(n),t,void 0,void 0)}function q5(e,t,n,r,i,o){return Q5(e,t0(n),t,r,t0(i),o)}function $5(e,t,n,r,i,o){return Q5(e,t0(n),t,r,i&&t0(i),o)}function Q5(e,t,n,r,i,o){return{fixName:e,description:t,changes:n,fixId:r,fixAllDescription:i,commands:o?[o]:void 0}}function L5(e){for(const t of e.errorCodes)P5=void 0,N5.add(String(t),e);if(e.fixIds)for(const t of e.fixIds)un.assert(!B5.has(t)),B5.set(t,e)}function M5(){return P5??(P5=Pe(N5.keys()))}function j5(e){const t=W5(e);return R(N5.get(String(e.errorCode)),(n=>w(n.getCodeActions(e),function(e,t){const{errorCodes:n}=e;let r=0;for(const e of t)if(C(n,e.code)&&r++,r>1)break;const i=r<2;return({fixId:e,fixAllDescription:t,...n})=>i?n:{...n,fixId:e,fixAllDescription:t}}(n,t))))}function U5(e){return B5.get(tt(e.fixId,Xe)).getAllCodeActions(e)}function J5(e,t){return{changes:e,commands:t}}function V5(e,t){return{fileName:e,textChanges:t}}function H5(e,t,n){const r=[];return J5(zde.ChangeTracker.with(e,(i=>G5(e,t,(e=>n(i,e,r))))),0===r.length?void 0:r)}function G5(e,t,n){for(const r of W5(e))C(t,r.code)&&n(r)}function W5({program:e,sourceFile:t,cancellationToken:n}){const r=[...e.getSemanticDiagnostics(t,n),...e.getSyntacticDiagnostics(t,n),...I1(t,e,n)];return IC(e.getCompilerOptions())&&r.push(...e.getDeclarationDiagnostics(t,n)),r}var z5="addConvertToUnknownForNonOverlappingTypes",Y5=[us.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];function K5(e,t,n){const r=AI(n)?XS.createAsExpression(n.expression,XS.createKeywordTypeNode(159)):XS.createTypeAssertion(XS.createKeywordTypeNode(159),n.expression);e.replaceNode(t,n.expression,r)}function X5(e,t){if(!Tm(e))return dc(UY(e,t),(e=>AI(e)||eI(e)))}L5({errorCodes:Y5,getCodeActions:function(e){const t=X5(e.sourceFile,e.span.start);if(void 0===t)return;const n=zde.ChangeTracker.with(e,(n=>K5(n,e.sourceFile,t)));return[q5(z5,n,us.Add_unknown_conversion_for_non_overlapping_types,z5,us.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[z5],getAllCodeActions:e=>H5(e,Y5,((e,t)=>{const n=X5(t.file,t.start);n&&K5(e,t.file,n)}))}),L5({errorCodes:[us.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,us.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,us.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(e){const{sourceFile:t}=e;return[O5("addEmptyExportDeclaration",zde.ChangeTracker.with(e,(e=>{const n=XS.createExportDeclaration(void 0,!1,XS.createNamedExports([]),void 0);e.insertNodeAtEndOfScope(t,t,n)})),us.Add_export_to_make_this_file_into_a_module)]}});var Z5="addMissingAsync",e7=[us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,us.Type_0_is_not_assignable_to_type_1.code,us.Type_0_is_not_comparable_to_type_1.code];function t7(e,t,n,r){const i=n((n=>function(e,t,n,r){if(r&&r.has(JQ(n)))return;null==r||r.add(JQ(n));const i=XS.replaceModifiers(GX(n,!0),XS.createNodeArray(XS.createModifiersFromModifierFlags(1024|jy(n))));e.replaceNode(t,n,i)}(n,e.sourceFile,t,r)));return q5(Z5,i,us.Add_async_modifier_to_containing_function,Z5,us.Add_all_missing_async_modifiers)}function n7(e,t){if(!t)return;const n=dc(UY(e,t.start),(n=>n.getStart(e)Ia(t)?"quit":(rI(n)||pw(n)||nI(n)||WI(n))&&lX(t,SK(n,e))));return n}L5({fixIds:[Z5],errorCodes:e7,getCodeActions:function(e){const{sourceFile:t,errorCode:n,cancellationToken:r,program:i,span:o}=e,s=A(i.getTypeChecker().getDiagnostics(t,r),function(e,t){return({start:n,length:r,relatedInformation:i,code:o})=>Ze(n)&&Ze(r)&&lX({start:n,length:r},e)&&o===t&&!!i&&J(i,(e=>e.code===us.Did_you_mean_to_mark_this_function_as_async.code))}(o,n)),a=n7(t,s&&s.relatedInformation&&A(s.relatedInformation,(e=>e.code===us.Did_you_mean_to_mark_this_function_as_async.code)));if(!a)return;return[t7(e,a,(t=>zde.ChangeTracker.with(e,t)))]},getAllCodeActions:e=>{const{sourceFile:t}=e,n=new Set;return H5(e,e7,((r,i)=>{const o=i.relatedInformation&&A(i.relatedInformation,(e=>e.code===us.Did_you_mean_to_mark_this_function_as_async.code)),s=n7(t,o);if(!s)return;return t7(e,s,(e=>(e(r),[])),n)}))}});var r7="addMissingAwait",i7=us.Property_0_does_not_exist_on_type_1.code,o7=[us.This_expression_is_not_callable.code,us.This_expression_is_not_constructable.code],s7=[us.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,us.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,us.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,us.Operator_0_cannot_be_applied_to_type_1.code,us.Operator_0_cannot_be_applied_to_types_1_and_2.code,us.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,us.This_condition_will_always_return_true_since_this_0_is_always_defined.code,us.Type_0_is_not_an_array_type.code,us.Type_0_is_not_an_array_type_or_a_string_type.code,us.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,us.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,us.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,us.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,us.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,i7,...o7];function a7(e,t,n,r,i){const o=UZ(e,n);return o&&function(e,t,n,r,i){const o=i.getTypeChecker(),s=o.getDiagnostics(e,r);return J(s,(({start:e,length:r,relatedInformation:i,code:o})=>Ze(e)&&Ze(r)&&lX({start:e,length:r},n)&&o===t&&!!i&&J(i,(e=>e.code===us.Did_you_forget_to_use_await.code))))}(e,t,n,r,i)&&d7(o)?o:void 0}function c7(e,t,n,r,i,o){const{sourceFile:s,program:a,cancellationToken:c}=e,l=function(e,t,n,r,i){const o=function(e,t){if(zw(e.parent)&&UD(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(UD(e))return{identifiers:[e],isCompleteFix:!0};if(uI(e)){let n,r=!0;for(const i of[e.left,e.right]){const e=t.getTypeAtLocation(i);if(t.getPromisedTypeOfPromise(e)){if(!UD(i)){r=!1;continue}(n||(n=[])).push(i)}}return n&&{identifiers:n,isCompleteFix:r}}}(e,i);if(!o)return;let s,a=o.isCompleteFix;for(const e of o.identifiers){const o=i.getSymbolAtLocation(e);if(!o)continue;const c=et(o.valueDeclaration,HI),l=c&&et(c.name,UD),u=xg(c,243);if(!c||!u||c.type||!c.initializer||u.getSourceFile()!==t||wy(u,32)||!l||!d7(c.initializer)){a=!1;continue}const d=r.getSemanticDiagnostics(t,n);kce.Core.eachSymbolReferenceInFile(l,i,t,(n=>e!==n&&!u7(n,d,t,i)))?a=!1:(s||(s=[])).push({expression:c.initializer,declarationSymbol:o})}return s&&{initializers:s,needsSecondPassForFixAll:!a}}(t,s,c,a,r);if(l){return O5("addMissingAwaitToInitializer",i((e=>{u(l.initializers,(({expression:t})=>p7(e,n,s,r,t,o))),o&&l.needsSecondPassForFixAll&&p7(e,n,s,r,t,o)})),1===l.initializers.length?[us.Add_await_to_initializer_for_0,l.initializers[0].declarationSymbol.name]:us.Add_await_to_initializers)}}function l7(e,t,n,r,i,o){const s=i((i=>p7(i,n,e.sourceFile,r,t,o)));return q5(r7,s,us.Add_await,r7,us.Fix_all_expressions_possibly_missing_await)}function u7(e,t,n,r){const i=zw(e.parent)?e.parent.name:uI(e.parent)?e.parent:e,o=A(t,(e=>e.start===i.getStart(n)&&e.start+e.length===i.getEnd()));return o&&C(s7,o.code)||1&r.getTypeAtLocation(i).flags}function d7(e){return 65536&e.flags||!!dc(e,(e=>e.parent&&rI(e.parent)&&e.parent.body===e||DI(e)&&(262===e.parent.kind||218===e.parent.kind||219===e.parent.kind||174===e.parent.kind)))}function p7(e,t,n,r,i,o){if(OI(i.parent)&&!i.parent.awaitModifier){const t=r.getTypeAtLocation(i),o=r.getAnyAsyncIterableType();if(o&&r.isTypeAssignableTo(t,o)){const t=i.parent;return void e.replaceNode(n,t,XS.updateForOfStatement(t,XS.createToken(135),t.initializer,t.expression,t.statement))}}if(uI(i))for(const t of[i.left,i.right]){if(o&&UD(t)){const e=r.getSymbolAtLocation(t);if(e&&o.has(VQ(e)))continue}const i=r.getTypeAtLocation(t),s=r.getPromisedTypeOfPromise(i)?XS.createAwaitExpression(t):t;e.replaceNode(n,t,s)}else if(t===i7&&zw(i.parent)){if(o&&UD(i.parent.expression)){const e=r.getSymbolAtLocation(i.parent.expression);if(e&&o.has(VQ(e)))return}e.replaceNode(n,i.parent.expression,XS.createParenthesizedExpression(XS.createAwaitExpression(i.parent.expression))),f7(e,i.parent.expression,n)}else if(C(o7,t)&&Ou(i.parent)){if(o&&UD(i)){const e=r.getSymbolAtLocation(i);if(e&&o.has(VQ(e)))return}e.replaceNode(n,i,XS.createParenthesizedExpression(XS.createAwaitExpression(i))),f7(e,i,n)}else{if(o&&HI(i.parent)&&UD(i.parent.name)){const e=r.getSymbolAtLocation(i.parent.name);if(e&&!L(o,VQ(e)))return}e.replaceNode(n,i,XS.createAwaitExpression(i))}}function f7(e,t,n){const r=WY(t.pos,n);r&&SZ(r.end,r.parent,n)&&e.insertText(n,t.getStart(n),";")}L5({fixIds:[r7],errorCodes:s7,getCodeActions:function(e){const{sourceFile:t,errorCode:n,span:r,cancellationToken:i,program:o}=e,s=a7(t,n,r,i,o);if(!s)return;const a=e.program.getTypeChecker(),c=t=>zde.ChangeTracker.with(e,t);return te([c7(e,s,n,a,c),l7(e,s,n,a,c)])},getAllCodeActions:e=>{const{sourceFile:t,program:n,cancellationToken:r}=e,i=e.program.getTypeChecker(),o=new Set;return H5(e,s7,((s,a)=>{const c=a7(t,a.code,a,r,n);if(!c)return;const l=e=>(e(s),[]);return c7(e,c,a.code,i,l,o)||l7(e,c,a.code,i,l,o)}))}});var _7="addMissingConst",m7=[us.Cannot_find_name_0.code,us.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];function h7(e,t,n,r,i){const o=UY(t,n),s=dc(o,(e=>Ku(e.parent)?e.parent.initializer===e:!function(e){switch(e.kind){case 80:case 209:case 210:case 303:case 304:return!0;default:return!1}}(e)&&"quit"));if(s)return g7(e,s,t,i);const a=o.parent;if(uI(a)&&64===a.operatorToken.kind&&TI(a.parent))return g7(e,o,t,i);if(Gw(a)){const n=r.getTypeChecker();if(!g(a.elements,(e=>function(e,t){const n=UD(e)?e:iv(e,!0)&&UD(e.left)?e.left:void 0;return!!n&&!t.getSymbolAtLocation(n)}(e,n))))return;return g7(e,a,t,i)}const c=dc(o,(e=>!!TI(e.parent)||!function(e){switch(e.kind){case 80:case 226:case 28:return!0;default:return!1}}(e)&&"quit"));if(c){if(!A7(c,r.getTypeChecker()))return;return g7(e,c,t,i)}}function g7(e,t,n,r){r&&!L(r,t)||e.insertModifierBefore(n,87,t)}function A7(e,t){return!!uI(e)&&(28===e.operatorToken.kind?g([e.left,e.right],(e=>A7(e,t))):64===e.operatorToken.kind&&UD(e.left)&&!t.getSymbolAtLocation(e.left))}L5({errorCodes:m7,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>h7(t,e.sourceFile,e.span.start,e.program)));if(t.length>0)return[q5(_7,t,us.Add_const_to_unresolved_variable,_7,us.Add_const_to_all_unresolved_variables)]},fixIds:[_7],getAllCodeActions:e=>{const t=new Set;return H5(e,m7,((n,r)=>h7(n,r.file,r.start,e.program,t)))}});var y7="addMissingDeclareProperty",v7=[us.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];function b7(e,t,n,r){const i=UY(t,n);if(!UD(i))return;const o=i.parent;172!==o.kind||r&&!L(r,o)||e.insertModifierBefore(t,138,o)}L5({errorCodes:v7,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>b7(t,e.sourceFile,e.span.start)));if(t.length>0)return[q5(y7,t,us.Prefix_with_declare,y7,us.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[y7],getAllCodeActions:e=>{const t=new Set;return H5(e,v7,((e,n)=>b7(e,n.file,n.start,t)))}});var C7="addMissingInvocationForDecorator",E7=[us._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];function x7(e,t,n){const r=dc(UY(t,n),cw);un.assert(!!r,"Expected position to be owned by a decorator.");const i=XS.createCallExpression(r.expression,void 0,void 0);e.replaceNode(t,r.expression,i)}L5({errorCodes:E7,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>x7(t,e.sourceFile,e.span.start)));return[q5(C7,t,us.Call_decorator_expression,C7,us.Add_to_all_uncalled_decorators)]},fixIds:[C7],getAllCodeActions:e=>H5(e,E7,((e,t)=>x7(e,t.file,t.start)))});var S7="addMissingResolutionModeImportAttribute",k7=[us.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute.code,us.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute.code];function D7(e,t,n,r,i,o){var s,a,c;const l=dc(UY(t,n),Zt(iT,Mw));un.assert(!!l,"Expected position to be owned by an ImportDeclaration or ImportType.");const u=0===KK(t,o),d=Ah(l),p=!d||(null==(s=Dq(d.text,t.fileName,r.getCompilerOptions(),i,r.getModuleResolutionCache(),void 0,99).resolvedModule)?void 0:s.resolvedFileName)===(null==(c=null==(a=r.getResolvedModuleFromModuleSpecifier(d,t))?void 0:a.resolvedModule)?void 0:c.resolvedFileName),f=l.attributes?XS.updateImportAttributes(l.attributes,XS.createNodeArray([...l.attributes.elements,XS.createImportAttribute(XS.createStringLiteral("resolution-mode",u),XS.createStringLiteral(p?"import":"require",u))],l.attributes.elements.hasTrailingComma),l.attributes.multiLine):XS.createImportAttributes(XS.createNodeArray([XS.createImportAttribute(XS.createStringLiteral("resolution-mode",u),XS.createStringLiteral(p?"import":"require",u))]));272===l.kind?e.replaceNode(t,l,XS.updateImportDeclaration(l,l.modifiers,l.importClause,l.moduleSpecifier,f)):e.replaceNode(t,l,XS.updateImportTypeNode(l,l.argument,f,l.qualifier,l.typeArguments))}L5({errorCodes:k7,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>D7(t,e.sourceFile,e.span.start,e.program,e.host,e.preferences)));return[q5(S7,t,us.Add_resolution_mode_import_attribute,S7,us.Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it)]},fixIds:[S7],getAllCodeActions:e=>H5(e,k7,((t,n)=>D7(t,n.file,n.start,e.program,e.host,e.preferences)))});var w7="addNameToNamelessParameter",I7=[us.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function T7(e,t,n){const r=UY(t,n),i=r.parent;if(!aw(i))return un.fail("Tried to add a parameter name to a non-parameter: "+un.formatSyntaxKind(r.kind));const o=i.parent.parameters.indexOf(i);un.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),un.assert(o>-1,"Parameter not found in parent parameter list.");let s=i.name.getEnd(),a=XS.createTypeReferenceNode(i.name,void 0),c=F7(t,i);for(;c;)a=XS.createArrayTypeNode(a),s=c.getEnd(),c=F7(t,c);const l=XS.createParameterDeclaration(i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,i.dotDotDotToken&&!kw(a)?XS.createArrayTypeNode(a):a,i.initializer);e.replaceRange(t,Pv(i.getStart(t),s),l)}function F7(e,t){const n=GY(t.name,t.parent,e);if(n&&23===n.kind&&Vw(n.parent)&&aw(n.parent.parent))return n.parent.parent}L5({errorCodes:I7,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>T7(t,e.sourceFile,e.span.start)));return[q5(w7,t,us.Add_parameter_name,w7,us.Add_names_to_all_parameters_without_names)]},fixIds:[w7],getAllCodeActions:e=>H5(e,I7,((e,t)=>T7(e,t.file,t.start)))});var R7="addOptionalPropertyUndefined";function P7(e,t){var n;if(e){if(uI(e.parent)&&64===e.parent.operatorToken.kind)return{source:e.parent.right,target:e.parent.left};if(HI(e.parent)&&e.parent.initializer)return{source:e.parent.initializer,target:e.parent.name};if(Kw(e.parent)){const n=t.getSymbolAtLocation(e.parent.expression);if(!(null==n?void 0:n.valueDeclaration)||!cu(n.valueDeclaration.kind))return;if(!Ju(e))return;const r=e.parent.arguments.indexOf(e);if(-1===r)return;const i=n.valueDeclaration.parameters[r].name;if(UD(i))return{source:e,target:i}}else if(LT(e.parent)&&UD(e.parent.name)||MT(e.parent)){const r=P7(e.parent.parent,t);if(!r)return;const i=t.getPropertyOfType(t.getTypeAtLocation(r.target),e.parent.name.text),o=null==(n=null==i?void 0:i.declarations)?void 0:n[0];if(!o)return;return{source:LT(e.parent)?e.parent.initializer:e.parent.name,target:o}}}}L5({errorCodes:[us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],getCodeActions(e){const t=e.program.getTypeChecker(),n=function(e,t,n){var r,i;const o=P7(UZ(e,t),n);if(!o)return a;const{source:s,target:c}=o,l=function(e,t,n){return zw(t)&&!!n.getExactOptionalProperties(n.getTypeAtLocation(t.expression)).length&&n.getTypeAtLocation(e)===n.getUndefinedType()}(s,c,n)?n.getTypeAtLocation(c.expression):n.getTypeAtLocation(c);if(null==(i=null==(r=l.symbol)?void 0:r.declarations)?void 0:i.some((e=>Ap(e).fileName.match(/\.d\.ts$/))))return a;return n.getExactOptionalProperties(l)}(e.sourceFile,e.span,t);if(!n.length)return;const r=zde.ChangeTracker.with(e,(e=>function(e,t){for(const n of t){const t=n.valueDeclaration;if(t&&(lw(t)||uw(t))&&t.type){const n=XS.createUnionTypeNode([...192===t.type.kind?t.type.types:[t.type],XS.createTypeReferenceNode("undefined")]);e.replaceNode(t.getSourceFile(),t.type,n)}}}(e,n)));return[O5(R7,r,us.Add_undefined_to_optional_property_type)]},fixIds:[R7]});var N7="annotateWithTypeFromJSDoc",B7=[us.JSDoc_types_may_be_moved_to_TypeScript_types.code];function O7(e,t){const n=UY(e,t);return et(aw(n.parent)?n.parent.parent:n.parent,q7)}function q7(e){return function(e){return ou(e)||260===e.kind||171===e.kind||172===e.kind}(e)&&$7(e)}function $7(e){return ou(e)?e.parameters.some($7)||!e.type&&!!rl(e):!e.type&&!!nl(e)}function Q7(e,t,n){if(ou(n)&&(rl(n)||n.parameters.some((e=>!!nl(e))))){if(!n.typeParameters){const r=gy(n);r.length&&e.insertTypeParameters(t,n,r)}const r=rI(n)&&!IY(n,21,t);r&&e.insertNodeBefore(t,me(n.parameters),XS.createToken(21));for(const r of n.parameters)if(!r.type){const n=nl(r);n&&e.tryInsertTypeAnnotation(t,r,eL(n,L7,vu))}if(r&&e.insertNodeAfter(t,Ae(n.parameters),XS.createToken(22)),!n.type){const r=rl(n);r&&e.tryInsertTypeAnnotation(t,n,eL(r,L7,vu))}}else{const r=un.checkDefined(nl(n),"A JSDocType for this declaration should exist");un.assert(!n.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(t,n,eL(r,L7,vu))}}function L7(e){switch(e.kind){case 312:case 313:return XS.createTypeReferenceNode("any",a);case 316:return function(e){return XS.createUnionTypeNode([eL(e.type,L7,vu),XS.createTypeReferenceNode("undefined",a)])}(e);case 315:return L7(e.type);case 314:return function(e){return XS.createUnionTypeNode([eL(e.type,L7,vu),XS.createTypeReferenceNode("null",a)])}(e);case 318:return function(e){return XS.createArrayTypeNode(eL(e.type,L7,vu))}(e);case 317:return function(e){return XS.createFunctionTypeNode(a,e.parameters.map(M7),e.type??XS.createKeywordTypeNode(133))}(e);case 183:return function(e){let t=e.typeName,n=e.typeArguments;if(UD(e.typeName)){if(Nm(e))return function(e){const t=XS.createParameterDeclaration(void 0,void 0,150===e.typeArguments[0].kind?"n":"s",void 0,XS.createTypeReferenceNode(150===e.typeArguments[0].kind?"number":"string",[]),void 0),n=XS.createTypeLiteralNode([XS.createIndexSignature(void 0,[t],e.typeArguments[1])]);return ik(n,1),n}(e);let r=e.typeName.text;switch(e.typeName.text){case"String":case"Boolean":case"Object":case"Number":r=r.toLowerCase();break;case"array":case"date":case"promise":r=r[0].toUpperCase()+r.slice(1)}t=XS.createIdentifier(r),n="Array"!==r&&"Promise"!==r||e.typeArguments?tL(e.typeArguments,L7,vu):XS.createNodeArray([XS.createTypeReferenceNode("any",a)])}return XS.createTypeReferenceNode(t,n)}(e);case 322:return function(e){const t=XS.createTypeLiteralNode(w(e.jsDocPropertyTags,(e=>XS.createPropertySignature(void 0,UD(e.name)?e.name:e.name.right,Hx(e)?XS.createToken(58):void 0,e.typeExpression&&eL(e.typeExpression.type,L7,vu)||XS.createKeywordTypeNode(133)))));return ik(t,1),t}(e);default:const t=uL(e,L7,void 0);return ik(t,1),t}}function M7(e){const t=e.parent.parameters.indexOf(e),n=318===e.type.kind&&t===e.parent.parameters.length-1,r=e.name||(n?"rest":"arg"+t),i=n?XS.createToken(26):e.dotDotDotToken;return XS.createParameterDeclaration(e.modifiers,i,r,e.questionToken,eL(e.type,L7,vu),e.initializer)}L5({errorCodes:B7,getCodeActions(e){const t=O7(e.sourceFile,e.span.start);if(!t)return;const n=zde.ChangeTracker.with(e,(n=>Q7(n,e.sourceFile,t)));return[q5(N7,n,us.Annotate_with_type_from_JSDoc,N7,us.Annotate_everything_with_types_from_JSDoc)]},fixIds:[N7],getAllCodeActions:e=>H5(e,B7,((e,t)=>{const n=O7(t.file,t.start);n&&Q7(e,t.file,n)}))});var j7="convertFunctionToEs6Class",U7=[us.This_constructor_function_may_be_converted_to_a_class_declaration.code];function J7(e,t,n,r,i,o){const s=r.getSymbolAtLocation(UY(t,n));if(!(s&&s.valueDeclaration&&19&s.flags))return;const a=s.valueDeclaration;if(WI(a)||nI(a))e.replaceNode(t,a,function(e){const t=c(s);e.body&&t.unshift(XS.createConstructorDeclaration(void 0,e.parameters,e.body));const n=V7(e,95),r=XS.createClassDeclaration(n,e.name,void 0,void 0,t);return r}(a));else if(HI(a)){const n=function(e){const t=e.initializer;if(!t||!nI(t)||!UD(e.name))return;const n=c(e.symbol);t.body&&n.unshift(XS.createConstructorDeclaration(void 0,t.parameters,t.body));const r=V7(e.parent.parent,95),i=XS.createClassDeclaration(r,e.name,void 0,void 0,n);return i}(a);if(!n)return;const r=a.parent.parent;GI(a.parent)&&a.parent.declarations.length>1?(e.delete(t,a),e.insertNodeAfter(t,r,n)):e.replaceNode(t,r,n)}function c(n){const r=[];return n.exports&&n.exports.forEach((e=>{if("prototype"===e.name&&e.declarations){const t=e.declarations[0];if(1===e.declarations.length&&zw(t)&&uI(t.parent)&&64===t.parent.operatorToken.kind&&Ww(t.parent.right)){s(t.parent.right.symbol,void 0,r)}}else s(e,[XS.createToken(126)],r)})),n.members&&n.members.forEach(((i,o)=>{var a,c,l,u;if("constructor"===o&&i.valueDeclaration){const r=null==(u=null==(l=null==(c=null==(a=n.exports)?void 0:a.get("prototype"))?void 0:c.declarations)?void 0:l[0])?void 0:u.parent;r&&uI(r)&&Ww(r.right)&&J(r.right.properties,H7)||e.delete(t,i.valueDeclaration.parent)}else s(i,void 0,r)})),r;function s(n,r,s){if(!(8192&n.flags||4096&n.flags))return;const a=n.valueDeclaration,c=a.parent,l=c.right;if(!function(e,t){return xb(e)?!(!zw(e)||!H7(e))||ru(t):g(e.properties,(e=>!!(pw(e)||fl(e)||LT(e)&&nI(e.initializer)&&e.name||H7(e))))}(a,l))return;if(J(s,(e=>{const t=Sc(e);return!(!t||!UD(t)||hc(t)!==Ac(n))})))return;const d=c.parent&&244===c.parent.kind?c.parent:c;if(e.delete(t,d),l)if(xb(a)&&(nI(l)||rI(l))){const e=KK(t,i),n=function(e,t,n){if(zw(e))return e.name;const r=e.argumentExpression;if(xD(r))return r;if(Od(r))return ma(r.text,yC(t))?XS.createIdentifier(r.text):ID(r)?XS.createStringLiteral(r.text,0===n):r;return}(a,o,e);n&&p(s,l,n)}else{if(!Ww(l)){if(Im(t))return;if(!zw(a))return;const e=XS.createPropertyDeclaration(r,a.name,void 0,void 0,l);return sZ(c.parent,e,t),void s.push(e)}u(l.properties,(e=>{(pw(e)||fl(e))&&s.push(e),LT(e)&&nI(e.initializer)&&p(s,e.initializer,e.name),H7(e)}))}else s.push(XS.createPropertyDeclaration(r,n.name,void 0,void 0,void 0));function p(e,n,i){return nI(n)?function(e,n,i){const o=H(r,V7(n,134)),s=XS.createMethodDeclaration(o,void 0,i,void 0,void 0,n.parameters,void 0,n.body);return sZ(c,s,t),void e.push(s)}(e,n,i):function(e,n,i){const o=n.body;let s;s=241===o.kind?o:XS.createBlock([XS.createReturnStatement(o)]);const a=H(r,V7(n,134)),l=XS.createMethodDeclaration(a,void 0,i,void 0,void 0,n.parameters,void 0,s);sZ(c,l,t),e.push(l)}(e,n,i)}}}}function V7(e,t){return cP(e)?S(e.modifiers,(e=>e.kind===t)):void 0}function H7(e){return!!e.name&&!(!UD(e.name)||"constructor"!==e.name.text)}L5({errorCodes:U7,getCodeActions(e){const t=zde.ChangeTracker.with(e,(t=>J7(t,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())));return[q5(j7,t,us.Convert_function_to_an_ES2015_class,j7,us.Convert_all_constructor_functions_to_classes)]},fixIds:[j7],getAllCodeActions:e=>H5(e,U7,((t,n)=>J7(t,n.file,n.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())))});var G7="convertToAsyncFunction",W7=[us.This_may_be_converted_to_an_async_function.code],z7=!0;function Y7(e,t,n,r){const i=UY(t,n);let o;if(o=UD(i)&&HI(i.parent)&&i.parent.initializer&&ou(i.parent.initializer)?i.parent.initializer:et(W_(UY(t,n)),Q1),!o)return;const s=new Map,c=Tm(o),l=function(e,t){if(!e.body)return new Set;const n=new Set;return OP(e.body,(function e(r){K7(r,t,"then")?(n.add(JQ(r)),u(r.arguments,e)):K7(r,t,"catch")||K7(r,t,"finally")?(n.add(JQ(r)),OP(r,e)):e9(r,t)?n.add(JQ(r)):OP(r,e)})),n}(o,r),d=function(e,t,n){const r=new Map,i=Ve();return OP(e,(function e(o){if(!UD(o))return void OP(o,e);const s=t.getSymbolAtLocation(o);if(s){const e=f9(t.getTypeAtLocation(o),t),a=VQ(s).toString();if(!e||aw(o.parent)||ou(o.parent)||n.has(a)){if(o.parent&&(aw(o.parent)||HI(o.parent)||Hw(o.parent))){const e=o.text,t=i.get(e);if(t&&t.some((e=>e!==s))){const t=t9(o,i);r.set(a,t.identifier),n.set(a,t),i.add(e,s)}else{const t=GX(o);n.set(a,g9(t)),i.add(e,s)}}}else{const t=fe(e.parameters),r=(null==t?void 0:t.valueDeclaration)&&aw(t.valueDeclaration)&&et(t.valueDeclaration.name,UD)||XS.createUniqueName("result",16),o=t9(r,i);n.set(a,o),i.add(r.text,s)}}})),WX(e,!0,(e=>{if(Hw(e)&&UD(e.name)&&Jw(e.parent)){const n=t.getSymbolAtLocation(e.name),i=n&&r.get(String(VQ(n)));if(i&&i.text!==(e.name||e.propertyName).getText())return XS.createBindingElement(e.dotDotDotToken,e.propertyName||e.name,i,e.initializer)}else if(UD(e)){const n=t.getSymbolAtLocation(e),i=n&&r.get(String(VQ(n)));if(i)return XS.createIdentifier(i.text)}}))}(o,r,s);if(!R1(d,r))return;const p=d.body&&DI(d.body)?function(e,t){const n=[];return D_(e,(e=>{P1(e,t)&&n.push(e)})),n}(d.body,r):a,f={checker:r,synthNamesMap:s,setOfExpressionsToReturn:l,isInJSFile:c};if(!p.length)return;const _=Ks(t.text,qv(o).pos);e.insertModifierAt(t,_,134,{suffix:" "});for(const n of p)if(OP(n,(function r(i){if(Kw(i)){const r=i9(i,i,f,!1);if(n9())return!0;e.replaceNodeWithNodes(t,n,r)}else if(!ru(i)&&(OP(i,r),n9()))return!0})),n9())return}function K7(e,t,n){if(!Kw(e))return!1;const r=eY(e,n)&&t.getTypeAtLocation(e);return!(!r||!t.getPromisedTypeOfPromise(r))}function X7(e,t){return!!(4&gb(e))&&e.target===t}function Z7(e,t,n){if("finally"===e.expression.name.escapedText)return;const r=n.getTypeAtLocation(e.expression.expression);if(X7(r,n.getPromiseType())||X7(r,n.getPromiseLikeType())){if("then"!==e.expression.name.escapedText)return pe(e.typeArguments,0);if(t===pe(e.arguments,0))return pe(e.typeArguments,0);if(t===pe(e.arguments,1))return pe(e.typeArguments,1)}}function e9(e,t){return!!Ju(e)&&!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(e))}function t9(e,t){const n=(t.get(e.text)||a).length;return g9(0===n?e:XS.createIdentifier(e.text+"_"+n))}function n9(){return!z7}function r9(){return z7=!1,a}function i9(e,t,n,r,i){if(K7(t,n.checker,"then"))return function(e,t,n,r,i,o){if(!t||o9(r,t))return c9(e,n,r,i,o);if(n&&!o9(r,n))return r9();const s=m9(t,r),a=i9(e.expression.expression,e.expression.expression,r,!0,s);if(n9())return r9();const c=d9(t,i,o,s,e,r);return n9()?r9():H(a,c)}(t,pe(t.arguments,0),pe(t.arguments,1),n,r,i);if(K7(t,n.checker,"catch"))return c9(t,pe(t.arguments,0),n,r,i);if(K7(t,n.checker,"finally"))return function(e,t,n,r,i){if(!t||o9(n,t))return i9(e,e.expression.expression,n,r,i);const o=s9(e,n,i),s=i9(e,e.expression.expression,n,!0,o);if(n9())return r9();const a=d9(t,r,void 0,void 0,e,n);if(n9())return r9();const c=XS.createBlock(s),l=XS.createBlock(a),u=XS.createTryStatement(c,void 0,l);return a9(e,n,u,o,i)}(t,pe(t.arguments,0),n,r,i);if(zw(t))return i9(e,t.expression,n,r,i);const o=n.checker.getTypeAtLocation(t);return o&&n.checker.getPromisedTypeOfPromise(o)?(un.assertNode(uc(t).parent,zw),function(e,t,n,r,i){if(E9(e,n)){let e=GX(t);return r&&(e=XS.createAwaitExpression(e)),[XS.createReturnStatement(e)]}return l9(i,XS.createAwaitExpression(t),void 0)}(e,t,n,r,i)):r9()}function o9({checker:e},t){if(106===t.kind)return!0;if(UD(t)&&!Vl(t)&&"undefined"===hc(t)){const n=e.getSymbolAtLocation(t);return!n||e.isUndefinedSymbol(n)}return!1}function s9(e,t,n){let r;return n&&!E9(e,t)&&(C9(n)?(r=n,t.synthNamesMap.forEach(((e,r)=>{if(e.identifier.text===n.identifier.text){const e=(i=n,g9(XS.createUniqueName(i.identifier.text,16)));t.synthNamesMap.set(r,e)}var i}))):r=g9(XS.createUniqueName("result",16),n.types),b9(r)),r}function a9(e,t,n,r,i){const o=[];let s;if(r&&!E9(e,t)){s=GX(b9(r));const e=r.types,n=t.checker.getUnionType(e,2),i=t.isInJSFile?void 0:t.checker.typeToTypeNode(n,void 0,void 0),a=[XS.createVariableDeclaration(s,void 0,i)],c=XS.createVariableStatement(void 0,XS.createVariableDeclarationList(a,1));o.push(c)}return o.push(n),i&&s&&1===i.kind&&o.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(GX(v9(i)),void 0,void 0,s)],2))),o}function c9(e,t,n,r,i){if(!t||o9(n,t))return i9(e,e.expression.expression,n,r,i);const o=m9(t,n),s=s9(e,n,i),a=i9(e,e.expression.expression,n,!0,s);if(n9())return r9();const c=d9(t,r,s,o,e,n);if(n9())return r9();const l=XS.createBlock(a),u=XS.createCatchClause(o&&GX(y9(o)),XS.createBlock(c));return a9(e,n,XS.createTryStatement(l,u,void 0),s,i)}function l9(e,t,n){return!e||h9(e)?[XS.createExpressionStatement(t)]:C9(e)&&e.hasBeenDeclared?[XS.createExpressionStatement(XS.createAssignment(GX(A9(e)),t))]:[XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(GX(y9(e)),void 0,n,t)],2))]}function u9(e,t){if(t&&e){const n=XS.createUniqueName("result",16);return[...l9(g9(n),e,t),XS.createReturnStatement(n)]}return[XS.createReturnStatement(e)]}function d9(e,t,n,r,i,o){var s;switch(e.kind){case 106:break;case 211:case 80:if(!r)break;const c=XS.createCallExpression(GX(e),void 0,C9(r)?[A9(r)]:[]);if(E9(i,o))return u9(c,Z7(i,e,o.checker));const l=o.checker.getTypeAtLocation(e),u=o.checker.getSignaturesOfType(l,0);if(!u.length)return r9();const d=u[0].getReturnType(),p=l9(n,XS.createAwaitExpression(c),Z7(i,e,o.checker));return n&&n.types.push(o.checker.getAwaitedType(d)||d),p;case 218:case 219:{const r=e.body,c=null==(s=f9(o.checker.getTypeAtLocation(e),o.checker))?void 0:s.getReturnType();if(DI(r)){let s=[],a=!1;for(const l of r.statements)if(QI(l))if(a=!0,P1(l,o.checker))s=s.concat(_9(o,l,t,n));else{const t=c&&l.expression?p9(o.checker,c,l.expression):l.expression;s.push(...u9(t,Z7(i,e,o.checker)))}else{if(t&&D_(l,it))return r9();s.push(l)}return E9(i,o)?s.map((e=>GX(e))):function(e,t,n,r){const i=[];for(const r of e)if(QI(r)){if(r.expression){const e=e9(r.expression,n.checker)?XS.createAwaitExpression(r.expression):r.expression;void 0===t?i.push(XS.createExpressionStatement(e)):C9(t)&&t.hasBeenDeclared?i.push(XS.createExpressionStatement(XS.createAssignment(A9(t),e))):i.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(y9(t),void 0,void 0,e)],2)))}}else i.push(GX(r));r||void 0===t||i.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(y9(t),void 0,void 0,XS.createIdentifier("undefined"))],2)));return i}(s,n,o,a)}{const s=N1(r,o.checker)?_9(o,XS.createReturnStatement(r),t,n):a;if(s.length>0)return s;if(c){const t=p9(o.checker,c,r);if(E9(i,o))return u9(t,Z7(i,e,o.checker));{const e=l9(n,t,void 0);return n&&n.types.push(o.checker.getAwaitedType(c)||c),e}}return r9()}}default:return r9()}return a}function p9(e,t,n){const r=GX(n);return e.getPromisedTypeOfPromise(t)?XS.createAwaitExpression(r):r}function f9(e,t){return ge(t.getSignaturesOfType(e,0))}function _9(e,t,n,r){let i=[];return OP(t,(function t(o){if(Kw(o)){const t=i9(o,o,e,n,r);if(i=i.concat(t),i.length>0)return}else ru(o)||OP(o,t)})),i}function m9(e,t){const n=[];let r;if(ou(e)){if(e.parameters.length>0){r=function e(t){if(UD(t))return i(t);const n=R(t.elements,(t=>hI(t)?[]:[e(t.name)]));return function(e,t=a,n=[]){return{kind:1,bindingPattern:e,elements:t,types:n}}(t,n)}(e.parameters[0].name)}}else UD(e)?r=i(e):zw(e)&&UD(e.name)&&(r=i(e.name));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function i(e){const r=function(e){return e.original?e.original:e}(e),i=function(e){var n;return(null==(n=et(e,sd))?void 0:n.symbol)??t.checker.getSymbolAtLocation(e)}(r);if(!i)return g9(e,n);return t.synthNamesMap.get(VQ(i).toString())||g9(e,n)}}function h9(e){return!e||(C9(e)?!e.identifier.text:g(e.elements,h9))}function g9(e,t=[]){return{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function A9(e){return e.hasBeenReferenced=!0,e.identifier}function y9(e){return C9(e)?b9(e):v9(e)}function v9(e){for(const t of e.elements)y9(t);return e.bindingPattern}function b9(e){return e.hasBeenDeclared=!0,e.identifier}function C9(e){return 0===e.kind}function E9(e,t){return!!e.original&&t.setOfExpressionsToReturn.has(JQ(e.original))}function x9(e,t,n,r,i){var o;for(const s of e.imports){const a=null==(o=n.getResolvedModuleFromModuleSpecifier(s,e))?void 0:o.resolvedModule;if(!a||a.resolvedFileName!==t.fileName)continue;const c=yh(s);switch(c.kind){case 271:r.replaceNode(e,c,GK(c.name,void 0,s,i));break;case 213:Bm(c,!1)&&r.replaceNode(e,c,XS.createPropertyAccessExpression(GX(c),"default"))}}}function S9(e,t){e.forEachChild((function n(r){if(zw(r)&&U$(e,r.expression)&&UD(r.name)){const{parent:e}=r;t(r,uI(e)&&e.left===r&&64===e.operatorToken.kind)}r.forEachChild(n)}))}function k9(e,t,n,r,i,o,s,a,l){switch(t.kind){case 243:return D9(e,t,r,n,i,o,l),!1;case 244:{const{expression:i}=t;switch(i.kind){case 213:return Bm(i,!0)&&r.replaceNode(e,t,GK(void 0,void 0,i.arguments[0],l)),!1;case 226:{const{operatorToken:t}=i;return 64===t.kind&&function(e,t,n,r,i,o){const{left:s,right:a}=n;if(!zw(s))return!1;if(U$(e,s)){if(!U$(e,a)){const i=Ww(a)?function(e,t){const n=O(e.properties,(e=>{switch(e.kind){case 177:case 178:case 304:case 305:return;case 303:return UD(e.name)?function(e,t,n){const r=[XS.createToken(95)];switch(t.kind){case 218:{const{name:n}=t;if(n&&n.text!==e)return i()}case 219:return N9(e,r,t,n);case 231:return function(e,t,n,r){return XS.createClassDeclaration(H(t,YX(n.modifiers)),e,YX(n.typeParameters),YX(n.heritageClauses),T9(n.members,r))}(e,r,t,n);default:return i()}function i(){return q9(r,XS.createIdentifier(e),T9(t,n))}}(e.name.text,e.initializer,t):void 0;case 174:return UD(e.name)?N9(e.name.text,[XS.createToken(95)],e,t):void 0;default:un.assertNever(e,`Convert to ES6 got invalid prop kind ${e.kind}`)}}));return n&&[n,!1]}(a,o):Bm(a,!0)?function(e,t){const n=e.text,r=t.getSymbolAtLocation(e),i=r?r.exports:c;return i.has("export=")?[[I9(n)],!0]:i.has("default")?i.size>1?[[w9(n),I9(n)],!0]:[[I9(n)],!0]:[[w9(n)],!1]}(a.arguments[0],t):void 0;return i?(r.replaceNodeWithNodes(e,n.parent,i[0]),i[1]):(r.replaceRangeWithText(e,Pv(s.getStart(e),a.pos),"export default"),!0)}r.delete(e,n.parent)}else U$(e,s.expression)&&function(e,t,n,r){const{text:i}=t.left.name,o=r.get(i);if(void 0!==o){const r=[q9(void 0,o,t.right),$9([XS.createExportSpecifier(!1,o,i)])];n.replaceNodeWithNodes(e,t.parent,r)}else!function({left:e,right:t,parent:n},r,i){const o=e.name.text;if(!(nI(t)||rI(t)||mI(t))||t.name&&t.name.text!==o)i.replaceNodeRangeWithNodes(r,e.expression,IY(e,25,r),[XS.createToken(95),XS.createToken(87)],{joiner:" ",suffix:" "});else{i.replaceRange(r,{pos:e.getStart(r),end:t.getStart(r)},XS.createToken(95),{suffix:" "}),t.name||i.insertName(r,t,o);const s=IY(n,27,r);s&&i.delete(r,s)}}(t,e,n)}(e,n,r,i);return!1}(e,n,i,r,s,a)}}}default:return!1}}function D9(e,t,n,r,i,o,s){const{declarationList:a}=t;let c=!1;const l=w(a.declarations,(t=>{const{name:n,initializer:l}=t;if(l){if(U$(e,l))return c=!0,Q9([]);if(Bm(l,!0))return c=!0,function(e,t,n,r,i,o){switch(e.kind){case 206:{const n=O(e.elements,(e=>e.dotDotDotToken||e.initializer||e.propertyName&&!UD(e.propertyName)||!UD(e.name)?void 0:O9(e.propertyName&&e.propertyName.text,e.name.text)));if(n)return Q9([GK(void 0,n,t,o)])}case 207:{const n=F9(zZ(t.text,i),r);return Q9([GK(XS.createIdentifier(n),void 0,t,o),q9(void 0,GX(e),XS.createIdentifier(n))])}case 80:return function(e,t,n,r,i){const o=n.getSymbolAtLocation(e),s=new Map;let a,c=!1;for(const t of r.original.get(e.text)){if(n.getSymbolAtLocation(t)!==o||t===e)continue;const{parent:i}=t;if(zw(i)){const{name:{text:e}}=i;if("default"===e){c=!0;const e=t.getText();(a??(a=new Map)).set(i,XS.createIdentifier(e))}else{un.assert(i.expression===t,"Didn't expect expression === use");let n=s.get(e);void 0===n&&(n=F9(e,r),s.set(e,n)),(a??(a=new Map)).set(i,XS.createIdentifier(n))}}else c=!0}const l=0===s.size?void 0:Pe(I(s.entries(),(([e,t])=>XS.createImportSpecifier(!1,e===t?void 0:XS.createIdentifier(e),XS.createIdentifier(t)))));l||(c=!0);return Q9([GK(c?GX(e):void 0,l,t,i)],a)}(e,t,n,r,o);default:return un.assertNever(e,`Convert to ES module got invalid name kind ${e.kind}`)}}(n,l.arguments[0],r,i,o,s);if(zw(l)&&Bm(l.expression,!0))return c=!0,function(e,t,n,r,i){switch(e.kind){case 206:case 207:{const o=F9(t,r);return Q9([B9(o,t,n,i),q9(void 0,e,XS.createIdentifier(o))])}case 80:return Q9([B9(e.text,t,n,i)]);default:return un.assertNever(e,`Convert to ES module got invalid syntax form ${e.kind}`)}}(n,l.name.text,l.expression.arguments[0],i,s)}return Q9([XS.createVariableStatement(void 0,XS.createVariableDeclarationList([t],a.flags))])}));if(c){let r;return n.replaceNodeWithNodes(e,t,R(l,(e=>e.newImports))),u(l,(e=>{e.useSitesToUnqualify&&ip(e.useSitesToUnqualify,r??(r=new Map))})),r}}function w9(e){return $9(void 0,e)}function I9(e){return $9([XS.createExportSpecifier(!1,void 0,"default")],e)}function T9(e,t){return t&&J(Pe(t.keys()),(t=>Kv(e,t)))?Ye(e)?KX(e,!0,n):WX(e,!0,n):e;function n(e){if(211===e.kind){const n=t.get(e);return t.delete(e),n}}}function F9(e,t){for(;t.original.has(e)||t.additional.has(e);)e=`_${e}`;return t.additional.add(e),e}function R9(e){const t=Ve();return P9(e,(e=>t.add(e.text,e))),t}function P9(e,t){UD(e)&&function(e){const{parent:t}=e;switch(t.kind){case 211:return t.name!==e;case 208:case 276:return t.propertyName!==e;default:return!0}}(e)&&t(e),e.forEachChild((e=>P9(e,t)))}function N9(e,t,n,r){return XS.createFunctionDeclaration(H(t,YX(n.modifiers)),GX(n.asteriskToken),e,YX(n.typeParameters),YX(n.parameters),GX(n.type),XS.converters.convertToFunctionBlock(T9(n.body,r)))}function B9(e,t,n,r){return"default"===t?GK(XS.createIdentifier(e),void 0,n,r):GK(void 0,[O9(t,e)],n,r)}function O9(e,t){return XS.createImportSpecifier(!1,void 0!==e&&e!==t?XS.createIdentifier(e):void 0,XS.createIdentifier(t))}function q9(e,t,n){return XS.createVariableStatement(e,XS.createVariableDeclarationList([XS.createVariableDeclaration(t,void 0,void 0,n)],2))}function $9(e,t){return XS.createExportDeclaration(void 0,!1,e&&XS.createNamedExports(e),void 0===t?void 0:XS.createStringLiteral(t))}function Q9(e,t){return{newImports:e,useSitesToUnqualify:t}}L5({errorCodes:W7,getCodeActions(e){z7=!0;const t=zde.ChangeTracker.with(e,(t=>Y7(t,e.sourceFile,e.span.start,e.program.getTypeChecker())));return z7?[q5(G7,t,us.Convert_to_async_function,G7,us.Convert_all_to_async_functions)]:[]},fixIds:[G7],getAllCodeActions:e=>H5(e,W7,((t,n)=>Y7(t,n.file,n.start,e.program.getTypeChecker())))}),L5({errorCodes:[us.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(e){const{sourceFile:t,program:n,preferences:r}=e,i=zde.ChangeTracker.with(e,(e=>{const i=function(e,t,n,r,i){const o={original:R9(e),additional:new Set},s=function(e,t,n){const r=new Map;return S9(e,(e=>{const{text:i}=e.name;r.has(i)||!Fg(e.name)&&!t.resolveName(i,e,111551,!0)||r.set(i,F9(`_${i}`,n))})),r}(e,t,o);!function(e,t,n){S9(e,((r,i)=>{if(i)return;const{text:o}=r.name;n.replaceNode(e,r,XS.createIdentifier(t.get(o)||o))}))}(e,s,n);let a,c=!1;for(const s of S(e.statements,wI)){const c=D9(e,s,n,t,o,r,i);c&&ip(c,a??(a=new Map))}for(const l of S(e.statements,(e=>!wI(e)))){const u=k9(e,l,t,n,o,r,s,a,i);c=c||u}return null==a||a.forEach(((t,r)=>{n.replaceNode(e,r,t)})),c}(t,n.getTypeChecker(),e,yC(n.getCompilerOptions()),KK(t,r));if(i)for(const i of n.getSourceFiles())x9(i,t,n,e,KK(i,r))}));return[O5("convertToEsModule",i,us.Convert_to_ES_module)]}});var L9="correctQualifiedNameToIndexedAccessType",M9=[us.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];function j9(e,t){const n=dc(UY(e,t),iw);return un.assert(!!n,"Expected position to be owned by a qualified name."),UD(n.left)?n:void 0}function U9(e,t,n){const r=n.right.text,i=XS.createIndexedAccessTypeNode(XS.createTypeReferenceNode(n.left,void 0),XS.createLiteralTypeNode(XS.createStringLiteral(r)));e.replaceNode(t,n,i)}L5({errorCodes:M9,getCodeActions(e){const t=j9(e.sourceFile,e.span.start);if(!t)return;const n=zde.ChangeTracker.with(e,(n=>U9(n,e.sourceFile,t))),r=`${t.left.text}["${t.right.text}"]`;return[q5(L9,n,[us.Rewrite_as_the_indexed_access_type_0,r],L9,us.Rewrite_all_as_indexed_access_types)]},fixIds:[L9],getAllCodeActions:e=>H5(e,M9,((e,t)=>{const n=j9(t.file,t.start);n&&U9(e,t.file,n)}))});var J9=[us.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],V9="convertToTypeOnlyExport";function H9(e,t){return et(UY(t,e.start).parent,AT)}function G9(e,t,n){if(!t)return;const r=t.parent,i=r.parent,o=function(e,t){const n=e.parent;if(1===n.elements.length)return n.elements;const r=MZ(SK(n),t.program.getSemanticDiagnostics(t.sourceFile,t.cancellationToken));return S(n.elements,(t=>{var n;return t===e||(null==(n=LZ(t,r))?void 0:n.code)===J9[0]}))}(t,n);if(o.length===r.elements.length)e.insertModifierBefore(n.sourceFile,156,r);else{const t=XS.updateExportDeclaration(i,i.modifiers,!1,XS.updateNamedExports(r,S(r.elements,(e=>!C(o,e)))),i.moduleSpecifier,void 0),s=XS.createExportDeclaration(void 0,!0,XS.createNamedExports(o),i.moduleSpecifier,void 0);e.replaceNode(n.sourceFile,i,t,{leadingTriviaOption:zde.LeadingTriviaOption.IncludeAll,trailingTriviaOption:zde.TrailingTriviaOption.Exclude}),e.insertNodeAfter(n.sourceFile,i,s)}}L5({errorCodes:J9,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>G9(t,H9(e.span,e.sourceFile),e)));if(t.length)return[q5(V9,t,us.Convert_to_type_only_export,V9,us.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[V9],getAllCodeActions:function(e){const t=new Set;return H5(e,J9,((n,r)=>{const i=H9(r,e.sourceFile);i&&bb(t,JQ(i.parent.parent))&&G9(n,i,e)}))}});var W9=[us._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code,us._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],z9="convertToTypeOnlyImport";function Y9(e,t){const{parent:n}=UY(e,t);return _T(n)||iT(n)&&n.importClause?n:void 0}function K9(e,t,n){if(e.parent.parent.name)return!1;const r=e.parent.elements.filter((e=>!e.isTypeOnly));if(1===r.length)return!0;const i=n.getTypeChecker();for(const e of r){if(kce.Core.eachSymbolReferenceInFile(e.name,i,t,(e=>{const t=i.getSymbolAtLocation(e);return!!t&&i.symbolIsValue(t)||!vx(e)})))return!1}return!0}function X9(e,t,n){var r;if(_T(n))e.replaceNode(t,n,XS.updateImportSpecifier(n,!0,n.propertyName,n.name));else{const i=n.importClause;if(i.name&&i.namedBindings)e.replaceNodeWithNodes(t,n,[XS.createImportDeclaration(YX(n.modifiers,!0),XS.createImportClause(!0,GX(i.name,!0),void 0),GX(n.moduleSpecifier,!0),GX(n.attributes,!0)),XS.createImportDeclaration(YX(n.modifiers,!0),XS.createImportClause(!0,void 0,GX(i.namedBindings,!0)),GX(n.moduleSpecifier,!0),GX(n.attributes,!0))]);else{const o=275===(null==(r=i.namedBindings)?void 0:r.kind)?XS.updateNamedImports(i.namedBindings,T(i.namedBindings.elements,(e=>XS.updateImportSpecifier(e,!1,e.propertyName,e.name)))):i.namedBindings,s=XS.updateImportDeclaration(n,n.modifiers,XS.updateImportClause(i,!0,i.name,o),n.moduleSpecifier,n.attributes);e.replaceNode(t,n,s)}}}L5({errorCodes:W9,getCodeActions:function(e){var t;const n=Y9(e.sourceFile,e.span.start);if(n){const r=zde.ChangeTracker.with(e,(t=>X9(t,e.sourceFile,n))),i=276===n.kind&&iT(n.parent.parent.parent)&&K9(n,e.sourceFile,e.program)?zde.ChangeTracker.with(e,(t=>X9(t,e.sourceFile,n.parent.parent.parent))):void 0,o=q5(z9,r,276===n.kind?[us.Use_type_0,(null==(t=n.propertyName)?void 0:t.text)??n.name.text]:us.Use_import_type,z9,us.Fix_all_with_type_only_imports);return J(i)?[O5(z9,i,us.Use_import_type),o]:[o]}},fixIds:[z9],getAllCodeActions:function(e){const t=new Set;return H5(e,W9,((n,r)=>{const i=Y9(r.file,r.start);272!==(null==i?void 0:i.kind)||t.has(i)?276===(null==i?void 0:i.kind)&&iT(i.parent.parent.parent)&&!t.has(i.parent.parent.parent)&&K9(i,r.file,e.program)?(X9(n,r.file,i.parent.parent.parent),t.add(i.parent.parent.parent)):276===(null==i?void 0:i.kind)&&X9(n,r.file,i):(X9(n,r.file,i),t.add(i))}))}});var Z9="convertTypedefToType",eee=[us.JSDoc_typedef_may_be_converted_to_TypeScript_type.code];function tee(e,t,n,r,i=!1){if(!DF(t))return;const o=function(e){var t;const{typeExpression:n}=e;if(!n)return;const r=null==(t=e.name)?void 0:t.getText();if(!r)return;if(322===n.kind)return function(e,t){const n=ree(t);if(!J(n))return;return XS.createInterfaceDeclaration(void 0,e,void 0,void 0,n)}(r,n);if(309===n.kind)return function(e,t){const n=GX(t.type);if(!n)return;return XS.createTypeAliasDeclaration(void 0,XS.createIdentifier(e),void 0,n)}(r,n)}(t);if(!o)return;const s=t.parent,{leftSibling:a,rightSibling:c}=function(e){const t=e.parent,n=t.getChildCount()-1,r=t.getChildren().findIndex((t=>t.getStart()===e.getStart()&&t.getEnd()===e.getEnd())),i=r>0?t.getChildAt(r-1):void 0,o=r0;e--)if(!/[*/\s]/.test(r.substring(e-1,e)))return t+e;return n}function ree(e){const t=e.jsDocPropertyTags;if(!J(t))return;return q(t,(e=>{var t;const n=function(e){return 80===e.name.kind?e.name.text:e.name.right.text}(e),r=null==(t=e.typeExpression)?void 0:t.type,i=e.isBracketed;let o;if(r&&aF(r)){const e=ree(r);o=XS.createTypeLiteralNode(e)}else r&&(o=GX(r));if(o&&n){const e=i?XS.createToken(58):void 0;return XS.createPropertySignature(void 0,n,e,o)}}))}function iee(e){return wd(e)?R(e.jsDoc,(e=>{var t;return null==(t=e.tags)?void 0:t.filter((e=>DF(e)))})):[]}L5({fixIds:[Z9],errorCodes:eee,getCodeActions(e){const t=NX(e.host,e.formatContext.options),n=UY(e.sourceFile,e.span.start);if(!n)return;const r=zde.ChangeTracker.with(e,(r=>tee(r,n,e.sourceFile,t)));return r.length>0?[q5(Z9,r,us.Convert_typedef_to_TypeScript_type,Z9,us.Convert_all_typedef_to_TypeScript_types)]:void 0},getAllCodeActions:e=>H5(e,eee,((t,n)=>{const r=NX(e.host,e.formatContext.options),i=UY(n.file,n.start);i&&tee(t,i,n.file,r,!0)}))});var oee="convertLiteralTypeToMappedType",see=[us._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];function aee(e,t){const n=UY(e,t);if(UD(n)){const t=tt(n.parent.parent,lw),r=n.getText(e);return{container:tt(t.parent,Sw),typeNode:t.type,constraint:r,name:"K"===r?"P":"K"}}}function cee(e,t,{container:n,typeNode:r,constraint:i,name:o}){e.replaceNode(t,n,XS.createMappedTypeNode(void 0,XS.createTypeParameterDeclaration(void 0,o,XS.createTypeReferenceNode(i)),void 0,void 0,r,void 0))}L5({errorCodes:see,getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=aee(t,n.start);if(!r)return;const{name:i,constraint:o}=r,s=zde.ChangeTracker.with(e,(e=>cee(e,t,r)));return[q5(oee,s,[us.Convert_0_to_1_in_0,o,i],oee,us.Convert_all_type_literals_to_mapped_type)]},fixIds:[oee],getAllCodeActions:e=>H5(e,see,((e,t)=>{const n=aee(t.file,t.start);n&&cee(e,t.file,n)}))});var lee=[us.Class_0_incorrectly_implements_interface_1.code,us.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],uee="fixClassIncorrectlyImplementsInterface";function dee(e,t){return un.checkDefined(Y_(UY(e,t)),"There should be a containing class")}function pee(e){return!(e.valueDeclaration&&2&Ly(e.valueDeclaration))}function fee(e,t,n,r,i,o){const s=e.program.getTypeChecker(),a=function(e,t){const n=Ag(e);if(!n)return Wd();const r=t.getTypeAtLocation(n),i=t.getPropertiesOfType(r);return Wd(i.filter(pee))}(r,s),c=s.getTypeAtLocation(t),l=s.getPropertiesOfType(c).filter(Xt(pee,(e=>!a.has(e.escapedName)))),u=s.getTypeAtLocation(r),d=A(r.members,(e=>_w(e)));u.getNumberIndexType()||f(c,1),u.getStringIndexType()||f(c,0);const p=gee(n,e.program,o,e.host);function f(t,i){const o=s.getIndexInfoOfType(t,i);o&&_(n,r,s.indexInfoToIndexSignatureDeclaration(o,r,void 0,void 0,Lie(e)))}function _(e,t,n){d?i.insertNodeAfter(e,d,n):i.insertMemberAtStart(e,t,n)}Qie(r,l,n,e,o,p,(e=>_(n,r,e))),p.writeFixes(i)}L5({errorCodes:lee,getCodeActions(e){const{sourceFile:t,span:n}=e,r=dee(t,n.start);return q(vg(r),(n=>{const i=zde.ChangeTracker.with(e,(i=>fee(e,n,t,r,i,e.preferences)));return 0===i.length?void 0:q5(uee,i,[us.Implement_interface_0,n.getText(t)],uee,us.Implement_all_unimplemented_interfaces)}))},fixIds:[uee],getAllCodeActions(e){const t=new Set;return H5(e,lee,((n,r)=>{const i=dee(r.file,r.start);if(bb(t,JQ(i)))for(const t of vg(i))fee(e,t,r.file,i,n,e.preferences)}))}});var _ee="import",mee="fixMissingImport",hee=[us.Cannot_find_name_0.code,us.Cannot_find_name_0_Did_you_mean_1.code,us.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,us.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,us.Cannot_find_namespace_0.code,us._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,us._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,us.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,us._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code,us.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery.code,us.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later.code,us.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom.code,us.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig.code,us.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code,us.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig.code,us.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha.code,us.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode.code,us.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig.code,us.Cannot_find_namespace_0_Did_you_mean_1.code,us.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found.code];function gee(e,t,n,r,i){return Aee(e,t,!1,n,r,i)}function Aee(e,t,n,r,i,o){const s=t.getCompilerOptions(),a=[],c=[],l=new Map,u=new Set,d=new Set,p=new Map;return{addImportFromDiagnostic:function(e,t){const r=Fee(t,e.code,e.start,n);if(!r||!r.length)return;f(me(r))},addImportFromExportedSymbol:function(n,a,c){var l,u;const d=un.checkDefined(n.parent,"Expected exported symbol to have module symbol as parent"),p=HZ(n,yC(s)),_=t.getTypeChecker(),m=_.getMergedSymbol(sb(n,_)),h=xee(e,m,p,d,!1,t,i,r,o);if(!h)return void un.assert(null==(l=r.autoImportFileExcludePatterns)?void 0:l.length);const g=Iee(e,t);let A=Cee(e,h,t,void 0,!!a,g,i,r);if(A){const e=(null==(u=et(null==c?void 0:c.name,UD))?void 0:u.text)??p;let t,r;c&&Ql(c)&&(3===A.kind||2===A.kind)&&1===A.addAsTypeOnly&&(t=2),n.name!==e&&(r=n.name),A={...A,...void 0===t?{}:{addAsTypeOnly:t},...void 0===r?{}:{propertyName:r}},f({fix:A,symbolName:e??p,errorIdentifierText:void 0})}},addImportForModuleSymbol:function(n,o,a){var c,l,u;const d=t.getTypeChecker(),p=d.getAliasedSymbol(n);un.assert(1536&p.flags,"Expected symbol to be a module");const _=JK(t,i),m=G$.getModuleSpecifiersWithCacheInfo(p,d,s,e,_,r,void 0,!0),h=Iee(e,t);let g=Dee(o,!0,void 0,n.flags,t.getTypeChecker(),s);g=1===g&&Ql(a)?2:1;const A=iT(a)?xh(a)?1:2:_T(a)?0:oT(a)&&a.name?1:2,y=[{symbol:n,moduleSymbol:p,moduleFileName:null==(u=null==(l=null==(c=p.declarations)?void 0:c[0])?void 0:l.getSourceFile())?void 0:u.fileName,exportKind:4,targetFlags:n.flags,isFromPackageJson:!1}],v=Cee(e,y,t,void 0,!!o,h,i,r);let b;b=v&&2!==A?{...v,addAsTypeOnly:g,importKind:A}:{kind:3,moduleSpecifierKind:void 0!==v?v.moduleSpecifierKind:m.kind,moduleSpecifier:void 0!==v?v.moduleSpecifier:me(m.moduleSpecifiers),importKind:A,addAsTypeOnly:g,useRequire:h};f({fix:b,symbolName:n.name,errorIdentifierText:void 0})},writeFixes:function(t,n){var i,o;let d,f,m;d=void 0!==e.imports&&0===e.imports.length&&void 0!==n?n:KK(e,r);for(const n of a)Uee(t,e,n);for(const n of c)Jee(t,e,n,d);if(u.size){un.assert(wm(e),"Cannot remove imports from a future source file");const n=new Set(q([...u],(e=>dc(e,iT)))),r=new Set(q([...u],(e=>dc(e,Om)))),s=[...n].filter((e=>{var t,n,r;return!l.has(e.importClause)&&(!(null==(t=e.importClause)?void 0:t.name)||u.has(e.importClause))&&(!et(null==(n=e.importClause)?void 0:n.namedBindings,dT)||u.has(e.importClause.namedBindings))&&(!et(null==(r=e.importClause)?void 0:r.namedBindings,fT)||g(e.importClause.namedBindings.elements,(e=>u.has(e))))})),a=[...r].filter((e=>(206!==e.name.kind||!l.has(e.name))&&(206!==e.name.kind||g(e.name.elements,(e=>u.has(e)))))),c=[...n].filter((e=>{var t,n;return(null==(t=e.importClause)?void 0:t.namedBindings)&&-1===s.indexOf(e)&&!(null==(n=l.get(e.importClause))?void 0:n.namedImports)&&(274===e.importClause.namedBindings.kind||g(e.importClause.namedBindings.elements,(e=>u.has(e))))}));for(const n of[...s,...a])t.delete(e,n);for(const n of c)t.replaceNode(e,n.importClause,XS.updateImportClause(n.importClause,n.importClause.isTypeOnly,n.importClause.name,void 0));for(const n of u){const r=dc(n,iT);r&&-1===s.indexOf(r)&&-1===c.indexOf(r)?273===n.kind?t.delete(e,n.name):(un.assert(276===n.kind,"NamespaceImport should have been handled earlier"),(null==(i=l.get(r.importClause))?void 0:i.namedImports)?(f??(f=new Set)).add(n):t.delete(e,n)):208===n.kind?(null==(o=l.get(n.parent))?void 0:o.namedImports)?(f??(f=new Set)).add(n):t.delete(e,n):271===n.kind&&t.delete(e,n)}}l.forEach((({importClauseOrBindingPattern:n,defaultImport:i,namedImports:o})=>{jee(t,e,n,i,Pe(o.entries(),(([e,{addAsTypeOnly:t,propertyName:n}])=>({addAsTypeOnly:t,propertyName:n,name:e}))),f,r)})),p.forEach((({useRequire:e,defaultImport:t,namedImports:n,namespaceLikeImport:i},o)=>{const a=(e?zee:Wee)(o.slice(2),d,t,n&&Pe(n.entries(),(([e,[t,n]])=>({addAsTypeOnly:t,propertyName:n,name:e}))),i,s,r);m=ie(m,a)})),m=ie(m,_()),m&&aX(t,e,m,!0,r)},hasFixes:function(){return a.length>0||c.length>0||l.size>0||p.size>0||d.size>0||u.size>0},addImportForUnresolvedIdentifier:function(e,t,n){const r=function(e,t,n){const r=qee(e,t,n),i=OZ(e.sourceFile,e.preferences,e.host);return r&&Ree(r,e.sourceFile,e.program,i,e.host,e.preferences)}(e,t,n);if(!r||!r.length)return;f(me(r))},addImportForNonExistentExport:function(n,o,a,c,l){const u=t.getSourceFile(o),d=Iee(e,t);if(u&&u.symbol){const{fixes:s}=kee([{exportKind:a,isFromPackageJson:!1,moduleFileName:o,moduleSymbol:u.symbol,targetFlags:c}],void 0,l,d,t,e,i,r);s.length&&f({fix:s[0],symbolName:n,errorIdentifierText:n})}else{const u=c0(o,99,t,i);f({fix:{kind:3,moduleSpecifierKind:"relative",moduleSpecifier:G$.getLocalModuleSpecifierBetweenFileNames(e,o,s,JK(t,i),r),importKind:Oee(u,a,t),addAsTypeOnly:Dee(l,!0,void 0,c,t.getTypeChecker(),s),useRequire:d},symbolName:n,errorIdentifierText:n})}},removeExistingImport:function(e){273===e.kind&&un.assertIsDefined(e.name,"ImportClause should have a name if it's being removed");u.add(e)},addVerbatimImport:function(e){d.add(e)}};function f(e){var t,n,r;const{fix:i,symbolName:o}=e;switch(i.kind){case 0:a.push(i);break;case 1:c.push(i);break;case 2:{const{importClauseOrBindingPattern:e,importKind:r,addAsTypeOnly:s,propertyName:a}=i;let c=l.get(e);if(c||l.set(e,c={importClauseOrBindingPattern:e,defaultImport:void 0,namedImports:new Map}),0===r){const e=null==(t=null==c?void 0:c.namedImports.get(o))?void 0:t.addAsTypeOnly;c.namedImports.set(o,{addAsTypeOnly:u(e,s),propertyName:a})}else un.assert(void 0===c.defaultImport||c.defaultImport.name===o,"(Add to Existing) Default import should be missing or match symbolName"),c.defaultImport={name:o,addAsTypeOnly:u(null==(n=c.defaultImport)?void 0:n.addAsTypeOnly,s)};break}case 3:{const{moduleSpecifier:e,importKind:t,useRequire:n,addAsTypeOnly:a,propertyName:c}=i,l=function(e,t,n,r){const i=d(e,!0),o=d(e,!1),s=p.get(i),a=p.get(o),c={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:n};if(1===t&&2===r)return s||(p.set(i,c),c);if(1===r&&(s||a))return s||a;if(a)return a;return p.set(o,c),c}(e,t,n,a);switch(un.assert(l.useRequire===n,"(Add new) Tried to add an `import` and a `require` for the same module"),t){case 1:un.assert(void 0===l.defaultImport||l.defaultImport.name===o,"(Add new) Default import should be missing or match symbolName"),l.defaultImport={name:o,addAsTypeOnly:u(null==(r=l.defaultImport)?void 0:r.addAsTypeOnly,a)};break;case 0:const e=(l.namedImports||(l.namedImports=new Map)).get(o);l.namedImports.set(o,[u(e,a),c]);break;case 3:if(s.verbatimModuleSyntax){const e=(l.namedImports||(l.namedImports=new Map)).get(o);l.namedImports.set(o,[u(e,a),c])}else un.assert(void 0===l.namespaceLikeImport||l.namespaceLikeImport.name===o,"Namespacelike import shoudl be missing or match symbolName"),l.namespaceLikeImport={importKind:t,name:o,addAsTypeOnly:a};break;case 2:un.assert(void 0===l.namespaceLikeImport||l.namespaceLikeImport.name===o,"Namespacelike import shoudl be missing or match symbolName"),l.namespaceLikeImport={importKind:t,name:o,addAsTypeOnly:a}}break}case 4:break;default:un.assertNever(i,`fix wasn't never - got kind ${i.kind}`)}function u(e,t){return Math.max(e??0,t)}function d(e,t){return`${t?1:0}|${e}`}}function _(){if(!d.size)return;const e=new Set(q([...d],(e=>dc(e,iT)))),t=new Set(q([...d],(e=>dc(e,Lm))));return[...q([...d],(e=>271===e.kind?GX(e,!0):void 0)),...[...e].map((e=>{var t;return d.has(e)?GX(e,!0):GX(XS.updateImportDeclaration(e,e.modifiers,e.importClause&&XS.updateImportClause(e.importClause,e.importClause.isTypeOnly,d.has(e.importClause)?e.importClause.name:void 0,d.has(e.importClause.namedBindings)?e.importClause.namedBindings:(null==(t=et(e.importClause.namedBindings,fT))?void 0:t.elements.some((e=>d.has(e))))?XS.updateNamedImports(e.importClause.namedBindings,e.importClause.namedBindings.elements.filter((e=>d.has(e)))):void 0),e.moduleSpecifier,e.attributes),!0)})),...[...t].map((e=>d.has(e)?GX(e,!0):GX(XS.updateVariableStatement(e,e.modifiers,XS.updateVariableDeclarationList(e.declarationList,q(e.declarationList.declarations,(e=>d.has(e)?e:XS.updateVariableDeclaration(e,206===e.name.kind?XS.updateObjectBindingPattern(e.name,e.name.elements.filter((e=>d.has(e)))):e.name,e.exclamationToken,e.type,e.initializer))))),!0)))]}}function yee(e,t,n,r){const i=OZ(e,r,n),o=wee(e,t);return{getModuleSpecifierForBestExportInfo:function(s,a,c,l){const{fixes:u,computedWithoutCacheCount:d}=kee(s,a,c,!1,t,e,n,r,o,l),p=Pee(u,e,t,i,n,r);return p&&{...p,computedWithoutCacheCount:d}}}}function vee(e,t,n,r,i,o,s,a,c,l,u,d){let p;n?(p=y0(r,s,a,u,d).get(r.path,n),un.assertIsDefined(p,"Some exportInfo should match the specified exportMapKey")):(p=bo(IA(t.name))?[See(e,i,t,a,s)]:xee(r,e,i,t,o,a,s,u,d),un.assertIsDefined(p,"Some exportInfo should match the specified symbol / moduleSymbol"));const f=Iee(r,a),_=vx(UY(r,l)),m=un.checkDefined(Cee(r,p,a,l,_,f,s,u));return{moduleSpecifier:m.moduleSpecifier,codeAction:Eee(Lee({host:s,formatContext:c,preferences:u},r,i,m,!1,a,u))}}function bee(e,t,n,r,i,o){const s=n.getCompilerOptions(),a=ve(Qee(e,n.getTypeChecker(),t,s)),c=$ee(e,t,a,n),l=a!==t.text;return c&&Eee(Lee({host:r,formatContext:i,preferences:o},e,a,c,l,n,o))}function Cee(e,t,n,r,i,o,s,a){const c=OZ(e,a,s);return Pee(kee(t,r,i,o,n,e,s,a).fixes,e,n,c,s,a)}function Eee({description:e,changes:t,commands:n}){return{description:e,changes:t,commands:n}}function xee(e,t,n,r,i,o,s,a,c){const l=Tee(o,s),u=a.autoImportFileExcludePatterns&&A0(s,a),d=o.getTypeChecker().getMergedSymbol(r),p=u&&d.declarations&&Hd(d,307),f=p&&u(p);return y0(e,s,o,a,c).search(e.path,i,(e=>e===n),(e=>{const n=l(e[0].isFromPackageJson);if(n.getMergedSymbol(sb(e[0].symbol,n))===t&&(f||e.some((e=>n.getMergedSymbol(e.moduleSymbol)===r||e.symbol.parent===r))))return e}))}function See(e,t,n,r,i){var o,s;const a=l(r.getTypeChecker(),!1);if(a)return a;const c=null==(s=null==(o=i.getPackageJsonAutoImportProvider)?void 0:o.call(i))?void 0:s.getTypeChecker();return un.checkDefined(c&&l(c,!0),"Could not find symbol in specified module for code actions");function l(r,i){const o=v0(n,r);if(o&&sb(o.symbol,r)===e)return{symbol:o.symbol,moduleSymbol:n,moduleFileName:void 0,exportKind:o.exportKind,targetFlags:sb(e,r).flags,isFromPackageJson:i};const s=r.tryGetMemberInModuleExportsAndProperties(t,n);return s&&sb(s,r)===e?{symbol:s,moduleSymbol:n,moduleFileName:void 0,exportKind:0,targetFlags:sb(e,r).flags,isFromPackageJson:i}:void 0}}function kee(e,t,n,r,i,o,s,c,l=(wm(o)?wee(o,i):void 0),u){const d=i.getTypeChecker(),f=l?R(e,l.getImportsForExportInfo):a,_=void 0!==t&&function(e,t){return p(e,(({declaration:e,importKind:n})=>{var r;if(0!==n)return;const i=function(e){var t,n,r;switch(e.kind){case 260:return null==(t=et(e.name,UD))?void 0:t.text;case 271:return e.name.text;case 351:case 272:return null==(r=et(null==(n=e.importClause)?void 0:n.namedBindings,dT))?void 0:r.name.text;default:return un.assertNever(e)}}(e),o=i&&(null==(r=Ah(e))?void 0:r.text);return o?{kind:0,namespacePrefix:i,usagePosition:t,moduleSpecifierKind:void 0,moduleSpecifier:o}:void 0}))}(f,t),m=function(e,t,n,r){let i;for(const t of e){const e=o(t);if(!e)continue;const n=Ql(e.importClauseOrBindingPattern);if(4!==e.addAsTypeOnly&&n||4===e.addAsTypeOnly&&!n)return e;i??(i=e)}return i;function o({declaration:e,importKind:i,symbol:o,targetFlags:s}){if(3===i||2===i||271===e.kind)return;if(260===e.kind)return 0!==i&&1!==i||206!==e.name.kind?void 0:{kind:2,importClauseOrBindingPattern:e.name,importKind:i,moduleSpecifierKind:void 0,moduleSpecifier:e.initializer.arguments[0].text,addAsTypeOnly:4};const{importClause:a}=e;if(!a||!Od(e.moduleSpecifier))return;const{name:c,namedBindings:l}=a;if(a.isTypeOnly&&(0!==i||!l))return;const u=Dee(t,!1,o,s,n,r);return 1===i&&(c||2===u&&l)||0===i&&274===(null==l?void 0:l.kind)?void 0:{kind:2,importClauseOrBindingPattern:a,importKind:i,moduleSpecifierKind:void 0,moduleSpecifier:e.moduleSpecifier.text,addAsTypeOnly:u}}}(f,n,d,i.getCompilerOptions());if(m)return{computedWithoutCacheCount:0,fixes:[..._?[_]:a,m]};const{fixes:h,computedWithoutCacheCount:g=0}=function(e,t,n,r,i,o,s,a,c,l){const u=p(t,(e=>function({declaration:e,importKind:t,symbol:n,targetFlags:r},i,o,s,a){var c;const l=null==(c=Ah(e))?void 0:c.text;if(l){return{kind:3,moduleSpecifierKind:void 0,moduleSpecifier:l,importKind:t,addAsTypeOnly:o?4:Dee(i,!0,n,r,s,a),useRequire:o}}}(e,o,s,n.getTypeChecker(),n.getCompilerOptions())));return u?{fixes:[u]}:function(e,t,n,r,i,o,s,a,c){const l=NE(t.fileName),u=e.getCompilerOptions(),d=JK(e,s),p=Tee(e,s),f=HK(bC(u)),_=c?e=>G$.tryGetModuleSpecifiersFromCache(e.moduleSymbol,t,d,a):(e,n)=>G$.getModuleSpecifiersWithCacheInfo(e.moduleSymbol,n,u,t,d,a,void 0,!0);let m=0;const h=R(o,((o,s)=>{const a=p(o.isFromPackageJson),{computedWithoutCache:c,moduleSpecifiers:d,kind:h}=_(o,a)??{},g=!!(111551&o.targetFlags),A=Dee(r,!0,o.symbol,o.targetFlags,a,u);return m+=c?1:0,q(d,(r=>{if(f&&Lq(r))return;if(!g&&l&&void 0!==n)return{kind:1,moduleSpecifierKind:h,moduleSpecifier:r,usagePosition:n,exportInfo:o,isReExport:s>0};const c=Oee(t,o.exportKind,e);let d;if(void 0!==n&&3===c&&0===o.exportKind){const e=a.resolveExternalModuleSymbol(o.moduleSymbol);let t;e!==o.moduleSymbol&&(t=C0(e,a,yC(u),st)),t||(t=WZ(o.moduleSymbol,yC(u),!1)),d={namespacePrefix:t,usagePosition:n}}return{kind:3,moduleSpecifierKind:h,moduleSpecifier:r,importKind:c,useRequire:i,addAsTypeOnly:A,exportInfo:o,isReExport:s>0,qualification:d}}))}));return{computedWithoutCacheCount:m,fixes:h}}(n,r,i,o,s,e,a,c,l)}(e,f,i,o,t,n,r,s,c,u);return{computedWithoutCacheCount:g,fixes:[..._?[_]:a,...h]}}function Dee(e,t,n,r,i,o){return e?!n||!o.verbatimModuleSyntax||111551&r&&!i.getTypeOnlyAliasDeclaration(n)?1:2:4}function wee(e,t){const n=t.getTypeChecker();let r;for(const t of e.imports){const e=yh(t);if(Om(e.parent)){const i=n.resolveExternalModuleName(t);i&&(r||(r=Ve())).add(VQ(i),e.parent)}else if(272===e.kind||271===e.kind||351===e.kind){const i=n.getSymbolAtLocation(t);i&&(r||(r=Ve())).add(VQ(i),e)}}return{getImportsForExportInfo:({moduleSymbol:n,exportKind:i,targetFlags:o,symbol:s})=>{const c=null==r?void 0:r.get(VQ(n));if(!c)return a;if(Im(e)&&!(111551&o)&&!g(c,PF))return a;const l=Oee(e,i,t);return c.map((e=>({declaration:e,importKind:l,symbol:s,targetFlags:o})))}}}function Iee(e,t){if(!NE(e.fileName))return!1;if(e.commonJsModuleIndicator&&!e.externalModuleIndicator)return!0;if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;const n=t.getCompilerOptions();if(n.configFile)return vC(n)<5;if(1===Xee(e,t))return!0;if(99===Xee(e,t))return!1;for(const n of t.getSourceFiles())if(n!==e&&Im(n)&&!t.isSourceFileFromExternalLibrary(n)){if(n.commonJsModuleIndicator&&!n.externalModuleIndicator)return!0;if(n.externalModuleIndicator&&!n.commonJsModuleIndicator)return!1}return!0}function Tee(e,t){return pt((n=>n?t.getPackageJsonAutoImportProvider().getTypeChecker():e.getTypeChecker()))}function Fee(e,t,n,r){const i=UY(e.sourceFile,n);let o;if(t===us._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)o=function({sourceFile:e,program:t,host:n,preferences:r},i){const o=t.getTypeChecker(),s=function(e,t){const n=UD(e)?t.getSymbolAtLocation(e):void 0;if(Ab(n))return n;const{parent:r}=e;if(vd(r)&&r.tagName===e||IT(r)){const n=t.resolveName(t.getJsxNamespace(r),vd(r)?e:r,111551,!1);if(Ab(n))return n}return}(i,o);if(!s)return;const a=o.getAliasedSymbol(s),c=s.name,l=[{symbol:s,moduleSymbol:a,moduleFileName:void 0,exportKind:3,targetFlags:a.flags,isFromPackageJson:!1}],u=Iee(e,t);return kee(l,void 0,!1,u,t,e,n,r).fixes.map((e=>{var t;return{fix:e,symbolName:c,errorIdentifierText:null==(t=et(i,UD))?void 0:t.text}}))}(e,i);else{if(!UD(i))return;if(t===us._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const t=ve(Qee(e.sourceFile,e.program.getTypeChecker(),i,e.program.getCompilerOptions())),n=$ee(e.sourceFile,i,t,e.program);return n&&[{fix:n,symbolName:t,errorIdentifierText:i.text}]}o=qee(e,i,r)}const s=OZ(e.sourceFile,e.preferences,e.host);return o&&Ree(o,e.sourceFile,e.program,s,e.host,e.preferences)}function Ree(e,t,n,r,i,o){const s=e=>Uo(e,i.getCurrentDirectory(),qA(i));return le(e,((e,i)=>Pt(!!e.isJsxNamespaceFix,!!i.isJsxNamespaceFix)||At(e.fix.kind,i.fix.kind)||Nee(e.fix,i.fix,t,n,o,r.allowsImportingSpecifier,s)))}function Pee(e,t,n,r,i,o){if(J(e))return 0===e[0].kind||2===e[0].kind?e[0]:e.reduce(((e,s)=>-1===Nee(s,e,t,n,o,r.allowsImportingSpecifier,(e=>Uo(e,i.getCurrentDirectory(),qA(i))))?s:e))}function Nee(e,t,n,r,i,o,s){return 0!==e.kind&&0!==t.kind?Pt("node_modules"!==t.moduleSpecifierKind||o(t.moduleSpecifier),"node_modules"!==e.moduleSpecifierKind||o(e.moduleSpecifier))||function(e,t,n){if("non-relative"===n.importModuleSpecifierPreference||"project-relative"===n.importModuleSpecifierPreference)return Pt("relative"===e.moduleSpecifierKind,"relative"===t.moduleSpecifierKind);return 0}(e,t,i)||function(e,t,n,r){return Wt(e,"node:")&&!Wt(t,"node:")?ZZ(n,r)?-1:1:Wt(t,"node:")&&!Wt(e,"node:")?ZZ(n,r)?1:-1:0}(e.moduleSpecifier,t.moduleSpecifier,n,r)||Pt(Bee(e,n.path,s),Bee(t,n.path,s))||ME(e.moduleSpecifier,t.moduleSpecifier):0}function Bee(e,t,n){var r;if(e.isReExport&&(null==(r=e.exportInfo)?void 0:r.moduleFileName)&&"index"===To(e.exportInfo.moduleFileName,[".js",".jsx",".d.ts",".ts",".tsx"],!0)){return Wt(t,n(Io(e.exportInfo.moduleFileName)))}return!1}function Oee(e,t,n,r){if(n.getCompilerOptions().verbatimModuleSyntax&&1===function(e,t){return wm(e)?t.getEmitModuleFormatOfFile(e):IJ(e,t.getCompilerOptions())}(e,n))return 3;switch(t){case 0:return 0;case 1:return 1;case 2:return function(e,t,n){const r=SC(t),i=NE(e.fileName);if(!i&&vC(t)>=5)return r?1:2;if(i)return e.externalModuleIndicator||n?r?1:2:3;for(const t of e.statements??a)if(rT(t)&&!kp(t.moduleReference))return 3;return r?1:3}(e,n.getCompilerOptions(),!!r);case 3:return function(e,t,n){if(SC(t.getCompilerOptions()))return 1;const r=vC(t.getCompilerOptions());switch(r){case 2:case 1:case 3:return NE(e.fileName)&&(e.externalModuleIndicator||n)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:case 200:return 2;case 100:case 199:return 99===Xee(e,t)?2:3;default:return un.assertNever(r,`Unexpected moduleKind ${r}`)}}(e,n,!!r);case 4:return 2;default:return un.assertNever(t)}}function qee({sourceFile:e,program:t,cancellationToken:n,host:r,preferences:i},o,s){const a=t.getTypeChecker(),c=t.getCompilerOptions();return R(Qee(e,a,o,c),(a=>{if("default"===a)return;const c=vx(o),l=Iee(e,t),u=function(e,t,n,r,i,o,s,a,c){var l;const u=Ve(),d=OZ(i,c,a),p=null==(l=a.getModuleSpecifierCache)?void 0:l.call(a),f=pt((e=>JK(e?a.getPackageJsonAutoImportProvider():o,a)));function _(e,t,n,r,o,s){const a=f(s);if(p0(o,i,t,e,c,d,a,p)){const i=o.getTypeChecker();u.add(JX(n,i).toString(),{symbol:n,moduleSymbol:e,moduleFileName:null==t?void 0:t.fileName,exportKind:r,targetFlags:sb(n,i).flags,isFromPackageJson:s})}}return _0(o,a,c,s,((i,o,s,a)=>{const c=s.getTypeChecker();r.throwIfCancellationRequested();const l=s.getCompilerOptions(),u=v0(i,c);u&&Kee(c.getSymbolFlags(u.symbol),n)&&C0(u.symbol,c,yC(l),((n,r)=>(t?r??n:n)===e))&&_(i,o,u.symbol,u.exportKind,s,a);const d=c.tryGetMemberInModuleExportsAndProperties(e,i);d&&Kee(c.getSymbolFlags(d),n)&&_(i,o,d,0,s,a)})),u}(a,ym(o),Lz(o),n,e,t,s,r,i);return Pe(N(u.values(),(n=>kee(n,o.getStart(e),c,l,t,e,r,i).fixes)),(e=>({fix:e,symbolName:a,errorIdentifierText:o.text,isJsxNamespaceFix:a!==o.text})))}))}function $ee(e,t,n,r){const i=r.getTypeChecker(),o=i.resolveName(n,t,111551,!0);if(!o)return;const s=i.getTypeOnlyAliasDeclaration(o);return s&&Ap(s)===e?{kind:4,typeOnlyAliasDeclaration:s}:void 0}function Qee(e,t,n,r){const i=n.parent;if((vd(i)||DT(i))&&i.tagName===n&&r0(r.jsx)){const r=t.getJsxNamespace(e);if(function(e,t,n){if(TA(t.text))return!0;const r=n.resolveName(e,t,111551,!0);return!r||J(r.declarations,Ml)&&!(111551&r.flags)}(r,n,t)){return!TA(n.text)&&!t.resolveName(n.text,n,111551,!1)?[n.text,r]:[r]}}return[n.text]}function Lee(e,t,n,r,i,o,s){let c;const l=zde.ChangeTracker.with(e,(e=>{c=function(e,t,n,r,i,o,s){const c=KK(t,s);switch(r.kind){case 0:return Uee(e,t,r),[us.Change_0_to_1,n,`${r.namespacePrefix}.${n}`];case 1:return Jee(e,t,r,c),[us.Change_0_to_1,n,Vee(r.moduleSpecifier,c)+n];case 2:{const{importClauseOrBindingPattern:o,importKind:c,addAsTypeOnly:l,moduleSpecifier:u}=r;jee(e,t,o,1===c?{name:n,addAsTypeOnly:l}:void 0,0===c?[{name:n,addAsTypeOnly:l}]:a,void 0,s);const d=IA(u);return i?[us.Import_0_from_1,n,d]:[us.Update_import_from_0,d]}case 3:{const{importKind:a,moduleSpecifier:l,addAsTypeOnly:u,useRequire:d,qualification:p}=r;return aX(e,t,(d?zee:Wee)(l,c,1===a?{name:n,addAsTypeOnly:u}:void 0,0===a?[{name:n,addAsTypeOnly:u}]:void 0,2===a||3===a?{importKind:a,name:(null==p?void 0:p.namespacePrefix)||n,addAsTypeOnly:u}:void 0,o.getCompilerOptions(),s),!0,s),p&&Uee(e,t,p),i?[us.Import_0_from_1,n,l]:[us.Add_import_from_0,l]}case 4:{const{typeOnlyAliasDeclaration:i}=r,a=function(e,t,n,r,i){const o=n.getCompilerOptions(),s=o.verbatimModuleSyntax;switch(t.kind){case 276:if(t.isTypeOnly){if(t.parent.elements.length>1){const n=XS.updateImportSpecifier(t,!1,t.propertyName,t.name),{specifierComparer:o}=lue.getNamedImportSpecifierComparerWithDetection(t.parent.parent.parent,i,r),s=lue.getImportSpecifierInsertionIndex(t.parent.elements,n,o);if(s!==t.parent.elements.indexOf(t))return e.delete(r,t),e.insertImportSpecifierAtIndex(r,n,t.parent,s),t}return e.deleteRange(r,{pos:Lp(t.getFirstToken()),end:Lp(t.propertyName??t.name)}),t}return un.assert(t.parent.parent.isTypeOnly),a(t.parent.parent),t.parent.parent;case 273:return a(t),t;case 274:return a(t.parent),t.parent;case 271:return e.deleteRange(r,t.getChildAt(1)),t;default:un.failBadSyntaxKind(t)}function a(a){var c;if(e.delete(r,cX(a,r)),!o.allowImportingTsExtensions){const t=Ah(a.parent),i=t&&(null==(c=n.getResolvedModuleFromModuleSpecifier(t,r))?void 0:c.resolvedModule);if(null==i?void 0:i.resolvedUsingTsExtension){const n=Go(t.text,Mj(t.text,o));e.replaceNode(r,t,XS.createStringLiteral(n))}}if(s){const n=et(a.namedBindings,fT);if(n&&n.elements.length>1){!1!==lue.getNamedImportSpecifierComparerWithDetection(a.parent,i,r).isSorted&&276===t.kind&&0!==n.elements.indexOf(t)&&(e.delete(r,t),e.insertImportSpecifierAtIndex(r,t,n,0));for(const i of n.elements)i===t||i.isTypeOnly||e.insertModifierBefore(r,156,i)}}}}(e,i,o,t,s);return 276===a.kind?[us.Remove_type_from_import_of_0_from_1,n,Mee(a.parent.parent)]:[us.Remove_type_from_import_declaration_from_0,Mee(a)]}default:return un.assertNever(r,`Unexpected fix kind ${r.kind}`)}}(e,t,n,r,i,o,s)}));return q5(_ee,l,c,mee,us.Add_all_missing_imports)}function Mee(e){var t,n;return 271===e.kind?(null==(n=et(null==(t=et(e.moduleReference,ET))?void 0:t.expression,Od))?void 0:n.text)||e.moduleReference.getText():tt(e.parent.moduleSpecifier,kD).text}function jee(e,t,n,r,i,o,s){var c;if(206===n.kind){if(o&&n.elements.some((e=>o.has(e))))return void e.replaceNode(t,n,XS.createObjectBindingPattern([...n.elements.filter((e=>!o.has(e))),...r?[XS.createBindingElement(void 0,"default",r.name)]:a,...i.map((e=>XS.createBindingElement(void 0,e.propertyName,e.name)))]));r&&d(n,r.name,"default");for(const e of i)d(n,e.name,e.propertyName);return}const l=n.isTypeOnly&&J([r,...i],(e=>4===(null==e?void 0:e.addAsTypeOnly))),u=n.namedBindings&&(null==(c=et(n.namedBindings,fT))?void 0:c.elements);if(r&&(un.assert(!n.name,"Cannot add a default import to an import clause that already has one"),e.insertNodeAt(t,n.getStart(t),XS.createIdentifier(r.name),{suffix:", "})),i.length){const{specifierComparer:r,isSorted:a}=lue.getNamedImportSpecifierComparerWithDetection(n.parent,s,t),c=le(i.map((e=>XS.createImportSpecifier((!n.isTypeOnly||l)&&Gee(e,s),void 0===e.propertyName?void 0:XS.createIdentifier(e.propertyName),XS.createIdentifier(e.name)))),r);if(o)e.replaceNode(t,n.namedBindings,XS.updateNamedImports(n.namedBindings,le([...u.filter((e=>!o.has(e))),...c],r)));else if((null==u?void 0:u.length)&&!1!==a){const i=l&&u?XS.updateNamedImports(n.namedBindings,T(u,(e=>XS.updateImportSpecifier(e,!0,e.propertyName,e.name)))).elements:u;for(const o of c){const s=lue.getImportSpecifierInsertionIndex(i,o,r);e.insertImportSpecifierAtIndex(t,o,n.namedBindings,s)}}else if(null==u?void 0:u.length)for(const n of c)e.insertNodeInListAfter(t,Ae(u),n,u);else if(c.length){const r=XS.createNamedImports(c);n.namedBindings?e.replaceNode(t,n.namedBindings,r):e.insertNodeAfter(t,un.checkDefined(n.name,"Import clause must have either named imports or a default import"),r)}}if(l&&(e.delete(t,cX(n,t)),u))for(const n of u)e.insertModifierBefore(t,156,n);function d(n,r,i){const o=XS.createBindingElement(void 0,i,r);n.elements.length?e.insertNodeInListAfter(t,Ae(n.elements),o):e.replaceNode(t,n,XS.createObjectBindingPattern([o]))}}function Uee(e,t,{namespacePrefix:n,usagePosition:r}){e.insertText(t,r,n+".")}function Jee(e,t,{moduleSpecifier:n,usagePosition:r},i){e.insertText(t,r,Vee(n,i))}function Vee(e,t){const n=XK(t);return`import(${n}${e}${n}).`}function Hee({addAsTypeOnly:e}){return 2===e}function Gee(e,t){return Hee(e)||!!t.preferTypeOnlyAutoImports&&4!==e.addAsTypeOnly}function Wee(e,t,n,r,i,o,s){const a=WK(e,t);let c;if(void 0!==n||(null==r?void 0:r.length)){const i=(!n||Hee(n))&&g(r,Hee)||(o.verbatimModuleSyntax||s.preferTypeOnlyAutoImports)&&4!==(null==n?void 0:n.addAsTypeOnly)&&!J(r,(e=>4===e.addAsTypeOnly));c=ie(c,GK(n&&XS.createIdentifier(n.name),null==r?void 0:r.map((e=>XS.createImportSpecifier(!i&&Gee(e,s),void 0===e.propertyName?void 0:XS.createIdentifier(e.propertyName),XS.createIdentifier(e.name)))),e,t,i))}if(i){c=ie(c,3===i.importKind?XS.createImportEqualsDeclaration(void 0,Gee(i,s),XS.createIdentifier(i.name),XS.createExternalModuleReference(a)):XS.createImportDeclaration(void 0,XS.createImportClause(Gee(i,s),void 0,XS.createNamespaceImport(XS.createIdentifier(i.name))),a,void 0))}return un.checkDefined(c)}function zee(e,t,n,r,i){const o=WK(e,t);let s;if(n||(null==r?void 0:r.length)){const e=(null==r?void 0:r.map((({name:e,propertyName:t})=>XS.createBindingElement(void 0,t,e))))||[];n&&e.unshift(XS.createBindingElement(void 0,"default",n.name));s=ie(s,Yee(XS.createObjectBindingPattern(e),o))}if(i){s=ie(s,Yee(i.name,o))}return un.checkDefined(s)}function Yee(e,t){return XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration("string"==typeof e?XS.createIdentifier(e):e,void 0,void 0,XS.createCallExpression(XS.createIdentifier("require"),void 0,[t]))],2))}function Kee(e,t){return 7===t||(1&t?!!(111551&e):2&t?!!(788968&e):!!(4&t)&&!!(1920&e))}function Xee(e,t){return wm(e)?t.getImpliedNodeFormatForEmit(e):TJ(e,t.getCompilerOptions())}L5({errorCodes:hee,getCodeActions(e){const{errorCode:t,preferences:n,sourceFile:r,span:i,program:o}=e,s=Fee(e,t,i.start,!0);if(s)return s.map((({fix:t,symbolName:i,errorIdentifierText:s})=>Lee(e,r,i,t,i!==s,o,n)))},fixIds:[mee],getAllCodeActions:e=>{const{sourceFile:t,program:n,preferences:r,host:i,cancellationToken:o}=e,s=Aee(t,n,!0,r,i,o);return G5(e,hee,(t=>s.addImportFromDiagnostic(t,e))),J5(zde.ChangeTracker.with(e,s.writeFixes))}});var Zee="addMissingConstraint",ete=[us.Type_0_is_not_comparable_to_type_1.code,us.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,us.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,us.Type_0_is_not_assignable_to_type_1.code,us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,us.Property_0_is_incompatible_with_index_signature.code,us.Property_0_in_type_1_is_not_assignable_to_type_2.code,us.Type_0_does_not_satisfy_the_constraint_1.code];function tte(e,t,n){const r=A(e.getSemanticDiagnostics(t),(e=>e.start===n.start&&e.length===n.length));if(void 0===r||void 0===r.relatedInformation)return;const i=A(r.relatedInformation,(e=>e.code===us.This_type_parameter_might_need_an_extends_0_constraint.code));if(void 0===i||void 0===i.file||void 0===i.start||void 0===i.length)return;let o=loe(i.file,Va(i.start,i.length));if(void 0!==o&&(UD(o)&&sw(o.parent)&&(o=o.parent),sw(o))){if(Qw(o.parent))return;const r=UY(t,n.start),s=function(e,t){if(vu(t.parent))return e.getTypeArgumentConstraint(t.parent);const n=Ju(t)?e.getContextualType(t):void 0;return n||e.getTypeAtLocation(t)}(e.getTypeChecker(),r)||function(e){const[,t]=YU(e,"\n",0).match(/`extends (.*)`/)||[];return t}(i.messageText);return{constraint:s,declaration:o,token:r}}}function nte(e,t,n,r,i,o){const{declaration:s,constraint:a}=o,c=t.getTypeChecker();if(Xe(a))e.insertText(i,s.name.end,` extends ${a}`);else{const o=yC(t.getCompilerOptions()),l=Lie({program:t,host:r}),u=gee(i,t,n,r),d=Hie(c,u,a,void 0,o,void 0,void 0,l);d&&(e.replaceNode(i,s,XS.updateTypeParameterDeclaration(s,void 0,s.name,d,s.default)),u.writeFixes(e))}}L5({errorCodes:ete,getCodeActions(e){const{sourceFile:t,span:n,program:r,preferences:i,host:o}=e,s=tte(r,t,n);if(void 0===s)return;const a=zde.ChangeTracker.with(e,(e=>nte(e,r,i,o,t,s)));return[q5(Zee,a,us.Add_extends_constraint,Zee,us.Add_extends_constraint_to_all_type_parameters)]},fixIds:[Zee],getAllCodeActions:e=>{const{program:t,preferences:n,host:r}=e,i=new Set;return J5(zde.ChangeTracker.with(e,(o=>{G5(e,ete,(e=>{const s=tte(t,e.file,Va(e.start,e.length));if(s&&bb(i,JQ(s.declaration)))return nte(o,t,n,r,e.file,s)}))})))}});var rte="fixOverrideModifier",ite="fixAddOverrideModifier",ote="fixRemoveOverrideModifier",ste=[us.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,us.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,us.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,us.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,us.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,us.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,us.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],ate={[us.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:us.Add_override_modifier,fixId:ite,fixAllDescriptions:us.Add_all_missing_override_modifiers},[us.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:us.Add_override_modifier,fixId:ite,fixAllDescriptions:us.Add_all_missing_override_modifiers},[us.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:us.Remove_override_modifier,fixId:ote,fixAllDescriptions:us.Remove_all_unnecessary_override_modifiers},[us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:us.Remove_override_modifier,fixId:ote,fixAllDescriptions:us.Remove_override_modifier},[us.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:us.Add_override_modifier,fixId:ite,fixAllDescriptions:us.Add_all_missing_override_modifiers},[us.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:us.Add_override_modifier,fixId:ite,fixAllDescriptions:us.Add_all_missing_override_modifiers},[us.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:us.Add_override_modifier,fixId:ite,fixAllDescriptions:us.Remove_all_unnecessary_override_modifiers},[us.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:us.Remove_override_modifier,fixId:ote,fixAllDescriptions:us.Remove_all_unnecessary_override_modifiers},[us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:us.Remove_override_modifier,fixId:ote,fixAllDescriptions:us.Remove_all_unnecessary_override_modifiers}};function cte(e,t,n,r){switch(n){case us.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case us.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case us.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case us.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case us.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return function(e,t,n){const r=ute(t,n);if(Im(t))return void e.addJSDocTags(t,r,[XS.createJSDocOverrideTag(XS.createIdentifier("override"))]);const i=r.modifiers||a,o=A(i,KD),s=A(i,XD),c=A(i,(e=>AK(e.kind))),l=y(i,cw),u=s?s.end:o?o.end:c?c.end:l?Ks(t.text,l.end):r.getStart(t),d=c||o||s?{prefix:" "}:{suffix:" "};e.insertModifierAt(t,u,164,d)}(e,t.sourceFile,r);case us.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case us.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return function(e,t,n){const r=ute(t,n);if(Im(t))return void e.filterJSDocTags(t,r,en(gF));const i=A(r.modifiers,ZD);un.assertIsDefined(i),e.deleteModifier(t,i)}(e,t.sourceFile,r);default:un.fail("Unexpected error code: "+n)}}function lte(e){switch(e.kind){case 176:case 172:case 174:case 177:case 178:return!0;case 169:return Za(e,e.parent);default:return!1}}function ute(e,t){const n=dc(UY(e,t),(e=>du(e)?"quit":lte(e)));return un.assert(n&<e(n)),n}L5({errorCodes:ste,getCodeActions:function(e){const{errorCode:t,span:n}=e,r=ate[t];if(!r)return a;const{descriptions:i,fixId:o,fixAllDescriptions:s}=r,c=zde.ChangeTracker.with(e,(r=>cte(r,e,t,n.start)));return[$5(rte,c,i,o,s)]},fixIds:[rte,ite,ote],getAllCodeActions:e=>H5(e,ste,((t,n)=>{const{code:r,start:i}=n,o=ate[r];o&&o.fixId===e.fixId&&cte(t,e,r,i)}))});var dte="fixNoPropertyAccessFromIndexSignature",pte=[us.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code];function fte(e,t,n,r){const i=KK(t,r),o=XS.createStringLiteral(n.name.text,0===i);e.replaceNode(t,n,_l(n)?XS.createElementAccessChain(n.expression,n.questionDotToken,o):XS.createElementAccessExpression(n.expression,o))}function _te(e,t){return tt(UY(e,t).parent,zw)}L5({errorCodes:pte,fixIds:[dte],getCodeActions(e){const{sourceFile:t,span:n,preferences:r}=e,i=_te(t,n.start),o=zde.ChangeTracker.with(e,(t=>fte(t,e.sourceFile,i,r)));return[q5(dte,o,[us.Use_element_access_for_0,i.name.text],dte,us.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:e=>H5(e,pte,((t,n)=>fte(t,n.file,_te(n.file,n.start),e.preferences)))});var mte="fixImplicitThis",hte=[us.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function gte(e,t,n,r){const i=UY(t,n);if(!_Y(i))return;const o=em(i,!1,!1);if((WI(o)||nI(o))&&!JT(em(o,!1,!1))){const n=un.checkDefined(IY(o,100,t)),{name:i}=o,s=un.checkDefined(o.body);if(nI(o)){if(i&&kce.Core.isSymbolReferencedInFile(i,r,t,s))return;return e.delete(t,n),i&&e.delete(t,i),e.insertText(t,s.pos," =>"),[us.Convert_function_expression_0_to_arrow_function,i?i.text:AZ]}return e.replaceNode(t,n,XS.createToken(87)),e.insertText(t,i.end," = "),e.insertText(t,s.pos," =>"),[us.Convert_function_declaration_0_to_arrow_function,i.text]}}L5({errorCodes:hte,getCodeActions:function(e){const{sourceFile:t,program:n,span:r}=e;let i;const o=zde.ChangeTracker.with(e,(e=>{i=gte(e,t,r.start,n.getTypeChecker())}));return i?[q5(mte,o,i,mte,us.Fix_all_implicit_this_errors)]:a},fixIds:[mte],getAllCodeActions:e=>H5(e,hte,((t,n)=>{gte(t,n.file,n.start,e.program.getTypeChecker())}))});var Ate="fixImportNonExportedMember",yte=[us.Module_0_declares_1_locally_but_it_is_not_exported.code];function vte(e,t,n){var r,i;const o=UY(e,t);if(UD(o)){const t=dc(o,iT);if(void 0===t)return;const s=kD(t.moduleSpecifier)?t.moduleSpecifier:void 0;if(void 0===s)return;const a=null==(r=n.getResolvedModuleFromModuleSpecifier(s,e))?void 0:r.resolvedModule;if(void 0===a)return;const c=n.getSourceFile(a.resolvedFileName);if(void 0===c||i0(n,c))return;const u=null==(i=et(c.symbol.valueDeclaration,ad))?void 0:i.locals;if(void 0===u)return;const d=u.get(o.escapedText);if(void 0===d)return;const p=function(e){if(void 0===e.valueDeclaration)return fe(e.declarations);const t=e.valueDeclaration,n=HI(t)?et(t.parent.parent,wI):void 0;return n&&1===l(n.declarationList.declarations)?n:t}(d);if(void 0===p)return;return{exportName:{node:o,isTypeOnly:Jx(p)},node:p,moduleSourceFile:c,moduleSpecifier:s.text}}}function bte(e,t,n,r,i){l(r)&&(i?Ete(e,t,n,i,r):xte(e,t,n,r))}function Cte(e,t){return y(e.statements,(e=>hT(e)&&(t&&e.isTypeOnly||!e.isTypeOnly)))}function Ete(e,t,n,r,i){const o=r.exportClause&&gT(r.exportClause)?r.exportClause.elements:XS.createNodeArray([]),s=!(r.isTypeOnly||!EC(t.getCompilerOptions())&&!A(o,(e=>e.isTypeOnly)));e.replaceNode(n,r,XS.updateExportDeclaration(r,r.modifiers,r.isTypeOnly,XS.createNamedExports(XS.createNodeArray([...o,...Ste(i,s)],o.hasTrailingComma)),r.moduleSpecifier,r.attributes))}function xte(e,t,n,r){e.insertNodeAtEndOfScope(n,n,XS.createExportDeclaration(void 0,!1,XS.createNamedExports(Ste(r,EC(t.getCompilerOptions()))),void 0,void 0))}function Ste(e,t){return XS.createNodeArray(w(e,(e=>XS.createExportSpecifier(t&&e.isTypeOnly,void 0,e.node))))}L5({errorCodes:yte,fixIds:[Ate],getCodeActions(e){const{sourceFile:t,span:n,program:r}=e,i=vte(t,n.start,r);if(void 0===i)return;const o=zde.ChangeTracker.with(e,(e=>function(e,t,{exportName:n,node:r,moduleSourceFile:i}){const o=Cte(i,n.isTypeOnly);o?Ete(e,t,i,o,[n]):Vx(r)?e.insertExportModifier(i,r):xte(e,t,i,[n])}(e,r,i)));return[q5(Ate,o,[us.Export_0_from_module_1,i.exportName.node.text,i.moduleSpecifier],Ate,us.Export_all_referenced_locals)]},getAllCodeActions(e){const{program:t}=e;return J5(zde.ChangeTracker.with(e,(n=>{const r=new Map;G5(e,yte,(e=>{const i=vte(e.file,e.start,t);if(void 0===i)return;const{exportName:o,node:s,moduleSourceFile:a}=i;if(void 0===Cte(a,o.isTypeOnly)&&Vx(s))n.insertExportModifier(a,s);else{const e=r.get(a)||{typeOnlyExports:[],exports:[]};o.isTypeOnly?e.typeOnlyExports.push(o):e.exports.push(o),r.set(a,e)}})),r.forEach(((e,r)=>{const i=Cte(r,!0);i&&i.isTypeOnly?(bte(n,t,r,e.typeOnlyExports,i),bte(n,t,r,e.exports,Cte(r,!1))):bte(n,t,r,[...e.exports,...e.typeOnlyExports],i)}))})))}});var kte="fixIncorrectNamedTupleSyntax";L5({errorCodes:[us.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,us.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=function(e,t){const n=UY(e,t);return dc(n,(e=>202===e.kind))}(t,n.start),i=zde.ChangeTracker.with(e,(e=>function(e,t,n){if(!n)return;let r=n.type,i=!1,o=!1;for(;190===r.kind||191===r.kind||196===r.kind;)190===r.kind?i=!0:191===r.kind&&(o=!0),r=r.type;const s=XS.updateNamedTupleMember(n,n.dotDotDotToken||(o?XS.createToken(26):void 0),n.name,n.questionToken||(i?XS.createToken(58):void 0),r);if(s===n)return;e.replaceNode(t,n,s)}(e,t,r)));return[q5(kte,i,us.Move_labeled_tuple_element_modifiers_to_labels,kte,us.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[kte]});var Dte="fixSpelling",wte=[us.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,us.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,us.Cannot_find_name_0_Did_you_mean_1.code,us.Could_not_find_name_0_Did_you_mean_1.code,us.Cannot_find_namespace_0_Did_you_mean_1.code,us.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,us.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,us._0_has_no_exported_member_named_1_Did_you_mean_2.code,us.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,us.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,us.No_overload_matches_this_call.code,us.Type_0_is_not_assignable_to_type_1.code];function Ite(e,t,n,r){const i=UY(e,t),o=i.parent;if((r===us.No_overload_matches_this_call.code||r===us.Type_0_is_not_assignable_to_type_1.code)&&!FT(o))return;const s=n.program.getTypeChecker();let a;if(zw(o)&&o.name===i){un.assert(pl(i),"Expected an identifier for spelling (property access)");let e=s.getTypeAtLocation(o.expression);64&o.flags&&(e=s.getNonNullableType(e)),a=s.getSuggestedSymbolForNonexistentProperty(i,e)}else if(uI(o)&&103===o.operatorToken.kind&&o.left===i&&JD(i)){const e=s.getTypeAtLocation(o.right);a=s.getSuggestedSymbolForNonexistentProperty(i,e)}else if(iw(o)&&o.right===i){const e=s.getSymbolAtLocation(o.left);e&&1536&e.flags&&(a=s.getSuggestedSymbolForNonexistentModule(o.right,e))}else if(_T(o)&&o.name===i){un.assertNode(i,UD,"Expected an identifier for spelling (import)");const t=function(e,t,n){var r;if(!t||!Od(t.moduleSpecifier))return;const i=null==(r=e.program.getResolvedModuleFromModuleSpecifier(t.moduleSpecifier,n))?void 0:r.resolvedModule;return i?e.program.getSourceFile(i.resolvedFileName):void 0}(n,dc(i,iT),e);t&&t.symbol&&(a=s.getSuggestedSymbolForNonexistentModule(i,t.symbol))}else if(FT(o)&&o.name===i){un.assertNode(i,UD,"Expected an identifier for JSX attribute");const e=dc(i,vd),t=s.getContextualTypeForArgumentAtIndex(e,0);a=s.getSuggestedSymbolForNonexistentJSXAttribute(i,t)}else if(Fy(o)&&uu(o)&&o.name===i){const e=dc(i,du),t=e?Ag(e):void 0,n=t?s.getTypeAtLocation(t):void 0;n&&(a=s.getSuggestedSymbolForNonexistentClassMember(zp(i),n))}else{const e=Lz(i),t=zp(i);un.assert(void 0!==t,"name should be defined"),a=s.getSuggestedSymbolForNonexistentSymbol(i,t,function(e){let t=0;4&e&&(t|=1920);2&e&&(t|=788968);1&e&&(t|=111551);return t}(e))}return void 0===a?void 0:{node:i,suggestedSymbol:a}}function Tte(e,t,n,r,i){const o=Ac(r);if(!ma(o,i)&&zw(n.parent)){const i=r.valueDeclaration;i&&Ec(i)&&JD(i.name)?e.replaceNode(t,n,XS.createIdentifier(o)):e.replaceNode(t,n.parent,XS.createElementAccessExpression(n.parent.expression,XS.createStringLiteral(o)))}else e.replaceNode(t,n,XS.createIdentifier(o))}L5({errorCodes:wte,getCodeActions(e){const{sourceFile:t,errorCode:n}=e,r=Ite(t,e.span.start,e,n);if(!r)return;const{node:i,suggestedSymbol:o}=r,s=yC(e.host.getCompilationSettings());return[q5("spelling",zde.ChangeTracker.with(e,(e=>Tte(e,t,i,o,s))),[us.Change_spelling_to_0,Ac(o)],Dte,us.Fix_all_detected_spelling_errors)]},fixIds:[Dte],getAllCodeActions:e=>H5(e,wte,((t,n)=>{const r=Ite(n.file,n.start,e,n.code),i=yC(e.host.getCompilationSettings());r&&Tte(t,e.sourceFile,r.node,r.suggestedSymbol,i)}))});var Fte="returnValueCorrect",Rte="fixAddReturnStatement",Pte="fixRemoveBracesFromArrowFunctionBody",Nte="fixWrapTheBlockWithParen",Bte=[us.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,us.Type_0_is_not_assignable_to_type_1.code,us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];function Ote(e,t,n){const r=e.createSymbol(4,t.escapedText);r.links.type=e.getTypeAtLocation(n);const i=Wd([r]);return e.createAnonymousType(void 0,i,[],[],[])}function qte(e,t,n,r){if(!t.body||!DI(t.body)||1!==l(t.body.statements))return;const i=me(t.body.statements);if(TI(i)&&$te(e,t,e.getTypeAtLocation(i.expression),n,r))return{declaration:t,kind:0,expression:i.expression,statement:i,commentSource:i.expression};if(jI(i)&&TI(i.statement)){const o=XS.createObjectLiteralExpression([XS.createPropertyAssignment(i.label,i.statement.expression)]);if($te(e,t,Ote(e,i.label,i.statement.expression),n,r))return rI(t)?{declaration:t,kind:1,expression:o,statement:i,commentSource:i.statement.expression}:{declaration:t,kind:0,expression:o,statement:i,commentSource:i.statement.expression}}else if(DI(i)&&1===l(i.statements)){const o=me(i.statements);if(jI(o)&&TI(o.statement)){const s=XS.createObjectLiteralExpression([XS.createPropertyAssignment(o.label,o.statement.expression)]);if($te(e,t,Ote(e,o.label,o.statement.expression),n,r))return{declaration:t,kind:0,expression:s,statement:i,commentSource:o}}}}function $te(e,t,n,r,i){if(i){const r=e.getSignatureFromDeclaration(t);if(r){wy(t,1024)&&(n=e.createPromiseType(n));const i=e.createSignature(t,r.typeParameters,r.thisParameter,r.parameters,n,void 0,r.minArgumentCount,r.flags);n=e.createAnonymousType(void 0,Wd(),[i],[],[])}else n=e.getAnyType()}return e.isTypeAssignableTo(n,r)}function Qte(e,t,n,r){const i=UY(t,n);if(!i.parent)return;const o=dc(i.parent,ou);switch(r){case us.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:if(!(o&&o.body&&o.type&&Kv(o.type,i)))return;return qte(e,o,e.getTypeFromTypeNode(o.type),!1);case us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!o||!Kw(o.parent)||!o.body)return;const t=o.parent.arguments.indexOf(o);if(-1===t)return;const n=e.getContextualTypeForArgumentAtIndex(o.parent,t);if(!n)return;return qte(e,o,n,!0);case us.Type_0_is_not_assignable_to_type_1.code:if(!lg(i)||!F_(i.parent)&&!FT(i.parent))return;const r=function(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:return e.initializer;case 291:return e.initializer&&(NT(e.initializer)?e.initializer.expression:void 0);case 304:case 171:case 306:case 348:case 341:return}}(i.parent);if(!r||!ou(r)||!r.body)return;return qte(e,r,e.getTypeAtLocation(i.parent),!0)}}function Lte(e,t,n,r){XX(n);const i=kZ(t);e.replaceNode(t,r,XS.createReturnStatement(n),{leadingTriviaOption:zde.LeadingTriviaOption.Exclude,trailingTriviaOption:zde.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function Mte(e,t,n,r,i,o){const s=dZ(r)?XS.createParenthesizedExpression(r):r;XX(i),tZ(i,s),e.replaceNode(t,n.body,s)}function jte(e,t,n,r){e.replaceNode(t,n.body,XS.createParenthesizedExpression(r))}function Ute(e,t,n){const r=zde.ChangeTracker.with(e,(r=>Lte(r,e.sourceFile,t,n)));return q5(Fte,r,us.Add_a_return_statement,Rte,us.Add_all_missing_return_statement)}function Jte(e,t,n){const r=zde.ChangeTracker.with(e,(r=>jte(r,e.sourceFile,t,n)));return q5(Fte,r,us.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,Nte,us.Wrap_all_object_literal_with_parentheses)}L5({errorCodes:Bte,fixIds:[Rte,Pte,Nte],getCodeActions:function(e){const{program:t,sourceFile:n,span:{start:r},errorCode:i}=e,o=Qte(t.getTypeChecker(),n,r,i);if(o)return 0===o.kind?re([Ute(e,o.expression,o.statement)],rI(o.declaration)?function(e,t,n,r){const i=zde.ChangeTracker.with(e,(i=>Mte(i,e.sourceFile,t,n,r)));return q5(Fte,i,us.Remove_braces_from_arrow_function_body,Pte,us.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(e,o.declaration,o.expression,o.commentSource):void 0):[Jte(e,o.declaration,o.expression)]},getAllCodeActions:e=>H5(e,Bte,((t,n)=>{const r=Qte(e.program.getTypeChecker(),n.file,n.start,n.code);if(r)switch(e.fixId){case Rte:Lte(t,n.file,r.expression,r.statement);break;case Pte:if(!rI(r.declaration))return;Mte(t,n.file,r.declaration,r.expression,r.commentSource);break;case Nte:if(!rI(r.declaration))return;jte(t,n.file,r.declaration,r.expression);break;default:un.fail(JSON.stringify(e.fixId))}}))});var Vte="fixMissingMember",Hte="fixMissingProperties",Gte="fixMissingAttributes",Wte="fixMissingFunctionDeclaration",zte=[us.Property_0_does_not_exist_on_type_1.code,us.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,us.Property_0_is_missing_in_type_1_but_required_in_type_2.code,us.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,us.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,us.Cannot_find_name_0.code];function Yte(e,t,n,r,i){var o,s,c;const u=UY(e,t),d=u.parent;if(n===us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(19!==u.kind||!Ww(d)||!Kw(d.parent))return;const e=v(d.parent.arguments,(e=>e===d));if(e<0)return;const t=r.getResolvedSignature(d.parent);if(!(t&&t.declaration&&t.parameters[e]))return;const n=t.parameters[e].valueDeclaration;if(!(n&&aw(n)&&UD(n.name)))return;const i=Pe(r.getUnmatchedProperties(r.getTypeAtLocation(d),r.getParameterType(t,e).getNonNullableType(),!1,!1));if(!l(i))return;return{kind:3,token:n.name,identifier:n.name.text,properties:i,parentDeclaration:d}}if(19===u.kind&&Ww(d)){const e=null==(o=r.getContextualType(d)||r.getTypeAtLocation(d))?void 0:o.getNonNullableType(),t=Pe(r.getUnmatchedProperties(r.getTypeAtLocation(d),e,!1,!1));if(!l(t))return;return{kind:3,token:d,identifier:"",properties:t,parentDeclaration:d}}if(!pl(u))return;if(UD(u)&&Td(d)&&d.initializer&&Ww(d.initializer)){const e=null==(s=r.getContextualType(u)||r.getTypeAtLocation(u))?void 0:s.getNonNullableType(),t=Pe(r.getUnmatchedProperties(r.getTypeAtLocation(d.initializer),e,!1,!1));if(!l(t))return;return{kind:3,token:u,identifier:u.text,properties:t,parentDeclaration:d.initializer}}if(UD(u)&&vd(u.parent)){const e=function(e,t,n){const r=e.getContextualType(n.attributes);if(void 0===r)return a;const i=r.getProperties();if(!l(i))return a;const o=new Set;for(const t of n.attributes.properties)if(FT(t)&&o.add(tS(t.name)),PT(t)){const n=e.getTypeAtLocation(t.expression);for(const e of n.getProperties())o.add(e.escapedName)}return S(i,(e=>ma(e.name,t,1)&&!(16777216&e.flags||48&ib(e)||o.has(e.escapedName))))}(r,yC(i.getCompilerOptions()),u.parent);if(!l(e))return;return{kind:4,token:u,attributes:e,parentDeclaration:u.parent}}if(UD(u)){const t=null==(c=r.getContextualType(u))?void 0:c.getNonNullableType();if(t&&16&gb(t)){const n=fe(r.getSignaturesOfType(t,0));if(void 0===n)return;return{kind:5,token:u,signature:n,sourceFile:e,parentDeclaration:lne(u)}}if(Kw(d)&&d.expression===u)return{kind:2,token:u,call:d,sourceFile:e,modifierFlags:0,parentDeclaration:lne(u)}}if(!zw(d))return;const p=QK(r.getTypeAtLocation(d.expression)),f=p.symbol;if(!f||!f.declarations)return;if(UD(u)&&Kw(d.parent)){const t=A(f.declarations,ZI),n=null==t?void 0:t.getSourceFile();if(t&&n&&!i0(i,n))return{kind:2,token:u,call:d.parent,sourceFile:n,modifierFlags:32,parentDeclaration:t};const r=A(f.declarations,JT);if(e.commonJsModuleIndicator)return;if(r&&!i0(i,r))return{kind:2,token:u,call:d.parent,sourceFile:r,modifierFlags:32,parentDeclaration:r}}const _=A(f.declarations,du);if(!_&&JD(u))return;const m=_||A(f.declarations,(e=>YI(e)||Sw(e)));if(m&&!i0(i,m.getSourceFile())){const e=!Sw(m)&&(p.target||p)!==r.getDeclaredTypeOfSymbol(f);if(e&&(JD(u)||YI(m)))return;const t=m.getSourceFile(),n=Sw(m)?0:(e?256:0)|(KZ(u.text)?2:0),i=Im(t);return{kind:0,token:u,call:et(d.parent,Kw),modifierFlags:n,parentDeclaration:m,declSourceFile:t,isJSFile:i}}const h=A(f.declarations,XI);return!h||1056&p.flags||JD(u)||i0(i,h.getSourceFile())?void 0:{kind:1,token:u,parentDeclaration:h}}function Kte(e,t,n,r,i){const o=r.text;if(i){if(231===n.kind)return;const r=n.name.getText(),i=Xte(XS.createIdentifier(r),o);e.insertNodeAfter(t,n,i)}else if(JD(r)){const r=XS.createPropertyDeclaration(void 0,o,void 0,void 0,void 0),i=tne(n);i?e.insertNodeAfter(t,i,r):e.insertMemberAtStart(t,n,r)}else{const r=iy(n);if(!r)return;const i=Xte(XS.createThis(),o);e.insertNodeAtConstructorEnd(t,r,i)}}function Xte(e,t){return XS.createExpressionStatement(XS.createAssignment(XS.createPropertyAccessExpression(e,t),cne()))}function Zte(e,t,n){let r;if(226===n.parent.parent.kind){const i=n.parent.parent,o=n.parent===i.left?i.right:i.left,s=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(o)));r=e.typeToTypeNode(s,t,1,8)}else{const t=e.getContextualType(n.parent);r=t?e.typeToTypeNode(t,void 0,1,8):void 0}return r||XS.createKeywordTypeNode(133)}function ene(e,t,n,r,i,o){const s=o?XS.createNodeArray(XS.createModifiersFromModifierFlags(o)):void 0,a=du(n)?XS.createPropertyDeclaration(s,r,void 0,i,void 0):XS.createPropertySignature(void 0,r,void 0,i),c=tne(n);c?e.insertNodeAfter(t,c,a):e.insertMemberAtStart(t,n,a)}function tne(e){let t;for(const n of e.members){if(!uw(n))break;t=n}return t}function nne(e,t,n,r,i,o,s){const a=gee(s,e.program,e.preferences,e.host),c=Jie(du(o)?174:173,e,a,n,r,i,o),l=function(e,t){if(Sw(e))return;const n=dc(t,(e=>pw(e)||_w(e)));return n&&n.parent===e?n:void 0}(o,n);l?t.insertNodeAfter(s,l,c):t.insertMemberAtStart(s,o,c),a.writeFixes(t)}function rne(e,t,{token:n,parentDeclaration:r}){const i=J(r.members,(e=>{const n=t.getTypeAtLocation(e);return!!(n&&402653316&n.flags)})),o=r.getSourceFile(),s=XS.createEnumMember(n,i?XS.createStringLiteral(n.text):void 0),a=ge(r.members);a?e.insertNodeInListAfter(o,a,s,r.members):e.insertMemberAtStart(o,r,s)}function ine(e,t,n){const r=KK(t.sourceFile,t.preferences),i=gee(t.sourceFile,t.program,t.preferences,t.host),o=2===n.kind?Jie(262,t,i,n.call,hc(n.token),n.modifierFlags,n.parentDeclaration):Uie(262,t,r,n.signature,toe(us.Function_not_implemented.message,r),n.token,void 0,void 0,void 0,i);void 0===o&&un.fail("fixMissingFunctionDeclaration codefix got unexpected error."),QI(n.parentDeclaration)?e.insertNodeBefore(n.sourceFile,n.parentDeclaration,o,!0):e.insertNodeAtEndOfScope(n.sourceFile,n.parentDeclaration,o),i.writeFixes(e)}function one(e,t,n){const r=gee(t.sourceFile,t.program,t.preferences,t.host),i=KK(t.sourceFile,t.preferences),o=t.program.getTypeChecker(),s=n.parentDeclaration.attributes,a=J(s.properties,PT),c=w(n.attributes,(e=>{const s=ane(t,o,r,i,o.getTypeOfSymbol(e),n.parentDeclaration),a=XS.createIdentifier(e.name),c=XS.createJsxAttribute(a,XS.createJsxExpression(void 0,s));return wx(a,c),c})),l=XS.createJsxAttributes(a?[...c,...s.properties]:[...s.properties,...c]),u={prefix:s.pos===s.end?" ":void 0};e.replaceNode(t.sourceFile,s,l,u),r.writeFixes(e)}function sne(e,t,n){const r=gee(t.sourceFile,t.program,t.preferences,t.host),i=KK(t.sourceFile,t.preferences),o=yC(t.program.getCompilerOptions()),s=t.program.getTypeChecker(),a=w(n.properties,(e=>{const a=ane(t,s,r,i,s.getTypeOfSymbol(e),n.parentDeclaration);return XS.createPropertyAssignment(function(e,t,n,r){if(zd(e)){const t=r.symbolToNode(e,111551,void 0,void 0,1);if(t&&ow(t))return t}return Mx(e.name,t,0===n,!1,!1)}(e,o,i,s),a)})),c={leadingTriviaOption:zde.LeadingTriviaOption.Exclude,trailingTriviaOption:zde.TrailingTriviaOption.Exclude,indentation:n.indentation};e.replaceNode(t.sourceFile,n.parentDeclaration,XS.createObjectLiteralExpression([...n.parentDeclaration.properties,...a],!0),c),r.writeFixes(e)}function ane(e,t,n,r,i,o){if(3&i.flags)return cne();if(134217732&i.flags)return XS.createStringLiteral("",0===r);if(8&i.flags)return XS.createNumericLiteral(0);if(64&i.flags)return XS.createBigIntLiteral("0n");if(16&i.flags)return XS.createFalse();if(1056&i.flags){const e=i.symbol.exports?_e(i.symbol.exports.values()):i.symbol,n=i.symbol.parent&&256&i.symbol.parent.flags?i.symbol.parent:i.symbol,r=t.symbolToExpression(n,111551,void 0,64);return void 0===e||void 0===r?XS.createNumericLiteral(0):XS.createPropertyAccessExpression(r,t.symbolToString(e))}if(256&i.flags)return XS.createNumericLiteral(i.value);if(2048&i.flags)return XS.createBigIntLiteral(i.value);if(128&i.flags)return XS.createStringLiteral(i.value,0===r);if(512&i.flags)return i===t.getFalseType()||i===t.getFalseType(!0)?XS.createFalse():XS.createTrue();if(65536&i.flags)return XS.createNull();if(1048576&i.flags){return p(i.types,(i=>ane(e,t,n,r,i,o)))??cne()}if(t.isArrayLikeType(i))return XS.createArrayLiteralExpression();if(function(e){return 524288&e.flags&&(128&gb(e)||e.symbol&&et(ye(e.symbol.declarations),Sw))}(i)){const s=w(t.getPropertiesOfType(i),(i=>{const s=ane(e,t,n,r,t.getTypeOfSymbol(i),o);return XS.createPropertyAssignment(i.name,s)}));return XS.createObjectLiteralExpression(s,!0)}if(16&gb(i)){if(void 0===A(i.symbol.declarations||a,Zt(Cw,dw,pw)))return cne();const s=t.getSignaturesOfType(i,0);if(void 0===s)return cne();return Uie(218,e,r,s[0],toe(us.Function_not_implemented.message,r),void 0,void 0,void 0,o,n)??cne()}if(1&gb(i)){const e=hb(i.symbol);if(void 0===e||Ry(e))return cne();const t=iy(e);return t&&l(t.parameters)?cne():XS.createNewExpression(XS.createIdentifier(i.symbol.name),void 0,void 0)}return cne()}function cne(){return XS.createIdentifier("undefined")}function lne(e){if(dc(e,NT)){const t=dc(e.parent,QI);if(t)return t}return Ap(e)}L5({errorCodes:zte,getCodeActions(e){const t=e.program.getTypeChecker(),n=Yte(e.sourceFile,e.span.start,e.errorCode,t,e.program);if(n){if(3===n.kind){const t=zde.ChangeTracker.with(e,(t=>sne(t,e,n)));return[q5(Hte,t,us.Add_missing_properties,Hte,us.Add_all_missing_properties)]}if(4===n.kind){const t=zde.ChangeTracker.with(e,(t=>one(t,e,n)));return[q5(Gte,t,us.Add_missing_attributes,Gte,us.Add_all_missing_attributes)]}if(2===n.kind||5===n.kind){const t=zde.ChangeTracker.with(e,(t=>ine(t,e,n)));return[q5(Wte,t,[us.Add_missing_function_declaration_0,n.token.text],Wte,us.Add_all_missing_function_declarations)]}if(1===n.kind){const t=zde.ChangeTracker.with(e,(t=>rne(t,e.program.getTypeChecker(),n)));return[q5(Vte,t,[us.Add_missing_enum_member_0,n.token.text],Vte,us.Add_all_missing_members)]}return H(function(e,t){const{parentDeclaration:n,declSourceFile:r,modifierFlags:i,token:o,call:s}=t;if(void 0===s)return;const a=o.text,c=t=>zde.ChangeTracker.with(e,(i=>nne(e,i,s,o,t,n,r))),l=[q5(Vte,c(256&i),[256&i?us.Declare_static_method_0:us.Declare_method_0,a],Vte,us.Add_all_missing_members)];2&i&&l.unshift(O5(Vte,c(2),[us.Declare_private_method_0,a]));return l}(e,n),function(e,t){return t.isJSFile?nn(function(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:r,token:i}){if(YI(t)||Sw(t))return;const o=zde.ChangeTracker.with(e,(e=>Kte(e,n,t,i,!!(256&r))));if(0===o.length)return;const s=256&r?us.Initialize_static_property_0:JD(i)?us.Declare_a_private_field_named_0:us.Initialize_property_0_in_the_constructor;return q5(Vte,o,[s,i.text],Vte,us.Add_all_missing_members)}(e,t)):function(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:r,token:i}){const o=i.text,s=256&r,a=Zte(e.program.getTypeChecker(),t,i),c=r=>zde.ChangeTracker.with(e,(e=>ene(e,n,t,o,a,r))),l=[q5(Vte,c(256&r),[s?us.Declare_static_property_0:us.Declare_property_0,o],Vte,us.Add_all_missing_members)];if(s||JD(i))return l;2&r&&l.unshift(O5(Vte,c(2),[us.Declare_private_property_0,o]));return l.push(function(e,t,n,r,i){const o=XS.createKeywordTypeNode(154),s=XS.createParameterDeclaration(void 0,void 0,"x",void 0,o,void 0),a=XS.createIndexSignature(void 0,[s],i),c=zde.ChangeTracker.with(e,(e=>e.insertMemberAtStart(t,n,a)));return O5(Vte,c,[us.Add_index_signature_for_property_0,r])}(e,n,t,i.text,a)),l}(e,t)}(e,n))}},fixIds:[Vte,Wte,Hte,Gte],getAllCodeActions:e=>{const{program:t,fixId:n}=e,r=t.getTypeChecker(),i=new Set,o=new Map;return J5(zde.ChangeTracker.with(e,(t=>{G5(e,zte,(s=>{const a=Yte(s.file,s.start,s.code,r,e.program);if(a&&bb(i,JQ(a.parentDeclaration)+"#"+(3===a.kind?a.identifier:a.token.text)))if(n!==Wte||2!==a.kind&&5!==a.kind){if(n===Hte&&3===a.kind)sne(t,e,a);else if(n===Gte&&4===a.kind)one(t,e,a);else if(1===a.kind&&rne(t,r,a),0===a.kind){const{parentDeclaration:e,token:t}=a,n=Q(o,e,(()=>[]));n.some((e=>e.token.text===t.text))||n.push(a)}}else ine(t,e,a)})),o.forEach(((n,i)=>{const s=Sw(i)?void 0:goe(i,r);for(const i of n){if(null==s?void 0:s.some((e=>{const t=o.get(e);return!!t&&t.some((({token:e})=>e.text===i.token.text))})))continue;const{parentDeclaration:n,declSourceFile:a,modifierFlags:c,token:l,call:u,isJSFile:d}=i;if(u&&!JD(l))nne(e,t,u,l,256&c,n,a);else if(!d||YI(n)||Sw(n)){const e=Zte(r,n,l);ene(t,a,n,l.text,e,256&c)}else Kte(t,a,n,l,!!(256&c))}}))})))}});var une="addMissingNewOperator",dne=[us.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];function pne(e,t,n){const r=tt(function(e,t){let n=UY(e,t.start);const r=Ia(t);for(;n.endpne(e,t,n)));return[q5(une,r,us.Add_missing_new_operator_to_call,une,us.Add_missing_new_operator_to_all_calls)]},fixIds:[une],getAllCodeActions:e=>H5(e,dne,((t,n)=>pne(t,e.sourceFile,n)))});var fne="addMissingParam",_ne="addOptionalParam",mne=[us.Expected_0_arguments_but_got_1.code];function hne(e,t,n){const r=dc(UY(e,n),Kw);if(void 0===r||0===l(r.arguments))return;const i=t.getTypeChecker(),o=S(i.getTypeAtLocation(r.expression).symbol.declarations,yne);if(void 0===o)return;const s=ge(o);if(void 0===s||void 0===s.body||i0(t,s.getSourceFile()))return;const a=function(e){const t=Sc(e);if(t)return t;if(HI(e.parent)&&UD(e.parent.name)||uw(e.parent)||aw(e.parent))return e.parent.name}(s);if(void 0===a)return;const c=[],u=[],d=l(s.parameters),p=l(r.arguments);if(d>p)return;const f=[s,...bne(s,o)];for(let e=0,t=0,n=0;e{const a=Ap(i),c=gee(a,t,n,r);l(i.parameters)?e.replaceNodeRangeWithNodes(a,me(i.parameters),Ae(i.parameters),vne(c,s,i,o),{joiner:", ",indentation:0,leadingTriviaOption:zde.LeadingTriviaOption.IncludeAll,trailingTriviaOption:zde.TrailingTriviaOption.Include}):u(vne(c,s,i,o),((t,n)=>{0===l(i.parameters)&&0===n?e.insertNodeAt(a,i.parameters.end,t):e.insertNodeAtEndOfList(a,i.parameters,t)})),c.writeFixes(e)}))}function yne(e){switch(e.kind){case 262:case 218:case 174:case 219:return!0;default:return!1}}function vne(e,t,n,r){const i=w(n.parameters,(e=>XS.createParameterDeclaration(e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer)));for(const{pos:n,declaration:o}of r){const r=n>0?i[n-1]:void 0;i.splice(n,0,XS.updateParameterDeclaration(o,o.modifiers,o.dotDotDotToken,o.name,r&&r.questionToken?XS.createToken(58):o.questionToken,Sne(e,o.type,t),o.initializer))}return i}function bne(e,t){const n=[];for(const r of t)if(Cne(r)){if(l(r.parameters)===l(e.parameters)){n.push(r);continue}if(l(r.parameters)>l(e.parameters))return[]}return n}function Cne(e){return yne(e)&&void 0===e.body}function Ene(e,t,n){return XS.createParameterDeclaration(void 0,void 0,e,n,t,void 0)}function xne(e,t){return l(e)&&J(e,(e=>tAne(t,e.program,e.preferences,e.host,r,i))),[l(i)>1?us.Add_missing_parameters_to_0:us.Add_missing_parameter_to_0,n],fne,us.Add_all_missing_parameters)),l(o)&&re(s,q5(_ne,zde.ChangeTracker.with(e,(t=>Ane(t,e.program,e.preferences,e.host,r,o))),[l(o)>1?us.Add_optional_parameters_to_0:us.Add_optional_parameter_to_0,n],_ne,us.Add_all_optional_parameters)),s},getAllCodeActions:e=>H5(e,mne,((t,n)=>{const r=hne(e.sourceFile,e.program,n.start);if(r){const{declarations:n,newParameters:i,newOptionalParameters:o}=r;e.fixId===fne&&Ane(t,e.program,e.preferences,e.host,n,i),e.fixId===_ne&&Ane(t,e.program,e.preferences,e.host,n,o)}}))});var kne="installTypesPackage",Dne=us.Cannot_find_module_0_or_its_corresponding_type_declarations.code,wne=us.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed.code,Ine=[Dne,us.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code,wne];function Tne(e,t){return{type:"install package",file:e,packageName:t}}function Fne(e,t){const n=et(UY(e,t),kD);if(!n)return;const r=n.text,{packageName:i}=s$(r);return Sa(i)?void 0:i}function Rne(e,t,n){var r;return n===Dne?DS.has(e)?"@types/node":void 0:(null==(r=t.isKnownTypesPackageName)?void 0:r.call(t,e))?b$(e):void 0}L5({errorCodes:Ine,getCodeActions:function(e){const{host:t,sourceFile:n,span:{start:r},errorCode:i}=e,o=i===wne?WC(e.program.getCompilerOptions(),n):Fne(n,r);if(void 0===o)return;const s=Rne(o,t,i);return void 0===s?[]:[q5("fixCannotFindModule",[],[us.Install_0,s],kne,us.Install_all_missing_types_packages,Tne(n.fileName,s))]},fixIds:[kne],getAllCodeActions:e=>H5(e,Ine,((t,n,r)=>{const i=Fne(n.file,n.start);if(void 0!==i)switch(e.fixId){case kne:{const t=Rne(i,e.host,n.code);t&&r.push(Tne(n.file.fileName,t));break}default:un.fail(`Bad fixId: ${e.fixId}`)}}))});var Pne=[us.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,us.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2.code,us.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more.code,us.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code,us.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1.code,us.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more.code],Nne="fixClassDoesntImplementInheritedAbstractMember";function Bne(e,t){return tt(UY(e,t).parent,du)}function One(e,t,n,r,i){const o=Ag(e),s=n.program.getTypeChecker(),a=s.getTypeAtLocation(o),c=s.getPropertiesOfType(a).filter(qne),l=gee(t,n.program,i,n.host);Qie(e,c,t,n,i,l,(n=>r.insertMemberAtStart(t,e,n))),l.writeFixes(r)}function qne(e){const t=jy(me(e.getDeclarations()));return!(2&t||!(64&t))}L5({errorCodes:Pne,getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=zde.ChangeTracker.with(e,(r=>One(Bne(t,n.start),t,e,r,e.preferences)));return 0===r.length?void 0:[q5(Nne,r,us.Implement_inherited_abstract_class,Nne,us.Implement_all_inherited_abstract_classes)]},fixIds:[Nne],getAllCodeActions:function(e){const t=new Set;return H5(e,Pne,((n,r)=>{const i=Bne(r.file,r.start);bb(t,JQ(i))&&One(i,e.sourceFile,e,n,e.preferences)}))}});var $ne="classSuperMustPrecedeThisAccess",Qne=[us.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];function Lne(e,t,n,r){e.insertNodeAtConstructorStart(t,n,r),e.delete(t,r)}function Mne(e,t){const n=UY(e,t);if(110!==n.kind)return;const r=W_(n),i=jne(r.body);return i&&!i.expression.arguments.some((e=>zw(e)&&e.expression===n))?{constructor:r,superCall:i}:void 0}function jne(e){return TI(e)&&c_(e.expression)?e:ru(e)?void 0:OP(e,jne)}L5({errorCodes:Qne,getCodeActions(e){const{sourceFile:t,span:n}=e,r=Mne(t,n.start);if(!r)return;const{constructor:i,superCall:o}=r,s=zde.ChangeTracker.with(e,(e=>Lne(e,t,i,o)));return[q5($ne,s,us.Make_super_call_the_first_statement_in_the_constructor,$ne,us.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[$ne],getAllCodeActions(e){const{sourceFile:t}=e,n=new Set;return H5(e,Qne,((e,r)=>{const i=Mne(r.file,r.start);if(!i)return;const{constructor:o,superCall:s}=i;bb(n,JQ(o.parent))&&Lne(e,t,o,s)}))}});var Une="constructorForDerivedNeedSuperCall",Jne=[us.Constructors_for_derived_classes_must_contain_a_super_call.code];function Vne(e,t){const n=UY(e,t);return un.assert(_w(n.parent),"token should be at the constructor declaration"),n.parent}function Hne(e,t,n){const r=XS.createExpressionStatement(XS.createCallExpression(XS.createSuper(),void 0,a));e.insertNodeAtConstructorStart(t,n,r)}L5({errorCodes:Jne,getCodeActions(e){const{sourceFile:t,span:n}=e,r=Vne(t,n.start),i=zde.ChangeTracker.with(e,(e=>Hne(e,t,r)));return[q5(Une,i,us.Add_missing_super_call,Une,us.Add_all_missing_super_calls)]},fixIds:[Une],getAllCodeActions:e=>H5(e,Jne,((t,n)=>Hne(t,e.sourceFile,Vne(n.file,n.start))))});var Gne="fixEnableJsxFlag",Wne=[us.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];function zne(e,t){roe(e,t,"jsx",XS.createStringLiteral("react"))}L5({errorCodes:Wne,getCodeActions:function(e){const{configFile:t}=e.program.getCompilerOptions();if(void 0===t)return;const n=zde.ChangeTracker.with(e,(e=>zne(e,t)));return[O5(Gne,n,us.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[Gne],getAllCodeActions:e=>H5(e,Wne,(t=>{const{configFile:n}=e.program.getCompilerOptions();void 0!==n&&zne(t,n)}))});var Yne="fixNaNEquality",Kne=[us.This_condition_will_always_return_0.code];function Xne(e,t,n){const r=A(e.getSemanticDiagnostics(t),(e=>e.start===n.start&&e.length===n.length));if(void 0===r||void 0===r.relatedInformation)return;const i=A(r.relatedInformation,(e=>e.code===us.Did_you_mean_0.code));if(void 0===i||void 0===i.file||void 0===i.start||void 0===i.length)return;const o=loe(i.file,Va(i.start,i.length));return void 0!==o&&Ju(o)&&uI(o.parent)?{suggestion:ere(i.messageText),expression:o.parent,arg:o}:void 0}function Zne(e,t,n,r){const i=XS.createCallExpression(XS.createPropertyAccessExpression(XS.createIdentifier("Number"),XS.createIdentifier("isNaN")),void 0,[n]),o=r.operatorToken.kind;e.replaceNode(t,r,38===o||36===o?XS.createPrefixUnaryExpression(54,i):i)}function ere(e){const[,t]=YU(e,"\n",0).match(/'(.*)'/)||[];return t}L5({errorCodes:Kne,getCodeActions(e){const{sourceFile:t,span:n,program:r}=e,i=Xne(r,t,n);if(void 0===i)return;const{suggestion:o,expression:s,arg:a}=i,c=zde.ChangeTracker.with(e,(e=>Zne(e,t,a,s)));return[q5(Yne,c,[us.Use_0,o],Yne,us.Use_Number_isNaN_in_all_conditions)]},fixIds:[Yne],getAllCodeActions:e=>H5(e,Kne,((t,n)=>{const r=Xne(e.program,n.file,Va(n.start,n.length));r&&Zne(t,n.file,r.arg,r.expression)}))}),L5({errorCodes:[us.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher.code,us.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher.code,us.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(e){const t=e.program.getCompilerOptions(),{configFile:n}=t;if(void 0===n)return;const r=[],i=vC(t);if(i>=5&&i<99){const t=zde.ChangeTracker.with(e,(e=>{roe(e,n,"module",XS.createStringLiteral("esnext"))}));r.push(O5("fixModuleOption",t,[us.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const o=yC(t);if(o<4||o>99){const t=zde.ChangeTracker.with(e,(e=>{if(!V_(n))return;const t=[["target",XS.createStringLiteral("es2017")]];1===i&&t.push(["module",XS.createStringLiteral("commonjs")]),noe(e,n,t)}));r.push(O5("fixTargetOption",t,[us.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return r.length?r:void 0}});var tre="fixPropertyAssignment",nre=[us.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];function rre(e,t,n){e.replaceNode(t,n,XS.createPropertyAssignment(n.name,n.objectAssignmentInitializer))}function ire(e,t){return tt(UY(e,t).parent,MT)}L5({errorCodes:nre,fixIds:[tre],getCodeActions(e){const{sourceFile:t,span:n}=e,r=ire(t,n.start),i=zde.ChangeTracker.with(e,(t=>rre(t,e.sourceFile,r)));return[q5(tre,i,[us.Change_0_to_1,"=",":"],tre,[us.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:e=>H5(e,nre,((e,t)=>rre(e,t.file,ire(t.file,t.start))))});var ore="extendsInterfaceBecomesImplements",sre=[us.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function are(e,t){const n=Y_(UY(e,t)).heritageClauses,r=n[0].getFirstToken();return 96===r.kind?{extendsToken:r,heritageClauses:n}:void 0}function cre(e,t,n,r){if(e.replaceNode(t,n,XS.createToken(119)),2===r.length&&96===r[0].token&&119===r[1].token){const n=r[1].getFirstToken(),i=n.getFullStart();e.replaceRange(t,{pos:i,end:i},XS.createToken(28));const o=t.text;let s=n.end;for(;scre(e,t,r,i)));return[q5(ore,o,us.Change_extends_to_implements,ore,us.Change_all_extended_interfaces_to_implements)]},fixIds:[ore],getAllCodeActions:e=>H5(e,sre,((e,t)=>{const n=are(t.file,t.start);n&&cre(e,t.file,n.extendsToken,n.heritageClauses)}))});var lre="forgottenThisPropertyAccess",ure=us.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,dre=[us.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,us.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,ure];function pre(e,t,n){const r=UY(e,t);if(UD(r)||JD(r))return{node:r,className:n===ure?Y_(r).name.text:void 0}}function fre(e,t,{node:n,className:r}){XX(n),e.replaceNode(t,n,XS.createPropertyAccessExpression(r?XS.createIdentifier(r):XS.createThis(),n))}L5({errorCodes:dre,getCodeActions(e){const{sourceFile:t}=e,n=pre(t,e.span.start,e.errorCode);if(!n)return;const r=zde.ChangeTracker.with(e,(e=>fre(e,t,n)));return[q5(lre,r,[us.Add_0_to_unresolved_variable,n.className||"this"],lre,us.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[lre],getAllCodeActions:e=>H5(e,dre,((t,n)=>{const r=pre(n.file,n.start,n.code);r&&fre(t,e.sourceFile,r)}))});var _re="fixInvalidJsxCharacters_expression",mre="fixInvalidJsxCharacters_htmlEntity",hre=[us.Unexpected_token_Did_you_mean_or_gt.code,us.Unexpected_token_Did_you_mean_or_rbrace.code];L5({errorCodes:hre,fixIds:[_re,mre],getCodeActions(e){const{sourceFile:t,preferences:n,span:r}=e,i=zde.ChangeTracker.with(e,(e=>Are(e,n,t,r.start,!1))),o=zde.ChangeTracker.with(e,(e=>Are(e,n,t,r.start,!0)));return[q5(_re,i,us.Wrap_invalid_character_in_an_expression_container,_re,us.Wrap_all_invalid_characters_in_an_expression_container),q5(mre,o,us.Convert_invalid_character_to_its_html_entity_code,mre,us.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:e=>H5(e,hre,((t,n)=>Are(t,e.preferences,n.file,n.start,e.fixId===mre)))});var gre={">":">","}":"}"};function Are(e,t,n,r,i){const o=n.getText()[r];if(!function(e){return De(gre,e)}(o))return;const s=i?gre[o]:`{${fZ(n,t,o)}}`;e.replaceRangeWithText(n,{pos:r,end:r+1},s)}var yre="deleteUnmatchedParameter",vre="renameUnmatchedParameter",bre=[us.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code];function Cre(e,t){const n=UY(e,t);if(n.parent&&CF(n.parent)&&UD(n.parent.name)){const e=n.parent,t=Jh(e),r=jh(e);if(t&&r)return{jsDocHost:t,signature:r,name:n.parent.name,jsDocParameterTag:e}}}L5({fixIds:[yre,vre],errorCodes:bre,getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=[],i=Cre(t,n.start);if(i)return re(r,function(e,{name:t,jsDocHost:n,jsDocParameterTag:r}){const i=zde.ChangeTracker.with(e,(t=>t.filterJSDocTags(e.sourceFile,n,(e=>e!==r))));return q5(yre,i,[us.Delete_unused_param_tag_0,t.getText(e.sourceFile)],yre,us.Delete_all_unused_param_tags)}(e,i)),re(r,function(e,{name:t,jsDocHost:n,signature:r,jsDocParameterTag:i}){if(!l(r.parameters))return;const o=e.sourceFile,s=ol(r),a=new Set;for(const e of s)CF(e)&&UD(e.name)&&a.add(e.name.escapedText);const c=p(r.parameters,(e=>UD(e.name)&&!a.has(e.name.escapedText)?e.name.getText(o):void 0));if(void 0===c)return;const u=XS.updateJSDocParameterTag(i,i.tagName,XS.createIdentifier(c),i.isBracketed,i.typeExpression,i.isNameFirst,i.comment),d=zde.ChangeTracker.with(e,(e=>e.replaceJSDocComment(o,n,w(s,(e=>e===i?u:e)))));return O5(vre,d,[us.Rename_param_tag_name_0_to_1,t.getText(o),c])}(e,i)),r},getAllCodeActions:function(e){const t=new Map;return J5(zde.ChangeTracker.with(e,(n=>{G5(e,bre,(({file:e,start:n})=>{const r=Cre(e,n);r&&t.set(r.signature,re(t.get(r.signature),r.jsDocParameterTag))})),t.forEach(((t,r)=>{if(e.fixId===yre){const e=new Set(t);n.filterJSDocTags(r.getSourceFile(),r,(t=>!e.has(t)))}}))})))}});var Ere="fixUnreferenceableDecoratorMetadata";L5({errorCodes:[us.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],getCodeActions:e=>{const t=function(e,t,n){const r=et(UY(e,n),UD);if(!r||183!==r.parent.kind)return;const i=t.getTypeChecker().getSymbolAtLocation(r);return A((null==i?void 0:i.declarations)||a,Zt(oT,_T,rT))}(e.sourceFile,e.program,e.span.start);if(!t)return;const n=zde.ChangeTracker.with(e,(n=>276===t.kind&&function(e,t,n,r){r3.doChangeNamedToNamespaceOrDefault(t,r,e,n.parent)}(n,e.sourceFile,t,e.program))),r=zde.ChangeTracker.with(e,(n=>function(e,t,n,r){if(271===n.kind)return void e.insertModifierBefore(t,156,n.name);const i=273===n.kind?n:n.parent.parent;if(i.name&&i.namedBindings)return;const o=r.getTypeChecker();if(Sh(i,(e=>{if(111551&sb(e.symbol,o).flags)return!0})))return;e.insertModifierBefore(t,156,i)}(n,e.sourceFile,t,e.program)));let i;return n.length&&(i=re(i,O5(Ere,n,us.Convert_named_imports_to_namespace_import))),r.length&&(i=re(i,O5(Ere,r,us.Use_import_type))),i},fixIds:[Ere]});var xre="unusedIdentifier",Sre="unusedIdentifier_prefix",kre="unusedIdentifier_delete",Dre="unusedIdentifier_deleteImports",wre="unusedIdentifier_infer",Ire=[us._0_is_declared_but_its_value_is_never_read.code,us._0_is_declared_but_never_used.code,us.Property_0_is_declared_but_its_value_is_never_read.code,us.All_imports_in_import_declaration_are_unused.code,us.All_destructured_elements_are_unused.code,us.All_variables_are_unused.code,us.All_type_parameters_are_unused.code];function Tre(e,t,n){e.replaceNode(t,n.parent,XS.createKeywordTypeNode(159))}function Fre(e,t){return q5(xre,e,t,kre,us.Delete_all_unused_declarations)}function Rre(e,t,n){e.delete(t,un.checkDefined(tt(n.parent,Cf).typeParameters,"The type parameter to delete should exist"))}function Pre(e){return 102===e.kind||80===e.kind&&(276===e.parent.kind||273===e.parent.kind)}function Nre(e){return 102===e.kind?et(e.parent,iT):void 0}function Bre(e,t){return GI(t.parent)&&me(t.parent.getChildren(e))===t}function Ore(e,t,n){e.delete(t,243===n.parent.kind?n.parent:n)}function qre(e,t,n,r){t!==us.Property_0_is_declared_but_its_value_is_never_read.code&&(140===r.kind&&(r=tt(r.parent,Nw).typeParameter.name),UD(r)&&function(e){switch(e.parent.kind){case 169:case 168:return!0;case 260:switch(e.parent.parent.parent.kind){case 250:case 249:return!0}}return!1}(r)&&(e.replaceNode(n,r,XS.createIdentifier(`_${r.text}`)),aw(r.parent)&&Tc(r.parent).forEach((t=>{UD(t.name)&&e.replaceNode(n,t.name,XS.createIdentifier(`_${t.name.text}`))}))))}function $re(e,t,n,r,i,o,s,a){!function(e,t,n,r,i,o,s,a){const{parent:c}=e;if(aw(c))!function(e,t,n,r,i,o,s,a=!1){if(function(e,t,n,r,i,o,s){const{parent:a}=n;switch(a.kind){case 174:case 176:const c=a.parameters.indexOf(n),l=pw(a)?a.name:a,u=kce.Core.getReferencedSymbolsForNode(a.pos,l,i,r,o);if(u)for(const e of u)for(const t of e.references)if(t.kind===kce.EntryKind.Node){const e=tw(t.node)&&Kw(t.node.parent)&&t.node.parent.arguments.length>c,r=zw(t.node.parent)&&tw(t.node.parent.expression)&&Kw(t.node.parent.parent)&&t.node.parent.parent.arguments.length>c,i=(pw(t.node.parent)||dw(t.node.parent))&&t.node.parent!==n.parent&&t.node.parent.parameters.length>c;if(e||r||i)return!1}return!0;case 262:return!a.name||!function(e,t,n){return!!kce.Core.eachSymbolReferenceInFile(n,e,t,(e=>UD(e)&&Kw(e.parent)&&e.parent.arguments.includes(e)))}(e,t,a.name)||Lre(a,n,s);case 218:case 219:return Lre(a,n,s);case 178:return!1;case 177:return!0;default:return un.failBadSyntaxKind(a)}}(r,t,n,i,o,s,a))if(n.modifiers&&n.modifiers.length>0&&(!UD(n.name)||kce.Core.isSymbolReferencedInFile(n.name,r,t)))for(const r of n.modifiers)Zl(r)&&e.deleteModifier(t,r);else!n.initializer&&Qre(n,r,i)&&e.delete(t,n)}(t,n,c,r,i,o,s,a);else if(!(a&&UD(e)&&kce.Core.isSymbolReferencedInFile(e,r,n))){const r=oT(c)?e:ow(c)?c.parent:c;un.assert(r!==n,"should not delete whole source file"),t.delete(n,r)}}(t,n,e,r,i,o,s,a),UD(t)&&kce.Core.eachSymbolReferenceInFile(t,r,e,(t=>{zw(t.parent)&&t.parent.name===t&&(t=t.parent),!a&&function(e){return(uI(e.parent)&&e.parent.left===e||(lI(e.parent)||cI(e.parent))&&e.parent.operand===e)&&TI(e.parent.parent)}(t)&&n.delete(e,t.parent.parent)}))}function Qre(e,t,n){const r=e.parent.parameters.indexOf(e);return!kce.Core.someSignatureUsage(e.parent,n,t,((e,t)=>!t||t.arguments.length>r))}function Lre(e,t,n){const r=e.parameters,i=r.indexOf(t);return un.assert(-1!==i,"The parameter should already be in the list"),n?r.slice(i+1).every((e=>UD(e.name)&&!e.symbol.isReferenced)):i===r.length-1}L5({errorCodes:Ire,getCodeActions(e){const{errorCode:t,sourceFile:n,program:r,cancellationToken:i}=e,o=r.getTypeChecker(),s=r.getSourceFiles(),a=UY(n,e.span.start);if(kF(a))return[Fre(zde.ChangeTracker.with(e,(e=>e.delete(n,a))),us.Remove_template_tag)];if(30===a.kind){return[Fre(zde.ChangeTracker.with(e,(e=>Rre(e,n,a))),us.Remove_type_parameters)]}const c=Nre(a);if(c){const t=zde.ChangeTracker.with(e,(e=>e.delete(n,c)));return[q5(xre,t,[us.Remove_import_from_0,yb(c)],Dre,us.Delete_all_unused_imports)]}if(Pre(a)){const t=zde.ChangeTracker.with(e,(e=>$re(n,a,e,o,s,r,i,!1)));if(t.length)return[q5(xre,t,[us.Remove_unused_declaration_for_Colon_0,a.getText(n)],Dre,us.Delete_all_unused_imports)]}if(Jw(a.parent)||Vw(a.parent)){if(aw(a.parent.parent)){const t=a.parent.elements,r=[t.length>1?us.Remove_unused_declarations_for_Colon_0:us.Remove_unused_declaration_for_Colon_0,w(t,(e=>e.getText(n))).join(", ")];return[Fre(zde.ChangeTracker.with(e,(e=>function(e,t,n){u(n.elements,(n=>e.delete(t,n)))}(e,n,a.parent))),r)]}return[Fre(zde.ChangeTracker.with(e,(t=>function(e,t,n,{parent:r}){if(HI(r)&&r.initializer&&Bu(r.initializer))if(GI(r.parent)&&l(r.parent.declarations)>1){const i=r.parent.parent,o=i.getStart(n),s=i.end;t.delete(n,r),t.insertNodeAt(n,s,r.initializer,{prefix:NX(e.host,e.formatContext.options)+n.text.slice(HX(n.text,o-1),o),suffix:kZ(n)?";":""})}else t.replaceNode(n,r.parent,r.initializer);else t.delete(n,r)}(e,t,n,a.parent))),us.Remove_unused_destructuring_declaration)]}if(Bre(n,a))return[Fre(zde.ChangeTracker.with(e,(e=>Ore(e,n,a.parent))),us.Remove_variable_statement)];if(UD(a)&&WI(a.parent))return[Fre(zde.ChangeTracker.with(e,(e=>function(e,t,n){const r=n.symbol.declarations;if(r)for(const n of r)e.delete(t,n)}(e,n,a.parent))),[us.Remove_unused_declaration_for_Colon_0,a.getText(n)])];const d=[];if(140===a.kind){const t=zde.ChangeTracker.with(e,(e=>Tre(e,n,a))),r=tt(a.parent,Nw).typeParameter.name.text;d.push(q5(xre,t,[us.Replace_infer_0_with_unknown,r],wre,us.Replace_all_unused_infer_with_unknown))}else{const t=zde.ChangeTracker.with(e,(e=>$re(n,a,e,o,s,r,i,!1)));if(t.length){const e=ow(a.parent)?a.parent:a;d.push(Fre(t,[us.Remove_unused_declaration_for_Colon_0,e.getText(n)]))}}const p=zde.ChangeTracker.with(e,(e=>qre(e,t,n,a)));return p.length&&d.push(q5(xre,p,[us.Prefix_0_with_an_underscore,a.getText(n)],Sre,us.Prefix_all_unused_declarations_with_where_possible)),d},fixIds:[Sre,kre,Dre,wre],getAllCodeActions:e=>{const{sourceFile:t,program:n,cancellationToken:r}=e,i=n.getTypeChecker(),o=n.getSourceFiles();return H5(e,Ire,((s,a)=>{const c=UY(t,a.start);switch(e.fixId){case Sre:qre(s,a.code,t,c);break;case Dre:{const e=Nre(c);e?s.delete(t,e):Pre(c)&&$re(t,c,s,i,o,n,r,!0);break}case kre:if(140===c.kind||Pre(c))break;if(kF(c))s.delete(t,c);else if(30===c.kind)Rre(s,t,c);else if(Jw(c.parent)){if(c.parent.parent.initializer)break;aw(c.parent.parent)&&!Qre(c.parent.parent,i,o)||s.delete(t,c.parent.parent)}else{if(Vw(c.parent.parent)&&c.parent.parent.parent.initializer)break;Bre(t,c)?Ore(s,t,c.parent):$re(t,c,s,i,o,n,r,!0)}break;case wre:140===c.kind&&Tre(s,t,c);break;default:un.fail(JSON.stringify(e.fixId))}}))}});var Mre="fixUnreachableCode",jre=[us.Unreachable_code_detected.code];function Ure(e,t,n,r,i){const o=UY(t,n),s=dc(o,fd);if(s.getStart(t)!==o.getStart(t)){const e=JSON.stringify({statementKind:un.formatSyntaxKind(s.kind),tokenKind:un.formatSyntaxKind(o.kind),errorCode:i,start:n,length:r});un.fail("Token and statement should start at the same point. "+e)}const c=(DI(s.parent)?s.parent:s).parent;if(!DI(s.parent)||s===me(s.parent.statements))switch(c.kind){case 245:if(c.elseStatement){if(DI(s.parent))break;return void e.replaceNode(t,s,XS.createBlock(a))}case 247:case 248:return void e.delete(t,c)}if(DI(s.parent)){const i=n+r,o=un.checkDefined(function(e,t){let n;for(const r of e){if(!t(r))break;n=r}return n}(ox(s.parent.statements,s),(e=>e.posUre(t,e.sourceFile,e.span.start,e.span.length,e.errorCode)));return[q5(Mre,t,us.Remove_unreachable_code,Mre,us.Remove_all_unreachable_code)]},fixIds:[Mre],getAllCodeActions:e=>H5(e,jre,((e,t)=>Ure(e,t.file,t.start,t.length,t.code)))});var Jre="fixUnusedLabel",Vre=[us.Unused_label.code];function Hre(e,t,n){const r=UY(t,n),i=tt(r.parent,jI),o=r.getStart(t),s=i.statement.getStart(t),a=Gv(o,s,t)?s:Ks(t.text,IY(i,59,t).end,!0);e.deleteRange(t,{pos:o,end:a})}L5({errorCodes:Vre,getCodeActions(e){const t=zde.ChangeTracker.with(e,(t=>Hre(t,e.sourceFile,e.span.start)));return[q5(Jre,t,us.Remove_unused_label,Jre,us.Remove_all_unused_labels)]},fixIds:[Jre],getAllCodeActions:e=>H5(e,Vre,((e,t)=>Hre(e,t.file,t.start)))});var Gre="fixJSDocTypes_plain",Wre="fixJSDocTypes_nullable",zre=[us.JSDoc_types_can_only_be_used_inside_documentation_comments.code,us._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,us._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code];function Yre(e,t,n,r,i){e.replaceNode(t,n,i.typeToTypeNode(r,n,void 0))}function Kre(e,t,n){const r=dc(UY(e,t),Xre),i=r&&r.type;return i&&{typeNode:i,type:Zre(n,i)}}function Xre(e){switch(e.kind){case 234:case 179:case 180:case 262:case 177:case 181:case 200:case 174:case 173:case 169:case 172:case 171:case 178:case 265:case 216:case 260:return!0;default:return!1}}function Zre(e,t){if(eF(t)){const n=e.getTypeFromTypeNode(t.type);return n===e.getNeverType()||n===e.getVoidType()?n:e.getUnionType(re([n,e.getUndefinedType()],t.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(t)}L5({errorCodes:zre,getCodeActions(e){const{sourceFile:t}=e,n=e.program.getTypeChecker(),r=Kre(t,e.span.start,n);if(!r)return;const{typeNode:i,type:o}=r,s=i.getText(t),a=[c(o,Gre,us.Change_all_jsdoc_style_types_to_TypeScript)];return 314===i.kind&&a.push(c(o,Wre,us.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),a;function c(r,o,a){return q5("jdocTypes",zde.ChangeTracker.with(e,(e=>Yre(e,t,i,r,n))),[us.Change_0_to_1,s,n.typeToString(r)],o,a)}},fixIds:[Gre,Wre],getAllCodeActions(e){const{fixId:t,program:n,sourceFile:r}=e,i=n.getTypeChecker();return H5(e,zre,((e,n)=>{const o=Kre(n.file,n.start,i);if(!o)return;const{typeNode:s,type:a}=o,c=314===s.kind&&t===Wre?i.getNullableType(a,32768):a;Yre(e,r,s,c,i)}))}});var eie="fixMissingCallParentheses",tie=[us.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code];function nie(e,t,n){e.replaceNodeWithText(t,n,`${n.text}()`)}function rie(e,t){const n=UY(e,t);if(zw(n.parent)){let e=n.parent;for(;zw(e.parent);)e=e.parent;return e.name}if(UD(n))return n}L5({errorCodes:tie,fixIds:[eie],getCodeActions(e){const{sourceFile:t,span:n}=e,r=rie(t,n.start);if(!r)return;const i=zde.ChangeTracker.with(e,(t=>nie(t,e.sourceFile,r)));return[q5(eie,i,us.Add_missing_call_parentheses,eie,us.Add_all_missing_call_parentheses)]},getAllCodeActions:e=>H5(e,tie,((e,t)=>{const n=rie(t.file,t.start);n&&nie(e,t.file,n)}))});var iie="fixMissingTypeAnnotationOnExports",oie="add-annotation",sie="add-type-assertion",aie=[us.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code,us.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code,us.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,us.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,us.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,us.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,us.Expression_type_can_t_be_inferred_with_isolatedDeclarations.code,us.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations.code,us.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations.code,us.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations.code,us.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations.code,us.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations.code,us.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations.code,us.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations.code,us.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations.code,us.Default_exports_can_t_be_inferred_with_isolatedDeclarations.code,us.Only_const_arrays_can_be_inferred_with_isolatedDeclarations.code,us.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function.code,us.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations.code,us.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations.code,us.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit.code],cie=new Set([177,174,172,262,218,219,260,169,277,263,206,207]),lie=531469;function uie(e,t,n,r,i){const o=die(n,r,i);o.result&&o.textChanges.length&&t.push(q5(e,o.textChanges,o.result,iie,us.Add_all_missing_type_annotations))}function die(e,t,n){const r={typeNode:void 0,mutatedTarget:!1},i=zde.ChangeTracker.fromContext(e),o=e.sourceFile,s=e.program,a=s.getTypeChecker(),c=yC(s.getCompilerOptions()),l=gee(e.sourceFile,e.program,e.preferences,e.host),u=new Set,d=new Set,p=uU({preserveSourceNewlines:!1}),f=n({addTypeAnnotation:function(t){e.cancellationToken.throwIfCancellationRequested();const n=UY(o,t.start),r=h(n);if(r)return WI(r)?function(e){var t;if(null==d?void 0:d.has(e))return;null==d||d.add(e);const n=a.getTypeAtLocation(e),r=a.getPropertiesOfType(n);if(!e.name||0===r.length)return;const c=[];for(const t of r)ma(t.name,yC(s.getCompilerOptions()))&&(t.valueDeclaration&&HI(t.valueDeclaration)||c.push(XS.createVariableStatement([XS.createModifier(95)],XS.createVariableDeclarationList([XS.createVariableDeclaration(t.name,void 0,k(a.getTypeOfSymbol(t),e),void 0)]))));if(0===c.length)return;const l=[];(null==(t=e.modifiers)?void 0:t.some((e=>95===e.kind)))&&l.push(XS.createModifier(95));l.push(XS.createModifier(138));const u=XS.createModuleDeclaration(l,e.name,XS.createModuleBlock(c),101441696);return i.insertNodeAfter(o,e,u),[us.Annotate_types_of_properties_expando_function_in_a_namespace]}(r):g(r);const c=function(e){return dc(e,(e=>cie.has(e.kind)&&(!Jw(e)&&!Vw(e)||HI(e.parent))))}(n);if(c)return g(c);return},addInlineAssertion:function(t){e.cancellationToken.throwIfCancellationRequested();const n=UY(o,t.start);if(h(n))return;const r=I(n,t);if(!r||eg(r)||eg(r.parent))return;const s=Ju(r),c=MT(r);if(!c&&ud(r))return;if(dc(r,Cu))return;if(dc(r,UT))return;if(s&&(dc(r,$T)||dc(r,vu)))return;if(_I(r))return;const l=dc(r,HI),u=l&&a.getTypeAtLocation(l);if(u&&8192&u.flags)return;if(!s&&!c)return;const{typeNode:d,mutatedTarget:p}=b(r,u);if(!d||p)return;c?i.insertNodeAt(o,r.end,m(GX(r.name),d),{prefix:": "}):s?i.replaceNode(o,r,function(e,t){_(e)&&(e=XS.createParenthesizedExpression(e));return XS.createAsExpression(XS.createSatisfiesExpression(e,GX(t)),t)}(GX(r),d)):un.assertNever(r);return[us.Add_satisfies_and_an_inline_type_assertion_with_0,w(d)]},extractAsVariable:function(t){e.cancellationToken.throwIfCancellationRequested();const n=I(UY(o,t.start),t);if(!n||eg(n)||eg(n.parent))return;if(!Ju(n))return;if(Gw(n))return i.replaceNode(o,n,m(n,XS.createTypeReferenceNode("const"))),[us.Mark_array_literal_as_const];const r=dc(n,LT);if(r){if(r===n.parent&&av(n))return;const e=XS.createUniqueName(g6(n,o,a,o),16);let t=n,s=n;if(_I(t)&&(t=rg(t.parent),s=x(t.parent)?t=t.parent:m(t,XS.createTypeReferenceNode("const"))),av(t))return;const c=XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(e,void 0,void 0,s)],2)),l=dc(n,fd);return i.insertNodeBefore(o,l,c),i.replaceNode(o,t,XS.createAsExpression(XS.cloneNode(e),XS.createTypeQueryNode(XS.cloneNode(e)))),[us.Extract_to_variable_and_replace_with_0_as_typeof_0,w(e)]}}});return l.writeFixes(i),{result:f,textChanges:i.getChanges()};function _(e){return!(av(e)||Kw(e)||Ww(e)||Gw(e))}function m(e,t){return _(e)&&(e=XS.createParenthesizedExpression(e)),XS.createAsExpression(e,t)}function h(e){const t=dc(e,(e=>fd(e)?"quit":lS(e)));if(t&&lS(t)){let e=t;if(uI(e)&&(e=e.left,!lS(e)))return;const n=a.getTypeAtLocation(e.expression);if(!n)return;if(J(a.getPropertiesOfType(n),(e=>e.valueDeclaration===t||e.valueDeclaration===t.parent))){const e=n.symbol.valueDeclaration;if(e){if($x(e)&&HI(e.parent))return e.parent;if(WI(e))return e}}}}function g(e){if(!(null==u?void 0:u.has(e)))switch(null==u||u.add(e),e.kind){case 169:case 172:case 260:return function(e){const{typeNode:t}=b(e);if(t)return e.type?i.replaceNode(Ap(e),e.type,t):i.tryInsertTypeAnnotation(Ap(e),e,t),[us.Add_annotation_of_type_0,w(t)]}(e);case 219:case 218:case 262:case 174:case 177:return function(e,t){if(e.type)return;const{typeNode:n}=b(e);if(n)return i.tryInsertTypeAnnotation(t,e,n),[us.Add_return_type_0,w(n)]}(e,o);case 277:return function(e){if(e.isExportEquals)return;const{typeNode:t}=b(e.expression);if(!t)return;const n=XS.createUniqueName("_default");return i.replaceNodeWithNodes(o,e,[XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(n,void 0,t,e.expression)],2)),XS.updateExportAssignment(e,null==e?void 0:e.modifiers,n)]),[us.Extract_default_export_to_variable]}(e);case 263:return function(e){var t,n;const r=null==(t=e.heritageClauses)?void 0:t.find((e=>96===e.token)),s=null==r?void 0:r.types[0];if(!s)return;const{typeNode:a}=b(s.expression);if(!a)return;const c=XS.createUniqueName(e.name?e.name.text+"Base":"Anonymous",16),l=XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(c,void 0,a,s.expression)],2));i.insertNodeBefore(o,e,l);const u=da(o.text,s.end),d=(null==(n=null==u?void 0:u[u.length-1])?void 0:n.end)??s.end;return i.replaceRange(o,{pos:s.getFullStart(),end:d},c,{prefix:" "}),[us.Extract_base_class_to_variable]}(e);case 206:case 207:return function(e){var t;const n=e.parent,r=e.parent.parent.parent;if(!n.initializer)return;let s;const a=[];if(UD(n.initializer))s={expression:{kind:3,identifier:n.initializer}};else{const e=XS.createUniqueName("dest",16);s={expression:{kind:3,identifier:e}},a.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(e,void 0,void 0,n.initializer)],2)))}const c=[];Vw(e)?A(e,c,s):y(e,c,s);const l=new Map;for(const e of c){if(e.element.propertyName&&ow(e.element.propertyName)){const t=e.element.propertyName.expression,n=XS.getGeneratedNameForNode(t),r=XS.createVariableDeclaration(n,void 0,void 0,t),i=XS.createVariableDeclarationList([r],2),o=XS.createVariableStatement(void 0,i);a.push(o),l.set(t,n)}const n=e.element.name;if(Vw(n))A(n,c,e);else if(Jw(n))y(n,c,e);else{const{typeNode:i}=b(n);let o=v(e,l);if(e.element.initializer){const n=null==(t=e.element)?void 0:t.propertyName,r=XS.createUniqueName(n&&UD(n)?n.text:"temp",16);a.push(XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(r,void 0,void 0,o)],2))),o=XS.createConditionalExpression(XS.createBinaryExpression(r,XS.createToken(37),XS.createIdentifier("undefined")),XS.createToken(58),e.element.initializer,XS.createToken(59),o)}const s=wy(r,32)?[XS.createToken(95)]:void 0;a.push(XS.createVariableStatement(s,XS.createVariableDeclarationList([XS.createVariableDeclaration(n,void 0,i,o)],2)))}}r.declarationList.declarations.length>1&&a.push(XS.updateVariableStatement(r,r.modifiers,XS.updateVariableDeclarationList(r.declarationList,r.declarationList.declarations.filter((t=>t!==e.parent)))));return i.replaceNodeWithNodes(o,r,a),[us.Extract_binding_expressions_to_variable]}(e);default:throw new Error(`Cannot find a fix for the given node ${e.kind}`)}}function A(e,t,n){for(let r=0;r=0;--e){const i=n[e].expression;0===i.kind?r=XS.createPropertyAccessChain(r,void 0,XS.createIdentifier(i.text)):1===i.kind?r=XS.createElementAccessExpression(r,t.get(i.computed)):2===i.kind&&(r=XS.createElementAccessExpression(r,i.arrayIndex))}return r}function b(e,n){if(1===t)return S(e);let i;if(eg(e)){const t=a.getSignatureFromDeclaration(e);if(t){const n=a.getTypePredicateOfSignature(t);if(n)return n.type?{typeNode:D(n,dc(e,ud)??o,c(n.type)),mutatedTarget:!1}:r;i=a.getReturnTypeOfSignature(t)}}else i=a.getTypeAtLocation(e);if(!i)return r;if(2===t){n&&(i=n);const e=a.getWidenedLiteralType(i);if(a.isTypeAssignableTo(e,i))return r;i=e}const s=dc(e,ud)??o;return aw(e)&&a.requiresAddingImplicitUndefined(e,s)&&(i=a.getUnionType([a.getUndefinedType(),i],0)),{typeNode:k(i,s,c(i)),mutatedTarget:!1};function c(t){return(HI(e)||uw(e)&&wy(e,264))&&8192&t.flags?1048576:0}}function C(e){return XS.createTypeQueryNode(GX(e))}function E(e,t,n,s,a,c,l,u){const d=[],p=[];let f;const _=dc(e,fd);for(const t of s(e))a(t)?(h(),av(t.expression)?(d.push(C(t.expression)),p.push(t)):m(t.expression)):(f??(f=[])).push(t);return 0===p.length?r:(h(),i.replaceNode(o,e,l(p)),{typeNode:u(d),mutatedTarget:!0});function m(e){const r=XS.createUniqueName(t+"_Part"+(p.length+1),16),s=n?XS.createAsExpression(e,XS.createTypeReferenceNode("const")):e,a=XS.createVariableStatement(void 0,XS.createVariableDeclarationList([XS.createVariableDeclaration(r,void 0,void 0,s)],2));i.insertNodeBefore(o,_,a),d.push(C(r)),p.push(c(r))}function h(){f&&(m(l(f)),f=void 0)}}function x(e){return Vu(e)&&Cl(e.type)}function S(e){if(aw(e))return r;if(MT(e))return{typeNode:C(e.name),mutatedTarget:!1};if(av(e))return{typeNode:C(e),mutatedTarget:!1};if(x(e))return S(e.expression);if(Gw(e)){const t=dc(e,HI);return function(e,t="temp"){const n=!!dc(e,x);return n?E(e,t,n,(e=>e.elements),_I,XS.createSpreadElement,(e=>XS.createArrayLiteralExpression(e,!0)),(e=>XS.createTupleTypeNode(e.map(XS.createRestTypeNode)))):r}(e,t&&UD(t.name)?t.name.text:void 0)}if(Ww(e)){const t=dc(e,HI);return function(e,t="temp"){return E(e,t,!!dc(e,x),(e=>e.properties),jT,XS.createSpreadAssignment,(e=>XS.createObjectLiteralExpression(e,!0)),XS.createIntersectionTypeNode)}(e,t&&UD(t.name)?t.name.text:void 0)}if(HI(e)&&e.initializer)return S(e.initializer);if(dI(e)){const{typeNode:t,mutatedTarget:n}=S(e.whenTrue);if(!t)return r;const{typeNode:i,mutatedTarget:o}=S(e.whenFalse);return i?{typeNode:XS.createUnionTypeNode([t,i]),mutatedTarget:n||o}:r}return r}function k(e,t,n=0){let r=!1;const i=Wie(a,e,t,lie|n,1,{moduleResolverHost:s,trackSymbol:()=>!0,reportTruncationError(){r=!0}});if(!i)return;const o=Gie(i,l,c);return r?XS.createKeywordTypeNode(133):o}function D(e,t,n=0){let r=!1;const i=zie(a,l,e,t,c,lie|n,1,{moduleResolverHost:s,trackSymbol:()=>!0,reportTruncationError(){r=!0}});return r?XS.createKeywordTypeNode(133):i}function w(e){ik(e,1);const t=p.printNode(4,e,o);return t.length>Jd?t.substring(0,Jd-3)+"...":(ik(e,0),t)}function I(e,t){for(;e&&e.endt.addTypeAnnotation(e.span))),uie(oie,t,e,1,(t=>t.addTypeAnnotation(e.span))),uie(oie,t,e,2,(t=>t.addTypeAnnotation(e.span))),uie(sie,t,e,0,(t=>t.addInlineAssertion(e.span))),uie(sie,t,e,1,(t=>t.addInlineAssertion(e.span))),uie(sie,t,e,2,(t=>t.addInlineAssertion(e.span))),uie("extract-expression",t,e,0,(t=>t.extractAsVariable(e.span))),t},getAllCodeActions:e=>J5(die(e,0,(t=>{G5(e,aie,(e=>{t.addTypeAnnotation(e)}))})).textChanges)});var pie="fixAwaitInSyncFunction",fie=[us.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,us.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,us.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,us.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code];function _ie(e,t){const n=W_(UY(e,t));if(!n)return;let r;switch(n.kind){case 174:r=n.name;break;case 262:case 218:r=IY(n,100,e);break;case 219:r=IY(n,n.typeParameters?30:21,e)||me(n.parameters);break;default:return}return r&&{insertBefore:r,returnType:(i=n,i.type?i.type:HI(i.parent)&&i.parent.type&&Cw(i.parent.type)?i.parent.type.type:void 0)};var i}function mie(e,t,{insertBefore:n,returnType:r}){if(r){const n=um(r);n&&80===n.kind&&"Promise"===n.text||e.replaceNode(t,r,XS.createTypeReferenceNode("Promise",XS.createNodeArray([r])))}e.insertModifierBefore(t,134,n)}L5({errorCodes:fie,getCodeActions(e){const{sourceFile:t,span:n}=e,r=_ie(t,n.start);if(!r)return;const i=zde.ChangeTracker.with(e,(e=>mie(e,t,r)));return[q5(pie,i,us.Add_async_modifier_to_containing_function,pie,us.Add_all_missing_async_modifiers)]},fixIds:[pie],getAllCodeActions:function(e){const t=new Set;return H5(e,fie,((n,r)=>{const i=_ie(r.file,r.start);i&&bb(t,JQ(i.insertBefore))&&mie(n,e.sourceFile,i)}))}});var hie=[us._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,us._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],gie="fixPropertyOverrideAccessor";function Aie(e,t,n,r,i){let o,s;if(r===us._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)o=t,s=t+n;else if(r===us._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const n=i.program.getTypeChecker(),r=UY(e,t).parent;un.assert(pu(r),"error span of fixPropertyOverrideAccessor should only be on an accessor");const a=r.parent;un.assert(du(a),"erroneous accessors should only be inside classes");const c=ye(goe(a,n));if(!c)return[];const l=mc(Of(r.name)),u=n.getPropertyOfType(n.getTypeAtLocation(c),l);if(!u||!u.valueDeclaration)return[];o=u.valueDeclaration.pos,s=u.valueDeclaration.end,e=Ap(u.valueDeclaration)}else un.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+r);return uoe(e,i.program,o,s,i,us.Generate_get_and_set_accessors.message)}L5({errorCodes:hie,getCodeActions(e){const t=Aie(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(t)return[q5(gie,t,us.Generate_get_and_set_accessors,gie,us.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[gie],getAllCodeActions:e=>H5(e,hie,((t,n)=>{const r=Aie(n.file,n.start,n.length,n.code,e);if(r)for(const n of r)t.pushRaw(e.sourceFile,n)}))});var yie="inferFromUsage",vie=[us.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,us.Variable_0_implicitly_has_an_1_type.code,us.Parameter_0_implicitly_has_an_1_type.code,us.Rest_parameter_0_implicitly_has_an_any_type.code,us.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,us._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,us.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,us.Member_0_implicitly_has_an_1_type.code,us.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,us.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,us.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,us.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,us.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,us._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,us.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,us.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,us.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];function bie(e,t){switch(e){case us.Parameter_0_implicitly_has_an_1_type.code:case us.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return hw(W_(t))?us.Infer_type_of_0_from_usage:us.Infer_parameter_types_from_usage;case us.Rest_parameter_0_implicitly_has_an_any_type.code:case us.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return us.Infer_parameter_types_from_usage;case us.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return us.Infer_this_type_of_0_from_usage;default:return us.Infer_type_of_0_from_usage}}function Cie(e,t,n,r,i,o,s,a,c){if(!Kl(n.kind)&&80!==n.kind&&26!==n.kind&&110!==n.kind)return;const{parent:l}=n,u=gee(t,i,c,a);switch(r=function(e){switch(e){case us.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return us.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case us.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return us.Variable_0_implicitly_has_an_1_type.code;case us.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return us.Parameter_0_implicitly_has_an_1_type.code;case us.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return us.Rest_parameter_0_implicitly_has_an_any_type.code;case us.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return us.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case us._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return us._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case us.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return us.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case us.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return us.Member_0_implicitly_has_an_1_type.code}return e}(r)){case us.Member_0_implicitly_has_an_1_type.code:case us.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(HI(l)&&s(l)||uw(l)||lw(l))return Eie(e,u,t,l,i,a,o),u.writeFixes(e),l;if(zw(l)){const n=yZ(wie(l.name,i,o),l,i,a);if(n){const r=XS.createJSDocTypeTag(void 0,XS.createJSDocTypeExpression(n),void 0);e.addJSDocTags(t,tt(l.parent.parent,TI),[r])}return u.writeFixes(e),l}return;case us.Variable_0_implicitly_has_an_1_type.code:{const t=i.getTypeChecker().getSymbolAtLocation(n);return t&&t.valueDeclaration&&HI(t.valueDeclaration)&&s(t.valueDeclaration)?(Eie(e,u,Ap(t.valueDeclaration),t.valueDeclaration,i,a,o),u.writeFixes(e),t.valueDeclaration):void 0}}const d=W_(n);if(void 0===d)return;let p;switch(r){case us.Parameter_0_implicitly_has_an_1_type.code:if(hw(d)){xie(e,u,t,d,i,a,o),p=d;break}case us.Rest_parameter_0_implicitly_has_an_any_type.code:if(s(d)){const n=tt(l,aw);!function(e,t,n,r,i,o,s,a){if(!UD(r.name))return;const c=function(e,t,n,r){const i=Iie(e,t,n,r);return i&&Tie(n,i,r).parameters(e)||e.parameters.map((e=>({declaration:e,type:UD(e.name)?wie(e.name,n,r):n.getTypeChecker().getAnyType()})))}(i,n,o,a);if(un.assert(i.parameters.length===c.length,"Parameter count and inference count should match"),Tm(i))kie(e,n,c,o,s);else{const r=rI(i)&&!IY(i,21,n);r&&e.insertNodeBefore(n,me(i.parameters),XS.createToken(21));for(const{declaration:r,type:i}of c)!r||r.type||r.initializer||Sie(e,t,n,r,i,o,s);r&&e.insertNodeAfter(n,Ae(i.parameters),XS.createToken(22))}}(e,u,t,n,d,i,a,o),p=n}break;case us.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case us._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:mw(d)&&UD(d.name)&&(Sie(e,u,t,d,wie(d.name,i,o),i,a),p=d);break;case us.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:hw(d)&&(xie(e,u,t,d,i,a,o),p=d);break;case us.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:zde.isThisTypeAnnotatable(d)&&s(d)&&(!function(e,t,n,r,i,o){const s=Iie(n,t,r,o);if(!s||!s.length)return;const a=Tie(r,s,o).thisParameter(),c=yZ(a,n,r,i);if(!c)return;Tm(n)?function(e,t,n,r){e.addJSDocTags(t,n,[XS.createJSDocThisTag(void 0,XS.createJSDocTypeExpression(r))])}(e,t,n,c):e.tryInsertThisTypeAnnotation(t,n,c)}(e,t,d,i,a,o),p=d);break;default:return un.fail(String(r))}return u.writeFixes(e),p}function Eie(e,t,n,r,i,o,s){UD(r.name)&&Sie(e,t,n,r,wie(r.name,i,s),i,o)}function xie(e,t,n,r,i,o,s){const a=fe(r.parameters);if(a&&UD(r.name)&&UD(a.name)){let c=wie(r.name,i,s);c===i.getTypeChecker().getAnyType()&&(c=wie(a.name,i,s)),Tm(r)?kie(e,n,[{declaration:a,type:c}],i,o):Sie(e,t,n,a,c,i,o)}}function Sie(e,t,n,r,i,o,s){const a=yZ(i,r,o,s);if(a)if(Tm(n)&&171!==r.kind){const t=HI(r)?et(r.parent.parent,wI):r;if(!t)return;const i=XS.createJSDocTypeExpression(a),o=mw(r)?XS.createJSDocReturnTag(void 0,i,void 0):XS.createJSDocTypeTag(void 0,i,void 0);e.addJSDocTags(n,t,[o])}else(function(e,t,n,r,i,o){const s=soe(e,o);if(s&&r.tryInsertTypeAnnotation(n,t,s.typeNode))return u(s.symbols,(e=>i.addImportFromExportedSymbol(e,!0))),!0;return!1})(a,r,n,e,t,yC(o.getCompilerOptions()))||e.tryInsertTypeAnnotation(n,r,a)}function kie(e,t,n,r,i){const o=n.length&&n[0].declaration.parent;if(!o)return;const s=q(n,(e=>{const t=e.declaration;if(t.initializer||nl(t)||!UD(t.name))return;const n=e.type&&yZ(e.type,t,r,i);if(n){return ik(XS.cloneNode(t.name),7168),{name:XS.cloneNode(t.name),param:t,isOptional:!!e.isOptional,typeNode:n}}}));if(s.length)if(rI(o)||nI(o)){const n=rI(o)&&!IY(o,21,t);n&&e.insertNodeBefore(t,me(o.parameters),XS.createToken(21)),u(s,(({typeNode:n,param:r})=>{const i=XS.createJSDocTypeTag(void 0,XS.createJSDocTypeExpression(n)),o=XS.createJSDocComment(void 0,[i]);e.insertNodeAt(t,r.getStart(t),o,{suffix:" "})})),n&&e.insertNodeAfter(t,Ae(o.parameters),XS.createToken(22))}else{const n=w(s,(({name:e,typeNode:t,isOptional:n})=>XS.createJSDocParameterTag(void 0,e,!!n,XS.createJSDocTypeExpression(t),!1,void 0)));e.addJSDocTags(t,o,n)}}function Die(e,t,n){return q(kce.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n),(e=>e.kind!==kce.EntryKind.Span?et(e.node,UD):void 0))}function wie(e,t,n){return Tie(t,Die(e,t,n),n).single()}function Iie(e,t,n,r){let i;switch(e.kind){case 176:i=IY(e,137,t);break;case 219:case 218:const n=e.parent;i=(HI(n)||uw(n))&&UD(n.name)?n.name:e.name;break;case 262:case 174:case 173:i=e.name}if(i)return Die(i,n,r)}function Tie(e,t,n){const r=e.getTypeChecker(),i={string:()=>r.getStringType(),number:()=>r.getNumberType(),Array:e=>r.createArrayType(e),Promise:e=>r.createPromiseType(e)},o=[r.getStringType(),r.getNumberType(),r.createArrayType(r.getAnyType()),r.createPromiseType(r.getAnyType())];return{single:function(){return _(c(t))},parameters:function(i){if(0===t.length||!i.parameters)return;const o={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};for(const e of t)n.throwIfCancellationRequested(),d(e,o);const s=[...o.constructs||[],...o.calls||[]];return i.parameters.map(((t,o)=>{const a=[],l=Qd(t);let u=!1;for(const e of s)if(e.argumentTypes.length<=o)u=Tm(i),a.push(r.getUndefinedType());else if(l)for(let t=o;t{t.has(n)||t.set(n,[]),t.get(n).push(e)}));const n=new Map;return t.forEach(((e,t)=>{n.set(t,s(e))})),{isNumber:e.some((e=>e.isNumber)),isString:e.some((e=>e.isString)),isNumberOrString:e.some((e=>e.isNumberOrString)),candidateTypes:R(e,(e=>e.candidateTypes)),properties:n,calls:R(e,(e=>e.calls)),constructs:R(e,(e=>e.constructs)),numberIndex:u(e,(e=>e.numberIndex)),stringIndex:u(e,(e=>e.stringIndex)),candidateThisTypes:R(e,(e=>e.candidateThisTypes)),inferredTypes:void 0}}function c(e){const t={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};for(const r of e)n.throwIfCancellationRequested(),d(r,t);return m(t)}function d(e,t){for(;fv(e);)e=e.parent;switch(e.parent.kind){case 244:!function(e,t){y(t,Kw(e)?r.getVoidType():r.getAnyType())}(e,t);break;case 225:t.isNumber=!0;break;case 224:!function(e,t){switch(e.operator){case 46:case 47:case 41:case 55:t.isNumber=!0;break;case 40:t.isNumberOrString=!0}}(e.parent,t);break;case 226:!function(e,t,n){switch(t.operatorToken.kind){case 43:case 42:case 44:case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 66:case 68:case 67:case 69:case 70:case 74:case 75:case 79:case 71:case 73:case 72:case 41:case 30:case 33:case 32:case 34:const i=r.getTypeAtLocation(t.left===e?t.right:t.left);1056&i.flags?y(n,i):n.isNumber=!0;break;case 65:case 40:const o=r.getTypeAtLocation(t.left===e?t.right:t.left);1056&o.flags?y(n,o):296&o.flags?n.isNumber=!0:402653316&o.flags?n.isString=!0:1&o.flags||(n.isNumberOrString=!0);break;case 64:case 35:case 37:case 38:case 36:case 77:case 78:case 76:y(n,r.getTypeAtLocation(t.left===e?t.right:t.left));break;case 103:e===t.left&&(n.isString=!0);break;case 57:case 61:e!==t.left||260!==e.parent.parent.kind&&!iv(e.parent.parent,!0)||y(n,r.getTypeAtLocation(t.right))}}(e,e.parent,t);break;case 296:case 297:!function(e,t){y(t,r.getTypeAtLocation(e.parent.parent.expression))}(e.parent,t);break;case 213:case 214:e.parent.expression===e?function(e,t){const n={argumentTypes:[],return_:{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}};if(e.arguments)for(const t of e.arguments)n.argumentTypes.push(r.getTypeAtLocation(t));d(e,n.return_),213===e.kind?(t.calls||(t.calls=[])).push(n):(t.constructs||(t.constructs=[])).push(n)}(e.parent,t):p(e,t);break;case 211:!function(e,t){const n=_c(e.name.text);t.properties||(t.properties=new Map);const r=t.properties.get(n)||{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};d(e,r),t.properties.set(n,r)}(e.parent,t);break;case 212:!function(e,t,n){if(t===e.argumentExpression)return void(n.isNumberOrString=!0);{const t=r.getTypeAtLocation(e.argumentExpression),i={isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0};d(e,i),296&t.flags?n.numberIndex=i:n.stringIndex=i}}(e.parent,e,t);break;case 303:case 304:!function(e,t){const n=HI(e.parent.parent)?e.parent.parent:e.parent;v(t,r.getTypeAtLocation(n))}(e.parent,t);break;case 172:!function(e,t){v(t,r.getTypeAtLocation(e.parent))}(e.parent,t);break;case 260:{const{name:n,initializer:i}=e.parent;if(e===n){i&&y(t,r.getTypeAtLocation(i));break}}default:return p(e,t)}}function p(e,t){vm(e)&&y(t,r.getContextualType(e))}function f(e){return _(m(e))}function _(e){if(!e.length)return r.getAnyType();const t=r.getUnionType([r.getStringType(),r.getNumberType()]);let n=function(e,t){const n=[];for(const r of e)for(const{high:e,low:i}of t)e(r)&&(un.assert(!i(r),"Priority can't have both low and high"),n.push(i));return e.filter((e=>n.every((t=>!t(e)))))}(e,[{high:e=>e===r.getStringType()||e===r.getNumberType(),low:e=>e===t},{high:e=>!(16385&e.flags),low:e=>!!(16385&e.flags)},{high:e=>!(114689&e.flags||16&gb(e)),low:e=>!!(16&gb(e))}]);const i=n.filter((e=>16&gb(e)));return i.length&&(n=n.filter((e=>!(16&gb(e)))),n.push(function(e){if(1===e.length)return e[0];const t=[],n=[],i=[],o=[];let s=!1,a=!1;const c=Ve();for(const l of e){for(const e of r.getPropertiesOfType(l))c.add(e.escapedName,e.valueDeclaration?r.getTypeOfSymbolAtLocation(e,e.valueDeclaration):r.getAnyType());t.push(...r.getSignaturesOfType(l,0)),n.push(...r.getSignaturesOfType(l,1));const e=r.getIndexInfoOfType(l,0);e&&(i.push(e.type),s=s||e.isReadonly);const u=r.getIndexInfoOfType(l,1);u&&(o.push(u.type),a=a||u.isReadonly)}const l=U(c,((t,n)=>{const i=n.lengthr.getBaseTypeOfLiteralType(e))),d=(null==(s=e.calls)?void 0:s.length)?h(e):void 0;return d&&u?c.push(r.getUnionType([d,...u],2)):(d&&c.push(d),l(u)&&c.push(...u)),c.push(...function(e){if(!e.properties||!e.properties.size)return[];const t=o.filter((t=>function(e,t){return!!t.properties&&!np(t.properties,((t,n)=>{const i=r.getTypeOfPropertyOfType(e,n);if(!i)return!0;if(t.calls){return!r.getSignaturesOfType(i,0).length||!r.isTypeAssignableTo(i,(o=t.calls,r.createAnonymousType(void 0,Wd(),[A(o)],a,a)))}return!r.isTypeAssignableTo(i,f(t));var o}))}(t,e)));if(0function(e,t){if(!(4&gb(e)&&t.properties))return e;const n=e.target,o=ye(n.typeParameters);if(!o)return e;const s=[];return t.properties.forEach(((e,t)=>{const i=r.getTypeOfPropertyOfType(n,t);un.assert(!!i,"generic should have all the properties of its reference."),s.push(...g(i,f(e),o))})),i[e.symbol.escapedName](_(s))}(t,e)));return[]}(e)),c}function h(e){const t=new Map;e.properties&&e.properties.forEach(((e,n)=>{const i=r.createSymbol(4,n);i.links.type=f(e),t.set(n,i)}));const n=e.calls?[A(e.calls)]:[],i=e.constructs?[A(e.constructs)]:[],o=e.stringIndex?[r.createIndexInfo(r.getStringType(),f(e.stringIndex),!1)]:[];return r.createAnonymousType(void 0,t,n,i,o)}function g(e,t,n){if(e===n)return[t];if(3145728&e.flags)return R(e.types,(e=>g(e,t,n)));if(4&gb(e)&&4&gb(t)){const i=r.getTypeArguments(e),o=r.getTypeArguments(t),s=[];if(i&&o)for(let e=0;ee.argumentTypes.length)));for(let i=0;ie.argumentTypes[i]||r.getUndefinedType()))),e.some((e=>void 0===e.argumentTypes[i]))&&(n.flags|=16777216),t.push(n)}const i=f(s(e.map((e=>e.return_))));return r.createSignature(void 0,void 0,void 0,t,i,void 0,n,0)}function y(e,t){!t||1&t.flags||131072&t.flags||(e.candidateTypes||(e.candidateTypes=[])).push(t)}function v(e,t){!t||1&t.flags||131072&t.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(t)}}L5({errorCodes:vie,getCodeActions(e){const{sourceFile:t,program:n,span:{start:r},errorCode:i,cancellationToken:o,host:s,preferences:a}=e,c=UY(t,r);let l;const u=zde.ChangeTracker.with(e,(e=>{l=Cie(e,t,c,i,n,o,it,s,a)})),d=l&&Sc(l);return d&&0!==u.length?[q5(yie,u,[bie(i,c),zp(d)],yie,us.Infer_all_types_from_usage)]:void 0},fixIds:[yie],getAllCodeActions(e){const{sourceFile:t,program:n,cancellationToken:r,host:i,preferences:o}=e,s=OK();return H5(e,vie,((e,a)=>{Cie(e,t,UY(a.file,a.start),a.code,n,r,s,i,o)}))}});var Fie="fixReturnTypeInAsyncFunction",Rie=[us.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code];function Pie(e,t,n){if(Tm(e))return;const r=dc(UY(e,n),ou),i=null==r?void 0:r.type;if(!i)return;const o=t.getTypeFromTypeNode(i),s=t.getAwaitedType(o)||t.getVoidType(),a=t.typeToTypeNode(s,i,void 0);return a?{returnTypeNode:i,returnType:o,promisedTypeNode:a,promisedType:s}:void 0}function Nie(e,t,n,r){e.replaceNode(t,n,XS.createTypeReferenceNode("Promise",[r]))}L5({errorCodes:Rie,fixIds:[Fie],getCodeActions:function(e){const{sourceFile:t,program:n,span:r}=e,i=n.getTypeChecker(),o=Pie(t,n.getTypeChecker(),r.start);if(!o)return;const{returnTypeNode:s,returnType:a,promisedTypeNode:c,promisedType:l}=o,u=zde.ChangeTracker.with(e,(e=>Nie(e,t,s,c)));return[q5(Fie,u,[us.Replace_0_with_Promise_1,i.typeToString(a),i.typeToString(l)],Fie,us.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:e=>H5(e,Rie,((t,n)=>{const r=Pie(n.file,e.program.getTypeChecker(),n.start);r&&Nie(t,n.file,r.returnTypeNode,r.promisedTypeNode)}))});var Bie="disableJsDiagnostics",Oie="disableJsDiagnostics",qie=q(Object.keys(us),(e=>{const t=us[e];return 1===t.category?t.code:void 0}));function $ie(e,t,n,r){const{line:i}=Ms(t,n);r&&!L(r,i)||e.insertCommentBeforeLine(t,i,n," @ts-ignore")}function Qie(e,t,n,r,i,o,s){const a=e.symbol.members;for(const c of t)a.has(c.escapedName)||jie(c,e,n,r,i,o,s,void 0)}function Lie(e){return{trackSymbol:()=>!1,moduleResolverHost:VK(e.program,e.host)}}L5({errorCodes:qie,getCodeActions:function(e){const{sourceFile:t,program:n,span:r,host:i,formatContext:o}=e;if(!Tm(t)||!nx(t,n.getCompilerOptions()))return;const s=t.checkJsDirective?"":NX(i,o.options),a=[O5(Bie,[V5(t.fileName,[FK(t.checkJsDirective?Ha(t.checkJsDirective.pos,t.checkJsDirective.end):Va(0,0),`// @ts-nocheck${s}`)])],us.Disable_checking_for_this_file)];return zde.isValidLocationToAddComment(t,r.start)&&a.unshift(q5(Bie,zde.ChangeTracker.with(e,(e=>$ie(e,t,r.start))),us.Ignore_this_error_message,Oie,us.Add_ts_ignore_to_all_error_messages)),a},fixIds:[Oie],getAllCodeActions:e=>{const t=new Set;return H5(e,qie,((e,n)=>{zde.isValidLocationToAddComment(n.file,n.start)&&$ie(e,n.file,n.start,t)}))}});var Mie=(e=>(e[e.Method=1]="Method",e[e.Property=2]="Property",e[e.All=3]="All",e))(Mie||{});function jie(e,t,n,r,i,o,s,c,u=3,d=!1){const p=e.getDeclarations(),f=fe(p),_=r.program.getTypeChecker(),m=yC(r.program.getCompilerOptions()),h=(null==f?void 0:f.kind)??171,g=function(e,t){if(262144&ib(e)){const t=e.links.nameType;if(t&&aS(t))return XS.createIdentifier(mc(cS(t)))}return GX(Sc(t),!1)}(e,f),A=f?Ly(f):0;let y=256&A;y|=1&A?1:4&A?4:0,f&&fu(f)&&(y|=512);const v=function(){let e;y&&(e=ie(e,XS.createModifiersFromModifierFlags(y)));r.program.getCompilerOptions().noImplicitOverride&&f&&Ry(f)&&(e=re(e,XS.createToken(164)));return e&&XS.createNodeArray(e)}(),b=_.getWidenedType(_.getTypeOfSymbolAtLocation(e,t)),C=!!(16777216&e.flags),E=!!(33554432&t.flags)||d,x=KK(n,i),S=1|(0===x?268435456:0);switch(h){case 171:case 172:let n=_.typeToTypeNode(b,t,S,8,Lie(r));if(o){const e=soe(n,m);e&&(n=e.typeNode,coe(o,e.symbols))}s(XS.createPropertyDeclaration(v,f?D(g):e.getName(),C&&2&u?XS.createToken(58):void 0,n,void 0));break;case 177:case 178:{un.assertIsDefined(p);let e=_.typeToTypeNode(b,t,S,void 0,Lie(r));const n=fy(p,f),i=n.secondAccessor?[n.firstAccessor,n.secondAccessor]:[n.firstAccessor];if(o){const t=soe(e,m);t&&(e=t.typeNode,coe(o,t.symbols))}for(const t of i)if(mw(t))s(XS.createGetAccessorDeclaration(v,D(g),a,T(e),I(c,x,E)));else{un.assertNode(t,hw,"The counterpart to a getter should be a setter");const n=oy(t),r=n&&UD(n.name)?hc(n.name):void 0;s(XS.createSetAccessorDeclaration(v,D(g),Zie(1,[r],[T(e)],1,!1),I(c,x,E)))}break}case 173:case 174:un.assertIsDefined(p);const i=b.isUnion()?R(b.types,(e=>e.getCallSignatures())):b.getCallSignatures();if(!J(i))break;if(1===p.length){un.assert(1===i.length,"One declaration implies one signature");const e=i[0];k(x,e,v,D(g),I(c,x,E));break}for(const e of i)e.declaration&&33554432&e.declaration.flags||k(x,e,v,D(g));if(!E)if(p.length>i.length){const e=_.getSignatureFromDeclaration(p[p.length-1]);k(x,e,v,D(g),I(c,x))}else un.assert(p.length===i.length,"Declarations and signatures should match count"),s(function(e,t,n,r,i,o,s,a,c){let u=r[0],d=r[0].minArgumentCount,p=!1;for(const e of r)d=Math.min(e.minArgumentCount,d),KQ(e)&&(p=!0),e.parameters.length>=u.parameters.length&&(!KQ(e)||KQ(u))&&(u=e);const f=u.parameters.length-(KQ(u)?1:0),_=u.parameters.map((e=>e.name)),m=Zie(f,_,void 0,d,!1);if(p){const e=XS.createParameterDeclaration(void 0,XS.createToken(26),_[f]||"rest",f>=d?XS.createToken(58):void 0,XS.createArrayTypeNode(XS.createKeywordTypeNode(159)),void 0);m.push(e)}return function(e,t,n,r,i,o,s,a){return XS.createMethodDeclaration(e,void 0,t,n?XS.createToken(58):void 0,r,i,o,a||eoe(s))}(s,i,o,void 0,m,function(e,t,n,r){if(l(e)){const i=t.getUnionType(w(e,t.getReturnTypeOfSignature));return t.typeToTypeNode(i,r,1,8,Lie(n))}}(r,e,t,n),a,c)}(_,r,t,i,D(g),C&&!!(1&u),v,x,c))}function k(e,n,i,a,c){const l=Uie(174,r,e,n,c,a,i,C&&!!(1&u),t,o);l&&s(l)}function D(e){return UD(e)&&"constructor"===e.escapedText?XS.createComputedPropertyName(XS.createStringLiteral(hc(e),0===x)):GX(e,!1)}function I(e,t,n){return n?void 0:GX(e,!1)||eoe(t)}function T(e){return GX(e,!1)}}function Uie(e,t,n,r,i,o,s,a,c,l){const u=t.program,d=u.getTypeChecker(),p=yC(u.getCompilerOptions()),f=Tm(c),_=524545|(0===n?268435456:0),m=d.signatureToSignatureDeclaration(r,e,c,_,8,Lie(t));if(!m)return;let h=f?void 0:m.typeParameters,g=m.parameters,A=f?void 0:GX(m.type);if(l){if(h){const e=T(h,(e=>{let t=e.constraint,n=e.default;if(t){const e=soe(t,p);e&&(t=e.typeNode,coe(l,e.symbols))}if(n){const e=soe(n,p);e&&(n=e.typeNode,coe(l,e.symbols))}return XS.updateTypeParameterDeclaration(e,e.modifiers,e.name,t,n)}));h!==e&&(h=aP(XS.createNodeArray(e,h.hasTrailingComma),h))}const e=T(g,(e=>{let t=f?void 0:e.type;if(t){const e=soe(t,p);e&&(t=e.typeNode,coe(l,e.symbols))}return XS.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,f?void 0:e.questionToken,t,e.initializer)}));if(g!==e&&(g=aP(XS.createNodeArray(e,g.hasTrailingComma),g)),A){const e=soe(A,p);e&&(A=e.typeNode,coe(l,e.symbols))}}const y=a?XS.createToken(58):void 0,v=m.asteriskToken;return nI(m)?XS.updateFunctionExpression(m,s,m.asteriskToken,et(o,UD),h,g,A,i??m.body):rI(m)?XS.updateArrowFunction(m,s,h,g,A,m.equalsGreaterThanToken,i??m.body):pw(m)?XS.updateMethodDeclaration(m,s,v,o??XS.createIdentifier(""),y,h,g,A,i):WI(m)?XS.updateFunctionDeclaration(m,s,m.asteriskToken,et(o,UD),h,g,A,i??m.body):void 0}function Jie(e,t,n,r,i,o,s){const a=KK(t.sourceFile,t.preferences),c=yC(t.program.getCompilerOptions()),l=Lie(t),u=t.program.getTypeChecker(),d=Tm(s),{typeArguments:p,arguments:f,parent:_}=r,m=d?void 0:u.getContextualType(r),h=w(f,(e=>UD(e)?e.text:zw(e)&&UD(e.name)?e.name.text:void 0)),g=d?[]:w(f,(e=>u.getTypeAtLocation(e))),{argumentTypeNodes:A,argumentTypeParameters:y}=function(e,t,n,r,i,o,s,a){const c=[],l=new Map;for(let u=0;ue[0]))),i=new Map(t);if(n){const i=n.filter((n=>!t.some((t=>{var r;return e.getTypeAtLocation(n)===(null==(r=t[1])?void 0:r.argumentType)})))),o=r.size+i.length;for(let e=0;r.size{var t;return XS.createTypeParameterDeclaration(void 0,e,null==(t=i.get(e))?void 0:t.constraint)}))}(u,y,p),E=Zie(f.length,h,A,void 0,d),x=d||void 0===m?void 0:u.typeToTypeNode(m,s,void 0,void 0,l);switch(e){case 174:return XS.createMethodDeclaration(v,b,i,void 0,C,E,x,eoe(a));case 173:return XS.createMethodSignature(v,i,void 0,C,E,void 0===x?XS.createKeywordTypeNode(159):x);case 262:return un.assert("string"==typeof i||UD(i),"Unexpected name"),XS.createFunctionDeclaration(v,b,i,C,E,x,toe(us.Function_not_implemented.message,a));default:un.fail("Unexpected kind")}}function Vie(e){return 84+e<=90?String.fromCharCode(84+e):`T${e}`}function Hie(e,t,n,r,i,o,s,a){const c=e.typeToTypeNode(n,r,o,s,a);if(c)return Gie(c,t,i)}function Gie(e,t,n){if(e&&Mw(e)){const r=soe(e,n);r&&(coe(t,r.symbols),e=r.typeNode)}return GX(e)}function Wie(e,t,n,r,i,o){let s=e.typeToTypeNode(t,n,r,i,o);if(s){if(bw(s)){const n=t;if(n.typeArguments&&s.typeArguments){const t=function(e,t){un.assert(t.typeArguments);const n=t.typeArguments,r=t.target;for(let t=0;te===n[t])))return t}return n.length}(e,n);if(t=r?XS.createToken(58):void 0,i?void 0:(null==n?void 0:n[a])||XS.createKeywordTypeNode(159),void 0);o.push(l)}return o}function eoe(e){return toe(us.Method_not_implemented.message,e)}function toe(e,t){return XS.createBlock([XS.createThrowStatement(XS.createNewExpression(XS.createIdentifier("Error"),void 0,[XS.createStringLiteral(e,0===t)]))],!0)}function noe(e,t,n){const r=V_(t);if(!r)return;const i=ooe(r,"compilerOptions");if(void 0===i)return void e.insertNodeAtObjectStart(t,r,ioe("compilerOptions",XS.createObjectLiteralExpression(n.map((([e,t])=>ioe(e,t))),!0)));const o=i.initializer;if(Ww(o))for(const[r,i]of n){const n=ooe(o,r);void 0===n?e.insertNodeAtObjectStart(t,o,ioe(r,i)):e.replaceNode(t,n.initializer,i)}}function roe(e,t,n,r){noe(e,t,[[n,r]])}function ioe(e,t){return XS.createPropertyAssignment(XS.createStringLiteral(e),t)}function ooe(e,t){return A(e.properties,(e=>LT(e)&&!!e.name&&kD(e.name)&&e.name.text===t))}function soe(e,t){let n;const r=eL(e,(function e(r){if(d_(r)&&r.qualifier){const i=cv(r.qualifier);if(!i.symbol)return uL(r,e,void 0);const o=HZ(i.symbol,t),s=o!==i.text?aoe(r.qualifier,XS.createIdentifier(o)):r.qualifier;n=re(n,i.symbol);const a=tL(r.typeArguments,e,vu);return XS.createTypeReferenceNode(s,a)}return uL(r,e,void 0)}),vu);if(n&&r)return{typeNode:r,symbols:n}}function aoe(e,t){return 80===e.kind?t:XS.createQualifiedName(aoe(e.left,t),e.right)}function coe(e,t){t.forEach((t=>e.addImportFromExportedSymbol(t,!0)))}function loe(e,t){const n=Ia(t);let r=UY(e,t.start);for(;r.ende.replaceNode(t,n,r)));return O5(Aoe,i,[us.Replace_import_with_0,i[0].textChanges[0].newText])}function voe(e,t){const n=e.program.getTypeChecker().getTypeAtLocation(t);if(!(n.symbol&&zd(n.symbol)&&n.symbol.links.originatingImport))return[];const r=[],i=n.symbol.links.originatingImport;if(l_(i)||se(r,function(e,t){const n=Ap(t),r=Eh(t),i=e.program.getCompilerOptions(),o=[];return o.push(yoe(e,n,t,GK(r.name,void 0,t.moduleSpecifier,KK(n,e.preferences)))),1===vC(i)&&o.push(yoe(e,n,t,XS.createImportEqualsDeclaration(void 0,!1,r.name,XS.createExternalModuleReference(t.moduleSpecifier)))),o}(e,i)),Ju(t)&&(!Ec(t.parent)||t.parent.name!==t)){const n=e.sourceFile,i=zde.ChangeTracker.with(e,(e=>e.replaceNode(n,t,XS.createPropertyAccessExpression(t,"default"),{})));r.push(O5(Aoe,i,us.Use_synthetic_default_member))}return r}L5({errorCodes:[us.This_expression_is_not_callable.code,us.This_expression_is_not_constructable.code],getCodeActions:function(e){const t=e.sourceFile,n=us.This_expression_is_not_callable.code===e.errorCode?213:214,r=dc(UY(t,e.span.start),(e=>e.kind===n));if(!r)return[];const i=r.expression;return voe(e,i)}}),L5({errorCodes:[us.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,us.Type_0_does_not_satisfy_the_constraint_1.code,us.Type_0_is_not_assignable_to_type_1.code,us.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,us.Type_predicate_0_is_not_assignable_to_1.code,us.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,us._0_index_type_1_is_not_assignable_to_2_index_type_3.code,us.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,us.Property_0_in_type_1_is_not_assignable_to_type_2.code,us.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,us.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:function(e){const t=dc(UY(e.sourceFile,e.span.start),(t=>t.getStart()===e.span.start&&t.getEnd()===e.span.start+e.span.length));if(!t)return[];return voe(e,t)}});var boe="strictClassInitialization",Coe="addMissingPropertyDefiniteAssignmentAssertions",Eoe="addMissingPropertyUndefinedType",xoe="addMissingPropertyInitializer",Soe=[us.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];function koe(e,t){const n=UY(e,t);if(UD(n)&&uw(n.parent)){const e=_y(n.parent);if(e)return{type:e,prop:n.parent,isJs:Tm(n.parent)}}}function Doe(e,t,n){XX(n);const r=XS.updatePropertyDeclaration(n,n.modifiers,n.name,XS.createToken(54),n.type,n.initializer);e.replaceNode(t,n,r)}function woe(e,t,n){const r=XS.createKeywordTypeNode(157),i=Fw(n.type)?n.type.types.concat(r):[n.type,r],o=XS.createUnionTypeNode(i);n.isJs?e.addJSDocTags(t,n.prop,[XS.createJSDocTypeTag(void 0,XS.createJSDocTypeExpression(o))]):e.replaceNode(t,n.type,o)}function Ioe(e,t,n,r){XX(n);const i=XS.updatePropertyDeclaration(n,n.modifiers,n.name,n.questionToken,n.type,r);e.replaceNode(t,n,i)}function Toe(e,t){return Foe(e,e.getTypeFromTypeNode(t.type))}function Foe(e,t){if(512&t.flags)return t===e.getFalseType()||t===e.getFalseType(!0)?XS.createFalse():XS.createTrue();if(t.isStringLiteral())return XS.createStringLiteral(t.value);if(t.isNumberLiteral())return XS.createNumericLiteral(t.value);if(2048&t.flags)return XS.createBigIntLiteral(t.value);if(t.isUnion())return p(t.types,(t=>Foe(e,t)));if(t.isClass()){const e=hb(t.symbol);if(!e||wy(e,64))return;const n=iy(e);if(n&&n.parameters.length)return;return XS.createNewExpression(XS.createIdentifier(t.symbol.name),void 0,void 0)}return e.isArrayLikeType(t)?XS.createArrayLiteralExpression():void 0}L5({errorCodes:Soe,getCodeActions:function(e){const t=koe(e.sourceFile,e.span.start);if(!t)return;const n=[];return re(n,function(e,t){const n=zde.ChangeTracker.with(e,(n=>woe(n,e.sourceFile,t)));return q5(boe,n,[us.Add_undefined_type_to_property_0,t.prop.name.getText()],Eoe,us.Add_undefined_type_to_all_uninitialized_properties)}(e,t)),re(n,function(e,t){if(t.isJs)return;const n=zde.ChangeTracker.with(e,(n=>Doe(n,e.sourceFile,t.prop)));return q5(boe,n,[us.Add_definite_assignment_assertion_to_property_0,t.prop.getText()],Coe,us.Add_definite_assignment_assertions_to_all_uninitialized_properties)}(e,t)),re(n,function(e,t){if(t.isJs)return;const n=e.program.getTypeChecker(),r=Toe(n,t.prop);if(!r)return;const i=zde.ChangeTracker.with(e,(n=>Ioe(n,e.sourceFile,t.prop,r)));return q5(boe,i,[us.Add_initializer_to_property_0,t.prop.name.getText()],xoe,us.Add_initializers_to_all_uninitialized_properties)}(e,t)),n},fixIds:[Coe,Eoe,xoe],getAllCodeActions:e=>H5(e,Soe,((t,n)=>{const r=koe(n.file,n.start);if(r)switch(e.fixId){case Coe:Doe(t,n.file,r.prop);break;case Eoe:woe(t,n.file,r);break;case xoe:const i=Toe(e.program.getTypeChecker(),r.prop);if(!i)return;Ioe(t,n.file,r.prop,i);break;default:un.fail(JSON.stringify(e.fixId))}}))});var Roe="requireInTs",Poe=[us.require_call_may_be_converted_to_an_import.code];function Noe(e,t,n){const{allowSyntheticDefaults:r,defaultImportName:i,namedImports:o,statement:s,moduleSpecifier:a}=n;e.replaceNode(t,s,i&&!r?XS.createImportEqualsDeclaration(void 0,!1,i,XS.createExternalModuleReference(a)):XS.createImportDeclaration(void 0,XS.createImportClause(!1,i,o),a,void 0))}function Boe(e,t,n,r){const{parent:i}=UY(e,n);Bm(i,!0)||un.failBadSyntaxKind(i);const o=tt(i.parent,HI),s=KK(e,r),a=et(o.name,UD),c=Jw(o.name)?function(e){const t=[];for(const n of e.elements){if(!UD(n.name)||n.initializer)return;t.push(XS.createImportSpecifier(!1,et(n.propertyName,UD),n.name))}if(t.length)return XS.createNamedImports(t)}(o.name):void 0;if(a||c){const e=me(i.arguments);return{allowSyntheticDefaults:SC(t.getCompilerOptions()),defaultImportName:a,namedImports:c,statement:tt(o.parent.parent,wI),moduleSpecifier:ID(e)?XS.createStringLiteral(e.text,0===s):e}}}L5({errorCodes:Poe,getCodeActions(e){const t=Boe(e.sourceFile,e.program,e.span.start,e.preferences);if(!t)return;const n=zde.ChangeTracker.with(e,(n=>Noe(n,e.sourceFile,t)));return[q5(Roe,n,us.Convert_require_to_import,Roe,us.Convert_all_require_to_import)]},fixIds:[Roe],getAllCodeActions:e=>H5(e,Poe,((t,n)=>{const r=Boe(n.file,e.program,n.start,e.preferences);r&&Noe(t,e.sourceFile,r)}))});var Ooe="useDefaultImport",qoe=[us.Import_may_be_converted_to_a_default_import.code];function $oe(e,t){const n=UY(e,t);if(!UD(n))return;const{parent:r}=n;if(rT(r)&&ET(r.moduleReference))return{importNode:r,name:n,moduleSpecifier:r.moduleReference.expression};if(dT(r)&&iT(r.parent.parent)){const e=r.parent.parent;return{importNode:e,name:n,moduleSpecifier:e.moduleSpecifier}}}function Qoe(e,t,n,r){e.replaceNode(t,n.importNode,GK(n.name,void 0,n.moduleSpecifier,KK(t,r)))}L5({errorCodes:qoe,getCodeActions(e){const{sourceFile:t,span:{start:n}}=e,r=$oe(t,n);if(!r)return;const i=zde.ChangeTracker.with(e,(n=>Qoe(n,t,r,e.preferences)));return[q5(Ooe,i,us.Convert_to_default_import,Ooe,us.Convert_all_to_default_imports)]},fixIds:[Ooe],getAllCodeActions:e=>H5(e,qoe,((t,n)=>{const r=$oe(n.file,n.start);r&&Qoe(t,n.file,r,e.preferences)}))});var Loe="useBigintLiteral",Moe=[us.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];function joe(e,t,n){const r=et(UY(t,n.start),xD);if(!r)return;const i=r.getText(t)+"n";e.replaceNode(t,r,XS.createBigIntLiteral(i))}L5({errorCodes:Moe,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>joe(t,e.sourceFile,e.span)));if(t.length>0)return[q5(Loe,t,us.Convert_to_a_bigint_numeric_literal,Loe,us.Convert_all_to_bigint_numeric_literals)]},fixIds:[Loe],getAllCodeActions:e=>H5(e,Moe,((e,t)=>joe(e,t.file,t)))});var Uoe="fixAddModuleReferTypeMissingTypeof",Joe=[us.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];function Voe(e,t){const n=UY(e,t);return un.assert(102===n.kind,"This token should be an ImportKeyword"),un.assert(205===n.parent.kind,"Token parent should be an ImportType"),n.parent}function Hoe(e,t,n){const r=XS.updateImportTypeNode(n,n.argument,n.attributes,n.qualifier,n.typeArguments,!0);e.replaceNode(t,n,r)}L5({errorCodes:Joe,getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=Voe(t,n.start),i=zde.ChangeTracker.with(e,(e=>Hoe(e,t,r)));return[q5(Uoe,i,us.Add_missing_typeof,Uoe,us.Add_missing_typeof)]},fixIds:[Uoe],getAllCodeActions:e=>H5(e,Joe,((t,n)=>Hoe(t,e.sourceFile,Voe(n.file,n.start))))});var Goe="wrapJsxInFragment",Woe=[us.JSX_expressions_must_have_one_parent_element.code];function zoe(e,t){let n=UY(e,t).parent.parent;if((uI(n)||(n=n.parent,uI(n)))&&kp(n.operatorToken))return n}function Yoe(e,t,n){const r=function(e){const t=[];let n=e;for(;;){if(uI(n)&&kp(n.operatorToken)&&28===n.operatorToken.kind){if(t.push(n.left),gd(n.right))return t.push(n.right),t;if(uI(n.right)){n=n.right;continue}return}return}}(n);r&&e.replaceNode(t,n,XS.createJsxFragment(XS.createJsxOpeningFragment(),r,XS.createJsxJsxClosingFragment()))}L5({errorCodes:Woe,getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=zoe(t,n.start);if(!r)return;const i=zde.ChangeTracker.with(e,(e=>Yoe(e,t,r)));return[q5(Goe,i,us.Wrap_in_JSX_fragment,Goe,us.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[Goe],getAllCodeActions:e=>H5(e,Woe,((t,n)=>{const r=zoe(e.sourceFile,n.start);r&&Yoe(t,e.sourceFile,r)}))});var Koe="wrapDecoratorInParentheses",Xoe=[us.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator.code];function Zoe(e,t,n){const r=dc(UY(t,n),cw);un.assert(!!r,"Expected position to be owned by a decorator.");const i=XS.createParenthesizedExpression(r.expression);e.replaceNode(t,r.expression,i)}L5({errorCodes:Xoe,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>Zoe(t,e.sourceFile,e.span.start)));return[q5(Koe,t,us.Wrap_in_parentheses,Koe,us.Wrap_all_invalid_decorator_expressions_in_parentheses)]},fixIds:[Koe],getAllCodeActions:e=>H5(e,Xoe,((e,t)=>Zoe(e,t.file,t.start)))});var ese="fixConvertToMappedObjectType",tse=[us.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];function nse(e,t){const n=et(UY(e,t).parent.parent,yw);if(!n)return;const r=YI(n.parent)?n.parent:et(n.parent.parent,KI);return r?{indexSignature:n,container:r}:void 0}function rse(e,t,{indexSignature:n,container:r}){const i=(YI(r)?r.members:r.type.members).filter((e=>!yw(e))),o=me(n.parameters),s=XS.createTypeParameterDeclaration(void 0,tt(o.name,UD),o.type),c=XS.createMappedTypeNode(By(n)?XS.createModifier(148):void 0,s,void 0,n.questionToken,n.type,void 0),l=XS.createIntersectionTypeNode([...bg(r),c,...i.length?[XS.createTypeLiteralNode(i)]:a]);e.replaceNode(t,r,function(e,t){return XS.createTypeAliasDeclaration(e.modifiers,e.name,e.typeParameters,t)}(r,l))}L5({errorCodes:tse,getCodeActions:function(e){const{sourceFile:t,span:n}=e,r=nse(t,n.start);if(!r)return;const i=zde.ChangeTracker.with(e,(e=>rse(e,t,r))),o=hc(r.container.name);return[q5(ese,i,[us.Convert_0_to_mapped_object_type,o],ese,[us.Convert_0_to_mapped_object_type,o])]},fixIds:[ese],getAllCodeActions:e=>H5(e,tse,((e,t)=>{const n=nse(t.file,t.start);n&&rse(e,t.file,n)}))});var ise="removeAccidentalCallParentheses";L5({errorCodes:[us.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],getCodeActions(e){const t=dc(UY(e.sourceFile,e.span.start),Kw);if(!t)return;const n=zde.ChangeTracker.with(e,(n=>{n.deleteRange(e.sourceFile,{pos:t.expression.end,end:t.end})}));return[O5(ise,n,us.Remove_parentheses)]},fixIds:[ise]});var ose="removeUnnecessaryAwait",sse=[us.await_has_no_effect_on_the_type_of_this_expression.code];function ase(e,t,n){const r=et(UY(t,n.start),(e=>135===e.kind)),i=r&&et(r.parent,aI);if(!i)return;let o=i;if(tI(i.parent)){if(UD(Ib(i.expression,!1))){const e=WY(i.parent.pos,t);e&&105!==e.kind&&(o=i.parent)}}e.replaceNode(t,o,i.expression)}L5({errorCodes:sse,getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>ase(t,e.sourceFile,e.span)));if(t.length>0)return[q5(ose,t,us.Remove_unnecessary_await,ose,us.Remove_all_unnecessary_uses_of_await)]},fixIds:[ose],getAllCodeActions:e=>H5(e,sse,((e,t)=>ase(e,t.file,t)))});var cse=[us.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],lse="splitTypeOnlyImport";function use(e,t){return dc(UY(e,t.start),iT)}function dse(e,t,n){if(!t)return;const r=un.checkDefined(t.importClause);e.replaceNode(n.sourceFile,t,XS.updateImportDeclaration(t,t.modifiers,XS.updateImportClause(r,r.isTypeOnly,r.name,void 0),t.moduleSpecifier,t.attributes)),e.insertNodeAfter(n.sourceFile,t,XS.createImportDeclaration(void 0,XS.updateImportClause(r,r.isTypeOnly,void 0,r.namedBindings),t.moduleSpecifier,t.attributes))}L5({errorCodes:cse,fixIds:[lse],getCodeActions:function(e){const t=zde.ChangeTracker.with(e,(t=>dse(t,use(e.sourceFile,e.span),e)));if(t.length)return[q5(lse,t,us.Split_into_two_separate_import_declarations,lse,us.Split_all_invalid_type_only_imports)]},getAllCodeActions:e=>H5(e,cse,((t,n)=>{dse(t,use(e.sourceFile,n),e)}))});var pse="fixConvertConstToLet",fse=[us.Cannot_assign_to_0_because_it_is_a_constant.code];function _se(e,t,n){var r;const i=n.getTypeChecker().getSymbolAtLocation(UY(e,t));if(void 0===i)return;const o=et(null==(r=null==i?void 0:i.valueDeclaration)?void 0:r.parent,GI);if(void 0===o)return;const s=IY(o,87,e);return void 0!==s?{symbol:i,token:s}:void 0}function mse(e,t,n){e.replaceNode(t,n,XS.createToken(121))}L5({errorCodes:fse,getCodeActions:function(e){const{sourceFile:t,span:n,program:r}=e,i=_se(t,n.start,r);if(void 0===i)return;const o=zde.ChangeTracker.with(e,(e=>mse(e,t,i.token)));return[$5(pse,o,us.Convert_const_to_let,pse,us.Convert_all_const_to_let)]},getAllCodeActions:e=>{const{program:t}=e,n=new Set;return J5(zde.ChangeTracker.with(e,(r=>{G5(e,fse,(e=>{const i=_se(e.file,e.start,t);if(i&&bb(n,VQ(i.symbol)))return mse(r,e.file,i.token)}))})))},fixIds:[pse]});var hse="fixExpectedComma",gse=[us._0_expected.code];function Ase(e,t,n){const r=UY(e,t);return 27===r.kind&&r.parent&&(Ww(r.parent)||Gw(r.parent))?{node:r}:void 0}function yse(e,t,{node:n}){const r=XS.createToken(28);e.replaceNode(t,n,r)}L5({errorCodes:gse,getCodeActions(e){const{sourceFile:t}=e,n=Ase(t,e.span.start,e.errorCode);if(!n)return;const r=zde.ChangeTracker.with(e,(e=>yse(e,t,n)));return[q5(hse,r,[us.Change_0_to_1,";",","],hse,[us.Change_0_to_1,";",","])]},fixIds:[hse],getAllCodeActions:e=>H5(e,gse,((t,n)=>{const r=Ase(n.file,n.start,n.code);r&&yse(t,e.sourceFile,r)}))});var vse="addVoidToPromise",bse=[us.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,us.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];function Cse(e,t,n,r,i){const o=UY(t,n.start);if(!UD(o)||!Kw(o.parent)||o.parent.expression!==o||0!==o.parent.arguments.length)return;const s=r.getTypeChecker(),a=s.getSymbolAtLocation(o),c=null==a?void 0:a.valueDeclaration;if(!c||!aw(c)||!Xw(c.parent.parent))return;if(null==i?void 0:i.has(c))return;null==i||i.add(c);const l=function(e){var t;if(!Tm(e))return e.typeArguments;if(tI(e.parent)){const n=null==(t=tl(e.parent))?void 0:t.typeExpression.type;if(n&&bw(n)&&UD(n.typeName)&&"Promise"===hc(n.typeName))return n.typeArguments}}(c.parent.parent);if(J(l)){const n=l[0],r=!Fw(n)&&!Bw(n)&&Bw(XS.createUnionTypeNode([n,XS.createKeywordTypeNode(116)]).types[0]);r&&e.insertText(t,n.pos,"("),e.insertText(t,n.end,r?") | void":" | void")}else{const n=s.getResolvedSignature(o.parent),r=null==n?void 0:n.parameters[0],i=r&&s.getTypeOfSymbolAtLocation(r,c.parent.parent);Tm(c)?(!i||3&i.flags)&&(e.insertText(t,c.parent.parent.end,")"),e.insertText(t,Ks(t.text,c.parent.parent.pos),"/** @type {Promise} */(")):(!i||2&i.flags)&&e.insertText(t,c.parent.parent.expression.end,"")}}L5({errorCodes:bse,fixIds:[vse],getCodeActions(e){const t=zde.ChangeTracker.with(e,(t=>Cse(t,e.sourceFile,e.span,e.program)));if(t.length>0)return[q5("addVoidToPromise",t,us.Add_void_to_Promise_resolved_without_a_value,vse,us.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:e=>H5(e,bse,((t,n)=>Cse(t,n.file,n,e.program,new Set)))});var Ese={};n(Ese,{CompletionKind:()=>Aae,CompletionSource:()=>Ise,SortText:()=>kse,StringCompletions:()=>Yae,SymbolOriginInfoKind:()=>Tse,createCompletionDetails:()=>hae,createCompletionDetailsForSymbol:()=>mae,getCompletionEntriesFromSymbols:()=>dae,getCompletionEntryDetails:()=>fae,getCompletionEntrySymbol:()=>gae,getCompletionsAtPosition:()=>Qse,getDefaultCommitCharacters:()=>$se,getPropertiesForObjectExpression:()=>Rae,moduleSpecifierResolutionCacheAttemptLimit:()=>Sse,moduleSpecifierResolutionLimit:()=>xse});var xse=100,Sse=1e3,kse={LocalDeclarationPriority:"10",LocationPriority:"11",OptionalMember:"12",MemberDeclaredBySpreadAssignment:"13",SuggestedClassMembers:"14",GlobalsOrKeywords:"15",AutoImportSuggestions:"16",ClassMemberSnippets:"17",JavascriptIdentifiers:"18",Deprecated:e=>"z"+e,ObjectLiteralProperty:(e,t)=>`${e}\0${t}\0`,SortBelow:e=>e+"1"},Dse=[".",",",";"],wse=[".",";"],Ise=(e=>(e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",e.ObjectLiteralMemberWithComma="ObjectLiteralMemberWithComma/",e))(Ise||{}),Tse=(e=>(e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.ResolvedExport=32]="ResolvedExport",e[e.TypeOnlyAlias=64]="TypeOnlyAlias",e[e.ObjectLiteralMethod=128]="ObjectLiteralMethod",e[e.Ignore=256]="Ignore",e[e.ComputedPropertyName=512]="ComputedPropertyName",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport",e))(Tse||{});function Fse(e){return!!(e&&4&e.kind)}function Rse(e){return!(!e||32!==e.kind)}function Pse(e){return(Fse(e)||Rse(e))&&!!e.isFromPackageJson}function Nse(e){return!!(e&&64&e.kind)}function Bse(e){return!!(e&&128&e.kind)}function Ose(e){return!!(e&&512&e.kind)}function qse(e,t,n,r,i,o,s,a,c){var l,u,d,p;const f=jn(),_=s||kC(r.getCompilerOptions())||(null==(l=o.autoImportSpecifierExcludeRegexes)?void 0:l.length);let m=!1,h=0,g=0,A=0,y=0;const v=c({tryResolve:function(e,t){if(t){const t=n.getModuleSpecifierForBestExportInfo(e,i,a);return t&&h++,t||"failed"}const r=_||o.allowIncompleteCompletions&&gm,resolvedAny:()=>g>0,resolvedBeyondLimit:()=>g>xse}),b=y?` (${(A/y*100).toFixed(1)}% hit rate)`:"";return null==(u=t.log)||u.call(t,`${e}: resolved ${g} module specifiers, plus ${h} ambient and ${A} from cache${b}`),null==(d=t.log)||d.call(t,`${e}: response is ${m?"incomplete":"complete"}`),null==(p=t.log)||p.call(t,`${e}: ${jn()-f}`),v}function $se(e){return e?[]:Dse}function Qse(e,t,n,r,i,o,s,a,c,l,u=!1){var d;const{previousToken:p}=bae(i,r);if(s&&!XY(r,i,p)&&!function(e,t,n,r){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!n&&mZ(n)&&r===n.getStart(e)+1;case"#":return!!n&&JD(n)&&!!Y_(n);case"<":return!!n&&30===n.kind&&(!uI(n.parent)||qae(n.parent));case"/":return!!n&&(Od(n)?!!vh(n):44===n.kind&&DT(n.parent));case" ":return!!n&&nw(n)&&307===n.parent.kind;default:return un.assertNever(t)}}(r,s,p,i))return;if(" "===s)return o.includeCompletionsForImportStatements&&o.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[],defaultCommitCharacters:$se(!0)}:void 0;const f=t.getCompilerOptions(),_=t.getTypeChecker(),m=o.allowIncompleteCompletions?null==(d=e.getIncompleteCompletionsCache)?void 0:d.call(e):void 0;if(m&&3===a&&p&&UD(p)){const n=function(e,t,n,r,i,o,s,a){const c=e.get();if(!c)return;const l=MY(t,a),u=n.text.toLowerCase(),d=y0(t,i,r,o,s),p=qse("continuePreviousIncompleteResponse",i,R5.createImportSpecifierResolver(t,r,i,o),r,n.getStart(),o,!1,vx(n),(e=>{const n=q(c.entries,(n=>{var o;if(!n.hasAction||!n.source||!n.data||Mse(n.data))return n;if(!Gae(n.name,u))return;const{origin:s}=un.checkDefined(Cae(n.name,n.data,r,i)),a=d.get(t.path,n.data.exportMapKey),c=a&&e.tryResolve(a,!Sa(IA(s.moduleSymbol.name)));if("skipped"===c)return n;if(!c||"failed"===c)return void(null==(o=i.log)||o.call(i,`Unexpected failure resolving auto import for '${n.name}' from '${n.source}'`));const l={...s,kind:32,moduleSpecifier:c.moduleSpecifier};return n.data=sae(l),n.source=uae(l),n.sourceDisplay=[DX(l.moduleSpecifier)],n}));return e.skippedAny()||(c.isIncomplete=void 0),n}));return c.entries=p,c.flags=4|(c.flags||0),c.optionalReplacementSpan=Wse(l),c}(m,r,p,t,e,o,c,i);if(n)return n}else null==m||m.clear();const h=Yae.getStringLiteralCompletions(r,i,p,f,e,t,n,o,u);if(h)return h;if(p&&Sl(p.parent)&&(83===p.kind||88===p.kind||80===p.kind))return function(e){const t=function(e){const t=[],n=new Map;let r=e;for(;r&&!ru(r);){if(jI(r)){const e=r.label.text;n.has(e)||(n.set(e,!0),t.push({name:e,kindModifiers:"",kind:"label",sortText:kse.LocationPriority}))}r=r.parent}return t}(e);if(t.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t,defaultCommitCharacters:$se(!1)}}(p.parent);const g=vae(t,n,r,f,i,o,void 0,e,l,c);var A,y;if(g)switch(g.kind){case 0:const s=function(e,t,n,r,i,o,s,a,c,l){const{symbols:u,contextToken:d,completionKind:p,isInSnippetScope:f,isNewIdentifierLocation:_,location:m,propertyAccessToConvert:h,keywordFilters:g,symbolToOriginInfoMap:A,recommendedCompletion:y,isJsxInitializer:v,isTypeOnlyLocation:b,isJsxIdentifierExpected:C,isRightOfOpenTag:E,isRightOfDotOrQuestionDot:x,importStatementCompletion:S,insideJsDocTagTypeExpression:k,symbolToSortTextMap:D,hasUnresolvedAutoImports:w,defaultCommitCharacters:I}=o;let T=o.literals;const F=n.getTypeChecker();if(1===uC(e.scriptKind)){const t=function(e,t){const n=dc(e,(e=>{switch(e.kind){case 287:return!0;case 44:case 32:case 80:case 211:return!1;default:return"quit"}}));if(n){const e=!!IY(n,32,t),r=n.parent.openingElement.tagName.getText(t)+(e?"":">");return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:SK(n.tagName),entries:[{name:r,kind:"class",kindModifiers:void 0,sortText:kse.LocationPriority}],defaultCommitCharacters:$se(!1)}}return}(m,e);if(t)return t}const R=dc(d,OT);if(R&&(rw(d)||cg(d,R.expression))){const e=o0(F,R.parent.clauses);T=T.filter((t=>!e.hasValue(t))),u.forEach(((t,n)=>{if(t.valueDeclaration&&UT(t.valueDeclaration)){const r=F.getConstantValue(t.valueDeclaration);void 0!==r&&e.hasValue(r)&&(A[n]={kind:256})}}))}const P=[],N=zse(e,r);if(N&&!_&&(!u||0===u.length)&&0===g)return;const B=dae(u,P,void 0,d,m,c,e,t,n,yC(r),i,p,s,r,a,b,h,C,v,S,y,A,D,C,E,l);if(0!==g)for(const t of kae(g,!k&&Im(e)))(b&&PK(Ts(t.name))||!b&&zae(t.name)||!B.has(t.name))&&(B.add(t.name),X(P,t,Lse,void 0,!0));for(const e of function(e,t){const n=[];if(e){const r=e.getSourceFile(),i=e.parent,o=r.getLineAndCharacterOfPosition(e.end).line,s=r.getLineAndCharacterOfPosition(t).line;(iT(i)||hT(i)&&i.moduleSpecifier)&&e===i.moduleSpecifier&&o===s&&n.push({name:Is(132),kind:"keyword",kindModifiers:"",sortText:kse.GlobalsOrKeywords})}return n}(d,c))B.has(e.name)||(B.add(e.name),X(P,e,Lse,void 0,!0));for(const t of T){const n=tae(e,s,t);B.add(n.name),X(P,n,Lse,void 0,!0)}N||function(e,t,n,r,i){i5(e).forEach(((e,o)=>{if(e===t)return;const s=mc(o);!n.has(s)&&ma(s,r)&&(n.add(s),X(i,{name:s,kind:"warning",kindModifiers:"",sortText:kse.JavascriptIdentifiers,isFromUncheckedFile:!0,commitCharacters:[]},Lse))}))}(e,m.pos,B,yC(r),P);let O;if(s.includeCompletionsWithInsertText&&d&&!E&&!x&&(O=dc(d,tT))){const i=Yse(O,e,s,r,t,n,a);i&&P.push(i.entry)}return{flags:o.flags,isGlobalCompletion:f,isIncomplete:!(!s.allowIncompleteCompletions||!w)||void 0,isMemberCompletion:Zse(p),isNewIdentifierLocation:_,optionalReplacementSpan:Wse(m),entries:P,defaultCommitCharacters:I??$se(_)}}(r,e,t,f,n,g,o,l,i,u);return(null==s?void 0:s.isIncomplete)&&(null==m||m.set(s)),s;case 1:return jse([...qle.getJSDocTagNameCompletions(),...Use(r,i,_,f,o,!0)]);case 2:return jse([...qle.getJSDocTagCompletions(),...Use(r,i,_,f,o,!1)]);case 3:return jse(qle.getJSDocParameterNameCompletions(g.tag));case 4:return A=g.keywordCompletions,{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:y=g.isNewIdentifierLocation,entries:A.slice(),defaultCommitCharacters:$se(y)};default:return un.assertNever(g)}}function Lse(e,t){var n,r;let i=Ft(e.sortText,t.sortText);return 0===i&&(i=Ft(e.name,t.name)),0===i&&(null==(n=e.data)?void 0:n.moduleSpecifier)&&(null==(r=t.data)?void 0:r.moduleSpecifier)&&(i=ME(e.data.moduleSpecifier,t.data.moduleSpecifier)),0===i?-1:i}function Mse(e){return!!(null==e?void 0:e.moduleSpecifier)}function jse(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e,defaultCommitCharacters:$se(!1)}}function Use(e,t,n,r,i,o){const s=UY(e,t);if(!Sd(s)&&!sF(s))return[];const a=sF(s)?s:s.parent;if(!sF(a))return[];const c=a.parent;if(!ru(c))return[];const l=Im(e),u=i.includeCompletionsWithSnippetText||void 0,d=x(a.tags,(e=>CF(e)&&e.getEnd()<=t));return q(c.parameters,(e=>{if(!Tc(e).length){if(UD(e.name)){const t={tabstop:1},s=e.name.text;let a=Vse(s,e.initializer,e.dotDotDotToken,l,!1,!1,n,r,i),c=u?Vse(s,e.initializer,e.dotDotDotToken,l,!1,!0,n,r,i,t):void 0;return o&&(a=a.slice(1),c&&(c=c.slice(1))),{name:a,kind:"parameter",sortText:kse.LocationPriority,insertText:u?c:void 0,isSnippet:u}}if(e.parent.parameters.indexOf(e)===d){const t=`param${d}`,s=Jse(t,e.name,e.initializer,e.dotDotDotToken,l,!1,n,r,i),a=u?Jse(t,e.name,e.initializer,e.dotDotDotToken,l,!0,n,r,i):void 0;let c=s.join(Rv(r)+"* "),p=null==a?void 0:a.join(Rv(r)+"* ");return o&&(c=c.slice(1),p&&(p=p.slice(1))),{name:c,kind:"parameter",sortText:kse.LocationPriority,insertText:u?p:void 0,isSnippet:u}}}}))}function Jse(e,t,n,r,i,o,s,a,c){return i?l(e,t,n,r,{tabstop:1}):[Vse(e,n,r,i,!1,o,s,a,c,{tabstop:1})];function l(e,t,n,r,l){if(Jw(t)&&!r){const d={tabstop:l.tabstop},p=Vse(e,n,r,i,!0,o,s,a,c,d);let f=[];for(const n of t.elements){const t=u(e,n,d);if(!t){f=void 0;break}f.push(...t)}if(f)return l.tabstop=d.tabstop,[p,...f]}return[Vse(e,n,r,i,!1,o,s,a,c,l)]}function u(e,t,n){if(!t.propertyName&&UD(t.name)||UD(t.name)){const r=t.propertyName?Bf(t.propertyName):t.name.text;if(!r)return;return[Vse(`${e}.${r}`,t.initializer,t.dotDotDotToken,i,!1,o,s,a,c,n)]}if(t.propertyName){const r=Bf(t.propertyName);return r&&l(`${e}.${r}`,t.name,t.initializer,t.dotDotDotToken,n)}}}function Vse(e,t,n,r,i,o,s,a,c,l){if(o&&un.assertIsDefined(l),t&&(e=function(e,t){const n=t.getText().trim();if(n.includes("\n")||n.length>80)return`[${e}]`;return`[${e}=${n}]`}(e,t)),o&&(e=Qx(e)),r){let r="*";if(i)un.assert(!n,"Cannot annotate a rest parameter with type 'Object'."),r="Object";else{if(t){const e=s.getTypeAtLocation(t.parent);if(!(16385&e.flags)){const n=t.getSourceFile(),i=0===KK(n,c)?268435456:0,l=s.typeToTypeNode(e,dc(t,ru),i);if(l){const e=o?oae({removeComments:!0,module:a.module,moduleResolution:a.moduleResolution,target:a.target}):uU({removeComments:!0,module:a.module,moduleResolution:a.moduleResolution,target:a.target});ik(l,1),r=e.printNode(4,l,n)}}}o&&"*"===r&&(r=`\${${l.tabstop++}:${r}}`)}return`@param {${!i&&n?"...":""}${r}} ${e} ${o?`\${${l.tabstop++}}`:""}`}return`@param ${e} ${o?`\${${l.tabstop++}}`:""}`}function Hse(e){return{name:Is(e),kind:"keyword",kindModifiers:"",sortText:kse.GlobalsOrKeywords}}function Gse(e,t,n){return{kind:4,keywordCompletions:kae(e,t),isNewIdentifierLocation:n}}function Wse(e){return 80===(null==e?void 0:e.kind)?SK(e):void 0}function zse(e,t){return!Im(e)||!!nx(e,t)}function Yse(e,t,n,r,i,o,s){const a=e.clauses,c=o.getTypeChecker(),l=c.getTypeAtLocation(e.parent.expression);if(l&&l.isUnion()&&g(l.types,(e=>e.isLiteral()))){const u=o0(c,a),d=yC(r),p=KK(t,n),f=R5.createImportAdder(t,o,n,i),_=[];for(const t of l.types)if(1024&t.flags){un.assert(t.symbol,"An enum member type should have a symbol"),un.assert(t.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const n=t.symbol.valueDeclaration&&c.getConstantValue(t.symbol.valueDeclaration);if(void 0!==n){if(u.hasValue(n))continue;u.addValue(n)}const r=R5.typeToAutoImportableTypeNode(c,f,t,e,d);if(!r)return;const i=Kse(r,d,p);if(!i)return;_.push(i)}else if(!u.hasValue(t.value))switch(typeof t.value){case"object":_.push(t.value.negative?XS.createPrefixUnaryExpression(41,XS.createBigIntLiteral({negative:!1,base10Value:t.value.base10Value})):XS.createBigIntLiteral(t.value));break;case"number":_.push(t.value<0?XS.createPrefixUnaryExpression(41,XS.createNumericLiteral(-t.value)):XS.createNumericLiteral(t.value));break;case"string":_.push(XS.createStringLiteral(t.value,0===p))}if(0===_.length)return;const m=w(_,(e=>XS.createCaseClause(e,[]))),h=NX(i,null==s?void 0:s.options),g=oae({removeComments:!0,module:r.module,moduleResolution:r.moduleResolution,target:r.target,newLine:e0(h)}),A=s?e=>g.printAndFormatNode(4,e,t,s):e=>g.printNode(4,e,t),y=w(m,((e,t)=>n.includeCompletionsWithSnippetText?`${A(e)}$${t+1}`:`${A(e)}`)).join(h);return{entry:{name:`${g.printNode(4,m[0],t)} ...`,kind:"",sortText:kse.GlobalsOrKeywords,insertText:y,hasAction:f.hasFixes()||void 0,source:"SwitchCases/",isSnippet:!!n.includeCompletionsWithSnippetText||void 0},importAdder:f}}}function Kse(e,t,n){switch(e.kind){case 183:return Xse(e.typeName,t,n);case 199:const r=Kse(e.objectType,t,n),i=Kse(e.indexType,t,n);return r&&i&&XS.createElementAccessExpression(r,i);case 201:const o=e.literal;switch(o.kind){case 11:return XS.createStringLiteral(o.text,0===n);case 9:return XS.createNumericLiteral(o.text,o.numericLiteralFlags)}return;case 196:const s=Kse(e.type,t,n);return s&&(UD(s)?s:XS.createParenthesizedExpression(s));case 186:return Xse(e.exprName,t,n);case 205:un.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function Xse(e,t,n){if(UD(e))return e;const r=mc(e.right.escapedText);return Gx(r,t)?XS.createPropertyAccessExpression(Xse(e.left,t,n),r):XS.createElementAccessExpression(Xse(e.left,t,n),XS.createStringLiteral(r,0===n))}function Zse(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function eae(e,t,n){return"object"==typeof n?hx(n)+"n":Xe(n)?fZ(e,t,n):JSON.stringify(n)}function tae(e,t,n){return{name:eae(e,t,n),kind:"string",kindModifiers:"",sortText:kse.LocationPriority,commitCharacters:[]}}function nae(e,t,n,r,i,o,s,a,c,l,u,d,p,f,_,m,h,y,v,b,C,E,x,S){var k,D;let w,I,T,F,R,P,N,B=xK(n,o),O=uae(d);const q=c.getTypeChecker(),$=d&&function(e){return!!(16&e.kind)}(d),Q=d&&function(e){return!!(2&e.kind)}(d)||u;if(d&&function(e){return!!(1&e.kind)}(d))w=u?`this${$?"?.":""}[${cae(s,v,l)}]`:`this${$?"?.":"."}${l}`;else if((Q||$)&&f){w=Q?u?`[${cae(s,v,l)}]`:`[${l}]`:l,($||f.questionDotToken)&&(w=`?.${w}`);const e=IY(f,25,s)||IY(f,29,s);if(!e)return;const t=Wt(l,f.name.text)?f.name.end:e.end;B=Ha(e.getStart(s),t)}if(_&&(void 0===w&&(w=l),w=`{${w}}`,"boolean"!=typeof _&&(B=SK(_,s))),d&&function(e){return!!(8&e.kind)}(d)&&f){void 0===w&&(w=l);const e=WY(f.pos,s);let t="";e&&SZ(e.end,e.parent,s)&&(t=";"),t+=`(await ${f.expression.getText()})`,w=u?`${t}${w}`:`${t}${$?"?.":"."}${w}`;B=Ha((et(f.parent,aI)?f.parent:f.expression).getStart(s),f.end)}if(Rse(d)&&(R=[DX(d.moduleSpecifier)],m&&(({insertText:w,replacementSpan:B}=function(e,t,n,r,i,o,s){const a=t.replacementSpan,c=Qx(fZ(i,s,n.moduleSpecifier)),l=n.isDefaultExport?1:"export="===n.exportName?2:0,u=s.includeCompletionsWithSnippetText?"$1":"",d=R5.getImportKind(i,l,o,!0),p=t.couldBeTypeOnlyImportSpecifier,f=t.isTopLevelTypeOnly?` ${Is(156)} `:" ",_=p?`${Is(156)} `:"",m=r?";":"";switch(d){case 3:return{replacementSpan:a,insertText:`import${f}${Qx(e)}${u} = require(${c})${m}`};case 1:return{replacementSpan:a,insertText:`import${f}${Qx(e)}${u} from ${c}${m}`};case 2:return{replacementSpan:a,insertText:`import${f}* as ${Qx(e)} from ${c}${m}`};case 0:return{replacementSpan:a,insertText:`import${f}{ ${_}${Qx(e)}${u} } from ${c}${m}`}}}(l,m,d,h,s,c,v)),F=!!v.includeCompletionsWithSnippetText||void 0)),64===(null==d?void 0:d.kind)&&(P=!0),0===b&&r&&28!==(null==(k=WY(r.pos,s,r))?void 0:k.kind)&&(pw(r.parent.parent)||mw(r.parent.parent)||hw(r.parent.parent)||jT(r.parent)||(null==(D=dc(r.parent,LT))?void 0:D.getLastToken(s))===r||MT(r.parent)&&Ms(s,r.getEnd()).line!==Ms(s,o).line)&&(O="ObjectLiteralMemberWithComma/",P=!0),v.includeCompletionsWithClassMemberSnippets&&v.includeCompletionsWithInsertText&&3===b&&function(e,t,n){if(Tm(t))return!1;const r=106500;return!!(e.flags&r)&&(du(t)||t.parent&&t.parent.parent&&uu(t.parent)&&t===t.parent.name&&t.parent.getLastToken(n)===t.parent.name&&du(t.parent.parent)||t.parent&&NF(t)&&du(t.parent))}(e,i,s)){let t;const n=rae(a,c,y,v,l,e,i,o,r,C);if(!n)return;({insertText:w,filterText:I,isSnippet:F,importAdder:t}=n),((null==t?void 0:t.hasFixes())||n.eraseRange)&&(P=!0,O="ClassMemberSnippet/")}if(d&&Bse(d)&&(({insertText:w,isSnippet:F,labelDetails:N}=d),v.useLabelDetailsInCompletionEntries||(l+=N.detail,N=void 0),O="ObjectLiteralMethodSnippet/",t=kse.SortBelow(t)),E&&!x&&v.includeCompletionsWithSnippetText&&v.jsxAttributeCompletionStyle&&"none"!==v.jsxAttributeCompletionStyle&&(!FT(i.parent)||!i.parent.initializer)){let t="braces"===v.jsxAttributeCompletionStyle;const n=q.getTypeOfSymbolAtLocation(e,i);"auto"!==v.jsxAttributeCompletionStyle||528&n.flags||1048576&n.flags&&A(n.types,(e=>!!(528&e.flags)))||(402653316&n.flags||1048576&n.flags&&g(n.types,(e=>!!(402686084&e.flags||hK(e))))?(w=`${Qx(l)}=${fZ(s,v,"$1")}`,F=!0):t=!0),t&&(w=`${Qx(l)}={$1}`,F=!0)}if(void 0!==w&&!v.includeCompletionsWithInsertText)return;(Fse(d)||Rse(d))&&(T=sae(d),P=!m);const L=dc(i,kb);if(L){const e=yC(a.getCompilationSettings());if(ma(l,e)){if(275===L.kind){const e=Ts(l);e&&(135===e||Ig(e))&&(w=`${l} as ${l}_`)}}else w=cae(s,v,l),275===L.kind&&(qz.setText(s.text),qz.resetTokenState(o),130===qz.scan()&&80===qz.scan()||(w+=" as "+function(e,t){let n,r=!1,i="";for(let o=0;o=65536?2:1)n=e.codePointAt(o),void 0!==n&&(0===o?fa(n,t):_a(n,t))?(r&&(i+="_"),i+=String.fromCodePoint(n),r=!1):r=!0;r&&(i+="_");return i||"_"}(l,e)))}const M=Lde.getSymbolKind(q,e,i),j="warning"===M||"string"===M?[]:void 0;return{name:l,kind:M,kindModifiers:Lde.getSymbolModifiers(q,e),sortText:t,source:O,hasAction:!!P||void 0,isRecommended:lae(e,p,q)||void 0,insertText:w,filterText:I,replacementSpan:B,sourceDisplay:R,labelDetails:N,isSnippet:F,isPackageJsonImport:Pse(d)||void 0,isImportStatementCompletion:!!m||void 0,data:T,commitCharacters:j,...S?{symbol:e}:void 0}}function rae(e,t,n,r,i,o,s,a,c,l){const u=dc(s,du);if(!u)return;let d,p=i;const f=i,_=t.getTypeChecker(),m=s.getSourceFile(),h=oae({removeComments:!0,module:n.module,moduleResolution:n.moduleResolution,target:n.target,omitTrailingSemicolon:!1,newLine:e0(NX(e,null==l?void 0:l.options))}),g=R5.createImportAdder(m,t,r,e);let A;if(r.includeCompletionsWithSnippetText){d=!0;const e=XS.createEmptyStatement();A=XS.createBlock([e],!0),Fk(e,{kind:0,order:0})}else A=XS.createBlock([],!0);let y=0;const{modifiers:v,range:b,decorators:C}=function(e,t,n){if(!e||Ms(t,n).line>Ms(t,e.getEnd()).line)return{modifiers:0};let r,i,o=0;const s={pos:n,end:n};if(uw(e.parent)&&(i=function(e){if(Zl(e))return e.kind;if(UD(e)){const t=gc(e);if(t&&Yl(t))return t}return}(e))){e.parent.modifiers&&(o|=98303&Gy(e.parent.modifiers),r=e.parent.modifiers.filter(cw)||[],s.pos=Math.min(...e.parent.modifiers.map((e=>e.getStart(t)))));const n=Wy(i);o&n||(o|=n,s.pos=Math.min(s.pos,e.getStart(t))),e.parent.name!==e&&(s.end=e.parent.name.getStart(t))}return{modifiers:o,decorators:r,range:s.pos{let t=0;E&&(t|=64),uu(e)&&1===_.getMemberOverrideModifierStatus(u,e,o)&&(t|=16),x.length||(y=e.modifierFlagsCache|t),e=XS.replaceModifiers(e,y),x.push(e)}),A,R5.PreserveOptionalFlags.Property,!!E),x.length){const e=8192&o.flags;let t=17|y;t|=e?1024:136;const n=v&t;if(v&~t)return;if(4&y&&1&n&&(y&=-5),0===n||1&n||(y&=-2),y|=n,x=x.map((e=>XS.replaceModifiers(e,y))),null==C?void 0:C.length){const e=x[x.length-1];lP(e)&&(x[x.length-1]=XS.replaceDecoratorsAndModifiers(e,C.concat(wc(e)||[])))}const r=131073;p=l?h.printAndFormatSnippetList(r,XS.createNodeArray(x),m,l):h.printSnippetList(r,XS.createNodeArray(x),m)}return{insertText:p,filterText:f,isSnippet:d,importAdder:g,eraseRange:b}}function iae(e,t,n,r,i,o,s,a){const c=s.includeCompletionsWithSnippetText||void 0;let l=t;const u=n.getSourceFile(),d=function(e,t,n,r,i,o){const s=e.getDeclarations();if(!s||!s.length)return;const a=r.getTypeChecker(),c=s[0],l=GX(Sc(c),!1),u=a.getWidenedType(a.getTypeOfSymbolAtLocation(e,t)),d=KK(n,o),p=33554432|(0===d?268435456:0);switch(c.kind){case 171:case 172:case 173:case 174:{let e=1048576&u.flags&&u.types.length<10?a.getUnionType(u.types,2):u;if(1048576&e.flags){const t=S(e.types,(e=>a.getSignaturesOfType(e,0).length>0));if(1!==t.length)return;e=t[0]}if(1!==a.getSignaturesOfType(e,0).length)return;const n=a.typeToTypeNode(e,t,p,void 0,R5.getNoopSymbolTrackerWithResolver({program:r,host:i}));if(!n||!Cw(n))return;let s;if(o.includeCompletionsWithSnippetText){const e=XS.createEmptyStatement();s=XS.createBlock([e],!0),Fk(e,{kind:0,order:0})}else s=XS.createBlock([],!0);const c=n.parameters.map((e=>XS.createParameterDeclaration(void 0,e.dotDotDotToken,e.name,void 0,void 0,e.initializer)));return XS.createMethodDeclaration(void 0,void 0,l,void 0,void 0,c,void 0,s)}default:return}}(e,n,u,r,i,s);if(!d)return;const p=oae({removeComments:!0,module:o.module,moduleResolution:o.moduleResolution,target:o.target,omitTrailingSemicolon:!1,newLine:e0(NX(i,null==a?void 0:a.options))});l=a?p.printAndFormatSnippetList(80,XS.createNodeArray([d],!0),u,a):p.printSnippetList(80,XS.createNodeArray([d],!0),u);const f=uU({removeComments:!0,module:o.module,moduleResolution:o.moduleResolution,target:o.target,omitTrailingSemicolon:!0}),_=XS.createMethodSignature(void 0,"",d.questionToken,d.typeParameters,d.parameters,d.type);return{isSnippet:c,insertText:l,labelDetails:{detail:f.printNode(4,_,u)}}}function oae(e){let t;const n=zde.createWriter(Rv(e)),r=uU(e,n),i={...n,write:e=>o(e,(()=>n.write(e))),nonEscapingWrite:n.write,writeLiteral:e=>o(e,(()=>n.writeLiteral(e))),writeStringLiteral:e=>o(e,(()=>n.writeStringLiteral(e))),writeSymbol:(e,t)=>o(e,(()=>n.writeSymbol(e,t))),writeParameter:e=>o(e,(()=>n.writeParameter(e))),writeComment:e=>o(e,(()=>n.writeComment(e))),writeProperty:e=>o(e,(()=>n.writeProperty(e)))};return{printSnippetList:function(e,n,r){const i=s(e,n,r);return t?zde.applyChanges(i,t):i},printAndFormatSnippetList:function(e,n,r,i){const o={text:s(e,n,r),getLineAndCharacterOfPosition(e){return Ms(this,e)}},a=n0(i,r),c=R(n,(e=>{const t=zde.assignPositionsToNode(e);return xpe.formatNodeGivenIndentation(t,o,r.languageVariant,0,0,{...i,options:a})})),l=t?le(H(c,t),((e,t)=>yt(e.span,t.span))):c;return zde.applyChanges(o.text,l)},printNode:function(e,n,r){const i=a(e,n,r);return t?zde.applyChanges(i,t):i},printAndFormatNode:function(e,n,r,i){const o={text:a(e,n,r),getLineAndCharacterOfPosition(e){return Ms(this,e)}},s=n0(i,r),c=zde.assignPositionsToNode(n),l=xpe.formatNodeGivenIndentation(c,o,r.languageVariant,0,0,{...i,options:s}),u=t?le(H(l,t),((e,t)=>yt(e.span,t.span))):l;return zde.applyChanges(o.text,u)}};function o(e,r){const i=Qx(e);if(i!==e){const e=n.getTextPos();r();const o=n.getTextPos();t=re(t||(t=[]),{newText:i,span:{start:e,length:o-e}})}else r()}function s(e,n,o){return t=void 0,i.clear(),r.writeList(e,n,o,i),i.getText()}function a(e,n,o){return t=void 0,i.clear(),r.writeNode(e,n,o,i),i.getText()}}function sae(e){const t=e.fileName?void 0:IA(e.moduleSymbol.name),n=!!e.isFromPackageJson||void 0;if(Rse(e)){return{exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,ambientModuleName:t,fileName:e.fileName,isPackageJsonImport:n}}return{exportName:e.exportName,exportMapKey:e.exportMapKey,fileName:e.fileName,ambientModuleName:e.fileName?void 0:IA(e.moduleSymbol.name),isPackageJsonImport:!!e.isFromPackageJson||void 0}}function aae(e,t,n){const r="default"===e.exportName,i=!!e.isPackageJsonImport;if(Mse(e)){return{kind:32,exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,symbolName:t,fileName:e.fileName,moduleSymbol:n,isDefaultExport:r,isFromPackageJson:i}}return{kind:4,exportName:e.exportName,exportMapKey:e.exportMapKey,symbolName:t,fileName:e.fileName,moduleSymbol:n,isDefaultExport:r,isFromPackageJson:i}}function cae(e,t,n){return/^\d+$/.test(n)?n:fZ(e,t,n)}function lae(e,t,n){return e===t||!!(1048576&e.flags)&&n.getExportSymbolOfSymbol(e)===t}function uae(e){return Fse(e)?IA(e.moduleSymbol.name):Rse(e)?e.moduleSpecifier:1===(null==e?void 0:e.kind)?"ThisProperty/":64===(null==e?void 0:e.kind)?"TypeOnlyAlias/":void 0}function dae(e,t,n,r,i,o,s,a,c,l,u,d,p,f,_,m,h,g,A,y,v,b,C,E,x,S=!1){const k=jn(),D=function(e,t){if(!e)return;let n=dc(e,(e=>$_(e)||Jae(e)||Cu(e)?"quit":(aw(e)||sw(e))&&!yw(e.parent)));n||(n=dc(t,(e=>$_(e)||Jae(e)||Cu(e)?"quit":HI(e))));return n}(r,i),w=kZ(s),I=c.getTypeChecker(),T=new Map;for(let u=0;ue.getSourceFile()===i.getSourceFile())));T.set(N,$),X(t,q,Lse,void 0,!0)}return u("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(jn()-k)),{has:e=>T.has(e),add:e=>T.set(e,!0)};function F(e,t){var n;let o=e.flags;if(!JT(i)){if(mT(i.parent))return!0;if(et(D,HI)&&e.valueDeclaration===D)return!1;const a=e.valueDeclaration??(null==(n=e.declarations)?void 0:n[0]);if(D&&a)if(aw(D)&&aw(a)){const e=D.parent.parameters;if(a.pos>=D.pos&&a.pos=D.pos&&a.poseae(n,s,e)===i.name));return void 0!==v?{type:"literal",literal:v}:p(l,((e,t)=>{const n=_[t],r=Eae(e,yC(a),n,f,c.isJsxIdentifierExpected);return r&&r.name===i.name&&("ClassMemberSnippet/"===i.source&&106500&e.flags||"ObjectLiteralMethodSnippet/"===i.source&&8196&e.flags||uae(n)===i.source||"ObjectLiteralMemberWithComma/"===i.source)?{type:"symbol",symbol:e,location:d,origin:n,contextToken:m,previousToken:h,isJsxInitializer:g,isTypeOnlyLocation:y}:void 0}))||{type:"none"}}function fae(e,t,n,r,i,o,s,a,c){const l=e.getTypeChecker(),u=e.getCompilerOptions(),{name:d,source:p,data:f}=i,{previousToken:_,contextToken:m}=bae(r,n);if(XY(n,r,_))return Yae.getStringLiteralCompletionDetails(d,n,r,_,e,o,c,a);const h=pae(e,t,n,r,i,o,a);switch(h.type){case"request":{const{request:e}=h;switch(e.kind){case 1:return qle.getJSDocTagNameCompletionDetails(d);case 2:return qle.getJSDocTagCompletionDetails(d);case 3:return qle.getJSDocParameterNameCompletionDetails(d);case 4:return J(e.keywordCompletions,(e=>e.name===d))?_ae(d,"keyword",5):void 0;default:return un.assertNever(e)}}case"symbol":{const{symbol:t,location:i,contextToken:_,origin:m,previousToken:g}=h,{codeActions:A,sourceDisplay:y}=function(e,t,n,r,i,o,s,a,c,l,u,d,p,f,_,m){if((null==f?void 0:f.moduleSpecifier)&&u&&$ae(n||u,c).replacementSpan)return{codeActions:void 0,sourceDisplay:[DX(f.moduleSpecifier)]};if("ClassMemberSnippet/"===_){const{importAdder:r,eraseRange:u}=rae(s,o,a,p,e,i,t,l,n,d);if((null==r?void 0:r.hasFixes())||u){return{sourceDisplay:void 0,codeActions:[{changes:zde.ChangeTracker.with({host:s,formatContext:d,preferences:p},(e=>{r&&r.writeFixes(e),u&&e.deleteRange(c,u)})),description:(null==r?void 0:r.hasFixes())?t0([us.Includes_imports_of_types_referenced_by_0,e]):t0([us.Update_modifiers_of_0,e])}]}}}if(Nse(r)){const e=R5.getPromoteTypeOnlyCompletionAction(c,r.declaration.name,o,s,d,p);return un.assertIsDefined(e,"Expected to have a code action for promoting type-only alias"),{codeActions:[e],sourceDisplay:void 0}}if("ObjectLiteralMemberWithComma/"===_&&n){const t=zde.ChangeTracker.with({host:s,formatContext:d,preferences:p},(e=>e.insertText(c,n.end,",")));if(t)return{sourceDisplay:void 0,codeActions:[{changes:t,description:t0([us.Add_missing_comma_for_object_member_completion_0,e])}]}}if(!r||!Fse(r)&&!Rse(r))return{codeActions:void 0,sourceDisplay:void 0};const h=r.isFromPackageJson?s.getPackageJsonAutoImportProvider().getTypeChecker():o.getTypeChecker(),{moduleSymbol:g}=r,A=h.getMergedSymbol(sb(i.exportSymbol||i,h)),y=30===(null==n?void 0:n.kind)&&vd(n.parent),{moduleSpecifier:v,codeAction:b}=R5.getImportCompletionAction(A,g,null==f?void 0:f.exportMapKey,c,e,y,s,o,d,u&&UD(u)?u.getStart(c):l,p,m);return un.assert(!(null==f?void 0:f.moduleSpecifier)||v===f.moduleSpecifier),{sourceDisplay:[DX(v)],codeActions:[b]}}(d,i,_,m,t,e,o,u,n,r,g,s,a,f,p,c);return mae(t,Ose(m)?m.symbolName:t.name,l,n,i,c,A,y)}case"literal":{const{literal:e}=h;return _ae(eae(n,a,e),"string","string"==typeof e?8:7)}case"cases":{const t=Yse(m.parent,n,a,e.getCompilerOptions(),o,e,void 0);if(null==t?void 0:t.importAdder.hasFixes()){const{entry:e,importAdder:n}=t,r=zde.ChangeTracker.with({host:o,formatContext:s,preferences:a},n.writeFixes);return{name:e.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:r,description:t0([us.Includes_imports_of_types_referenced_by_0,d])}]}}return{name:d,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return Sae().some((e=>e.name===d))?_ae(d,"keyword",5):void 0;default:un.assertNever(h)}}function _ae(e,t,n){return hae(e,"",t,[yX(e,n)])}function mae(e,t,n,r,i,o,s,a){const{displayParts:c,documentation:l,symbolKind:u,tags:d}=n.runWithCancellationToken(o,(t=>Lde.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,r,i,i,7)));return hae(t,Lde.getSymbolModifiers(n,e),u,c,l,d,s,a)}function hae(e,t,n,r,i,o,s,a){return{name:e,kindModifiers:t,kind:n,displayParts:r,documentation:i,tags:o,codeActions:s,source:a,sourceDisplay:a}}function gae(e,t,n,r,i,o,s){const a=pae(e,t,n,r,i,o,s);return"symbol"===a.type?a.symbol:void 0}var Aae=(e=>(e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None",e))(Aae||{});function yae(e,t,n){const r=n.getAccessibleSymbolChain(e,t,-1,!1);return r?me(r):e.parent&&(function(e){var t;return!!(null==(t=e.declarations)?void 0:t.some((e=>307===e.kind)))}(e.parent)?e:yae(e.parent,t,n))}function vae(e,t,n,r,i,o,s,a,c,l){const d=e.getTypeChecker(),f=zse(n,r);let _=jn(),m=UY(n,i);t("getCompletionData: Get current token: "+(jn()-_)),_=jn();const h=cK(n,i,m);t("getCompletionData: Is inside comment: "+(jn()-_));let g=!1,y=!1,v=!1;if(h){if(lK(n,i)){if(64===n.text.charCodeAt(i-1))return{kind:1};{const e=hY(i,n);if(!/[^*|\s(/)]/.test(n.text.substring(e,i)))return{kind:2}}}const e=function(e,t){return dc(e,(e=>!(!Sd(e)||!AY(e,t))||!!sF(e)&&"quit"))}(m,i);if(e){if(e.tagName.pos<=i&&i<=e.tagName.end)return{kind:1};if(PF(e))y=!0;else{const t=function(e){if(function(e){switch(e.kind){case 341:case 348:case 342:case 344:case 346:case 349:case 350:return!0;case 345:return!!e.constraint;default:return!1}}(e)){const t=kF(e)?e.constraint:e.typeExpression;return t&&309===t.kind?t:void 0}if(lF(e)||TF(e))return e.class;return}(e);if(t&&(m=UY(n,i),m&&(lg(m)||348===m.parent.kind&&m.parent.name===m)||(g=he(t))),!g&&CF(e)&&(kp(e.name)||e.name.pos<=i&&i<=e.name.end))return{kind:3,tag:e}}}if(!g&&!y)return void t("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}_=jn();const b=!g&&!y&&Im(n),C=bae(i,n),E=C.previousToken;let x=C.contextToken;t("getCompletionData: Get previous token: "+(jn()-_));let k,D,w,I=m,T=!1,F=!1,P=!1,N=!1,B=!1,O=!1,$=MY(n,i),Q=0,L=!1,M=0;if(x){const e=$ae(x,n);if(e.keywordCompletion){if(e.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[Hse(e.keywordCompletion)],isNewIdentifierLocation:e.isNewIdentifierLocation};Q=function(e){if(156===e)return 8;un.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}(e.keywordCompletion)}if(e.replacementSpan&&o.includeCompletionsForImportStatements&&o.includeCompletionsWithInsertText&&(M|=2,D=e,L=e.isNewIdentifierLocation),!e.replacementSpan&&function(e){const r=jn(),o=function(e){return(wD(e)||Ul(e))&&(yY(e,i)||i===e.end&&(!!e.isUnterminated||wD(e)))}(e)||function(e){const t=e.parent,r=t.kind;switch(e.kind){case 28:return 260===r||261===(o=e).parent.kind&&!oK(o,n,d)||243===r||266===r||pe(r)||264===r||207===r||265===r||du(t)&&!!t.typeParameters&&t.typeParameters.end>=e.pos;case 25:case 23:return 207===r;case 59:return 208===r;case 21:return 299===r||pe(r);case 19:return 266===r;case 30:return 263===r||231===r||264===r||265===r||cu(r);case 126:return 172===r&&!du(t.parent);case 26:return 169===r||!!t.parent&&207===t.parent.kind;case 125:case 123:case 124:return 169===r&&!_w(t.parent);case 130:return 276===r||281===r||274===r;case 139:case 153:return!Oae(e);case 80:if((276===r||281===r)&&e===t.name&&"type"===e.text)return!1;if(dc(e.parent,HI)&&function(e,t){return n.getLineEndOfPosition(e.getEnd())E.end))}(e)||function(e){if(9===e.kind){const t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}(e)||function(e){if(12===e.kind)return!0;if(32===e.kind&&e.parent){if($===e.parent&&(286===$.kind||285===$.kind))return!1;if(286===e.parent.kind)return 286!==$.parent.kind;if(287===e.parent.kind||285===e.parent.kind)return!!e.parent.parent&&284===e.parent.parent.kind}return!1}(e)||SD(e);return t("getCompletionsAtPosition: isCompletionListBlocker: "+(jn()-r)),o}(x))return t("Returning an empty list because completion was requested in an invalid position."),Q?Gse(Q,b,le().isNewIdentifierLocation):void 0;let r=x.parent;if(25===x.kind||29===x.kind)switch(T=25===x.kind,F=29===x.kind,r.kind){case 211:k=r,I=k.expression;if(kp(Db(k))||(Kw(I)||ru(I))&&I.end===x.pos&&I.getChildCount(n)&&22!==Ae(I.getChildren(n)).kind)return;break;case 166:I=r.left;break;case 267:I=r.name;break;case 205:I=r;break;case 236:I=r.getFirstToken(n),un.assert(102===I.kind||105===I.kind);break;default:return}else if(!D){if(r&&211===r.kind&&(x=r,r=r.parent),m.parent===$)switch(m.kind){case 32:284!==m.parent.kind&&286!==m.parent.kind||($=m);break;case 44:285===m.parent.kind&&($=m)}switch(r.kind){case 287:44===x.kind&&(N=!0,$=x);break;case 226:if(!qae(r))break;case 285:case 284:case 286:O=!0,30===x.kind&&(P=!0,$=x);break;case 294:case 293:(20===E.kind||80===E.kind&&291===E.parent.kind)&&(O=!0);break;case 291:if(r.initializer===E&&E.endJK(t?a.getPackageJsonAutoImportProvider():e,a)));if(T||F)!function(){V=2;const e=d_(I),t=e&&!I.isTypeOf||S_(I.parent)||oK(x,n,d),r=Mz(I);if(eu(I)||e||zw(I)){const n=ZI(I.parent);n&&(L=!0,w=[]);let i=d.getSymbolAtLocation(I);if(i&&(i=sb(i,d),1920&i.flags)){const s=d.getExportsOfModule(i);un.assertEachIsDefined(s,"getExportsOfModule() should all be defined");const a=t=>d.isValidPropertyAccess(e?I:I.parent,t.name),c=e=>Vae(e,d),l=n?e=>{var t;return!!(1920&e.flags)&&!(null==(t=e.declarations)?void 0:t.every((e=>e.parent===I.parent)))}:r?e=>c(e)||a(e):t||g?c:a;for(const e of s)l(e)&&W.push(e);if(!t&&!g&&i.declarations&&i.declarations.some((e=>307!==e.kind&&267!==e.kind&&266!==e.kind))){let e=d.getTypeOfSymbolAtLocation(i,I).getNonOptionalType(),t=!1;if(e.isNullableType()){const n=T&&!F&&!1!==o.includeAutomaticOptionalChainCompletions;(n||F)&&(e=e.getNonNullableType(),n&&(t=!0))}ie(e,!!(65536&I.flags),t)}return}}if(!t||uy(I)){d.tryGetThisTypeAt(I,!1);let e=d.getTypeAtLocation(I).getNonOptionalType();if(t)ie(e.getNonNullableType(),!1,!1);else{let t=!1;if(e.isNullableType()){const n=T&&!F&&!1!==o.includeAutomaticOptionalChainCompletions;(n||F)&&(e=e.getNonNullableType(),n&&(t=!0))}ie(e,!!(65536&I.flags),t)}}}();else if(P)W=d.getJsxIntrinsicTagNamesAt($),un.assertEachIsDefined(W,"getJsxIntrinsicTagNames() should all be defined"),ae(),V=1,Q=0;else if(N){const e=x.parent.parent.openingElement.tagName,t=d.getSymbolAtLocation(e);t&&(W=[t]),V=1,Q=0}else if(!ae())return Q?Gse(Q,b,L):void 0;t("getCompletionData: Semantic work: "+(jn()-j));const te=E&&function(e,t,n,r){const{parent:i}=e;switch(e.kind){case 80:return pZ(e,r);case 64:switch(i.kind){case 260:return r.getContextualType(i.initializer);case 226:return r.getTypeAtLocation(i.left);case 291:return r.getContextualTypeForJsxAttribute(i);default:return}case 105:return r.getContextualType(i);case 84:const o=et(i,OT);return o?gZ(o,r):void 0;case 19:return!NT(i)||xT(i.parent)||wT(i.parent)?void 0:r.getContextualTypeForJsxAttribute(i.parent);default:const s=rde.getArgumentInfoForCompletions(e,t,n,r);return s?r.getContextualTypeForArgumentAtIndex(s.invocation,s.argumentIndex):_Z(e.kind)&&uI(i)&&_Z(i.operatorToken.kind)?r.getTypeAtLocation(i.left):r.getContextualType(e,4)||r.getContextualType(e)}}(E,i,n,d),ne=!et(E,Od)&&!O?q(te&&(te.isUnion()?te.types:[te]),(e=>!e.isLiteral()||1024&e.flags?void 0:e.value)):[],re=E&&te&&function(e,t,n){return p(t&&(t.isUnion()?t.types:[t]),(t=>{const r=t&&t.symbol;return r&&424&r.flags&&!mb(r)?yae(r,e,n):void 0}))}(E,te,d);return{kind:0,symbols:W,completionKind:V,isInSnippetScope:v,propertyAccessToConvert:k,isNewIdentifierLocation:L,location:$,keywordFilters:Q,literals:ne,symbolToOriginInfoMap:z,recommendedCompletion:re,previousToken:E,contextToken:x,isJsxInitializer:B,insideJsDocTagTypeExpression:g,symbolToSortTextMap:Y,isTypeOnlyLocation:X,isJsxIdentifierExpected:O,isRightOfOpenTag:P,isRightOfDotOrQuestionDot:T||F,importStatementCompletion:D,hasUnresolvedAutoImports:G,flags:M,defaultCommitCharacters:w};function ie(e,t,n){e.getStringIndexType()&&(L=!0,w=[]),F&&J(e.getCallSignatures())&&(L=!0,w??(w=Dse));const r=205===I.kind?I:I.parent;if(f)for(const t of e.getApparentProperties())d.isValidPropertyAccessForCompletions(r,e,t)&&oe(t,!1,n);else W.push(...S(Nae(e,d),(t=>d.isValidPropertyAccessForCompletions(r,e,t))));if(t&&o.includeCompletionsWithInsertText){const t=d.getPromisedTypeOfPromise(e);if(t)for(const e of t.getApparentProperties())d.isValidPropertyAccessForCompletions(r,t,e)&&oe(e,!0,n)}}function oe(t,r,s){var c;const l=p(t.declarations,(e=>et(Sc(e),ow)));if(l){const r=se(l.expression),s=r&&d.getSymbolAtLocation(r),p=s&&yae(s,x,d),m=p&&VQ(p);if(m&&bb(K,m)){const t=W.length;W.push(p);const r=p.parent;if(r&&Yd(r)&&d.tryGetMemberInModuleExportsAndProperties(p.name,r)===p){const s=Sa(IA(r.name))?null==(c=yp(r))?void 0:c.fileName:void 0,{moduleSpecifier:l}=(U||(U=R5.createImportSpecifierResolver(n,e,a,o))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:s,isFromPackageJson:!1,moduleSymbol:r,symbol:p,targetFlags:sb(p,d).flags}],i,vx($))||{};if(l){const e={kind:_(6),moduleSymbol:r,isDefaultExport:!1,symbolName:p.name,exportName:p.name,fileName:s,moduleSpecifier:l};z[t]=e}}else z[t]={kind:_(2)}}else if(o.includeCompletionsWithInsertText){if(m&&K.has(m))return;f(t),u(t),W.push(t)}}else f(t),u(t),W.push(t);function u(e){(function(e){return!!(e.valueDeclaration&&256&Ly(e.valueDeclaration)&&du(e.valueDeclaration.parent))})(e)&&(Y[VQ(e)]=kse.LocalDeclarationPriority)}function f(e){o.includeCompletionsWithInsertText&&(r&&bb(K,VQ(e))?z[W.length]={kind:_(8)}:s&&(z[W.length]={kind:16}))}function _(e){return s?16|e:e}}function se(e){return UD(e)?e:zw(e)?se(e.expression):void 0}function ae(){const t=function(){const e=function(e){if(!e)return;const t=e.parent;switch(e.kind){case 19:if(Sw(t))return t;break;case 27:case 28:case 80:if(171===t.kind&&Sw(t.parent))return t.parent}return}(x);if(!e)return 0;const t=(Rw(e.parent)?e.parent:void 0)||e,n=Bae(t,d);if(!n)return 0;const r=d.getTypeFromTypeNode(t),i=Nae(n,d),o=Nae(r,d),s=new Set;return o.forEach((e=>s.add(e.escapedName))),W=H(W,S(i,(e=>!s.has(e.escapedName)))),V=0,L=!0,1}()||function(){if(26===(null==x?void 0:x.kind))return 0;const t=W.length,s=function(e,t,n){var r;if(e){const{parent:i}=e;switch(e.kind){case 19:case 28:if(Ww(i)||Jw(i))return i;break;case 42:return pw(i)?et(i.parent,Ww):void 0;case 134:return et(i.parent,Ww);case 80:if("async"===e.text&&MT(e.parent))return e.parent.parent;{if(Ww(e.parent.parent)&&(jT(e.parent)||MT(e.parent)&&Ms(n,e.getEnd()).line!==Ms(n,t).line))return e.parent.parent;const r=dc(i,LT);if((null==r?void 0:r.getLastToken(n))===e&&Ww(r.parent))return r.parent}break;default:if((null==(r=i.parent)?void 0:r.parent)&&(pw(i.parent)||mw(i.parent)||hw(i.parent))&&Ww(i.parent.parent))return i.parent.parent;if(jT(i)&&Ww(i.parent))return i.parent;const o=dc(i,LT);if(59!==e.kind&&(null==o?void 0:o.getLastToken(n))===e&&Ww(o.parent))return o.parent}}return}(x,i,n);if(!s)return 0;let l,u;if(V=0,210===s.kind){const e=function(e,t){const n=t.getContextualType(e);if(n)return n;const r=rg(e.parent);if(uI(r)&&64===r.operatorToken.kind&&e===r.left)return t.getTypeAtLocation(r);if(Ju(r))return t.getContextualType(r);return}(s,d);if(void 0===e)return 67108864&s.flags?2:0;const t=d.getContextualType(s,4),n=(t||e).getStringIndexType(),r=(t||e).getNumberIndexType();if(L=!!n||!!r,l=Rae(e,t,s,d),u=s.properties,0===l.length&&!r)return 0}else{un.assert(206===s.kind),L=!1;const e=Xg(s.parent);if(!F_(e))return un.fail("Root declaration is not variable-like.");let t=Td(e)||!!_y(e)||250===e.parent.parent.kind;if(t||169!==e.kind||(Ju(e.parent)?t=!!d.getContextualType(e.parent):174!==e.parent.kind&&178!==e.parent.kind||(t=Ju(e.parent.parent)&&!!d.getContextualType(e.parent.parent))),t){const e=d.getTypeAtLocation(s);if(!e)return 2;l=d.getPropertiesOfType(e).filter((t=>d.isPropertyAccessible(s,!1,!1,e,t))),u=s.elements}}if(l&&l.length>0){const n=function(e,t){if(0===t.length)return e;const n=new Set,r=new Set;for(const e of t){if(303!==e.kind&&304!==e.kind&&208!==e.kind&&174!==e.kind&&177!==e.kind&&178!==e.kind&&305!==e.kind)continue;if(he(e))continue;let t;if(jT(e))fe(e,n);else if(Hw(e)&&e.propertyName)80===e.propertyName.kind&&(t=e.propertyName.escapedText);else{const n=Sc(e);t=n&&Mg(n)?Ug(n):void 0}void 0!==t&&r.add(t)}const i=e.filter((e=>!r.has(e.escapedName)));return me(n,i),i}(l,un.checkDefined(u));W=H(W,n),_e(),210===s.kind&&o.includeCompletionsWithObjectLiteralMethodSnippets&&o.includeCompletionsWithInsertText&&(function(e){for(let t=e;t{if(!function(e){if(!(8196&e.flags))return!1;return!0}(t))return;const i=Eae(t,yC(r),void 0,0,!1);if(!i)return;const{name:s}=i,l=iae(t,s,n,e,a,r,o,c);if(!l)return;const u={kind:128,...l};M|=32,z[W.length]=u,W.push(t)}))}(n,s))}return 1}()||(D?(L=!0,ce(),1):0)||function(){if(!x)return 0;const e=19===x.kind||28===x.kind?et(x.parent,kb):BK(x)?et(x.parent.parent,kb):void 0;if(!e)return 0;BK(x)||(Q=8);const{moduleSpecifier:t}=275===e.kind?e.parent.parent:e.parent;if(!t)return L=!0,275===e.kind?2:0;const n=d.getSymbolAtLocation(t);if(!n)return L=!0,2;V=3,L=!1;const r=d.getExportsAndPropertiesOfModule(n),i=new Set(e.elements.filter((e=>!he(e))).map((e=>Hp(e.propertyName||e.name)))),o=r.filter((e=>"default"!==e.escapedName&&!i.has(e.escapedName)));W=H(W,o),o.length||(Q=0);return 1}()||function(){if(void 0===x)return 0;const e=19===x.kind||28===x.kind?et(x.parent,lT):59===x.kind?et(x.parent.parent,lT):void 0;if(void 0===e)return 0;const t=new Set(e.elements.map(fS));return W=S(d.getTypeAtLocation(e).getApparentProperties(),(e=>!t.has(e.escapedName))),1}()||function(){var e;const t=!x||19!==x.kind&&28!==x.kind?void 0:et(x.parent,gT);if(!t)return 0;const n=dc(t,Zt(JT,ZI));return V=5,L=!1,null==(e=n.locals)||e.forEach(((e,t)=>{var r,i;W.push(e),(null==(i=null==(r=n.symbol)?void 0:r.exports)?void 0:i.has(t))&&(Y[VQ(e)]=kse.OptionalMember)})),1}()||(function(e){if(e){const t=e.parent;switch(e.kind){case 21:case 28:return _w(e.parent)?e.parent:void 0;default:if(ue(e))return t.parent}}}(x)?(V=5,L=!0,Q=4,1):0)||function(){const e=function(e,t,n,r){switch(n.kind){case 352:return et(n.parent,Cb);case 1:const t=et(ge(tt(n.parent,JT).statements),Cb);if(t&&!IY(t,20,e))return t;break;case 81:if(et(n.parent,uw))return dc(n,du);break;case 80:if(gc(n))return;if(uw(n.parent)&&n.parent.initializer===n)return;if(Oae(n))return dc(n,Cb)}if(!t)return;if(137===n.kind||UD(t)&&uw(t.parent)&&du(n))return dc(t,du);switch(t.kind){case 64:return;case 27:case 20:return Oae(n)&&n.parent.name===n?n.parent.parent:et(n,Cb);case 19:case 28:return et(t.parent,Cb);default:if(Cb(n)){if(Ms(e,t.getEnd()).line!==Ms(e,r).line)return n;const i=du(t.parent.parent)?Iae:wae;return i(t.kind)||42===t.kind||UD(t)&&i(gc(t)??0)?t.parent.parent:void 0}return}}(n,x,$,i);if(!e)return 0;if(V=3,L=!0,Q=42===x.kind?0:du(e)?2:3,!du(e))return 1;const t=27===x.kind?x.parent.parent:x.parent;let r=uu(t)?Ly(t):0;if(80===x.kind&&!he(x))switch(x.getText()){case"private":r|=2;break;case"static":r|=256;break;case"override":r|=16}fw(t)&&(r|=256);if(!(2&r)){const t=R(du(e)&&16&r?nn(Ag(e)):bg(e),(t=>{const n=d.getTypeAtLocation(t);return 256&r?(null==n?void 0:n.symbol)&&d.getPropertiesOfType(d.getTypeOfSymbolAtLocation(n.symbol,e)):n&&d.getPropertiesOfType(n)}));W=H(W,function(e,t,n){const r=new Set;for(const e of t){if(172!==e.kind&&174!==e.kind&&177!==e.kind&&178!==e.kind)continue;if(he(e))continue;if(Dy(e,2))continue;if(Iy(e)!==!!(256&n))continue;const t=Lg(e.name);t&&r.add(t)}return e.filter((e=>!(r.has(e.escapedName)||!e.declarations||2&ob(e)||e.valueDeclaration&&Wl(e.valueDeclaration))))}(t,e.members,r)),u(W,((e,t)=>{const n=null==e?void 0:e.valueDeclaration;if(n&&uu(n)&&n.name&&ow(n.name)){const n={kind:512,symbolName:d.symbolToString(e)};z[t]=n}}))}return 1}()||function(){const e=function(e){if(e){const t=e.parent;switch(e.kind){case 32:case 31:case 44:case 80:case 211:case 292:case 291:case 293:if(t&&(285===t.kind||286===t.kind)){if(32===e.kind){const r=WY(e.pos,n,void 0);if(!t.typeArguments||r&&44===r.kind)break}return t}if(291===t.kind)return t.parent.parent;break;case 11:if(t&&(291===t.kind||293===t.kind))return t.parent.parent;break;case 20:if(t&&294===t.kind&&t.parent&&291===t.parent.kind)return t.parent.parent.parent;if(t&&293===t.kind)return t.parent.parent}}return}(x),t=e&&d.getContextualType(e.attributes);if(!t)return 0;const r=e&&d.getContextualType(e.attributes,4);return W=H(W,function(e,t){const n=new Set,r=new Set;for(const e of t)he(e)||(291===e.kind?n.add(tS(e.name)):PT(e)&&fe(e,r));const i=e.filter((e=>!n.has(e.escapedName)));return me(r,i),i}(Rae(t,r,e.attributes,d),e.attributes.properties)),_e(),V=3,L=!1,1}()||(function(){Q=function(e){if(e){let t;const n=dc(e.parent,(e=>du(e)?"quit":!(!ou(e)||t!==e.body)||(t=e,!1)));return n&&n}}(x)?5:1,V=1,({isNewIdentifierLocation:L,defaultCommitCharacters:w}=le()),E!==x&&un.assert(!!E,"Expected 'contextToken' to be defined when different from 'previousToken'.");const e=E!==x?E.getStart():i,t=function(e,t,n){let r=e;for(;r&&!xY(r,t,n);)r=r.parent;return r}(x,e,n)||n;v=function(e){switch(e.kind){case 307:case 228:case 294:case 241:return!0;default:return fd(e)}}(t);const r=2887656|(X?0:111551),s=E&&!vx(E);W=H(W,d.getSymbolsInScope(t,r)),un.assertEachIsDefined(W,"getSymbolsInScope() should all be defined");for(let e=0;ee.getSourceFile()===n))||(Y[VQ(t)]=kse.GlobalsOrKeywords),s&&!(111551&t.flags)){const n=t.declarations&&A(t.declarations,Ql);if(n){const t={kind:64,declaration:n};z[e]=t}}}if(o.includeCompletionsWithInsertText&&307!==t.kind){const e=d.tryGetThisTypeAt(t,!1,du(t.parent)?t:void 0);if(e&&!function(e,t,n){const r=n.resolveName("self",void 0,111551,!1);if(r&&n.getTypeOfSymbolAtLocation(r,t)===e)return!0;const i=n.resolveName("global",void 0,111551,!1);if(i&&n.getTypeOfSymbolAtLocation(i,t)===e)return!0;const o=n.resolveName("globalThis",void 0,111551,!1);if(o&&n.getTypeOfSymbolAtLocation(o,t)===e)return!0;return!1}(e,n,d))for(const t of Nae(e,d))z[W.length]={kind:1},W.push(t),Y[VQ(t)]=kse.SuggestedClassMembers}ce(),X&&(Q=x&&Vu(x.parent)?6:7)}(),1);return 1===t}function ce(){var t,r;if(!function(){var t;return!!D||!!o.includeCompletionsForModuleExports&&(!(!n.externalModuleIndicator&&!n.commonJsModuleIndicator)||!!UK(e.getCompilerOptions())||(null==(t=e.getSymlinkCache)?void 0:t.call(e).hasAnySymlinks())||!!e.getCompilerOptions().paths||MK(e))}())return;if(un.assert(!(null==s?void 0:s.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),s&&!s.source)return;M|=1;const c=E===x&&D?"":E&&UD(E)?E.text.toLowerCase():"",u=null==(t=a.getModuleSpecifierCache)?void 0:t.call(a),d=y0(n,a,e,o,l),p=null==(r=a.getPackageJsonAutoImportProvider)?void 0:r.call(a),f=s?void 0:OZ(n,o,a);function _(t){return p0(t.isFromPackageJson?p:e,n,et(t.moduleSymbol.valueDeclaration,JT),t.moduleSymbol,o,f,ee(t.isFromPackageJson),u)}qse("collectAutoImports",a,U||(U=R5.createImportSpecifierResolver(n,e,a,o)),e,i,o,!!D,vx($),(e=>{d.search(n.path,P,((e,t)=>{if(!ma(e,yC(a.getCompilationSettings())))return!1;if(!s&&Tg(e))return!1;if(!(X||D||111551&t))return!1;if(X&&!(790504&t))return!1;const n=e.charCodeAt(0);return(!P||!(n<65||n>90))&&(!!s||Gae(e,c))}),((t,n,r,i)=>{if(s&&!J(t,(e=>s.source===IA(e.moduleSymbol.name))))return;if(!(t=S(t,_)).length)return;const o=e.tryResolve(t,r)||{};if("failed"===o)return;let a,c=t[0];"skipped"!==o&&({exportInfo:c=t[0],moduleSpecifier:a}=o);const l=1===c.exportKind;!function(e,t){const n=VQ(e);if(Y[n]===kse.GlobalsOrKeywords)return;z[W.length]=t,Y[n]=D?kse.LocationPriority:kse.AutoImportSuggestions,W.push(e)}(l&&vv(un.checkDefined(c.symbol))||un.checkDefined(c.symbol),{kind:a?32:4,moduleSpecifier:a,symbolName:n,exportMapKey:i,exportName:2===c.exportKind?"export=":un.checkDefined(c.symbol).name,fileName:c.moduleFileName,isDefaultExport:l,moduleSymbol:c.moduleSymbol,isFromPackageJson:c.isFromPackageJson})})),G=e.skippedAny(),M|=e.resolvedAny()?8:0,M|=e.resolvedBeyondLimit()?16:0}))}function le(){if(x){const e=x.parent.kind,t=Fae(x);switch(t){case 28:switch(e){case 213:case 214:{const e=x.parent.expression;return Ms(n,e.end).line!==Ms(n,i).line?{defaultCommitCharacters:wse,isNewIdentifierLocation:!0}:{defaultCommitCharacters:Dse,isNewIdentifierLocation:!0}}case 226:return{defaultCommitCharacters:wse,isNewIdentifierLocation:!0};case 176:case 184:case 210:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};case 209:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}case 21:switch(e){case 213:case 214:{const e=x.parent.expression;return Ms(n,e.end).line!==Ms(n,i).line?{defaultCommitCharacters:wse,isNewIdentifierLocation:!0}:{defaultCommitCharacters:Dse,isNewIdentifierLocation:!0}}case 217:return{defaultCommitCharacters:wse,isNewIdentifierLocation:!0};case 176:case 196:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}case 23:switch(e){case 209:case 181:case 189:case 167:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}case 144:case 145:case 102:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};case 25:return 267===e?{defaultCommitCharacters:[],isNewIdentifierLocation:!0}:{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1};case 19:switch(e){case 263:case 210:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}case 64:switch(e){case 260:case 226:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}case 16:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:228===e};case 17:return{defaultCommitCharacters:Dse,isNewIdentifierLocation:239===e};case 134:return 174===e||304===e?{defaultCommitCharacters:[],isNewIdentifierLocation:!0}:{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1};case 42:return 174===e?{defaultCommitCharacters:[],isNewIdentifierLocation:!0}:{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}if(Iae(t))return{defaultCommitCharacters:[],isNewIdentifierLocation:!0}}return{defaultCommitCharacters:Dse,isNewIdentifierLocation:!1}}function ue(e){return!!e.parent&&aw(e.parent)&&_w(e.parent.parent)&&(Kl(e.kind)||lg(e))}function de(e,t){return 64!==e.kind&&(27===e.kind||!Gv(e.end,t,n))}function pe(e){return cu(e)&&176!==e}function fe(e,t){const n=e.expression,r=d.getSymbolAtLocation(n),i=r&&d.getTypeOfSymbolAtLocation(r,n),o=i&&i.properties;o&&o.forEach((e=>{t.add(e.name)}))}function _e(){W.forEach((e=>{if(16777216&e.flags){const t=VQ(e);Y[t]=Y[t]??kse.OptionalMember}}))}function me(e,t){if(0!==e.size)for(const n of t)e.has(n.name)&&(Y[VQ(n)]=kse.MemberDeclaredBySpreadAssignment)}function he(e){return e.getStart(n)<=i&&i<=e.getEnd()}}function bae(e,t){const n=WY(e,t);if(n&&e<=n.end&&(pl(n)||Sg(n.kind))){return{contextToken:WY(n.getFullStart(),t,void 0),previousToken:n}}return{contextToken:n,previousToken:n}}function Cae(e,t,n,r){const i=t.isPackageJsonImport?r.getPackageJsonAutoImportProvider():n,o=i.getTypeChecker(),s=t.ambientModuleName?o.tryFindAmbientModule(t.ambientModuleName):t.fileName?o.getMergedSymbol(un.checkDefined(i.getSourceFile(t.fileName)).symbol):void 0;if(!s)return;let a="export="===t.exportName?o.resolveExternalModuleSymbol(s):o.tryGetMemberInModuleExportsAndProperties(t.exportName,s);if(!a)return;return a="default"===t.exportName&&vv(a)||a,{symbol:a,origin:aae(t,e,s)}}function Eae(e,t,n,r,i){if(function(e){return!!(e&&256&e.kind)}(n))return;const o=function(e){return Fse(e)||Rse(e)||Ose(e)}(n)?n.symbolName:e.name;if(void 0===o||1536&e.flags&&Mm(o.charCodeAt(0))||Vg(e))return;const s={name:o,needsConvertPropertyAccess:!1};if(ma(o,t,i?1:0)||e.valueDeclaration&&Wl(e.valueDeclaration))return s;if(2097152&e.flags)return{name:o,needsConvertPropertyAccess:!0};switch(r){case 3:return Ose(n)?{name:n.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(o),needsConvertPropertyAccess:!1};case 2:case 1:return 32===o.charCodeAt(0)?void 0:{name:o,needsConvertPropertyAccess:!0};case 5:case 4:return s;default:un.assertNever(r)}}var xae=[],Sae=dt((()=>{const e=[];for(let t=83;t<=165;t++)e.push({name:Is(t),kind:"keyword",kindModifiers:"",sortText:kse.GlobalsOrKeywords});return e}));function kae(e,t){if(!t)return Dae(e);const n=e+8+1;return xae[n]||(xae[n]=Dae(e).filter((e=>!function(e){switch(e){case 128:case 133:case 163:case 136:case 138:case 94:case 162:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 164:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}(Ts(e.name)))))}function Dae(e){return xae[e]||(xae[e]=Sae().filter((t=>{const n=Ts(t.name);switch(e){case 0:return!1;case 1:return Tae(n)||138===n||144===n||156===n||145===n||128===n||PK(n)&&157!==n;case 5:return Tae(n);case 2:return Iae(n);case 3:return wae(n);case 4:return Kl(n);case 6:return PK(n)||87===n;case 7:return PK(n);case 8:return 156===n;default:return un.assertNever(e)}})))}function wae(e){return 148===e}function Iae(e){switch(e){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 164:return!0;default:return Xl(e)}}function Tae(e){return 134===e||135===e||160===e||130===e||152===e||156===e||!wg(e)&&!Iae(e)}function Fae(e){return UD(e)?gc(e)??0:e.kind}function Rae(e,t,n,r){const i=t&&t!==e,o=r.getUnionType(S(1048576&e.flags?e.types:[e],(e=>!r.getPromisedTypeOfPromise(e)))),s=!i||3&t.flags?o:r.getUnionType([o,t]),a=function(e,t,n){return e.isUnion()?n.getAllPossiblePropertiesOfTypes(S(e.types,(e=>!(402784252&e.flags||n.isArrayLikeType(e)||n.isTypeInvalidDueToUnionDiscriminant(e,t)||n.typeHasCallOrConstructSignatures(e)||e.isClass()&&Pae(e.getApparentProperties()))))):e.getApparentProperties()}(s,n,r);return s.isClass()&&Pae(a)?[]:i?S(a,(function(e){return!l(e.declarations)||J(e.declarations,(e=>e.parent!==n))})):a}function Pae(e){return J(e,(e=>!!(6&ob(e))))}function Nae(e,t){return e.isUnion()?un.checkEachDefined(t.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):un.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function Bae(e,t){if(!e)return;if(vu(e)&&Pd(e.parent))return t.getTypeArgumentConstraint(e);const n=Bae(e.parent,t);if(n)switch(e.kind){case 171:return t.getTypeOfPropertyOfContextualType(n,e.symbol.escapedName);case 193:case 187:case 192:return n}}function Oae(e){return e.parent&&Au(e.parent)&&Cb(e.parent.parent)}function qae({left:e}){return kp(e)}function $ae(e,t){var n,r,i;let o,s=!1;const a=function(){const n=e.parent;if(rT(n)){const r=n.getLastToken(t);return UD(e)&&r!==e?(o=161,void(s=!0)):(o=156===e.kind?void 0:156,Uae(n.moduleReference)?n:void 0)}if(Mae(n,e)&&jae(n.parent))return n;if(fT(n)||dT(n)){if(n.parent.isTypeOnly||19!==e.kind&&102!==e.kind&&28!==e.kind||(o=156),jae(n)){if(20!==e.kind&&80!==e.kind)return n.parent.parent;s=!0,o=161}return}if(hT(n)&&42===e.kind||gT(n)&&20===e.kind)return s=!0,void(o=161);if(nw(e)&&JT(n))return o=156,e;if(nw(e)&&iT(n))return o=156,Uae(n.moduleSpecifier)?n:void 0;return}();return{isKeywordOnlyCompletion:s,keywordCompletion:o,isNewIdentifierLocation:!(!a&&156!==o),isTopLevelTypeOnly:!!(null==(r=null==(n=et(a,iT))?void 0:n.importClause)?void 0:r.isTypeOnly)||!!(null==(i=et(a,rT))?void 0:i.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!a&&Mae(a,e),replacementSpan:Qae(a)}}function Qae(e){var t;if(!e)return;const n=dc(e,Zt(iT,rT,PF))??e,r=n.getSourceFile();if(Qv(n,r))return SK(n,r);un.assert(102!==n.kind&&276!==n.kind);const i=272===n.kind||351===n.kind?Lae(null==(t=n.importClause)?void 0:t.namedBindings)??n.moduleSpecifier:n.moduleReference,o={pos:n.getFirstToken().getStart(),end:i.pos};return Qv(o,r)?wK(o):void 0}function Lae(e){var t;return A(null==(t=et(e,fT))?void 0:t.elements,(t=>{var n;return!t.propertyName&&Tg(t.name.text)&&28!==(null==(n=WY(t.name.pos,e.getSourceFile(),e))?void 0:n.kind)}))}function Mae(e,t){return _T(e)&&(e.isTypeOnly||t===e.name&&BK(t))}function jae(e){if(!Uae(e.parent.parent.moduleSpecifier)||e.parent.name)return!1;if(fT(e)){const t=Lae(e);return(t?e.elements.indexOf(t):e.elements.length)<2}return!0}function Uae(e){var t;return!!kp(e)||!(null==(t=et(ET(e)?e.expression:e,Od))?void 0:t.text)}function Jae(e){return e.parent&&rI(e.parent)&&(e.parent.body===e||39===e.kind)}function Vae(e,t,n=new Set){return r(e)||r(sb(e.exportSymbol||e,t));function r(e){return!!(788968&e.flags)||t.isUnknownSymbol(e)||!!(1536&e.flags)&&bb(n,e)&&t.getExportsOfModule(e).some((e=>Vae(e,t,n)))}}function Hae(e,t){const n=sb(e,t).declarations;return!!l(n)&&g(n,XZ)}function Gae(e,t){if(0===t.length)return!0;let n,r=!1,i=0;const o=e.length;for(let s=0;sece,getStringLiteralCompletions:()=>Zae});var Kae={directory:0,script:1,"external module name":2};function Xae(){const e=new Map;return{add:function(t){const n=e.get(t.name);(!n||Kae[n.kind]t>=e.pos&&t<=e.end));if(!c)return;const l=e.text.slice(c.pos,t),u=Ece.exec(l);if(!u)return;const[,d,p,f]=u,_=Io(e.path),m="path"===p?fce(f,_,dce(o,0,e),n,r,i,!0,e.path):"types"===p?Cce(n,r,i,_,Ace(f),dce(o,1,e)):un.fail();return lce(f,c.pos+d.length,Pe(m.values()))}(e,t,o,i,JK(o,i));return n&&tce(n)}if(XY(e,t,n)){if(!n||!Od(n))return;return function(e,t,n,r,i,o,s,a,c,l){if(void 0===e)return;const u=kK(t,c);switch(e.kind){case 0:return tce(e.paths);case 1:{const d=[];return dae(e.symbols,d,t,t,n,c,n,r,i,99,o,4,a,s,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,l),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:u,entries:d,defaultCommitCharacters:$se(e.hasIndexSignature)}}case 2:{const n=15===t.kind?96:Wt(zp(t),"'")?39:34,r=e.types.map((e=>({name:bA(e.value,n),kindModifiers:"",kind:"string",sortText:kse.LocationPriority,replacementSpan:xK(t,c),commitCharacters:[]})));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:u,entries:r,defaultCommitCharacters:$se(e.isNewIdentifier)}}default:return un.assertNever(e)}}(rce(e,n,t,o,i,a),n,e,i,o,s,r,a,t,c)}}function ece(e,t,n,r,i,o,s,a){if(!r||!Od(r))return;const c=rce(t,r,n,i,o,a);return c&&function(e,t,n,r,i,o){switch(n.kind){case 0:{const t=A(n.paths,(t=>t.name===e));return t&&hae(e,nce(t.extension),t.kind,[DX(e)])}case 1:{const s=A(n.symbols,(t=>t.name===e));return s&&mae(s,s.name,i,r,t,o)}case 2:return A(n.types,(t=>t.value===e))?hae(e,"","string",[DX(e)]):void 0;default:return un.assertNever(n)}}(e,r,c,t,i.getTypeChecker(),s)}function tce(e){const t=!0,n=e.map((({name:e,kind:t,span:n,extension:r})=>({name:e,kind:t,kindModifiers:nce(r),sortText:kse.LocationPriority,replacementSpan:n})));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t,entries:n,defaultCommitCharacters:$se(t)}}function nce(e){switch(e){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return un.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return un.assertNever(e)}}function rce(e,t,n,r,i,o){const s=r.getTypeChecker(),a=ice(t.parent);switch(a.kind){case 201:{const c=ice(a.parent);return 205===c.kind?{kind:0,paths:uce(e,t,r,i,o)}:function e(t){switch(t.kind){case 233:case 183:{const e=dc(a,(e=>e.parent===t));return e?{kind:2,types:sce(s.getTypeArgumentConstraint(e)),isNewIdentifier:!1}:void 0}case 199:const{indexType:i,objectType:o}=t;if(!AY(i,n))return;return oce(s.getTypeFromTypeNode(o));case 192:{const n=e(ice(t.parent));if(!n)return;const i=(r=a,q(t.types,(e=>e!==r&&Lw(e)&&kD(e.literal)?e.literal.text:void 0)));return 1===n.kind?{kind:1,symbols:n.symbols.filter((e=>!C(i,e.name))),hasIndexSignature:n.hasIndexSignature}:{kind:2,types:n.types.filter((e=>!C(i,e.value))),isNewIdentifier:!1}}default:return}var r}(c)}case 303:return Ww(a.parent)&&a.name===t?function(e,t){const n=e.getContextualType(t);if(!n)return;const r=e.getContextualType(t,4),i=Rae(n,r,t,e);return{kind:1,symbols:i,hasIndexSignature:hZ(n)}}(s,a.parent):c()||c(0);case 212:{const{expression:e,argumentExpression:n}=a;return t===sg(n)?oce(s.getTypeAtLocation(e)):void 0}case 213:case 214:case 291:if(!function(e){return Kw(e.parent)&&fe(e.parent.arguments)===e&&UD(e.parent.expression)&&"require"===e.parent.expression.escapedText}(t)&&!l_(a)){const r=rde.getArgumentInfoForCompletions(291===a.kind?a.parent:t,n,e,s);return r&&function(e,t,n,r){let i=!1;const o=new Set,s=vd(e)?un.checkDefined(dc(t.parent,FT)):t,a=R(r.getCandidateSignaturesForStringLiteralCompletions(e,s),(t=>{if(!KQ(t)&&n.argumentCount>t.parameters.length)return;let a=t.getTypeParameterAtPosition(n.argumentIndex);if(vd(e)){const e=r.getTypeOfPropertyOfType(a,nS(s.name));e&&(a=e)}return i=i||!!(4&a.flags),sce(a,o)}));return l(a)?{kind:2,types:a,isNewIdentifier:i}:void 0}(r.invocation,t,r,s)||c(0)}case 272:case 278:case 283:case 351:return{kind:0,paths:uce(e,t,r,i,o)};case 296:const u=o0(s,a.parent.clauses),d=c();if(!d)return;return{kind:2,types:d.types.filter((e=>!u.hasValue(e.value))),isNewIdentifier:!1};case 276:case 281:const p=a;if(p.propertyName&&t!==p.propertyName)return;const f=p.parent,{moduleSpecifier:_}=275===f.kind?f.parent.parent:f.parent;if(!_)return;const m=s.getSymbolAtLocation(_);if(!m)return;const h=s.getExportsAndPropertiesOfModule(m),g=new Set(f.elements.map((e=>Hp(e.propertyName||e.name))));return{kind:1,symbols:h.filter((e=>"default"!==e.escapedName&&!g.has(e.escapedName))),hasIndexSignature:!1};default:return c()||c(0)}function c(e=4){const n=sce(pZ(t,s,e));if(n.length)return{kind:2,types:n,isNewIdentifier:!1}}}function ice(e){switch(e.kind){case 196:return ng(e);case 217:return rg(e);default:return e}}function oce(e){return e&&{kind:1,symbols:S(e.getApparentProperties(),(e=>!(e.valueDeclaration&&Wl(e.valueDeclaration)))),hasIndexSignature:hZ(e)}}function sce(e,t=new Set){return e?(e=QK(e)).isUnion()?R(e.types,(e=>sce(e,t))):!e.isStringLiteral()||1024&e.flags||!bb(t,e.value)?a:[e]:a}function ace(e,t,n){return{name:e,kind:t,extension:n}}function cce(e){return ace(e,"directory",void 0)}function lce(e,t,n){const r=function(e,t){const n=Math.max(e.lastIndexOf(uo),e.lastIndexOf(po)),r=-1!==n?n+1:0,i=e.length-r;return 0===i||ma(e.substr(r,i),99)?void 0:Va(t+r,i)}(e,t),i=0===e.length?void 0:Va(t,e.length);return n.map((({name:e,kind:t,extension:n})=>e.includes(uo)||e.includes(po)?{name:e,kind:t,extension:n,span:i}:{name:e,kind:t,extension:n,span:r}))}function uce(e,t,n,r,i){return lce(t.text,t.getStart(e)+1,function(e,t,n,r,i){const o=Bo(t.text),s=Od(t)?n.getModeForUsageLocation(e,t):void 0,c=e.path,l=Io(c),u=n.getCompilerOptions(),d=n.getTypeChecker(),f=JK(n,r),_=dce(u,1,e,d,i,s);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){const t=e.length>=3&&46===e.charCodeAt(1)?2:1,n=e.charCodeAt(t);return 47===n||92===n}return!1}(o)||!u.baseUrl&&!u.paths&&(go(o)||ho(o))?function(e,t,n,r,i,o,s){const a=n.getCompilerOptions();return a.rootDirs?function(e,t,n,r,i,o,s,a){const c=i.getCompilerOptions(),l=c.project||o.getCurrentDirectory(),u=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames()),d=function(e,t,n,r){e=e.map((e=>Vo(Mo(go(e)?e:qo(t,e)))));const i=p(e,(e=>es(e,n,t,r)?n.substr(e.length):void 0));return Y([...e.map((e=>qo(e,i))),n].map((e=>Jo(e))),ht,xt)}(e,l,n,u);return Y(R(d,(e=>Pe(fce(t,e,r,i,o,s,!0,a).values()))),((e,t)=>e.name===t.name&&e.kind===t.kind&&e.extension===t.extension))}(a.rootDirs,e,t,s,n,r,i,o):Pe(fce(e,t,s,n,r,i,!0,o).values())}(o,l,n,r,f,c,_):function(e,t,n,r,i,o,s){const c=r.getTypeChecker(),l=r.getCompilerOptions(),{baseUrl:u,paths:d}=l,p=Xae(),f=bC(l);if(u){const t=Mo(qo(i.getCurrentDirectory(),u));fce(e,t,s,r,i,o,!1,void 0,p)}if(d){const t=WA(l,i);mce(p,e,t,s,r,i,o,d)}const _=Ace(e);for(const t of function(e,t,n){const r=n.getAmbientModules().map((e=>IA(e.name))).filter((t=>Wt(t,e)&&!t.includes("*")));if(void 0!==t){const e=Vo(t);return r.map((t=>zt(t,e)))}return r}(e,_,c))p.add(ace(t,"external module name",void 0));if(Cce(r,i,o,t,_,s,p),HK(f)){let n=!1;if(void 0===_)for(const e of function(e,t){if(!e.readFile||!e.fileExists)return a;const n=[];for(const r of PZ(t,e)){const t=Dv(r,e);for(const e of xce){const r=t[e];if(r)for(const e in r)De(r,e)&&!Wt(e,"@types/")&&n.push(e)}}return n}(i,t)){const t=ace(e,"external module name",void 0);p.has(t.name)||(n=!0,p.add(t))}if(!n){const n=kC(l),a=DC(l);let c=!1;const u=t=>{if(a&&!c){const n=qo(t,"package.json");if(c=IZ(i,n)){m(Dv(n,i).imports,e,t,!1,!0)}}};let d=t=>{const n=qo(t,"node_modules");TZ(i,n)&&fce(e,n,s,r,i,o,!1,void 0,p),u(t)};if(_&&n){const t=d;d=n=>{const r=Po(e);r.shift();let o=r.shift();if(!o)return t(n);if(Wt(o,"@")){const e=r.shift();if(!e)return t(n);o=qo(o,e)}if(a&&Wt(o,"#"))return u(n);const s=qo(n,"node_modules",o),c=qo(s,"package.json");if(!IZ(i,c))return t(n);{const t=Dv(c,i),n=r.join("/")+(r.length&&So(e)?"/":"");m(t.exports,n,s,!0,!1)}}}m$(i,t,d)}}return Pe(p.values());function m(e,t,a,c,u){if("object"!=typeof e||null===e)return;const d=Ie(e),f=aq(l,n);hce(p,c,u,t,a,s,r,i,o,d,(t=>{const n=gce(e[t],f);if(void 0!==n)return nn(Ot(t,"/")&&Ot(n,"/")?n+"*":n)}),l$)}}(o,l,s,n,r,f,_)}(e,t,n,r,i))}function dce(e,t,n,r,i,o){return{extensionsToSearch:F(pce(e,r)),referenceKind:t,importingSourceFile:n,endingPreference:null==i?void 0:i.importModuleSpecifierEnding,resolutionMode:o}}function pce(e,t){const n=t?q(t.getAmbientModules(),(e=>{const t=e.name.slice(1,-1);if(t.startsWith("*.")&&!t.includes("/"))return t.slice(1)})):[],r=[...RE(e),n];return HK(bC(e))?PE(e,r):r}function fce(e,t,n,r,i,o,s,a,c=Xae()){var l;void 0===e&&(e=""),So(e=Bo(e))||(e=Io(e)),""===e&&(e="."+uo);const u=$o(t,e=Vo(e)),d=So(u)?u:Io(u);if(!s){const e=NZ(d,i);if(e){const t=Dv(e,i).typesVersions;if("object"==typeof t){const s=null==(l=eq(t))?void 0:l.paths;if(s){const t=Io(e);if(mce(c,u.slice(Vo(t).length),t,n,r,i,o,s))return c}}}}const p=!(i.useCaseSensitiveFileNames&&i.useCaseSensitiveFileNames());if(!TZ(i,d))return c;const f=wZ(i,d,n.extensionsToSearch,void 0,["./*"]);if(f)for(let e of f){if(e=Mo(e),a&&0===Zo(e,a,t,p))continue;const{name:i,extension:o}=_ce(To(e),r,n,!1);c.add(ace(i,"script",o))}const _=DZ(i,d);if(_)for(const e of _){const t=To(Mo(e));"@types"!==t&&c.add(cce(t))}return c}function _ce(e,t,n,r){const i=G$.tryGetRealFileNameForNonJsDeclarationFileName(e);if(i)return{name:i,extension:tx(i)};if(0===n.referenceKind)return{name:e,extension:tx(e)};let o=G$.getModuleSpecifierPreferences({importModuleSpecifierEnding:n.endingPreference},t,t.getCompilerOptions(),n.importingSourceFile).getAllowedEndingsInPreferredOrder(n.resolutionMode);if(r&&(o=o.filter((e=>0!==e&&1!==e))),3===o[0]){if(xo(e,TE))return{name:e,extension:tx(e)};const n=G$.tryGetJSExtensionForFile(e,t.getCompilerOptions());return n?{name:HE(e,n),extension:n}:{name:e,extension:tx(e)}}if(!r&&(0===o[0]||1===o[0])&&xo(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:UE(e),extension:tx(e)};const s=G$.tryGetJSExtensionForFile(e,t.getCompilerOptions());return s?{name:HE(e,s),extension:s}:{name:e,extension:tx(e)}}function mce(e,t,n,r,i,o,s,a){return hce(e,!1,!1,t,n,r,i,o,s,Ie(a),(e=>a[e]),((e,t)=>{const n=GE(e),r=GE(t),i="object"==typeof n?n.prefix.length:e.length;return At("object"==typeof r?r.prefix.length:t.length,i)}))}function hce(e,t,n,r,i,o,s,a,c,l,u,d){let p,f=[];for(const e of l){if("."===e)continue;const l=e.replace(/^\.\//,"")+((t||n)&&Ot(e,"/")?"*":""),_=u(e);if(_){const e=GE(l);if(!e)continue;const u="object"==typeof e&&Kt(e,r);u&&(void 0===p||-1===d(l,p))&&(p=l,f=f.filter((e=>!e.matchedPattern))),"string"!=typeof e&&void 0!==p&&1===d(l,p)||f.push({matchedPattern:u,results:yce(l,_,r,i,o,t,n,s,a,c).map((({name:e,kind:t,extension:n})=>ace(e,t,n)))})}}return f.forEach((t=>t.results.forEach((t=>e.add(t))))),void 0!==p}function gce(e,t){if("string"==typeof e)return e;if(e&&"object"==typeof e&&!Ye(e))for(const n in e)if("default"===n||t.includes(n)||p$(t,n)){return gce(e[n],t)}}function Ace(e){return Sce(e)?So(e)?e:Io(e):void 0}function yce(e,t,n,r,i,o,s,c,l,u){const d=GE(e);if(!d)return a;if("string"==typeof d)return f(e,"script");const p=Yt(n,d.prefix);if(void 0===p){return Ot(e,"/*")?f(d.prefix,"directory"):R(t,(e=>{var t;return null==(t=vce("",r,e,i,o,s,c,l,u))?void 0:t.map((({name:e,...t})=>({name:d.prefix+e+d.suffix,...t})))}))}return R(t,(e=>vce(p,r,e,i,o,s,c,l,u)));function f(e,t){return Wt(e,n)?[{name:Jo(e),kind:t,extension:void 0}]:a}}function vce(e,t,n,r,i,o,s,a,c){if(!a.readDirectory)return;const l=GE(n);if(void 0===l||Xe(l))return;const u=$o(l.prefix),d=So(l.prefix)?u:Io(u),f=So(l.prefix)?"":To(u),_=Sce(e),m=_?So(e)?e:Io(e):void 0,h=()=>c.getCommonSourceDirectory(),g=!OA(c),A=s.getCompilerOptions().outDir,y=s.getCompilerOptions().declarationDir,v=_?qo(d,f+m):d,b=Mo(qo(t,v)),C=o&&A&&GA(b,g,A,h),E=o&&y&&GA(b,g,y,h),x=Mo(l.suffix),S=x&&VA("_"+x),k=x?HA("_"+x):void 0,D=[S&&HE(x,S),...k?k.map((e=>HE(x,e))):[],x].filter(Xe),w=x?D.map((e=>"**/*"+e)):["./*"],I=(i||o)&&Ot(n,"/*");let T=F(b);return C&&(T=H(T,F(C))),E&&(T=H(T,F(E))),x||(T=H(T,R(b)),C&&(T=H(T,R(C))),E&&(T=H(T,R(E)))),T;function F(e){const t=_?e:Vo(e)+f;return q(wZ(a,e,r.extensionsToSearch,void 0,w),(e=>{const n=function(e,t){return p(D,(n=>{const r=(i=Mo(e),s=n,Wt(i,o=t)&&Ot(i,s)?i.slice(o.length,i.length-s.length):void 0);var i,o,s;return void 0===r?void 0:bce(r)}))}(e,t);if(n){if(Sce(n))return cce(Po(bce(n))[1]);const{name:e,extension:t}=_ce(n,s,r,I);return ace(e,"script",t)}}))}function R(e){return q(DZ(a,e),(e=>"node_modules"===e?void 0:cce(e)))}}function bce(e){return e[0]===uo?e.slice(1):e}function Cce(e,t,n,r,i,o,s=Xae()){const c=e.getCompilerOptions(),l=new Map,u=FZ((()=>tq(c,t)))||a;for(const e of u)d(e);for(const e of PZ(r,t)){d(qo(Io(e),"node_modules/@types"))}return s;function d(r){if(TZ(t,r))for(const a of DZ(t,r)){const u=x$(a);if(!c.types||C(c.types,u))if(void 0===i)l.has(u)||(s.add(ace(u,"external module name",void 0)),l.set(u,!0));else{const c=qo(r,a),l=ZC(i,u,qA(t));void 0!==l&&fce(l,c,o,e,t,n,!1,void 0,s)}}}}var Ece=/^(\/\/\/\s*{const i=t.getSymbolAtLocation(n);if(i){const t=VQ(i).toString();let n=r.get(t);n||r.set(t,n=[]),n.push(e)}}));return r}(e,n,r);return(o,s,a)=>{const{directImports:c,indirectUsers:l}=function(e,t,n,{exportingModuleSymbol:r,exportKind:i},o,s){const a=OK(),c=OK(),l=[],u=!!r.globalExports,d=u?void 0:[];return f(r),{directImports:l,indirectUsers:p()};function p(){if(u)return e;if(r.declarations)for(const e of r.declarations)_f(e)&&t.has(e.getSourceFile().fileName)&&g(e);return d.map(Ap)}function f(e){const t=A(e);if(t)for(const e of t)if(a(e))switch(s&&s.throwIfCancellationRequested(),e.kind){case 213:if(l_(e)){_(e);break}if(!u){const t=e.parent;if(2===i&&260===t.kind){const{name:e}=t;if(80===e.kind){l.push(e);break}}}break;case 80:break;case 271:h(e,e.name,wy(e,32),!1);break;case 272:case 351:l.push(e);const t=e.importClause&&e.importClause.namedBindings;t&&274===t.kind?h(e,t.name,!1,!0):!u&&xh(e)&&g(qce(e));break;case 278:e.exportClause?280===e.exportClause.kind?g(qce(e),!0):l.push(e):f(Oce(e,o));break;case 205:!u&&e.isTypeOf&&!e.qualifier&&m(e)&&g(e.getSourceFile(),!0),l.push(e);break;default:un.failBadSyntaxKind(e,"Unexpected import kind.")}}function _(e){g(dc(e,$ce)||e.getSourceFile(),!!m(e,!0))}function m(e,t=!1){return dc(e,(e=>t&&$ce(e)?"quit":cP(e)&&J(e.modifiers,VD)))}function h(e,t,n,r){if(2===i)r||l.push(e);else if(!u){const r=qce(e);un.assert(307===r.kind||267===r.kind),n||function(e,t,n){const r=n.getSymbolAtLocation(t);return!!Rce(e,(e=>{if(!hT(e))return;const{exportClause:t,moduleSpecifier:i}=e;return!i&&t&&gT(t)&&t.elements.some((e=>n.getExportSpecifierLocalTargetSymbol(e)===r))}))}(r,t,o)?g(r,!0):g(r)}}function g(e,t=!1){un.assert(!u);if(!c(e))return;if(d.push(e),!t)return;const n=o.getMergedSymbol(e.symbol);if(!n)return;un.assert(!!(1536&n.flags));const r=A(n);if(r)for(const e of r)Mw(e)||g(qce(e),!0)}function A(e){return n.get(VQ(e).toString())}}(e,t,i,s,n,r);return{indirectUsers:l,...Tce(c,o,s.exportKind,n,a)}}}n(kce,{Core:()=>Gce,DefinitionKind:()=>Lce,EntryKind:()=>Mce,ExportKind:()=>wce,FindReferencesUse:()=>Wce,ImportExport:()=>Ice,createImportTracker:()=>Dce,findModuleReferences:()=>Fce,findReferenceOrRenameEntries:()=>Xce,findReferencedSymbols:()=>zce,getContextNode:()=>Vce,getExportInfo:()=>Bce,getImplementationsAtPosition:()=>Yce,getImportOrExportSymbol:()=>Nce,getReferenceEntriesForNode:()=>Zce,isContextWithStartAndEndNode:()=>Uce,isDeclarationOfSymbol:()=>ple,isWriteAccessForReference:()=>dle,toContextSpan:()=>Hce,toHighlightSpan:()=>cle,toReferenceEntry:()=>ile,toRenameLocation:()=>rle});var wce=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e))(wce||{}),Ice=(e=>(e[e.Import=0]="Import",e[e.Export=1]="Export",e))(Ice||{});function Tce(e,t,n,r,i){const o=[],s=[];function a(e,t){o.push([e,t])}if(e)for(const t of e)c(t);return{importSearches:o,singleReferences:s};function c(e){if(271===e.kind)return void(Qce(e)&&l(e.name));if(80===e.kind)return void l(e);if(205===e.kind){if(e.qualifier){const n=cv(e.qualifier);n.escapedText===Ac(t)&&s.push(n)}else 2===n&&s.push(e.argument.literal);return}if(11!==e.moduleSpecifier.kind)return;if(278===e.kind)return void(e.exportClause&&gT(e.exportClause)&&u(e.exportClause));const{name:o,namedBindings:c}=e.importClause||{name:void 0,namedBindings:void 0};if(c)switch(c.kind){case 274:l(c.name);break;case 275:0!==n&&1!==n||u(c);break;default:un.assertNever(c)}if(o&&(1===n||2===n)&&(!i||o.escapedText===eX(t))){a(o,r.getSymbolAtLocation(o))}}function l(e){2!==n||i&&!d(e.escapedText)||a(e,r.getSymbolAtLocation(e))}function u(e){if(e)for(const n of e.elements){const{name:e,propertyName:o}=n;if(d(Hp(o||e)))if(o)s.push(o),i&&Hp(e)!==t.escapedName||a(e,r.getSymbolAtLocation(e));else{a(e,281===n.kind&&n.propertyName?r.getExportSpecifierLocalTargetSymbol(n):r.getSymbolAtLocation(e))}}}function d(e){return e===t.escapedName||0!==n&&"default"===e}}function Fce(e,t,n){var r;const i=[],o=e.getTypeChecker();for(const s of t){const t=n.valueDeclaration;if(307===(null==t?void 0:t.kind)){for(const n of s.referencedFiles)e.getSourceFileFromReference(s,n)===t&&i.push({kind:"reference",referencingFile:s,ref:n});for(const n of s.typeReferenceDirectives){const o=null==(r=e.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(n,s))?void 0:r.resolvedTypeReferenceDirective;void 0!==o&&o.resolvedFileName===t.fileName&&i.push({kind:"reference",referencingFile:s,ref:n})}}Pce(s,((e,t)=>{o.getSymbolAtLocation(t)===n&&i.push(eA(e)?{kind:"implicit",literal:t,referencingFile:s}:{kind:"import",literal:t})}))}return i}function Rce(e,t){return u(307===e.kind?e.statements:e.body.statements,(e=>t(e)||$ce(e)&&u(e.body&&e.body.statements,t)))}function Pce(e,t){if(e.externalModuleIndicator||void 0!==e.imports)for(const n of e.imports)t(yh(n),n);else Rce(e,(e=>{switch(e.kind){case 278:case 272:{const n=e;n.moduleSpecifier&&kD(n.moduleSpecifier)&&t(n,n.moduleSpecifier);break}case 271:{const n=e;Qce(n)&&t(n,n.moduleReference.expression);break}}}))}function Nce(e,t,n,r){return r?i():i()||function(){if(!function(e){const{parent:t}=e;switch(t.kind){case 271:return t.name===e&&Qce(t);case 276:return!t.propertyName;case 273:case 274:return un.assert(t.name===e),!0;case 208:return Tm(e)&&qm(t.parent.parent);default:return!1}}(e))return;let r=n.getImmediateAliasedSymbol(t);if(!r)return;if(r=function(e,t){if(e.declarations)for(const n of e.declarations){if(AT(n)&&!n.propertyName&&!n.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(n)||e;if(zw(n)&&eh(n.expression)&&!JD(n.name))return t.getSymbolAtLocation(n);if(MT(n)&&uI(n.parent.parent)&&2===th(n.parent.parent))return t.getExportSpecifierLocalTargetSymbol(n.name)}return e}(r,n),"export="===r.escapedName&&(r=function(e,t){var n,r;if(2097152&e.flags)return t.getImmediateAliasedSymbol(e);const i=un.checkDefined(e.valueDeclaration);if(mT(i))return null==(n=et(i.expression,sd))?void 0:n.symbol;if(uI(i))return null==(r=et(i.right,sd))?void 0:r.symbol;if(JT(i))return i.symbol;return}(r,n),void 0===r))return;const i=eX(r);if(void 0===i||"default"===i||i===t.escapedName)return{kind:0,symbol:r}}();function i(){var i;const{parent:a}=e,c=a.parent;if(t.exportSymbol)return 211===a.kind?(null==(i=t.declarations)?void 0:i.some((e=>e===a)))&&uI(c)?u(c,!1):void 0:o(t.exportSymbol,s(a));{const i=function(e,t){const n=HI(e)?e:Hw(e)?nc(e):void 0;return n?e.name!==t||QT(n.parent)?void 0:wI(n.parent.parent)?n.parent.parent:void 0:e}(a,e);if(i&&wy(i,32)){if(rT(i)&&i.moduleReference===e){if(r)return;return{kind:0,symbol:n.getSymbolAtLocation(i.name)}}return o(t,s(i))}if(pT(a))return o(t,0);if(mT(a))return l(a);if(mT(c))return l(c);if(uI(a))return u(a,!0);if(uI(c))return u(c,!0);if(DF(a)||pF(a))return o(t,0)}function l(e){if(!e.symbol.parent)return;const n=e.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:n}}}function u(e,r){let i;switch(th(e)){case 1:i=0;break;case 2:i=2;break;default:return}const s=r?n.getSymbolAtLocation(Sb(tt(e.left,xb))):t;return s&&o(s,i)}}function o(e,t){const r=Bce(e,t,n);return r&&{kind:1,symbol:e,exportInfo:r}}function s(e){return wy(e,2048)?1:0}}function Bce(e,t,n){const r=e.parent;if(!r)return;const i=n.getMergedSymbol(r);return Yd(i)?{exportingModuleSymbol:i,exportKind:t}:void 0}function Oce(e,t){return t.getMergedSymbol(qce(e).symbol)}function qce(e){if(213===e.kind||351===e.kind)return e.getSourceFile();const{parent:t}=e;return 307===t.kind?t:(un.assert(268===t.kind),tt(t.parent,$ce))}function $ce(e){return 267===e.kind&&11===e.name.kind}function Qce(e){return 283===e.moduleReference.kind&&11===e.moduleReference.expression.kind}var Lce=(e=>(e[e.Symbol=0]="Symbol",e[e.Label=1]="Label",e[e.Keyword=2]="Keyword",e[e.This=3]="This",e[e.String=4]="String",e[e.TripleSlashReference=5]="TripleSlashReference",e))(Lce||{}),Mce=(e=>(e[e.Span=0]="Span",e[e.Node=1]="Node",e[e.StringLiteral=2]="StringLiteral",e[e.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",e[e.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",e))(Mce||{});function jce(e,t=1){return{kind:t,node:e.name||e,context:Jce(e)}}function Uce(e){return e&&void 0===e.kind}function Jce(e){if(ud(e))return Vce(e);if(e.parent){if(!ud(e.parent)&&!mT(e.parent)){if(Tm(e)){const t=uI(e.parent)?e.parent:xb(e.parent)&&uI(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(t&&0!==th(t))return Vce(t)}if(kT(e.parent)||DT(e.parent))return e.parent.parent;if(ST(e.parent)||jI(e.parent)||Sl(e.parent))return e.parent;if(Od(e)){const t=vh(e);if(t){const e=dc(t,(e=>ud(e)||fd(e)||Sd(e)));return ud(e)?Vce(e):e}}const t=dc(e,ow);return t?Vce(t.parent):void 0}return e.parent.name===e||_w(e.parent)||mT(e.parent)||($l(e.parent)||Hw(e.parent))&&e.parent.propertyName===e||90===e.kind&&wy(e.parent,2080)?Vce(e.parent):void 0}}function Vce(e){if(e)switch(e.kind){case 260:return GI(e.parent)&&1===e.parent.declarations.length?wI(e.parent.parent)?e.parent.parent:Ku(e.parent.parent)?Vce(e.parent.parent):e.parent:e;case 208:return Vce(e.parent.parent);case 276:return e.parent.parent.parent;case 281:case 274:return e.parent.parent;case 273:case 280:return e.parent;case 226:return TI(e.parent)?e.parent:e;case 250:case 249:return{start:e.initializer,end:e.expression};case 303:case 304:return vK(e.parent)?Vce(dc(e.parent,(e=>uI(e)||Ku(e)))):e;case 255:return{start:A(e.getChildren(e.getSourceFile()),(e=>109===e.kind)),end:e.caseBlock};default:return e}}function Hce(e,t,n){if(!n)return;const r=Uce(n)?lle(n.start,t,n.end):lle(n,t);return r.start!==e.start||r.length!==e.length?{contextSpan:r}:void 0}var Gce,Wce=(e=>(e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename",e))(Wce||{});function zce(e,t,n,r,i){const o=MY(r,i),s={use:1},a=Gce.getReferencedSymbolsForNode(i,o,e,n,t,s),c=e.getTypeChecker(),l=Gce.getAdjustedNode(o,s),u=function(e){return 90===e.kind||!!ug(e)||dg(e)||137===e.kind&&_w(e.parent)}(l)?c.getSymbolAtLocation(l):void 0;return a&&a.length?q(a,(({definition:e,references:n})=>e&&{definition:c.runWithCancellationToken(t,(t=>function(e,t,n){const r=(()=>{switch(e.type){case 0:{const{symbol:r}=e,{displayParts:i,kind:o}=nle(r,t,n),s=i.map((e=>e.text)).join(""),a=r.declarations&&fe(r.declarations);return{...tle(a?Sc(a)||a:n),name:s,kind:o,displayParts:i,context:Vce(a)}}case 1:{const{node:t}=e;return{...tle(t),name:t.text,kind:"label",displayParts:[yX(t.text,17)]}}case 2:{const{node:t}=e,n=Is(t.kind);return{...tle(t),name:n,kind:"keyword",displayParts:[{text:n,kind:"keyword"}]}}case 3:{const{node:n}=e,r=t.getSymbolAtLocation(n),i=r&&Lde.getSymbolDisplayPartsDocumentationAndSymbolKind(t,r,n.getSourceFile(),pY(n),n).displayParts||[DX("this")];return{...tle(n),name:"this",kind:"var",displayParts:i}}case 4:{const{node:t}=e;return{...tle(t),name:t.text,kind:"var",displayParts:[yX(zp(t),8)]}}case 5:return{textSpan:wK(e.reference),sourceFile:e.file,name:e.reference.fileName,kind:"string",displayParts:[yX(`"${e.reference.fileName}"`,8)]};default:return un.assertNever(e)}})(),{sourceFile:i,textSpan:o,name:s,kind:a,displayParts:c,context:l}=r;return{containerKind:"",containerName:"",fileName:i.fileName,kind:a,name:s,textSpan:o,displayParts:c,...Hce(o,i,l)}}(e,t,o))),references:n.map((e=>function(e,t){const n=ile(e);return t?{...n,isDefinition:0!==e.kind&&ple(e.node,t)}:n}(e,u)))})):void 0}function Yce(e,t,n,r,i){const o=MY(r,i);let s;const a=Kce(e,t,n,o,i);if(211===o.parent.kind||208===o.parent.kind||212===o.parent.kind||108===o.kind)s=a&&[...a];else if(a){const r=We(a),i=new Set;for(;!r.isEmpty();){const o=r.dequeue();if(!bb(i,JQ(o.node)))continue;s=re(s,o);const a=Kce(e,t,n,o.node,o.node.pos);a&&r.enqueue(...a)}}const c=e.getTypeChecker();return w(s,(e=>function(e,t){const n=ole(e);if(0!==e.kind){const{node:r}=e;return{...n,...ale(r,t)}}return{...n,kind:"",displayParts:[]}}(e,c)))}function Kce(e,t,n,r,i){if(307===r.kind)return;const o=e.getTypeChecker();if(304===r.parent.kind){const e=[];return Gce.getReferenceEntriesForShorthandPropertyAssignment(r,o,(t=>e.push(jce(t)))),e}if(108===r.kind||sm(r.parent)){const e=o.getSymbolAtLocation(r);return e.valueDeclaration&&[jce(e.valueDeclaration)]}return Zce(i,r,e,n,t,{implementations:!0,use:1})}function Xce(e,t,n,r,i,o,s){return w(ele(Gce.getReferencedSymbolsForNode(i,r,e,n,t,o)),(t=>s(t,r,e.getTypeChecker())))}function Zce(e,t,n,r,i,o={},s=new Set(r.map((e=>e.fileName)))){return ele(Gce.getReferencedSymbolsForNode(e,t,n,r,i,o,s))}function ele(e){return e&&R(e,(e=>e.references))}function tle(e){const t=e.getSourceFile();return{sourceFile:t,textSpan:lle(ow(e)?e.expression:e,t)}}function nle(e,t,n){const r=Gce.getIntersectingMeaningFromDeclarations(n,e),i=e.declarations&&fe(e.declarations)||n,{displayParts:o,symbolKind:s}=Lde.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,i.getSourceFile(),i,i,r);return{displayParts:o,kind:s}}function rle(e,t,n,r,i){return{...ole(e),...r&&sle(e,t,n,i)}}function ile(e){const t=ole(e);if(0===e.kind)return{...t,isWriteAccess:!1};const{kind:n,node:r}=e;return{...t,isWriteAccess:dle(r),isInString:2===n||void 0}}function ole(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};{const t=e.node.getSourceFile(),n=lle(e.node,t);return{textSpan:n,fileName:t.fileName,...Hce(n,t,e.context)}}}function sle(e,t,n,r){if(0!==e.kind&&(UD(t)||Od(t))){const{node:r,kind:i}=e,o=r.parent,s=t.text,a=MT(o);if(a||nX(o)&&o.name===r&&void 0===o.dotDotDotToken){const e={prefixText:s+": "},t={suffixText:": "+s};if(3===i)return e;if(4===i)return t;if(a){const n=o.parent;return Ww(n)&&uI(n.parent)&&eh(n.parent.left)?e:t}return e}if(_T(o)&&!o.propertyName){return C((AT(t.parent)?n.getExportSpecifierLocalTargetSymbol(t.parent):n.getSymbolAtLocation(t)).declarations,o)?{prefixText:s+" as "}:gz}if(AT(o)&&!o.propertyName)return t===e.node||n.getSymbolAtLocation(t)===n.getSymbolAtLocation(e.node)?{prefixText:s+" as "}:{suffixText:" as "+s}}if(0!==e.kind&&xD(e.node)&&xb(e.node.parent)){const e=XK(r);return{prefixText:e,suffixText:e}}return gz}function ale(e,t){const n=t.getSymbolAtLocation(ud(e)&&e.name?e.name:e);return n?nle(n,t,e):210===e.kind?{kind:"interface",displayParts:[CX(21),DX("object literal"),CX(22)]}:231===e.kind?{kind:"local class",displayParts:[CX(21),DX("anonymous local class"),CX(22)]}:{kind:fY(e),displayParts:[]}}function cle(e){const t=ole(e);if(0===e.kind)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};const n=dle(e.node),r={textSpan:t.textSpan,kind:n?"writtenReference":"reference",isInString:2===e.kind||void 0,...t.contextSpan&&{contextSpan:t.contextSpan}};return{fileName:t.fileName,span:r}}function lle(e,t,n){let r=e.getStart(t),i=(n||e).getEnd();return Od(e)&&i-r>2&&(un.assert(void 0===n),r+=1,i-=1),269===(null==n?void 0:n.kind)&&(i=n.getFullStart()),Ha(r,i)}function ule(e){return 0===e.kind?e.textSpan:lle(e.node,e.node.getSourceFile())}function dle(e){const t=ug(e);return!!t&&function(e){if(33554432&e.flags)return!0;switch(e.kind){case 226:case 208:case 263:case 231:case 90:case 266:case 306:case 281:case 273:case 271:case 276:case 264:case 338:case 346:case 291:case 267:case 270:case 274:case 280:case 169:case 304:case 265:case 168:return!0;case 303:return!vK(e.parent);case 262:case 218:case 176:case 174:case 177:case 178:return!!e.body;case 260:case 172:return!!e.initializer||QT(e.parent);case 173:case 171:case 348:case 341:return!1;default:return un.failBadSyntaxKind(e)}}(t)||90===e.kind||lb(e)}function ple(e,t){var n;if(!t)return!1;const r=ug(e)||(90===e.kind?e.parent:dg(e)||137===e.kind&&_w(e.parent)?e.parent.parent:void 0),i=r&&uI(r)?r.left:void 0;return!(!r||!(null==(n=t.declarations)?void 0:n.some((e=>e===r||e===i))))}(e=>{function t(e,t){return 1===t.use?e=QY(e):2===t.use&&(e=LY(e)),e}function n(e,t,n){let r;const i=t.get(e.path)||a;for(const e of i)if(yJ(e)){const t=n.getSourceFileByPath(e.file),i=bJ(n,e);vJ(i)&&(r=re(r,{kind:0,fileName:t.fileName,textSpan:wK(i)}))}return r}function r(e,t,n){if(e.parent&&nT(e.parent)){const e=n.getAliasedSymbol(t),r=n.getMergedSymbol(e);if(e!==r)return r}}function i(e,t,n,r,i,s){const a=1536&e.flags&&e.declarations&&A(e.declarations,JT);if(!a)return;const l=e.exports.get("export="),u=c(t,e,!!l,n,s);if(!l||!s.has(a.fileName))return u;const d=t.getTypeChecker();return o(t,u,f(e=sb(l,d),void 0,n,s,d,r,i))}function o(e,...t){let n;for(const r of t)if(r&&r.length)if(n)for(const t of r){if(!t.definition||0!==t.definition.type){n.push(t);continue}const r=t.definition.symbol,i=v(n,(e=>!!e.definition&&0===e.definition.type&&e.definition.symbol===r));if(-1===i){n.push(t);continue}const o=n[i];n[i]={definition:o.definition,references:o.references.concat(t.references).sort(((t,n)=>{const r=s(e,t),i=s(e,n);if(r!==i)return At(r,i);const o=ule(t),a=ule(n);return o.start!==a.start?At(o.start,a.start):At(o.length,a.length)}))}}else n=r;return n}function s(e,t){const n=0===t.kind?e.getSourceFile(t.fileName):t.node.getSourceFile();return e.getSourceFiles().indexOf(n)}function c(e,t,n,r,i){un.assert(!!t.valueDeclaration);const o=q(Fce(e,r,t),(e=>{if("import"===e.kind){const t=e.literal.parent;if(Lw(t)){const e=tt(t.parent,Mw);if(n&&!e.qualifier)return}return jce(e.literal)}if("implicit"===e.kind){return jce(e.literal.text!==Ud&&qP(e.referencingFile,(e=>2&e.transformFlags?xT(e)||ST(e)||wT(e)?e:void 0:"skip"))||e.referencingFile.statements[0]||e.referencingFile)}return{kind:0,fileName:e.referencingFile.fileName,textSpan:wK(e.ref)}}));if(t.declarations)for(const e of t.declarations)switch(e.kind){case 307:break;case 267:i.has(e.getSourceFile().fileName)&&o.push(jce(e.name));break;default:un.assert(!!(33554432&t.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const s=t.exports.get("export=");if(null==s?void 0:s.declarations)for(const e of s.declarations){const t=e.getSourceFile();if(i.has(t.fileName)){const n=uI(e)&&zw(e.left)?e.left.expression:mT(e)?un.checkDefined(IY(e,95,t)):Sc(e)||e;o.push(jce(n))}}return o.length?[{definition:{type:0,symbol:t},references:o}]:a}function d(e){return 148===e.kind&&qw(e.parent)&&148===e.parent.operator}function f(e,t,n,r,i,o,s){const a=t&&function(e,t,n,r){const{parent:i}=t;if(AT(i)&&r)return $(t,e,i,n);return p(e.declarations,(r=>{if(!r.parent){if(33554432&e.flags)return;un.fail(`Unexpected symbol at ${un.formatSyntaxKind(t.kind)}: ${un.formatSymbol(e)}`)}return Sw(r.parent)&&Fw(r.parent.parent)?n.getPropertyOfType(n.getTypeFromTypeNode(r.parent.parent),e.name):void 0}))}(e,t,i,!Z(s))||e,c=t?Y(t,a):7,l=[],u=new y(n,r,t?function(e){switch(e.kind){case 176:case 137:return 1;case 80:if(du(e.parent))return un.assert(e.parent.name===e),2;default:return 0}}(t):0,i,o,c,s,l),d=Z(s)&&a.declarations?A(a.declarations,AT):void 0;if(d)O(d.name,a,d,u.createSearch(t,e,void 0),u,!0,!0);else if(t&&90===t.kind&&"default"===a.escapedName&&a.parent)Q(t,a,u),b(t,a,{exportingModuleSymbol:a.parent,exportKind:1},u);else{const e=u.createSearch(t,a,void 0,{allSearchSymbols:t?G(a,t,i,2===s.use,!!s.providePrefixAndSuffixTextForRename,!!s.implementations):[a]});_(a,u,e)}return l}function _(e,t,n){const r=function(e){const{declarations:t,flags:n,parent:r,valueDeclaration:i}=e;if(i&&(218===i.kind||231===i.kind))return i;if(!t)return;if(8196&n){const e=A(t,(e=>Dy(e,2)||Wl(e)));return e?xg(e,263):void 0}if(t.some(nX))return;const o=r&&!(262144&e.flags);if(o&&(!Yd(r)||r.globalExports))return;let s;for(const e of t){const t=pY(e);if(s&&s!==t)return;if(!t||307===t.kind&&!Zf(t))return;if(s=t,nI(s)){let e;for(;e=$h(s);)s=e}}return o?s.getSourceFile():s}(e);if(r)P(r,r.getSourceFile(),n,t,!(JT(r)&&!C(t.sourceFiles,r)));else for(const e of t.sourceFiles)t.cancellationToken.throwIfCancellationRequested(),k(e,n,t)}let m;var h;function g(e){if(!(33555968&e.flags))return;const t=e.declarations&&A(e.declarations,(e=>!JT(e)&&!ZI(e)));return t&&t.symbol}e.getReferencedSymbolsForNode=function(e,s,l,u,_,m={},h=new Set(u.map((e=>e.fileName)))){var g,A;if(JT(s=t(s,m))){const t=fle.getReferenceAtPosition(s,e,l);if(!(null==t?void 0:t.file))return;const r=l.getTypeChecker().getMergedSymbol(t.file.symbol);if(r)return c(l,r,!1,u,h);const i=l.getFileIncludeReasons();if(!i)return;return[{definition:{type:5,reference:t.reference,file:s},references:n(t.file,i,l)||a}]}if(!m.implementations){const e=function(e,t,n){if(PK(e.kind)){if(116===e.kind&&sI(e.parent))return;if(148===e.kind&&!d(e))return;return function(e,t,n,r){const i=R(e,(e=>(n.throwIfCancellationRequested(),q(w(e,Is(t),e),(e=>{if(e.kind===t&&(!r||r(e)))return jce(e)})))));return i.length?[{definition:{type:2,node:i[0].node},references:i}]:void 0}(t,e.kind,n,148===e.kind?d:void 0)}if(u_(e.parent)&&e.parent.name===e)return function(e,t){const n=R(e,(e=>(t.throwIfCancellationRequested(),q(w(e,"meta",e),(e=>{const t=e.parent;if(u_(t))return jce(t)})))));return n.length?[{definition:{type:2,node:n[0].node},references:n}]:void 0}(t,n);if(KD(e)&&fw(e.parent))return[{definition:{type:2,node:e},references:[jce(e)]}];if(tY(e)){const t=Zz(e.parent,e.text);return t&&T(t.parent,t)}if(nY(e))return T(e.parent,e);if(_Y(e))return function(e,t,n){let r=em(e,!1,!1),i=256;switch(r.kind){case 174:case 173:if(Q_(r)){i&=jy(r),r=r.parent;break}case 172:case 171:case 176:case 177:case 178:i&=jy(r),r=r.parent;break;case 307:if(UP(r)||H(e))return;case 262:case 218:break;default:return}const o=R(307===r.kind?t:[r.getSourceFile()],(e=>(n.throwIfCancellationRequested(),w(e,"this",JT(r)?e:r).filter((e=>{if(!_Y(e))return!1;const t=em(e,!1,!1);if(!sd(t))return!1;switch(r.kind){case 218:case 262:return r.symbol===t.symbol;case 174:case 173:return Q_(r)&&r.symbol===t.symbol;case 231:case 263:case 210:return t.parent&&sd(t.parent)&&r.symbol===t.parent.symbol&&Iy(t)===!!i;case 307:return 307===t.kind&&!UP(t)&&!H(e)}}))))).map((e=>jce(e))),s=p(o,(e=>aw(e.node.parent)?e.node:void 0));return[{definition:{type:3,node:s||e},references:o}]}(e,t,n);if(108===e.kind)return function(e){let t=im(e,!1);if(!t)return;let n=256;switch(t.kind){case 172:case 171:case 174:case 173:case 176:case 177:case 178:n&=jy(t),t=t.parent;break;default:return}const r=q(w(t.getSourceFile(),"super",t),(e=>{if(108!==e.kind)return;const r=im(e,!1);return r&&Iy(r)===!!n&&r.parent.symbol===t.symbol?jce(e):void 0}));return[{definition:{type:0,symbol:t.symbol},references:r}]}(e);return}(s,u,_);if(e)return e}const y=l.getTypeChecker(),v=y.getSymbolAtLocation(_w(s)&&s.parent.name||s);if(!v){if(!m.implementations&&Od(s)){if(tX(s)){const e=l.getFileIncludeReasons(),t=null==(A=null==(g=l.getResolvedModuleFromModuleSpecifier(s))?void 0:g.resolvedModule)?void 0:A.resolvedFileName,r=t?l.getSourceFile(t):void 0;if(r)return[{definition:{type:4,node:s},references:n(r,e,l)||a}]}return function(e,t,n,r){const i=NY(e,n),o=R(t,(t=>(r.throwIfCancellationRequested(),q(w(t,e.text),(r=>{if(Od(r)&&r.text===e.text){if(!i)return ID(r)&&!Qv(r,t)?void 0:jce(r,2);{const e=NY(r,n);if(i!==n.getStringType()&&(i===e||function(e,t){if(lw(e.parent))return t.getPropertyOfType(t.getTypeAtLocation(e.parent.parent),e.text)}(r,n)))return jce(r,2)}}})))));return[{definition:{type:4,node:e},references:o}]}(s,u,y,_)}return}if("export="===v.escapedName)return c(l,v.parent,!1,u,h);const b=i(v,l,u,_,m,h);if(b&&!(33554432&v.flags))return b;const C=r(s,v,y),E=C&&i(C,l,u,_,m,h);return o(l,b,f(v,s,u,h,y,_,m),E)},e.getAdjustedNode=t,e.getReferencesForFileName=function(e,t,r,i=new Set(r.map((e=>e.fileName)))){var o,s;const l=null==(o=t.getSourceFile(e))?void 0:o.symbol;if(l)return(null==(s=c(t,l,!1,r,i)[0])?void 0:s.references)||a;const u=t.getFileIncludeReasons(),d=t.getSourceFile(e);return d&&u&&n(d,u,t)||a},(h=m||(m={}))[h.None=0]="None",h[h.Constructor=1]="Constructor",h[h.Class=2]="Class";class y{constructor(e,t,n,r,i,o,s,a){this.sourceFiles=e,this.sourceFilesSet=t,this.specialSearchKind=n,this.checker=r,this.cancellationToken=i,this.searchMeaning=o,this.options=s,this.result=a,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=OK(),this.markSeenReExportRHS=OK(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(e){return this.sourceFilesSet.has(e.fileName)}getImportSearches(e,t){return this.importTracker||(this.importTracker=Dce(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,t,2===this.options.use)}createSearch(e,t,n,r={}){const{text:i=IA(Ac(vv(t)||g(t)||t)),allSearchSymbols:o=[t]}=r,s=_c(i),a=this.options.implementations&&e?function(e,t,n){const r=sY(e)?e.parent:void 0,i=r&&n.getTypeAtLocation(r.expression),o=q(i&&(i.isUnionOrIntersection()?i.types:i.symbol===t.parent?void 0:[i]),(e=>e.symbol&&96&e.symbol.flags?e.symbol:void 0));return 0===o.length?void 0:o}(e,t,this.checker):void 0;return{symbol:t,comingFrom:n,text:i,escapedText:s,parents:a,allSearchSymbols:o,includes:e=>C(o,e)}}referenceAdder(e){const t=VQ(e);let n=this.symbolIdToReferences[t];return n||(n=this.symbolIdToReferences[t]=[],this.result.push({definition:{type:0,symbol:e},references:n})),(e,t)=>n.push(jce(e,t))}addStringOrCommentReference(e,t){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:t}]})}markSearchedSymbols(e,t){const n=JQ(e),r=this.sourceFileToSeenSymbols[n]||(this.sourceFileToSeenSymbols[n]=new Set);let i=!1;for(const e of t)i=L(r,VQ(e))||i;return i}}function b(e,t,n,r){const{importSearches:i,singleReferences:o,indirectUsers:s}=r.getImportSearches(t,n);if(o.length){const e=r.referenceAdder(t);for(const t of o)E(t,r)&&e(t)}for(const[e,t]of i)F(e.getSourceFile(),r.createSearch(e,t,1),r);if(s.length){let i;switch(n.exportKind){case 0:i=r.createSearch(e,t,1);break;case 1:i=2===r.options.use?void 0:r.createSearch(e,t,1,{text:"default"})}if(i)for(const e of s)k(e,i,r)}}function E(e,t){return!!N(e,t)&&(2!==t.options.use||!(!UD(e)&&!$l(e.parent))&&!($l(e.parent)&&Gp(e)))}function x(e,t){if(e.declarations)for(const n of e.declarations){const r=n.getSourceFile();F(r,t.createSearch(n,e,0),t,t.includesSourceFile(r))}}function k(e,t,n){void 0!==i5(e).get(t.escapedText)&&F(e,t,n)}function D(e,t,n,r,i=n){const o=Za(e.parent,e.parent.parent)?me(t.getSymbolsOfParameterPropertyDeclaration(e.parent,e.text)):t.getSymbolAtLocation(e);if(o)for(const s of w(n,o.name,i)){if(!UD(s)||s===e||s.escapedText!==e.escapedText)continue;const n=t.getSymbolAtLocation(s);if(n===o||t.getShorthandAssignmentValueSymbol(s.parent)===o||AT(s.parent)&&$(s,n,s.parent,t)===o){const e=r(s);if(e)return e}}}function w(e,t,n=e){return q(I(e,t,n),(t=>{const n=MY(e,t);return n===e?void 0:n}))}function I(e,t,n=e){const r=[];if(!t||!t.length)return r;const i=e.text,o=i.length,s=t.length;let a=i.indexOf(t,n.pos);for(;a>=0&&!(a>n.end);){const e=a+s;0!==a&&_a(i.charCodeAt(a-1),99)||e!==o&&_a(i.charCodeAt(e),99)||r.push(a),a=i.indexOf(t,a+s+1)}return r}function T(e,t){const n=e.getSourceFile(),r=t.text,i=q(w(n,r,e),(e=>e===t||tY(e)&&Zz(e,r)===t?jce(e):void 0));return[{definition:{type:1,node:t},references:i}]}function F(e,t,n,r=!0){return n.cancellationToken.throwIfCancellationRequested(),P(e,e,t,n,r)}function P(e,t,n,r,i){if(r.markSearchedSymbols(t,n.allSearchSymbols))for(const o of I(t,n.text,e))B(t,o,n,r,i)}function N(e,t){return!!(Lz(e)&t.searchMeaning)}function B(e,t,n,r,i){const o=MY(e,t);if(!function(e,t){switch(e.kind){case 81:if(WT(e.parent))return!0;case 80:return e.text.length===t.length;case 15:case 11:{const n=e;return n.text.length===t.length&&(uY(n)||cY(e)||dY(e)||Kw(e.parent)&&nh(e.parent)&&e.parent.arguments[1]===e||$l(e.parent))}case 9:return uY(e)&&e.text.length===t.length;case 90:return 7===t.length;default:return!1}}(o,n.text))return void(!r.options.implementations&&(r.options.findInStrings&&XY(e,t)||r.options.findInComments&&CK(e,t))&&r.addStringOrCommentReference(e.fileName,Va(t,n.text.length)));if(!N(o,r))return;let s=r.checker.getSymbolAtLocation(o);if(!s)return;const a=o.parent;if(_T(a)&&a.propertyName===o)return;if(AT(a))return un.assert(80===o.kind||11===o.kind),void O(o,s,a,n,r,i);if(Dl(a)&&a.isNameFirst&&a.typeExpression&&aF(a.typeExpression.type)&&a.typeExpression.type.jsDocPropertyTags&&l(a.typeExpression.type.jsDocPropertyTags))return void function(e,t,n,r){const i=r.referenceAdder(n.symbol);Q(t,n.symbol,r),u(e,(e=>{iw(e.name)&&i(e.name.left)}))}(a.typeExpression.type.jsDocPropertyTags,o,n,r);const c=function(e,t,n,r){const{checker:i}=r;return W(t,n,i,!1,2!==r.options.use||!!r.options.providePrefixAndSuffixTextForRename,((n,r,i,o)=>(i&&z(t)!==z(i)&&(i=void 0),e.includes(i||r||n)?{symbol:!r||6&ib(n)?n:r,kind:o}:void 0)),(t=>!(e.parents&&!e.parents.some((e=>V(t.parent,e,r.inheritsFromCache,i))))))}(n,s,o,r);if(c){switch(r.specialSearchKind){case 0:i&&Q(o,c,r);break;case 1:!function(e,t,n,r){Uz(e)&&Q(e,n.symbol,r);const i=()=>r.referenceAdder(n.symbol);if(du(e.parent))un.assert(90===e.kind||e.parent.name===e),function(e,t,n){const r=M(e);if(r&&r.declarations)for(const e of r.declarations){const r=IY(e,137,t);un.assert(176===e.kind&&!!r),n(r)}e.exports&&e.exports.forEach((e=>{const t=e.valueDeclaration;if(t&&174===t.kind){const e=t.body;e&&X(e,110,(e=>{Uz(e)&&n(e)}))}}))}(n.symbol,t,i());else{const t=function(e){return nv(Xz(e).parent)}(e);t&&(function(e,t){const n=M(e.symbol);if(!n||!n.declarations)return;for(const e of n.declarations){un.assert(176===e.kind);const n=e.body;n&&X(n,108,(e=>{jz(e)&&t(e)}))}}(t,i()),function(e,t){if(function(e){return!!M(e.symbol)}(e))return;const n=e.symbol,r=t.createSearch(void 0,n,void 0);_(n,t,r)}(t,r))}}(o,e,n,r);break;case 2:!function(e,t,n){Q(e,t.symbol,n);const r=e.parent;if(2===n.options.use||!du(r))return;un.assert(r.name===e);const i=n.referenceAdder(t.symbol);for(const e of r.members)mu(e)&&Iy(e)&&e.body&&e.body.forEachChild((function e(t){110===t.kind?i(t):ru(t)||du(t)||t.forEachChild(e)}))}(o,n,r);break;default:un.assertNever(r.specialSearchKind)}Tm(o)&&Hw(o.parent)&&qm(o.parent.parent.parent)&&(s=o.parent.symbol,!s)||function(e,t,n,r){const i=Nce(e,t,r.checker,1===n.comingFrom);if(!i)return;const{symbol:o}=i;0===i.kind?Z(r.options)||x(o,r):b(e,o,i.exportInfo,r)}(o,s,n,r)}else!function({flags:e,valueDeclaration:t},n,r){const i=r.checker.getShorthandAssignmentValueSymbol(t),o=t&&Sc(t);33554432&e||!o||!n.includes(i)||Q(o,i,r)}(s,n,r)}function O(e,t,n,r,i,o,s){un.assert(!s||!!i.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:a,propertyName:c,name:l}=n,u=a.parent,d=$(e,t,n,i.checker);if(s||r.includes(d)){if(c?e===c?(u.moduleSpecifier||p(),o&&2!==i.options.use&&i.markSeenReExportRHS(l)&&Q(l,un.checkDefined(n.symbol),i)):i.markSeenReExportRHS(e)&&p():2===i.options.use&&Gp(l)||p(),!Z(i.options)||s){const t=Gp(e)||Gp(n.name)?1:0,r=un.checkDefined(n.symbol),o=Bce(r,t,i.checker);o&&b(e,r,o,i)}if(1!==r.comingFrom&&u.moduleSpecifier&&!c&&!Z(i.options)){const e=i.checker.getExportSpecifierLocalTargetSymbol(n);e&&x(e,i)}}function p(){o&&Q(e,d,i)}}function $(e,t,n,r){return function(e,t){const{parent:n,propertyName:r,name:i}=t;return un.assert(r===e||i===e),r?r===e:!n.parent.moduleSpecifier}(e,n)&&r.getExportSpecifierLocalTargetSymbol(n)||t}function Q(e,t,n){const{kind:r,symbol:i}="kind"in t?t:{kind:void 0,symbol:t};if(2===n.options.use&&90===e.kind)return;const o=n.referenceAdder(i);n.options.implementations?function(e,t,n){if(lg(e)&&function(e){return 33554432&e.flags?!(YI(e)||KI(e)):F_(e)?Td(e):ou(e)?!!e.body:du(e)||od(e)}(e.parent))return void t(e);if(80!==e.kind)return;304===e.parent.kind&&K(e,n.checker,t);const r=j(e);if(r)return void t(r);const i=dc(e,(e=>!iw(e.parent)&&!vu(e.parent)&&!gu(e.parent))),o=i.parent;if(Id(o)&&o.type===i&&n.markSeenContainingTypeReference(o))if(Td(o))s(o.initializer);else if(ru(o)&&o.body){const e=o.body;241===e.kind?D_(e,(e=>{e.expression&&s(e.expression)})):s(e)}else Vu(o)&&s(o.expression);function s(e){U(e)&&t(e)}}(e,o,n):o(e,r)}function M(e){return e.members&&e.members.get("__constructor")}function j(e){return UD(e)||zw(e)?j(e.parent):gI(e)?et(e.parent.parent,Zt(du,YI)):void 0}function U(e){switch(e.kind){case 217:return U(e.expression);case 219:case 218:case 210:case 231:case 209:return!0;default:return!1}}function V(e,t,n,r){if(e===t)return!0;const i=VQ(e)+","+VQ(t),o=n.get(i);if(void 0!==o)return o;n.set(i,!1);const s=!!e.declarations&&e.declarations.some((e=>bg(e).some((e=>{const i=r.getTypeAtLocation(e);return!!i&&!!i.symbol&&V(i.symbol,t,n,r)}))));return n.set(i,s),s}function H(e){return 80===e.kind&&169===e.parent.kind&&e.parent.name===e}function G(e,t,n,r,i,o){const s=[];return W(e,t,n,r,!(r&&i),((t,n,r)=>{r&&z(e)!==z(r)&&(r=void 0),s.push(r||n||t)}),(()=>!o)),s}function W(e,t,n,i,o,s,a){const c=o5(t);if(c){const e=n.getShorthandAssignmentValueSymbol(t.parent);if(e&&i)return s(e,void 0,void 0,3);const r=n.getContextualType(c.parent),o=r&&p(s5(c,n,r,!0),(e=>f(e,4)));if(o)return o;const a=function(e,t){return vK(e.parent.parent)?t.getPropertySymbolOfDestructuringAssignment(e):void 0}(t,n),l=a&&s(a,void 0,void 0,4);if(l)return l;const u=e&&s(e,void 0,void 0,3);if(u)return u}const l=r(t,e,n);if(l){const e=s(l,void 0,void 0,1);if(e)return e}const u=f(e);if(u)return u;if(e.valueDeclaration&&Za(e.valueDeclaration,e.valueDeclaration.parent)){const t=n.getSymbolsOfParameterPropertyDeclaration(tt(e.valueDeclaration,aw),e.name);return un.assert(2===t.length&&!!(1&t[0].flags)&&!!(4&t[1].flags)),f(1&e.flags?t[1]:t[0])}const d=Hd(e,281);if(!i||d&&!d.propertyName){const e=d&&n.getExportSpecifierLocalTargetSymbol(d);if(e){const t=s(e,void 0,void 0,1);if(t)return t}}if(!i){let r;return r=o?nX(t.parent)?rX(n,t.parent):void 0:_(e,n),r&&f(r,4)}un.assert(i);if(o){const t=_(e,n);return t&&f(t,4)}function f(e,t){return p(n.getRootSymbols(e),(r=>s(e,r,void 0,t)||(r.parent&&96&r.parent.flags&&a(r)?function(e,t,n,r){const i=new Set;return o(e);function o(e){if(96&e.flags&&bb(i,e))return p(e.declarations,(e=>p(bg(e),(e=>{const i=n.getTypeAtLocation(e),s=i&&i.symbol&&n.getPropertyOfType(i,t);return i&&s&&(p(n.getRootSymbols(s),r)||o(i.symbol))}))))}}(r.parent,r.name,n,(n=>s(e,r,n,t))):void 0)))}function _(e,t){const n=Hd(e,208);if(n&&nX(n))return rX(t,n)}}function z(e){if(!e.valueDeclaration)return!1;return!!(256&Ly(e.valueDeclaration))}function Y(e,t){let n=Lz(e);const{declarations:r}=t;if(r){let e;do{e=n;for(const e of r){const t=Qz(e);t&n&&(n|=t)}}while(n!==e)}return n}function K(e,t,n){const r=t.getSymbolAtLocation(e),i=t.getShorthandAssignmentValueSymbol(r.valueDeclaration);if(i)for(const e of i.getDeclarations())1&Qz(e)&&n(e)}function X(e,t,n){OP(e,(e=>{e.kind===t&&n(e),X(e,t,n)}))}function Z(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}e.eachExportReference=function(e,t,n,r,i,o,s,a){const c=Dce(e,new Set(e.map((e=>e.fileName))),t,n),{importSearches:l,indirectUsers:u,singleReferences:d}=c(r,{exportKind:s?1:0,exportingModuleSymbol:i},!1);for(const[e]of l)a(e);for(const e of d)UD(e)&&Mw(e.parent)&&a(e);for(const e of u)for(const n of w(e,s?"default":o)){const e=t.getSymbolAtLocation(n),i=J(null==e?void 0:e.declarations,(e=>!!et(e,mT)));!UD(n)||$l(n.parent)||e!==r&&!i||a(n)}},e.isSymbolReferencedInFile=function(e,t,n,r=n){return D(e,t,n,(()=>!0),r)||!1},e.eachSymbolReferenceInFile=D,e.getTopMostDeclarationNamesInFile=function(e,t){const n=S(w(t,e),(e=>!!ug(e)));return n.reduce(((e,t)=>{const n=function(e){let t=0;for(;e;)e=pY(e),t++;return t}(t);return J(e.declarationNames)&&n!==e.depth?ne===i))&&r(t,s))return!0}return!1},e.getIntersectingMeaningFromDeclarations=Y,e.getReferenceEntriesForShorthandPropertyAssignment=K})(Gce||(Gce={}));var fle={};function _le(e,t,n,r,i){var o;const s=hle(t,n,e),c=s&&[Fle(s.reference.fileName,s.fileName,s.unverified)]||a;if(null==s?void 0:s.file)return c;const l=MY(t,n);if(l===t)return;const{parent:d}=l,p=e.getTypeChecker();if(164===l.kind||UD(l)&&gF(d)&&d.tagName===l)return function(e,t){const n=dc(t,uu);if(!n||!n.name)return;const r=dc(n,du);if(!r)return;const i=Ag(r);if(!i)return;const o=sg(i.expression),s=mI(o)?o.symbol:e.getSymbolAtLocation(o);if(!s)return;const a=mc(Of(n.name)),c=Ty(n)?e.getPropertyOfType(e.getTypeOfSymbol(s),a):e.getPropertyOfType(e.getDeclaredTypeOfSymbol(s),a);if(!c)return;return xle(e,c,t)}(p,l)||a;if(tY(l)){const e=Zz(l.parent,l.text);return e?[kle(p,e,"label",l.text,void 0)]:void 0}switch(l.kind){case 107:const e=dc(l.parent,(e=>fw(e)?"quit":ou(e)));return e?[Ile(p,e)]:void 0;case 90:if(!qT(l.parent))break;case 84:const n=dc(l.parent,MI);if(n)return[Dle(n,t)]}if(135===l.kind){const e=dc(l,(e=>ou(e)));return e&&J(e.modifiers,(e=>134===e.kind))?[Ile(p,e)]:void 0}if(127===l.kind){const e=dc(l,(e=>ou(e)));return e&&e.asteriskToken?[Ile(p,e)]:void 0}if(KD(l)&&fw(l.parent)){const e=l.parent.parent,{symbol:t,failedAliasResolution:n}=Ele(e,p,i),r=S(e.members,fw),o=t?p.symbolToString(t,e):"",s=l.getSourceFile();return w(r,(e=>{let{pos:t}=qv(e);return t=Ks(s.text,t),kle(p,e,"constructor","static {}",o,!1,n,{start:t,length:6})}))}let{symbol:f,failedAliasResolution:_}=Ele(l,p,i),m=l;if(r&&_){const e=u([l,...(null==f?void 0:f.declarations)||a],(e=>dc(e,xf))),t=e&&Ah(e);t&&(({symbol:f,failedAliasResolution:_}=Ele(t,p,i)),m=t)}if(!f&&tX(m)){const n=null==(o=e.getResolvedModuleFromModuleSpecifier(m,t))?void 0:o.resolvedModule;if(n)return[{name:m.text,fileName:n.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:Va(0,0),failedAliasResolution:_,isAmbient:KP(n.resolvedFileName),unverified:m!==l}]}if(!f)return H(c,function(e,t){return q(t.getIndexInfosAtLocation(e),(e=>e.declaration&&Ile(t,e.declaration)))}(l,p));if(r&&g(f.declarations,(e=>e.getSourceFile().fileName===t.fileName)))return;const h=function(e,t){const n=function(e){const t=dc(e,(e=>!sY(e))),n=null==t?void 0:t.parent;return n&&Bu(n)&&dm(n)===t?n:void 0}(t),r=n&&e.getResolvedSignature(n);return et(r&&r.declaration,(e=>ru(e)&&!Cw(e)))}(p,l);if(h&&(!vd(l.parent)||!function(e){switch(e.kind){case 176:case 185:case 179:case 180:return!0;default:return!1}}(h))){const e=Ile(p,h,_);let t=e=>e!==h;if(p.getRootSymbols(f).some((e=>function(e,t){var n;return e===t.symbol||e===t.symbol.parent||iv(t.parent)||!Bu(t.parent)&&e===(null==(n=et(t.parent,sd))?void 0:n.symbol)}(e,h)))){if(!_w(h))return[e];t=e=>e!==h&&(zI(e)||mI(e))}const n=xle(p,f,l,_,t)||a;return 108===l.kind?[e,...n]:[...n,e]}if(304===l.parent.kind){const e=p.getShorthandAssignmentValueSymbol(f.valueDeclaration);return H((null==e?void 0:e.declarations)?e.declarations.map((t=>Sle(t,p,e,l,!1,_))):a,mle(p,l))}if(tu(l)&&Hw(d)&&Jw(d.parent)&&l===(d.propertyName||d.name)){const e=LK(l),t=p.getTypeAtLocation(d.parent);return void 0===e?a:R(t.isUnion()?t.types:[t],(t=>{const n=t.getProperty(e);return n&&xle(p,n,l)}))}const A=mle(p,l);return H(c,A.length?A:xle(p,f,l,_))}function mle(e,t){const n=o5(t);if(n){const r=n&&e.getContextualType(n.parent);if(r)return R(s5(n,e,r,!1),(n=>xle(e,n,t)))}return a}function hle(e,t,n){var r,i;const o=Tle(e.referencedFiles,t);if(o){const t=n.getSourceFileFromReference(e,o);return t&&{reference:o,fileName:t.fileName,file:t,unverified:!1}}const s=Tle(e.typeReferenceDirectives,t);if(s){const t=null==(r=n.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(s,e))?void 0:r.resolvedTypeReferenceDirective,i=t&&n.getSourceFile(t.resolvedFileName);return i&&{reference:s,fileName:i.fileName,file:i,unverified:!1}}const a=Tle(e.libReferenceDirectives,t);if(a){const e=n.getLibFileFromReference(a);return e&&{reference:a,fileName:e.fileName,file:e,unverified:!1}}if(e.imports.length||e.moduleAugmentations.length){const r=jY(e,t);let o;if(tX(r)&&Sa(r.text)&&(o=n.getResolvedModuleFromModuleSpecifier(r,e))){const t=null==(i=o.resolvedModule)?void 0:i.resolvedFileName,s=t||$o(Io(e.fileName),r.text);return{file:n.getSourceFile(s),fileName:s,reference:{pos:r.getStart(),end:r.getEnd(),fileName:r.text},unverified:!t}}}}n(fle,{createDefinitionInfo:()=>Sle,getDefinitionAndBoundSpan:()=>Cle,getDefinitionAtPosition:()=>_le,getReferenceAtPosition:()=>hle,getTypeDefinitionAtPosition:()=>vle});var gle=new Set(["Array","ArrayLike","ReadonlyArray","Promise","PromiseLike","Iterable","IterableIterator","AsyncIterable","Set","WeakSet","ReadonlySet","Map","WeakMap","ReadonlyMap","Partial","Required","Readonly","Pick","Omit"]);function Ale(e,t){if(!t.aliasSymbol)return!1;const n=t.aliasSymbol.name;if(!gle.has(n))return!1;const r=e.resolveName(n,void 0,788968,!1);return!!r&&r===t.aliasSymbol}function yle(e,t,n,r){var i,o;if(4&gb(t)&&function(e,t){const n=t.symbol.name;if(!gle.has(n))return!1;const r=e.resolveName(n,void 0,788968,!1);return!!r&&r===t.target.symbol}(e,t))return ble(e.getTypeArguments(t)[0],e,n,r);if(Ale(e,t)&&t.aliasTypeArguments)return ble(t.aliasTypeArguments[0],e,n,r);if(32&gb(t)&&t.target&&Ale(e,t.target)){const s=null==(o=null==(i=t.aliasSymbol)?void 0:i.declarations)?void 0:o[0];if(s&&KI(s)&&bw(s.type)&&s.type.typeArguments)return ble(e.getTypeAtLocation(s.type.typeArguments[0]),e,n,r)}return[]}function vle(e,t,n){const r=MY(t,n);if(r===t)return;if(u_(r.parent)&&r.parent.name===r)return ble(e.getTypeAtLocation(r.parent),e,r.parent,!1);const{symbol:i,failedAliasResolution:o}=Ele(r,e,!1);if(!i)return;const s=e.getTypeOfSymbolAtLocation(i,r),a=function(e,t,n){if(t.symbol===e||e.valueDeclaration&&t.symbol&&HI(e.valueDeclaration)&&e.valueDeclaration.initializer===t.symbol.valueDeclaration){const e=t.getCallSignatures();if(1===e.length)return n.getReturnTypeOfSignature(me(e))}return}(i,s,e),c=a&&ble(a,e,r,o),[l,u]=c&&0!==c.length?[a,c]:[s,ble(s,e,r,o)];return u.length?[...yle(e,l,r,o),...u]:!(111551&i.flags)&&788968&i.flags?xle(e,sb(i,e),r,o):void 0}function ble(e,t,n,r){return R(!e.isUnion()||32&e.flags?[e]:e.types,(e=>e.symbol&&xle(t,e.symbol,n,r)))}function Cle(e,t,n){const r=_le(e,t,n);if(!r||0===r.length)return;const i=Tle(t.referencedFiles,n)||Tle(t.typeReferenceDirectives,n)||Tle(t.libReferenceDirectives,n);if(i)return{definitions:r,textSpan:wK(i)};const o=MY(t,n);return{definitions:r,textSpan:Va(o.getStart(),o.getWidth())}}function Ele(e,t,n){const r=t.getSymbolAtLocation(e);let i=!1;if((null==r?void 0:r.declarations)&&2097152&r.flags&&!n&&function(e,t){if(80!==e.kind&&(11!==e.kind||!$l(e.parent)))return!1;if(e.parent===t)return!0;if(274===t.kind)return!1;return!0}(e,r.declarations[0])){const e=t.getAliasedSymbol(r);if(e.declarations)return{symbol:e};i=!0}return{symbol:r,failedAliasResolution:i}}function xle(e,t,n,r,i){const o=void 0!==i?S(t.declarations,i):t.declarations,s=!i&&(function(){if(32&t.flags&&!(19&t.flags)&&(Uz(n)||137===n.kind)){const e=A(o,du);return e&&c(e.members,!0)}}()||(Jz(n)||lY(n)?c(o,!1):void 0));if(s)return s;const a=S(o,(e=>!function(e){if(!Um(e))return!1;const t=dc(e,(e=>!!iv(e)||!Um(e)&&"quit"));return!!t&&5===th(t)}(e)));return w(J(a)?a:o,(i=>Sle(i,e,t,n,!1,r)));function c(i,o){if(!i)return;const s=i.filter(o?_w:ru),a=s.filter((e=>!!e.body));return s.length?0!==a.length?a.map((r=>Sle(r,e,t,n))):[Sle(Ae(s),e,t,n,!1,r)]:void 0}}function Sle(e,t,n,r,i,o){const s=t.symbolToString(n),a=Lde.getSymbolKind(t,n,r),c=n.parent?t.symbolToString(n.parent,r):"";return kle(t,e,a,s,c,i,o)}function kle(e,t,n,r,i,o,s,a){const c=t.getSourceFile();if(!a){a=SK(Sc(t)||t,c)}return{fileName:c.fileName,textSpan:a,kind:n,name:r,containerKind:void 0,containerName:i,...kce.toContextSpan(a,c,kce.getContextNode(t)),isLocal:!wle(e,t),isAmbient:!!(33554432&t.flags),unverified:o,failedAliasResolution:s}}function Dle(e,t){const n=kce.getContextNode(e),r=SK(Uce(n)?n.start:n,t);return{fileName:t.fileName,textSpan:r,kind:"keyword",name:"switch",containerKind:void 0,containerName:"",...kce.toContextSpan(r,t,n),isLocal:!0,isAmbient:!1,unverified:!1,failedAliasResolution:void 0}}function wle(e,t){if(e.isDeclarationVisible(t))return!0;if(!t.parent)return!1;if(Td(t.parent)&&t.parent.initializer===t)return wle(e,t.parent);switch(t.kind){case 172:case 177:case 178:case 174:if(Dy(t,2))return!1;case 176:case 303:case 304:case 210:case 231:case 219:case 218:return wle(e,t.parent);default:return!1}}function Ile(e,t,n){return Sle(t,e,t.symbol,t,!1,n)}function Tle(e,t){return A(e,(e=>Ra(e,t)))}function Fle(e,t,n){return{fileName:t,textSpan:Ha(0,0),kind:"script",name:e,containerName:void 0,containerKind:void 0,unverified:n}}var Rle={};n(Rle,{provideInlayHints:()=>Ole});var Ple=e=>new RegExp(`^\\s?/\\*\\*?\\s?${e}\\s?\\*\\/\\s?$`);function Nle(e){return"literals"===e.includeInlayParameterNameHints}function Ble(e){return!0===e.interactiveInlayHints}function Ole(e){const{file:t,program:n,span:r,cancellationToken:i,preferences:o}=e,s=t.text,a=n.getCompilerOptions(),c=KK(t,o),l=n.getTypeChecker(),u=[];return function e(n){if(!n||0===n.getFullWidth())return;switch(n.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 174:case 219:i.throwIfCancellationRequested()}if(!Qa(r,n.pos,n.getFullWidth()))return;if(vu(n)&&!gI(n))return;o.includeInlayVariableTypeHints&&HI(n)||o.includeInlayPropertyDeclarationTypeHints&&uw(n)?_(n):o.includeInlayEnumMemberValueHints&&UT(n)?function(e){if(e.initializer)return;const t=l.getConstantValue(e);void 0!==t&&function(e,t){u.push({text:`= ${e}`,position:t,kind:"Enum",whitespaceBefore:!0})}(t.toString(),e.end)}(n):function(e){return"literals"===e.includeInlayParameterNameHints||"all"===e.includeInlayParameterNameHints}(o)&&(Kw(n)||Xw(n))?function(e){const t=e.arguments;if(!t||!t.length)return;const n=l.getResolvedSignature(e);if(void 0===n)return;let r=0;for(const e of t){const t=sg(e);if(Nle(o)&&!g(t)){r++;continue}let i=0;if(_I(t)){const e=l.getTypeAtLocation(t.expression);if(l.isTupleType(e)){const{elementFlags:t,fixedLength:n}=e.target;if(0===n)continue;const r=v(t,(e=>!(1&e)));(r<0?n:r)>0&&(i=r<0?n:r)}}const s=l.getParameterIdentifierInfoAtPosition(n,r);if(r+=i||1,s){const{parameter:n,parameterName:r,isRestParameter:i}=s;if(!(o.includeInlayParameterNameHintsWhenArgumentMatchesName||!m(t,r))&&!i)continue;const a=mc(r);if(h(t,a))continue;d(a,n,e.getStart(),i)}}}(n):(o.includeInlayFunctionParameterTypeHints&&ou(n)&&Bx(n)&&function(e){const t=l.getSignatureFromDeclaration(e);if(!t)return;for(let n=0;n{const o=l.typePredicateToTypePredicateNode(e,void 0,n);un.assertIsDefined(o,"should always get typePredicateNode"),r.writeNode(4,o,t,i)}))}(e);const n=71286784,r=l.typePredicateToTypePredicateNode(e,void 0,n);return un.assertIsDefined(r,"should always get typenode"),C(r)}(r);if(n)return void p(n,A(e))}const i=l.getReturnTypeOfSignature(n);if(f(i))return;const s=b(i);s&&p(s,A(e))}(n));return OP(n,e)}(t),u;function d(e,t,n,r){let i,s=`${r?"...":""}${e}`;Ble(o)?(i=[x(s,t),{text:":"}],s=""):s+=":",u.push({text:s,position:n,kind:"Parameter",whitespaceAfter:!0,displayParts:i})}function p(e,t){u.push({text:"string"==typeof e?`: ${e}`:"",displayParts:"string"==typeof e?void 0:[{text:": "},...e],position:t,kind:"Type",whitespaceBefore:!0})}function f(e){return e.symbol&&1536&e.symbol.flags}function _(e){if(void 0===e.initializer&&(!uw(e)||1&l.getTypeAtLocation(e).flags)||Cu(e.name)||HI(e)&&!E(e))return;if(_y(e))return;const t=l.getTypeAtLocation(e);if(f(t))return;const n=b(t);if(n){const t="string"==typeof n?n:n.map((e=>e.text)).join("");if(!1===o.includeInlayVariableTypeHintsWhenTypeMatchesName&&mt(e.name.getText(),t))return;p(n,e.name.end)}}function m(e,t){return UD(e)?e.text===t:!!zw(e)&&e.name.text===t}function h(e,n){if(!ma(n,yC(a),uC(t.scriptKind)))return!1;const r=ua(s,e.pos);if(!(null==r?void 0:r.length))return!1;const i=Ple(n);return J(r,(e=>i.test(s.substring(e.pos,e.end))))}function g(e){switch(e.kind){case 224:{const t=e.operand;return Pl(t)||UD(t)&&Ox(t.escapedText)}case 112:case 97:case 106:case 15:case 228:return!0;case 80:{const t=e.escapedText;return function(e){return"undefined"===e}(t)||Ox(t)}}return Pl(e)}function A(e){const n=IY(e,22,t);return n?n.end:e.parameters.end}function y(e){const t=e.valueDeclaration;if(!t||!aw(t))return;const n=l.getTypeOfSymbolAtLocation(e,t);return f(n)?void 0:b(n)}function b(e){if(!Ble(o))return function(e){const n=aU();return op((r=>{const i=l.typeToTypeNode(e,void 0,71286784);un.assertIsDefined(i,"should always get typenode"),n.writeNode(4,i,t,r)}))}(e);const n=l.typeToTypeNode(e,void 0,71286784);return un.assertIsDefined(n,"should always get typeNode"),C(n)}function C(e){const t=[];return n(e),t;function n(e){var s,a;if(!e)return;const c=Is(e.kind);if(c)t.push({text:c});else if(Pl(e))t.push({text:o(e)});else switch(e.kind){case 80:un.assertNode(e,UD);const c=hc(e),l=e.symbol&&e.symbol.declarations&&e.symbol.declarations.length&&Sc(e.symbol.declarations[0]);l?t.push(x(c,l)):t.push({text:c});break;case 166:un.assertNode(e,iw),n(e.left),t.push({text:"."}),n(e.right);break;case 182:un.assertNode(e,vw),e.assertsModifier&&t.push({text:"asserts "}),n(e.parameterName),e.type&&(t.push({text:" is "}),n(e.type));break;case 183:un.assertNode(e,bw),n(e.typeName),e.typeArguments&&(t.push({text:"<"}),i(e.typeArguments,", "),t.push({text:">"}));break;case 168:un.assertNode(e,sw),e.modifiers&&i(e.modifiers," "),n(e.name),e.constraint&&(t.push({text:" extends "}),n(e.constraint)),e.default&&(t.push({text:" = "}),n(e.default));break;case 169:un.assertNode(e,aw),e.modifiers&&i(e.modifiers," "),e.dotDotDotToken&&t.push({text:"..."}),n(e.name),e.questionToken&&t.push({text:"?"}),e.type&&(t.push({text:": "}),n(e.type));break;case 185:un.assertNode(e,Ew),t.push({text:"new "}),r(e),t.push({text:" => "}),n(e.type);break;case 186:un.assertNode(e,xw),t.push({text:"typeof "}),n(e.exprName),e.typeArguments&&(t.push({text:"<"}),i(e.typeArguments,", "),t.push({text:">"}));break;case 187:un.assertNode(e,Sw),t.push({text:"{"}),e.members.length&&(t.push({text:" "}),i(e.members,"; "),t.push({text:" "})),t.push({text:"}"});break;case 188:un.assertNode(e,kw),n(e.elementType),t.push({text:"[]"});break;case 189:un.assertNode(e,Dw),t.push({text:"["}),i(e.elements,", "),t.push({text:"]"});break;case 202:un.assertNode(e,ww),e.dotDotDotToken&&t.push({text:"..."}),n(e.name),e.questionToken&&t.push({text:"?"}),t.push({text:": "}),n(e.type);break;case 190:un.assertNode(e,Iw),n(e.type),t.push({text:"?"});break;case 191:un.assertNode(e,Tw),t.push({text:"..."}),n(e.type);break;case 192:un.assertNode(e,Fw),i(e.types," | ");break;case 193:un.assertNode(e,Rw),i(e.types," & ");break;case 194:un.assertNode(e,Pw),n(e.checkType),t.push({text:" extends "}),n(e.extendsType),t.push({text:" ? "}),n(e.trueType),t.push({text:" : "}),n(e.falseType);break;case 195:un.assertNode(e,Nw),t.push({text:"infer "}),n(e.typeParameter);break;case 196:un.assertNode(e,Bw),t.push({text:"("}),n(e.type),t.push({text:")"});break;case 198:un.assertNode(e,qw),t.push({text:`${Is(e.operator)} `}),n(e.type);break;case 199:un.assertNode(e,$w),n(e.objectType),t.push({text:"["}),n(e.indexType),t.push({text:"]"});break;case 200:un.assertNode(e,Qw),t.push({text:"{ "}),e.readonlyToken&&(40===e.readonlyToken.kind?t.push({text:"+"}):41===e.readonlyToken.kind&&t.push({text:"-"}),t.push({text:"readonly "})),t.push({text:"["}),n(e.typeParameter),e.nameType&&(t.push({text:" as "}),n(e.nameType)),t.push({text:"]"}),e.questionToken&&(40===e.questionToken.kind?t.push({text:"+"}):41===e.questionToken.kind&&t.push({text:"-"}),t.push({text:"?"})),t.push({text:": "}),e.type&&n(e.type),t.push({text:"; }"});break;case 201:un.assertNode(e,Lw),n(e.literal);break;case 184:un.assertNode(e,Cw),r(e),t.push({text:" => "}),n(e.type);break;case 205:un.assertNode(e,Mw),e.isTypeOf&&t.push({text:"typeof "}),t.push({text:"import("}),n(e.argument),e.assertions&&(t.push({text:", { assert: "}),i(e.assertions.assertClause.elements,", "),t.push({text:" }"})),t.push({text:")"}),e.qualifier&&(t.push({text:"."}),n(e.qualifier)),e.typeArguments&&(t.push({text:"<"}),i(e.typeArguments,", "),t.push({text:">"}));break;case 171:un.assertNode(e,lw),(null==(s=e.modifiers)?void 0:s.length)&&(i(e.modifiers," "),t.push({text:" "})),n(e.name),e.questionToken&&t.push({text:"?"}),e.type&&(t.push({text:": "}),n(e.type));break;case 181:un.assertNode(e,yw),t.push({text:"["}),i(e.parameters,", "),t.push({text:"]"}),e.type&&(t.push({text:": "}),n(e.type));break;case 173:un.assertNode(e,dw),(null==(a=e.modifiers)?void 0:a.length)&&(i(e.modifiers," "),t.push({text:" "})),n(e.name),e.questionToken&&t.push({text:"?"}),r(e),e.type&&(t.push({text:": "}),n(e.type));break;case 179:un.assertNode(e,gw),r(e),e.type&&(t.push({text:": "}),n(e.type));break;case 207:un.assertNode(e,Vw),t.push({text:"["}),i(e.elements,", "),t.push({text:"]"});break;case 206:un.assertNode(e,Jw),t.push({text:"{"}),e.elements.length&&(t.push({text:" "}),i(e.elements,", "),t.push({text:" "})),t.push({text:"}"});break;case 208:un.assertNode(e,Hw),n(e.name);break;case 224:un.assertNode(e,cI),t.push({text:Is(e.operator)}),n(e.operand);break;case 203:un.assertNode(e,Uw),n(e.head),e.templateSpans.forEach(n);break;case 16:un.assertNode(e,TD),t.push({text:o(e)});break;case 204:un.assertNode(e,jw),n(e.type),n(e.literal);break;case 17:un.assertNode(e,FD),t.push({text:o(e)});break;case 18:un.assertNode(e,RD),t.push({text:o(e)});break;case 197:un.assertNode(e,Ow),t.push({text:"this"});break;default:un.failBadSyntaxKind(e)}}function r(e){e.typeParameters&&(t.push({text:"<"}),i(e.typeParameters,", "),t.push({text:">"})),t.push({text:"("}),i(e.parameters,", "),t.push({text:")"})}function i(e,r){e.forEach(((e,i)=>{i>0&&t.push({text:r}),n(e)}))}function o(e){switch(e.kind){case 11:return 0===c?`'${bA(e.text,39)}'`:`"${bA(e.text,34)}"`;case 16:case 17:case 18:{const t=e.rawText??pA(bA(e.text,96));switch(e.kind){case 16:return"`"+t+"${";case 17:return"}"+t+"${";case 18:return"}"+t+"`"}}}return e.text}}function E(e){if((Kg(e)||HI(e)&&o_(e))&&e.initializer){const t=sg(e.initializer);return!(g(t)||Xw(t)||Ww(t)||Vu(t))}return!0}function x(e,t){const n=t.getSourceFile();return{text:e,span:SK(t,n),file:n.fileName}}}var qle={};n(qle,{getDocCommentTemplateAtPosition:()=>eue,getJSDocParameterNameCompletionDetails:()=>Zle,getJSDocParameterNameCompletions:()=>Xle,getJSDocTagCompletionDetails:()=>Kle,getJSDocTagCompletions:()=>Yle,getJSDocTagNameCompletionDetails:()=>zle,getJSDocTagNameCompletions:()=>Wle,getJsDocCommentsFromDeclarations:()=>Mle,getJsDocTagsFromDeclarations:()=>Ule});var $le,Qle,Lle=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","import","inheritdoc","inner","instance","interface","kind","lends","license","link","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"];function Mle(e,t){const n=[];return pX(e,(e=>{for(const r of function(e){switch(e.kind){case 341:case 348:return[e];case 338:case 346:return[e,e.parent];case 323:if(AF(e.parent))return[e.parent.parent];default:return Oh(e)}}(e)){const i=sF(r)&&r.tags&&A(r.tags,(e=>327===e.kind&&("inheritDoc"===e.tagName.escapedText||"inheritdoc"===e.tagName.escapedText)));if(void 0===r.comment&&!i||sF(r)&&346!==e.kind&&338!==e.kind&&r.tags&&r.tags.some((e=>346===e.kind||338===e.kind))&&!r.tags.some((e=>341===e.kind||342===e.kind)))continue;let o=r.comment?Hle(r.comment,t):[];i&&i.comment&&(o=o.concat(Hle(i.comment,t))),C(n,o,jle)||n.push(o)}})),F(h(n,[BX()]))}function jle(e,t){return ee(e,t,((e,t)=>e.kind===t.kind&&e.text===t.text))}function Ule(e,t){const n=[];return pX(e,(e=>{const r=ol(e);if(!r.some((e=>346===e.kind||338===e.kind))||r.some((e=>341===e.kind||342===e.kind)))for(const e of r)n.push({name:e.tagName.text,text:Gle(e,t)}),n.push(...Jle(Vle(e),t))})),n}function Jle(e,t){return R(e,(e=>H([{name:e.tagName.text,text:Gle(e,t)}],Jle(Vle(e),t))))}function Vle(e){return Dl(e)&&e.isNameFirst&&e.typeExpression&&aF(e.typeExpression.type)?e.typeExpression.type.jsDocPropertyTags:void 0}function Hle(e,t){return"string"==typeof e?[DX(e)]:R(e,(e=>321===e.kind?[DX(e.text)]:RX(e,t)))}function Gle(e,t){const{comment:n,kind:r}=e,i=function(e){switch(e){case 341:return xX;case 348:return SX;case 345:return IX;case 346:case 338:return wX;default:return DX}}(r);switch(r){case 349:const r=e.typeExpression;return r?o(r):void 0===n?void 0:Hle(n,t);case 329:case 328:return o(e.class);case 345:const s=e,a=[];if(s.constraint&&a.push(DX(s.constraint.getText())),l(s.typeParameters)){l(a)&&a.push(vX());const e=s.typeParameters[s.typeParameters.length-1];u(s.typeParameters,(t=>{a.push(i(t.getText())),e!==t&&a.push(CX(28),vX())}))}return n&&a.push(vX(),...Hle(n,t)),a;case 344:case 350:return o(e.typeExpression);case 346:case 338:case 348:case 341:case 347:const{name:c}=e;return c?o(c):void 0===n?void 0:Hle(n,t);default:return void 0===n?void 0:Hle(n,t)}function o(e){return r=e.getText(),n?r.match(/^https?$/)?[DX(r),...Hle(n,t)]:[i(r),vX(),...Hle(n,t)]:[DX(r)];var r}}function Wle(){return $le||($le=w(Lle,(e=>({name:e,kind:"keyword",kindModifiers:"",sortText:Ese.SortText.LocationPriority}))))}var zle=Kle;function Yle(){return Qle||(Qle=w(Lle,(e=>({name:`@${e}`,kind:"keyword",kindModifiers:"",sortText:Ese.SortText.LocationPriority}))))}function Kle(e){return{name:e,kind:"",kindModifiers:"",displayParts:[DX(e)],documentation:a,tags:void 0,codeActions:void 0}}function Xle(e){if(!UD(e.name))return a;const t=e.name.text,n=e.parent,r=n.parent;return ru(r)?q(r.parameters,(r=>{if(!UD(r.name))return;const i=r.name.text;return n.tags.some((t=>t!==e&&CF(t)&&UD(t.name)&&t.name.escapedText===i))||void 0!==t&&!Wt(i,t)?void 0:{name:i,kind:"parameter",kindModifiers:"",sortText:Ese.SortText.LocationPriority}})):[]}function Zle(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[DX(e)],documentation:a,tags:void 0,codeActions:void 0}}function eue(e,t,n,r){const i=UY(t,n),o=dc(i,sF);if(o&&(void 0!==o.comment||l(o.tags)))return;const s=i.getStart(t);if(!o&&stue(e,t)))}(i,r);if(!a)return;const{commentOwner:c,parameters:u,hasReturn:d}=a,p=ge(wd(c)&&c.jsDoc?c.jsDoc:void 0);if(c.getStart(t){const s=80===e.kind?e.text:"param"+o;return`${n} * @param ${t?i?"{...any} ":"{any} ":""}${s}${r}`})).join("")}(u||[],_,f,e):"")+(d?function(e,t){return`${e} * @returns${t}`}(f,e):""),h=l(ol(c))>0;if(m&&!h){const t="/**"+e+f+" * ";return{newText:t+e+m+f+" */"+(s===n?e+f:""),caretOffset:t.length}}return{newText:"/** */",caretOffset:3}}function tue(e,t){switch(e.kind){case 262:case 218:case 174:case 176:case 173:case 219:const n=e;return{commentOwner:e,parameters:n.parameters,hasReturn:nue(n,t)};case 303:return tue(e.initializer,t);case 263:case 264:case 266:case 306:case 265:return{commentOwner:e};case 171:{const n=e;return n.type&&Cw(n.type)?{commentOwner:e,parameters:n.type.parameters,hasReturn:nue(n.type,t)}:{commentOwner:e}}case 243:{const n=e.declarationList.declarations,r=1===n.length&&n[0].initializer?function(e){for(;217===e.kind;)e=e.expression;switch(e.kind){case 218:case 219:return e;case 231:return A(e.members,_w)}}(n[0].initializer):void 0;return r?{commentOwner:e,parameters:r.parameters,hasReturn:nue(r,t)}:{commentOwner:e}}case 307:return"quit";case 267:return 267===e.parent.kind?void 0:{commentOwner:e};case 244:return tue(e.expression,t);case 226:{const n=e;return 0===th(n)?"quit":ru(n.right)?{commentOwner:e,parameters:n.right.parameters,hasReturn:nue(n.right,t)}:{commentOwner:e}}case 172:const r=e.initializer;if(r&&(nI(r)||rI(r)))return{commentOwner:e,parameters:r.parameters,hasReturn:nue(r,t)}}}function nue(e,t){return!!(null==t?void 0:t.generateReturnInDocTemplate)&&(Cw(e)||rI(e)&&Ju(e.body)||ou(e)&&e.body&&DI(e.body)&&!!D_(e.body,(e=>e)))}var rue={};function iue(e,t,n,r,i,o){return zde.ChangeTracker.with({host:r,formatContext:i,preferences:o},(r=>{const i=t.map((t=>function(e,t){const n=[{parse:()=>LP("__mapcode_content_nodes.ts",t,e.languageVersion,!0,e.scriptKind),body:e=>e.statements},{parse:()=>LP("__mapcode_class_content_nodes.ts",`class __class {\n${t}\n}`,e.languageVersion,!0,e.scriptKind),body:e=>e.statements[0].members}],r=[];for(const{parse:e,body:t}of n){const n=e(),i=t(n);if(i.length&&0===n.parseDiagnostics.length)return i;i.length&&r.push({sourceFile:n,body:i})}r.sort(((e,t)=>e.sourceFile.parseDiagnostics.length-t.sourceFile.parseDiagnostics.length));const{body:i}=r[0];return i}(e,t))),o=n&&F(n);for(const t of i)oue(e,r,t,o)}))}function oue(e,t,n,r){uu(n[0])||gu(n[0])?function(e,t,n,r){let i;i=r&&r.length?u(r,(t=>dc(UY(e,t.start),Zt(du,YI)))):A(e.statements,Zt(du,YI));if(!i)return;const o=i.members.find((e=>n.some((t=>sue(t,e)))));if(o){const r=y(i.members,(e=>n.some((t=>sue(t,e)))));return u(n,aue),void t.replaceNodeRangeWithNodes(e,o,r,n)}u(n,aue),t.insertNodesAfter(e,i.members[i.members.length-1],n)}(e,t,n,r):function(e,t,n,r){if(!(null==r?void 0:r.length))return void t.insertNodesAtEndOfFile(e,n,!1);for(const i of r){const r=dc(UY(e,i.start),(e=>Zt(DI,JT)(e)&&J(e.statements,(e=>n.some((t=>sue(t,e)))))));if(r){const i=r.statements.find((e=>n.some((t=>sue(t,e)))));if(i){const o=y(r.statements,(e=>n.some((t=>sue(t,e)))));return u(n,aue),void t.replaceNodeRangeWithNodes(e,i,o,n)}}}let i=e.statements;for(const t of r){const n=dc(UY(e,t.start),DI);if(n){i=n.statements;break}}u(n,aue),t.insertNodesAfter(e,i[i.length-1],n)}(e,t,n,r)}function sue(e,t){var n,r,i,o,s,a;return e.kind===t.kind&&(176===e.kind?e.kind===t.kind:Ec(e)&&Ec(t)?e.name.getText()===t.name.getText():FI(e)&&FI(t)||PI(e)&&PI(t)?e.expression.getText()===t.expression.getText():NI(e)&&NI(t)?(null==(n=e.initializer)?void 0:n.getText())===(null==(r=t.initializer)?void 0:r.getText())&&(null==(i=e.incrementor)?void 0:i.getText())===(null==(o=t.incrementor)?void 0:o.getText())&&(null==(s=e.condition)?void 0:s.getText())===(null==(a=t.condition)?void 0:a.getText()):Ku(e)&&Ku(t)?e.expression.getText()===t.expression.getText()&&e.initializer.getText()===t.initializer.getText():jI(e)&&jI(t)?e.label.getText()===t.label.getText():e.getText()===t.getText())}function aue(e){cue(e),e.parent=void 0}function cue(e){e.pos=-1,e.end=-1,e.forEachChild(cue)}n(rue,{mapCode:()=>iue});var lue={};function uue(e,t,n,r,i,o){const s=zde.ChangeTracker.fromContext({host:n,formatContext:t,preferences:i}),a="SortAndCombine"===o||"All"===o,c=a,u="RemoveUnused"===o||"All"===o,d=e.statements.filter(iT),p=pue(e,d),{comparersToTest:f,typeOrdersToTest:_}=due(i),m=f[0],h={moduleSpecifierComparer:"boolean"==typeof i.organizeImportsIgnoreCase?m:void 0,namedImportComparer:"boolean"==typeof i.organizeImportsIgnoreCase?m:void 0,typeOrder:i.organizeImportsTypeOrder};if("boolean"!=typeof i.organizeImportsIgnoreCase&&({comparer:h.moduleSpecifierComparer}=xue(p,f)),!h.typeOrder||"boolean"!=typeof i.organizeImportsIgnoreCase){const e=Sue(d,f,_);if(e){const{namedImportComparer:t,typeOrder:n}=e;h.namedImportComparer=h.namedImportComparer??t,h.typeOrder=h.typeOrder??n}}p.forEach((e=>A(e,h))),"RemoveUnused"!==o&&function(e){const t=[],n=e.statements,r=l(n);let i=0,o=0;for(;ipue(e,t)))}(e).forEach((e=>y(e,h.namedImportComparer)));for(const t of e.statements.filter(cf)){if(!t.body)continue;if(pue(e,t.body.statements.filter(iT)).forEach((e=>A(e,h))),"RemoveUnused"!==o){y(t.body.statements.filter(hT),h.namedImportComparer)}}return s.getChanges();function g(r,i){if(0===l(r))return;ik(r[0],1024);const o=c?Qe(r,(e=>_ue(e.moduleSpecifier))):[r],u=R(a?le(o,((e,t)=>vue(e[0].moduleSpecifier,t[0].moduleSpecifier,h.moduleSpecifierComparer??m))):o,(e=>_ue(e[0].moduleSpecifier)||void 0===e[0].moduleSpecifier?i(e):e));if(0===u.length)s.deleteNodes(e,r,{leadingTriviaOption:zde.LeadingTriviaOption.Exclude,trailingTriviaOption:zde.TrailingTriviaOption.Include},!0);else{const i={leadingTriviaOption:zde.LeadingTriviaOption.Exclude,trailingTriviaOption:zde.TrailingTriviaOption.Include,suffix:NX(n,t.options)};s.replaceNodeWithNodes(e,r[0],u,i);const o=s.nodeHasTrailingComment(e,r[0],i);s.deleteNodes(e,r.slice(1),{trailingTriviaOption:zde.TrailingTriviaOption.Include},o)}}function A(t,n){const i=n.moduleSpecifierComparer??m,o=n.namedImportComparer??m,s=Pue({organizeImportsTypeOrder:n.typeOrder??"last"},o);g(t,(t=>(u&&(t=function(e,t,n){const r=n.getTypeChecker(),i=n.getCompilerOptions(),o=r.getJsxNamespace(t),s=r.getJsxFragmentFactory(t),a=!!(2&t.transformFlags),c=[];for(const n of e){const{importClause:e,moduleSpecifier:r}=n;if(!e){c.push(n);continue}let{name:i,namedBindings:o}=e;if(i&&!l(i)&&(i=void 0),o)if(dT(o))l(o.name)||(o=void 0);else{const e=o.elements.filter((e=>l(e.name)));e.lengthque(e,t,i)))),t)))}function y(e,t){const n=Pue(i,t);g(e,(e=>gue(e,n)))}}function due(e){return{comparersToTest:"boolean"==typeof e.organizeImportsIgnoreCase?[Fue(e,e.organizeImportsIgnoreCase)]:[Fue(e,!0),Fue(e,!1)],typeOrdersToTest:e.organizeImportsTypeOrder?[e.organizeImportsTypeOrder]:["last","inline","first"]}}function pue(e,t){const n=ha(e.languageVersion,!1,e.languageVariant),r=[];let i=0;for(const o of t)r[i]&&fue(e,o,n)&&i++,r[i]||(r[i]=[]),r[i].push(o);return r}function fue(e,t,n){const r=t.getFullStart(),i=t.getStart();n.setText(e.text,r,i-r);let o=0;for(;n.getTokenStart()=2))return!0}return!1}function _ue(e){return void 0!==e&&Od(e)?e.text:void 0}function mue(e){let t;const n={defaultImports:[],namespaceImports:[],namedImports:[]},r={defaultImports:[],namespaceImports:[],namedImports:[]};for(const i of e){if(void 0===i.importClause){t=t||i;continue}const e=i.importClause.isTypeOnly?n:r,{name:o,namedBindings:s}=i.importClause;o&&e.defaultImports.push(i),s&&(dT(s)?e.namespaceImports.push(i):e.namedImports.push(i))}return{importWithoutClause:t,typeOnlyImports:n,regularImports:r}}function hue(e,t,n,r){if(0===e.length)return e;const i=Le(e,(e=>{if(e.attributes){let t=e.attributes.token+" ";for(const n of le(e.attributes.elements,((e,t)=>xt(e.name.text,t.name.text))))t+=n.name.text+":",t+=Od(n.value)?`"${n.value.text}"`:n.value.getText()+" ";return t}return""})),o=[];for(const e in i){const s=i[e],{importWithoutClause:c,typeOnlyImports:l,regularImports:u}=mue(s);c&&o.push(c);for(const e of[u,l]){const i=e===l,{defaultImports:s,namespaceImports:c,namedImports:u}=e;if(!i&&1===s.length&&1===c.length&&0===u.length){const e=s[0];o.push(Aue(e,e.importClause.name,c[0].importClause.namedBindings));continue}const d=le(c,((e,n)=>t(e.importClause.namedBindings.name.text,n.importClause.namedBindings.name.text)));for(const e of d)o.push(Aue(e,void 0,e.importClause.namedBindings));const p=fe(s),f=fe(u),_=p??f;if(!_)continue;let m;const h=[];if(1===s.length)m=s[0].importClause.name;else for(const e of s)h.push(XS.createImportSpecifier(!1,XS.createIdentifier("default"),e.importClause.name));h.push(...Eue(u));const g=XS.createNodeArray(le(h,n),null==f?void 0:f.importClause.namedBindings.elements.hasTrailingComma),A=0===g.length?m?void 0:XS.createNamedImports(a):f?XS.updateNamedImports(f.importClause.namedBindings,g):XS.createNamedImports(g);r&&A&&(null==f?void 0:f.importClause.namedBindings)&&!Qv(f.importClause.namedBindings,r)&&ik(A,2),i&&m&&A?(o.push(Aue(_,m,void 0)),o.push(Aue(f??_,void 0,A))):o.push(Aue(_,m,A))}}return o}function gue(e,t){if(0===e.length)return e;const{exportWithoutClause:n,namedExports:r,typeOnlyExports:i}=function(e){let t;const n=[],r=[];for(const i of e)void 0===i.exportClause?t=t||i:i.isTypeOnly?r.push(i):n.push(i);return{exportWithoutClause:t,namedExports:n,typeOnlyExports:r}}(e),o=[];n&&o.push(n);for(const e of[r,i]){if(0===e.length)continue;const n=[];n.push(...R(e,(e=>e.exportClause&&gT(e.exportClause)?e.exportClause.elements:a)));const r=le(n,t),i=e[0];o.push(XS.updateExportDeclaration(i,i.modifiers,i.isTypeOnly,i.exportClause&&(gT(i.exportClause)?XS.updateNamedExports(i.exportClause,r):XS.updateNamespaceExport(i.exportClause,i.exportClause.name)),i.moduleSpecifier,i.attributes))}return o}function Aue(e,t,n){return XS.updateImportDeclaration(e,e.modifiers,XS.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,n),e.moduleSpecifier,e.attributes)}function yue(e,t,n,r){switch(null==r?void 0:r.organizeImportsTypeOrder){case"first":return Pt(t.isTypeOnly,e.isTypeOnly)||n(e.name.text,t.name.text);case"inline":return n(e.name.text,t.name.text);default:return Pt(e.isTypeOnly,t.isTypeOnly)||n(e.name.text,t.name.text)}}function vue(e,t,n){const r=void 0===e?void 0:_ue(e),i=void 0===t?void 0:_ue(t);return Pt(void 0===r,void 0===i)||Pt(Sa(r),Sa(i))||n(r,i)}function bue(e){var t;switch(e.kind){case 271:return null==(t=et(e.moduleReference,ET))?void 0:t.expression;case 272:return e.moduleSpecifier;case 243:return e.declarationList.declarations[0].initializer.arguments[0]}}function Cue(e,t){const n=kD(t)&&t.text;return Xe(n)&&J(e.moduleAugmentations,(e=>kD(e)&&e.text===n))}function Eue(e){return R(e,(e=>w(function(e){var t;return(null==(t=e.importClause)?void 0:t.namedBindings)&&fT(e.importClause.namedBindings)?e.importClause.namedBindings.elements:void 0}(e),(e=>e.name&&e.propertyName&&Hp(e.name)===Hp(e.propertyName)?XS.updateImportSpecifier(e,e.isTypeOnly,void 0,e.name):e))))}function xue(e,t){const n=[];return e.forEach((e=>{n.push(e.map((e=>_ue(bue(e))||"")))})),Due(n,t)}function Sue(e,t,n){let r=!1;const i=e.filter((e=>{var t,n;const i=null==(n=et(null==(t=e.importClause)?void 0:t.namedBindings,fT))?void 0:n.elements;return!!(null==i?void 0:i.length)&&(!r&&i.some((e=>e.isTypeOnly))&&i.some((e=>!e.isTypeOnly))&&(r=!0),!0)}));if(0===i.length)return;const o=i.map((e=>{var t,n;return null==(n=et(null==(t=e.importClause)?void 0:t.namedBindings,fT))?void 0:n.elements})).filter((e=>void 0!==e));if(!r||0===n.length){const e=Due(o.map((e=>e.map((e=>e.name.text)))),t);return{namedImportComparer:e.comparer,typeOrder:1===n.length?n[0]:void 0,isSorted:e.isSorted}}const s={first:1/0,last:1/0,inline:1/0},a={first:t[0],last:t[0],inline:t[0]};for(const e of t){const t={first:0,last:0,inline:0};for(const r of o)for(const i of n)t[i]=(t[i]??0)+kue(r,((t,n)=>yue(t,n,e,{organizeImportsTypeOrder:i})));for(const r of n){const n=r;t[n]0&&n++;return n}function Due(e,t){let n,r=1/0;for(const i of t){let t=0;for(const n of e){if(n.length<=1)continue;t+=kue(n,i)}tyue(t,r,n,e)}function Nue(e,t,n){const{comparersToTest:r,typeOrdersToTest:i}=due(t),o=Sue([e],r,i);let s,a=Pue(t,r[0]);if("boolean"!=typeof t.organizeImportsIgnoreCase||!t.organizeImportsTypeOrder)if(o){const{namedImportComparer:e,typeOrder:t,isSorted:n}=o;s=n,a=Pue({organizeImportsTypeOrder:t},e)}else if(n){const e=Sue(n.statements.filter(iT),r,i);if(e){const{namedImportComparer:t,typeOrder:n,isSorted:r}=e;s=r,a=Pue({organizeImportsTypeOrder:n},t)}}return{specifierComparer:a,isSorted:s}}function Bue(e,t,n){const r=Ee(e,t,st,((e,t)=>que(e,t,n)));return r<0?~r:r}function Oue(e,t,n){const r=Ee(e,t,st,n);return r<0?~r:r}function que(e,t,n){return vue(bue(e),bue(t),n)||function(e,t){return At(wue(e),wue(t))}(e,t)}function $ue(e,t,n,r){const i=Iue(t);return hue(e,i,Pue({organizeImportsTypeOrder:null==r?void 0:r.organizeImportsTypeOrder},i),n)}function Que(e,t,n){return gue(e,((e,r)=>yue(e,r,Iue(t),{organizeImportsTypeOrder:(null==n?void 0:n.organizeImportsTypeOrder)??"last"})))}function Lue(e,t,n){return vue(e,t,Iue(!!n))}n(lue,{compareImportsOrRequireStatements:()=>que,compareModuleSpecifiers:()=>Lue,getImportDeclarationInsertionIndex:()=>Bue,getImportSpecifierInsertionIndex:()=>Oue,getNamedImportSpecifierComparerWithDetection:()=>Nue,getOrganizeImportsStringComparerWithDetection:()=>Rue,organizeImports:()=>uue,testCoalesceExports:()=>Que,testCoalesceImports:()=>$ue});var Mue={};function jue(e,t){const n=[];return function(e,t,n){let r=40,i=0;const o=[...e.statements,e.endOfFileToken],s=o.length;for(;i...")}function s(e){const n=Ha(e.openingFragment.getStart(t),e.closingFragment.getEnd());return zue(n,"code",n,!1,"<>...")}function a(e){if(0!==e.properties.length)return Gue(e.getStart(t),e.getEnd(),"code")}function c(e){if(15!==e.kind||0!==e.text.length)return Gue(e.getStart(t),e.getEnd(),"code")}function l(e,t=19){return u(e,!1,!Gw(e.parent)&&!Kw(e.parent),t)}function u(n,r=!1,i=!0,o=19,s=(19===o?20:24)){const a=IY(e,o,t),c=IY(e,s,t);return a&&c&&Wue(a,c,n,t,r,i)}function d(e){return e.length?zue(wK(e),"code"):void 0}function p(e){if(Gv(e.getStart(),e.getEnd(),t))return;return zue(Ha(e.getStart(),e.getEnd()),"code",SK(e))}}(i,e);s&&n.push(s),r--,Kw(i)?(r++,a(i.expression),r--,i.arguments.forEach(a),null==(o=i.typeArguments)||o.forEach(a)):FI(i)&&i.elseStatement&&FI(i.elseStatement)?(a(i.expression),a(i.thenStatement),r++,a(i.elseStatement),r--):i.forEachChild(a),r++}}(e,t,n),function(e,t){const n=[],r=e.getLineStarts();for(const i of r){const r=e.getLineEndOfPosition(i),o=Jue(e.text.substring(i,r));if(o&&!cK(e,i))if(o.isStart){const t=Ha(e.text.indexOf("//",i),r);n.push(zue(t,"region",t,!1,o.name||"#region"))}else{const e=n.pop();e&&(e.textSpan.length=r-e.textSpan.start,e.hintSpan.length=r-e.textSpan.start,t.push(e))}}}(e,n),n.sort(((e,t)=>e.textSpan.start-t.textSpan.start)),n}n(Mue,{collectElements:()=>jue});var Uue=/^#(end)?region(.*)\r?$/;function Jue(e){if(!Wt(e=e.trimStart(),"//"))return null;e=e.slice(2).trim();const t=Uue.exec(e);return t?{isStart:!t[1],name:t[2].trim()}:void 0}function Vue(e,t,n,r){const i=ua(t.text,e);if(!i)return;let o=-1,s=-1,a=0;const c=t.getFullText();for(const{kind:e,pos:t,end:u}of i)switch(n.throwIfCancellationRequested(),e){case 2:if(Jue(c.slice(t,u))){l(),a=0;break}0===a&&(o=t),s=u,a++;break;case 3:l(),r.push(Gue(t,u,"comment")),a=0;break;default:un.assertNever(e)}function l(){a>1&&r.push(Gue(o,s,"comment"))}l()}function Hue(e,t,n,r){DD(e)||Vue(e.pos,t,n,r)}function Gue(e,t,n){return zue(Ha(e,t),n)}function Wue(e,t,n,r,i=!1,o=!0){return zue(Ha(o?e.getFullStart():e.getStart(r),t.getEnd()),"code",SK(n,r),i)}function zue(e,t,n=e,r=!1,i="..."){return{textSpan:e,kind:t,hintSpan:n,bannerText:i,autoCollapse:r}}var Yue={};function Kue(e,t,n,r){const i=LY(MY(t,n));if(nde(i)){const n=function(e,t,n,r,i){const o=t.getSymbolAtLocation(e);if(!o){if(Od(e)){const r=NY(e,t);if(r&&(128&r.flags||1048576&r.flags&&g(r.types,(e=>!!(128&e.flags)))))return Zue(e.text,e.text,"string","",e,n)}else if(rY(e)){const t=zp(e);return Zue(t,t,"label","",e,n)}return}const{declarations:s}=o;if(!s||0===s.length)return;if(s.some((e=>function(e,t){const n=t.getSourceFile();return e.isSourceFileDefaultLibrary(n)&&Eo(n.fileName,".d.ts")}(r,e))))return ede(us.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(UD(e)&&"default"===e.escapedText&&o.parent&&1536&o.parent.flags)return;if(Od(e)&&vh(e))return i.allowRenameOfImportPath?function(e,t,n){if(!Sa(e.text))return ede(us.You_cannot_rename_a_module_via_a_global_import);const r=n.declarations&&A(n.declarations,JT);if(!r)return;const i=Ot(e.text,"/index")||Ot(e.text,"/index.js")?void 0:$t(UE(r.fileName),"/index"),o=void 0===i?r.fileName:i,s=void 0===i?"module":"directory",a=e.text.lastIndexOf("/")+1,c=Va(e.getStart(t)+1+a,e.text.length-a);return{canRename:!0,fileToRename:o,kind:s,displayName:o,fullDisplayName:e.text,kindModifiers:"",triggerSpan:c}}(e,n,o):void 0;const a=function(e,t,n,r){if(!r.providePrefixAndSuffixTextForRename&&2097152&t.flags){const e=t.declarations&&A(t.declarations,(e=>_T(e)));e&&!e.propertyName&&(t=n.getAliasedSymbol(t))}const{declarations:i}=t;if(!i)return;const o=Xue(e.path);if(void 0===o)return J(i,(e=>$Z(e.getSourceFile().path)))?us.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const e of i){const t=Xue(e.getSourceFile().path);if(t){const e=Math.min(o.length,t.length);for(let n=0;n<=e;n++)if(0!==xt(o[n],t[n]))return us.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}return}(n,o,t,i);if(a)return ede(a);const c=Lde.getSymbolKind(t,o,e),l=LX(e)||Og(e)&&167===e.parent.kind?IA(jg(e)):void 0,u=l||t.symbolToString(o),d=l||t.getFullyQualifiedName(o);return Zue(u,d,c,Lde.getSymbolModifiers(t,o),e,n)}(i,e.getTypeChecker(),t,e,r);if(n)return n}return ede(us.You_cannot_rename_this_element)}function Xue(e){const t=Po(e),n=t.lastIndexOf("node_modules");if(-1!==n)return t.slice(0,n+2)}function Zue(e,t,n,r,i,o){return{canRename:!0,fileToRename:void 0,kind:n,displayName:e,fullDisplayName:t,kindModifiers:r,triggerSpan:tde(i,o)}}function ede(e){return{canRename:!1,localizedErrorMessage:Vb(e)}}function tde(e,t){let n=e.getStart(t),r=e.getWidth(t);return Od(e)&&(n+=1,r-=2),Va(n,r)}function nde(e){switch(e.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return uY(e);default:return!1}}n(Yue,{getRenameInfo:()=>Kue,nodeIsEligibleForRename:()=>nde});var rde={};function ide(e,t,n,r,i){const o=e.getTypeChecker(),s=HY(t,n);if(!s)return;const a=!!r&&"characterTyped"===r.kind;if(a&&(XY(t,n,s)||cK(t,n)))return;const c=!!r&&"invoked"===r.kind,l=function(e,t,n,r,i){for(let o=e;!JT(o)&&(i||!DI(o));o=o.parent){un.assert(Kv(o.parent,o),"Not a subspan",(()=>`Child: ${un.formatSyntaxKind(o.kind)}, parent: ${un.formatSyntaxKind(o.parent.kind)}`));const e=lde(o,t,n,r);if(e)return e}return}(s,n,t,o,c);if(!l)return;i.throwIfCancellationRequested();const u=function({invocation:e,argumentCount:t},n,r,i,o){switch(e.kind){case 0:{if(o&&!function(e,t,n){if(!Ou(t))return!1;const r=t.getChildren(n);switch(e.kind){case 21:return C(r,e);case 28:{const t=TY(e);return!!t&&C(r,t)}case 30:return ode(e,n,t.expression);default:return!1}}(i,e.node,r))return;const s=[],a=n.getResolvedSignatureForSignatureHelp(e.node,s,t);return 0===s.length?void 0:{kind:0,candidates:s,resolvedSignature:a}}case 1:{const{called:s}=e;if(o&&!ode(i,r,UD(s)?s.parent:s))return;const a=sK(s,t,n);if(0!==a.length)return{kind:0,candidates:a,resolvedSignature:me(a)};const c=n.getSymbolAtLocation(s);return c&&{kind:1,symbol:c}}case 2:return{kind:0,candidates:[e.signature],resolvedSignature:e.signature};default:return un.assertNever(e)}}(l,o,t,s,a);return i.throwIfCancellationRequested(),u?o.runWithCancellationToken(i,(e=>0===u.kind?Cde(u.candidates,u.resolvedSignature,l,t,e):function(e,{argumentCount:t,argumentsSpan:n,invocation:r,argumentIndex:i},o,s){const a=s.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(!a)return;const c=[Ede(e,a,s,vde(r),o)];return{items:c,applicableSpan:n,selectedItemIndex:0,argumentIndex:i,argumentCount:t}}(u.symbol,l,t,e))):Im(t)?function(e,t,n){if(2===e.invocation.kind)return;const r=yde(e.invocation),i=zw(r)?r.name.text:void 0,o=t.getTypeChecker();return void 0===i?void 0:p(t.getSourceFiles(),(t=>p(t.getNamedDeclarations().get(i),(r=>{const i=r.symbol&&o.getTypeOfSymbolAtLocation(r.symbol,r),s=i&&i.getCallSignatures();if(s&&s.length)return o.runWithCancellationToken(n,(n=>Cde(s,s[0],e,t,n,!0)))}))))}(l,e,i):void 0}function ode(e,t,n){const r=e.getFullStart();let i=e.parent;for(;i;){const e=WY(r,t,i,!0);if(e)return Kv(n,e);i=i.parent}return un.fail("Could not find preceding token")}function sde(e,t,n,r){const i=cde(e,t,n,r);return!i||i.isTypeParameterList||0!==i.invocation.kind?void 0:{invocation:i.invocation.node,argumentCount:i.argumentCount,argumentIndex:i.argumentIndex}}function ade(e,t,n,r){const i=function(e,t,n){if(30===e.kind||21===e.kind)return{list:Ade(e.parent,e,t),argumentIndex:0};{const t=TY(e);return t&&{list:t,argumentIndex:_de(n,t,e)}}}(e,n,r);if(!i)return;const{list:o,argumentIndex:s}=i,a=function(e,t){return mde(e,t,void 0)}(r,o),c=function(e,t){const n=e.getFullStart(),r=Ks(t.text,e.getEnd(),!1);return Va(n,r-n)}(o,n);return{list:o,argumentIndex:s,argumentCount:a,argumentsSpan:c}}function cde(e,t,n,r){const{parent:i}=e;if(Ou(i)){const t=i,o=ade(e,0,n,r);if(!o)return;const{list:s,argumentIndex:a,argumentCount:c,argumentsSpan:l}=o;return{isTypeParameterList:!!i.typeArguments&&i.typeArguments.pos===s.pos,invocation:{kind:0,node:t},argumentsSpan:l,argumentIndex:a,argumentCount:c}}if(ID(e)&&Zw(i))return gK(e,t,n)?hde(i,0,n):void 0;if(TD(e)&&215===i.parent.kind){const r=i,o=r.parent;un.assert(228===r.kind);return hde(o,gK(e,t,n)?0:1,n)}if(SI(i)&&Zw(i.parent.parent)){const r=i,o=i.parent.parent;if(RD(e)&&!gK(e,t,n))return;const s=function(e,t,n,r){if(un.assert(n>=t.getStart(),"Assumed 'position' could not occur before node."),Ol(t))return gK(t,n,r)?0:e+2;return e+1}(r.parent.templateSpans.indexOf(r),e,t,n);return hde(o,s,n)}if(vd(i)){const e=i.attributes.pos;return{isTypeParameterList:!1,invocation:{kind:0,node:i},argumentsSpan:Va(e,Ks(n.text,i.attributes.end,!1)-e),argumentIndex:0,argumentCount:1}}{const t=aK(e,n);if(t){const{called:r,nTypeArguments:i}=t;return{isTypeParameterList:!0,invocation:{kind:1,called:r},argumentsSpan:Ha(r.getStart(n),e.end),argumentIndex:i,argumentCount:i+1}}return}}function lde(e,t,n,r){return function(e,t,n,r){const i=function(e){switch(e.kind){case 21:case 28:return e;default:return dc(e.parent,(e=>!!aw(e)||!(Hw(e)||Jw(e)||Vw(e))&&"quit"))}}(e);if(void 0===i)return;const o=function(e,t,n,r){const{parent:i}=e;switch(i.kind){case 217:case 174:case 218:case 219:const n=ade(e,0,t,r);if(!n)return;const{argumentIndex:o,argumentCount:s,argumentsSpan:a}=n,c=pw(i)?r.getContextualTypeForObjectLiteralElement(i):r.getContextualType(i);return c&&{contextualType:c,argumentIndex:o,argumentCount:s,argumentsSpan:a};case 226:{const t=ude(i),n=r.getContextualType(t),o=21===e.kind?0:dde(i)-1,s=dde(t);return n&&{contextualType:n,argumentIndex:o,argumentCount:s,argumentsSpan:SK(i)}}default:return}}(i,n,0,r);if(void 0===o)return;const{contextualType:s,argumentIndex:a,argumentCount:c,argumentsSpan:l}=o,u=s.getNonNullableType(),d=u.symbol;if(void 0===d)return;const p=ge(u.getCallSignatures());if(void 0===p)return;return{isTypeParameterList:!1,invocation:{kind:2,signature:p,node:e,symbol:pde(d)},argumentsSpan:l,argumentIndex:a,argumentCount:c}}(e,0,n,r)||cde(e,t,n,r)}function ude(e){return uI(e.parent)?ude(e.parent):e}function dde(e){return uI(e.left)?dde(e.left)+1:2}function pde(e){return"__type"===e.name&&p(e.declarations,(e=>{var t;return Cw(e)?null==(t=et(e.parent,sd))?void 0:t.symbol:void 0}))||e}function fde(e,t){const n=t.getTypeAtLocation(e.expression);if(t.isTupleType(n)){const{elementFlags:e,fixedLength:t}=n.target;if(0===t)return 0;const r=v(e,(e=>!(1&e)));return r<0?t:r}return 0}function _de(e,t,n){return mde(e,t,n)}function mde(e,t,n){const r=t.getChildren();let i=0,o=!1;for(const t of r){if(n&&t===n)return o||28!==t.kind||i++,i;_I(t)?(i+=fde(t,e),o=!0):28===t.kind?o?o=!1:i++:(i++,o=!0)}return n?i:r.length&&28===Ae(r).kind?i+1:i}function hde(e,t,n){const r=ID(e.template)?1:e.template.templateSpans.length+1;return 0!==t&&un.assertLessThan(t,r),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:gde(e,n),argumentIndex:t,argumentCount:r}}function gde(e,t){const n=e.template,r=n.getStart();let i=n.getEnd();if(228===n.kind){0===Ae(n.templateSpans).literal.getFullWidth()&&(i=Ks(t.text,i,!1))}return Va(r,i-r)}function Ade(e,t,n){const r=e.getChildren(n),i=r.indexOf(t);return un.assert(i>=0&&r.length>i+1),r[i+1]}function yde(e){return 0===e.kind?dm(e.node):e.called}function vde(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}n(rde,{getArgumentInfoForCompletions:()=>sde,getSignatureHelpItems:()=>ide});var bde=70246400;function Cde(e,t,{isTypeParameterList:n,argumentCount:r,argumentsSpan:i,invocation:o,argumentIndex:s},c,l,u){var d;const p=vde(o),f=2===o.kind?o.symbol:l.getSymbolAtLocation(yde(o))||u&&(null==(d=t.declaration)?void 0:d.symbol),_=f?$X(l,f,u?c:void 0,void 0):a,m=w(e,(e=>function(e,t,n,r,i,o){const s=(n?kde:Dde)(e,r,i,o);return w(s,(({isVariadic:n,parameters:o,prefix:s,suffix:a})=>{const c=[...t,...s],l=[...a,...Sde(e,i,r)],u=e.getDocumentationComment(r),d=e.getJsDocTags();return{isVariadic:n,prefixDisplayParts:c,suffixDisplayParts:l,separatorDisplayParts:xde,parameters:o,documentation:u,tags:d}}))}(e,_,n,l,p,c)));let h=0,g=0;for(let n=0;n1)){let e=0;for(const t of i){if(t.isVariadic||t.parameters.length>=r){h=g+e;break}e++}}g+=i.length}un.assert(-1!==h);const A={items:P(m,st),applicableSpan:i,selectedItemIndex:h,argumentIndex:s,argumentCount:r},y=A.items[h];if(y.isVariadic){const e=v(y.parameters,(e=>!!e.isRest));-1wde(e,n,r,i,s))),c=e.getDocumentationComment(n),l=e.getJsDocTags(n);return{isVariadic:!1,prefixDisplayParts:[...o,CX(30)],suffixDisplayParts:[CX(32)],separatorDisplayParts:xde,parameters:a,documentation:c,tags:l}}var xde=[CX(28),vX()];function Sde(e,t,n){return OX((r=>{r.writePunctuation(":"),r.writeSpace(" ");const i=n.getTypePredicateOfSignature(e);i?n.writeTypePredicate(i,t,void 0,r):n.writeType(n.getReturnTypeOfSignature(e),t,void 0,r)}))}function kde(e,t,n,r){const i=(e.target||e).typeParameters,o=aU(),s=(i||a).map((e=>wde(e,t,n,r,o))),c=e.thisParameter?[t.symbolToParameterDeclaration(e.thisParameter,n,bde)]:[];return t.getExpandedParameters(e).map((e=>{const i=XS.createNodeArray([...c,...w(e,(e=>t.symbolToParameterDeclaration(e,n,bde)))]),a=OX((e=>{o.writeList(2576,i,r,e)}));return{isVariadic:!1,parameters:s,prefix:[CX(30)],suffix:[CX(32),...a]}}))}function Dde(e,t,n,r){const i=aU(),o=OX((o=>{if(e.typeParameters&&e.typeParameters.length){const s=XS.createNodeArray(e.typeParameters.map((e=>t.typeParameterToDeclaration(e,n,bde))));i.writeList(53776,s,r,o)}})),s=t.getExpandedParameters(e),a=t.hasEffectiveRestParameter(e)?1===s.length?e=>!0:e=>{var t;return!!(e.length&&32768&(null==(t=et(e[e.length-1],zd))?void 0:t.links.checkFlags))}:e=>!1;return s.map((e=>({isVariadic:a(e),parameters:e.map((e=>function(e,t,n,r,i){const o=OX((o=>{const s=t.symbolToParameterDeclaration(e,n,bde);i.writeNode(4,s,r,o)})),s=t.isOptionalParameter(e.valueDeclaration),a=zd(e)&&!!(32768&e.links.checkFlags);return{name:e.name,documentation:e.getDocumentationComment(t),displayParts:o,isOptional:s,isRest:a}}(e,t,n,r,i))),prefix:[...o,CX(21)],suffix:[CX(22)]})))}function wde(e,t,n,r,i){const o=OX((o=>{const s=t.typeParameterToDeclaration(e,n,bde);i.writeNode(4,s,r,o)}));return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(t),displayParts:o,isOptional:!1,isRest:!1}}var Ide={};function Tde(e,t){var n,r;let i={textSpan:Ha(t.getFullStart(),t.getEnd())},o=t;e:for(;;){const i=Pde(o);if(!i.length)break;for(let c=0;ce)break e;const p=ye(da(t.text,u.end));if(p&&2===p.kind&&a(p.pos,p.end),Fde(t,e,u)){if(Zu(u)&&ou(o)&&!Gv(u.getStart(t),u.getEnd(),t)&&s(u.getStart(t),u.getEnd()),DI(u)||SI(u)||TD(u)||RD(u)||l&&TD(l)||GI(u)&&wI(o)||NF(u)&&GI(o)||HI(u)&&NF(o)&&1===i.length||HT(u)||cF(u)||aF(u)){o=u;break}if(SI(o)&&d&&ql(d)){s(u.getFullStart()-2,d.getStart()+1)}const e=NF(u)&&qde(l)&&$de(d)&&!Gv(l.getStart(),d.getStart(),t);let a=e?l.getEnd():u.getStart();const c=e?d.getStart():Qde(t,u);if(wd(u)&&(null==(n=u.jsDoc)?void 0:n.length)&&s(me(u.jsDoc).getStart(),c),NF(u)){const e=u.getChildren()[0];e&&wd(e)&&(null==(r=e.jsDoc)?void 0:r.length)&&e.getStart()!==u.pos&&(a=Math.min(a,me(e.jsDoc).getStart()))}s(a,c),(kD(u)||qu(u))&&s(a+1,c-1),o=u;break}if(c===i.length-1)break e}}return i;function s(t,n){if(t!==n){const r=Ha(t,n);(!i||!lX(r,i.textSpan)&&Ma(r,e))&&(i={textSpan:r,...i&&{parent:i}})}}function a(e,n){s(e,n);let r=e;for(;47===t.text.charCodeAt(r);)r++;s(r,n)}}function Fde(e,t,n){if(un.assert(n.pos<=t),tTde});var Rde=Zt(iT,rT);function Pde(e){var t;if(JT(e))return Nde(e.getChildAt(0).getChildren(),Rde);if(Qw(e)){const[t,...n]=e.getChildren(),r=un.checkDefined(n.pop());un.assertEqual(t.kind,19),un.assertEqual(r.kind,20);const i=Nde(n,(t=>t===e.readonlyToken||148===t.kind||t===e.questionToken||58===t.kind));return[t,Ode(Bde(Nde(i,(({kind:e})=>23===e||168===e||24===e)),(({kind:e})=>59===e))),r]}if(lw(e)){const n=Nde(e.getChildren(),(t=>t===e.name||C(e.modifiers,t))),r=320===(null==(t=n[0])?void 0:t.kind)?n[0]:void 0,i=Bde(r?n.slice(1):n,(({kind:e})=>59===e));return r?[r,Ode(i)]:i}if(aw(e)){const t=Nde(e.getChildren(),(t=>t===e.dotDotDotToken||t===e.name));return Bde(Nde(t,(n=>n===t[0]||n===e.questionToken)),(({kind:e})=>64===e))}return Hw(e)?Bde(e.getChildren(),(({kind:e})=>64===e)):e.getChildren()}function Nde(e,t){const n=[];let r;for(const i of e)t(i)?(r=r||[],r.push(i)):(r&&(n.push(Ode(r)),r=void 0),n.push(i));return r&&n.push(Ode(r)),n}function Bde(e,t,n=!0){if(e.length<2)return e;const r=v(e,t);if(-1===r)return e;const i=e.slice(0,r),o=e[r],s=Ae(e),a=n&&27===s.kind,c=e.slice(r+1,a?e.length-1:void 0),l=te([i.length?Ode(i):void 0,o,c.length?Ode(c):void 0]);return a?l.concat(s):l}function Ode(e){return un.assertGreaterThanOrEqual(e.length,1),Sx(dP.createSyntaxList(e),e[0].pos,Ae(e).end)}function qde(e){const t=e&&e.kind;return 19===t||23===t||21===t||286===t}function $de(e){const t=e&&e.kind;return 20===t||24===t||22===t||287===t}function Qde(e,t){switch(t.kind){case 341:case 338:case 348:case 346:case 343:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}var Lde={};n(Lde,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>Gde,getSymbolKind:()=>jde,getSymbolModifiers:()=>Vde});var Mde=70246400;function jde(e,t,n){const r=Ude(e,t,n);if(""!==r)return r;const i=ab(t);return 32&i?Hd(t,231)?"local class":"class":384&i?"enum":524288&i?"type":64&i?"interface":262144&i?"type parameter":8&i?"enum member":2097152&i?"alias":1536&i?"module":r}function Ude(e,t,n){const r=e.getRootSymbols(t);if(1===r.length&&8192&me(r).flags&&0!==e.getTypeOfSymbolAtLocation(t,n).getNonNullableType().getCallSignatures().length)return"method";if(e.isUndefinedSymbol(t))return"var";if(e.isArgumentsSymbol(t))return"local var";if(110===n.kind&&Ju(n)||dy(n))return"parameter";const i=ab(t);if(3&i)return gX(t)?"parameter":t.valueDeclaration&&o_(t.valueDeclaration)?"const":t.valueDeclaration&&i_(t.valueDeclaration)?"using":t.valueDeclaration&&r_(t.valueDeclaration)?"await using":u(t.declarations,a_)?"let":Wde(t)?"local var":"var";if(16&i)return Wde(t)?"local function":"function";if(32768&i)return"getter";if(65536&i)return"setter";if(8192&i)return"method";if(16384&i)return"constructor";if(131072&i)return"index";if(4&i){if(33554432&i&&6&t.links.checkFlags){const r=u(e.getRootSymbols(t),(e=>{if(98311&e.getFlags())return"property"}));if(!r){return e.getTypeOfSymbolAtLocation(t,n).getCallSignatures().length?"method":"property"}return r}return"property"}return""}function Jde(e){if(e.declarations&&e.declarations.length){const[t,...n]=e.declarations,r=l(n)&&XZ(t)&&J(n,(e=>!XZ(e)))?65536:0,i=dK(t,r);if(i)return i.split(",")}return[]}function Vde(e,t){if(!t)return"";const n=new Set(Jde(t));if(2097152&t.flags){const r=e.getAliasedSymbol(t);r!==t&&u(Jde(r),(e=>{n.add(e)}))}return 16777216&t.flags&&n.add("optional"),n.size>0?Pe(n.values()).join(","):""}function Hde(e,t,n,r,i,o,s,c){var l;const d=[];let f=[],_=[];const m=ab(t);let h=1&s?Ude(e,t,i):"",g=!1;const y=110===i.kind&&bm(i)||dy(i);let v,b,E=!1;if(110===i.kind&&!y)return{displayParts:[bX(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==h||32&m||2097152&m){if("getter"===h||"setter"===h){const e=A(t.declarations,(e=>e.name===i));if(e)switch(e.kind){case 177:h="getter";break;case 178:h="setter";break;case 172:h="accessor";break;default:un.assertNever(e)}else h="property"}let n,s;if(o??(o=y?e.getTypeAtLocation(i):e.getTypeOfSymbolAtLocation(t,i)),i.parent&&211===i.parent.kind){const e=i.parent.name;(e===i||e&&0===e.getFullWidth())&&(i=i.parent)}if(Ou(i)?s=i:(jz(i)||Uz(i)||i.parent&&(vd(i.parent)||Zw(i.parent))&&ru(t.valueDeclaration))&&(s=i.parent),s){n=e.getResolvedSignature(s);const i=214===s.kind||Kw(s)&&108===s.expression.kind,a=i?o.getConstructSignatures():o.getCallSignatures();if(!n||C(a,n.target)||C(a,n)||(n=a.length?a[0]:void 0),n){switch(i&&32&m?(h="constructor",I(o.symbol,h)):2097152&m?(h="alias",T(h),d.push(vX()),i&&(4&n.flags&&(d.push(bX(128)),d.push(vX())),d.push(bX(105)),d.push(vX())),w(t)):I(t,h),h){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":d.push(CX(59)),d.push(vX()),16&gb(o)||!o.symbol||(se(d,$X(e,o.symbol,r,void 0,5)),d.push(BX())),i&&(4&n.flags&&(d.push(bX(128)),d.push(vX())),d.push(bX(105)),d.push(vX())),F(n,a,262144);break;default:F(n,a)}g=!0,E=a.length>1}}else if(lY(i)&&!(98304&m)||137===i.kind&&176===i.parent.kind){const r=i.parent;if(t.declarations&&A(t.declarations,(e=>e===(137===i.kind?r.parent:r)))){const i=176===r.kind?o.getNonNullableType().getConstructSignatures():o.getNonNullableType().getCallSignatures();n=e.isImplementationOfOverload(r)?i[0]:e.getSignatureFromDeclaration(r),176===r.kind?(h="constructor",I(o.symbol,h)):I(179!==r.kind||2048&o.symbol.flags||4096&o.symbol.flags?t:o.symbol,h),n&&F(n,i),g=!0,E=i.length>1}}}if(32&m&&!g&&!y&&(k(),Hd(t,231)?T("local class"):d.push(bX(86)),d.push(vX()),w(t),R(t,n)),64&m&&2&s&&(S(),d.push(bX(120)),d.push(vX()),w(t),R(t,n)),524288&m&&2&s&&(S(),d.push(bX(156)),d.push(vX()),w(t),R(t,n),d.push(vX()),d.push(EX(64)),d.push(vX()),se(d,qX(e,i.parent&&Cl(i.parent)?e.getTypeAtLocation(i.parent):e.getDeclaredTypeOfSymbol(t),r,8388608))),384&m&&(S(),J(t.declarations,(e=>XI(e)&&t_(e)))&&(d.push(bX(87)),d.push(vX())),d.push(bX(94)),d.push(vX()),w(t)),1536&m&&!y){S();const e=Hd(t,267),n=e&&e.name&&80===e.name.kind;d.push(bX(n?145:144)),d.push(vX()),w(t)}if(262144&m&&2&s)if(S(),d.push(CX(21)),d.push(DX("type parameter")),d.push(CX(22)),d.push(vX()),w(t),t.parent)D(),w(t.parent,r),R(t.parent,r);else{const r=Hd(t,168);if(void 0===r)return un.fail();const i=r.parent;if(i)if(ru(i)){D();const t=e.getSignatureFromDeclaration(i);180===i.kind?(d.push(bX(105)),d.push(vX())):179!==i.kind&&i.name&&w(i.symbol),se(d,QX(e,t,n,32))}else KI(i)&&(D(),d.push(bX(156)),d.push(vX()),w(i.symbol),R(i.symbol,n))}if(8&m){h="enum member",I(t,"enum member");const n=null==(l=t.declarations)?void 0:l[0];if(306===(null==n?void 0:n.kind)){const t=e.getConstantValue(n);void 0!==t&&(d.push(vX()),d.push(EX(64)),d.push(vX()),d.push(yX(rf(t),"number"==typeof t?7:8)))}}if(2097152&t.flags){if(S(),!g||0===f.length&&0===_.length){const n=e.getAliasedSymbol(t);if(n!==t&&n.declarations&&n.declarations.length>0){const i=n.declarations[0],a=Sc(i);if(a&&!g){const c=lf(i)&&wy(i,128),l="default"!==t.name&&!c,u=Hde(e,n,Ap(i),r,a,o,s,l?t:n);d.push(...u.displayParts),d.push(BX()),v=u.documentation,b=u.tags}else v=n.getContextualDocumentationComment(i,e),b=n.getJsDocTags(e)}}if(t.declarations)switch(t.declarations[0].kind){case 270:d.push(bX(95)),d.push(vX()),d.push(bX(145));break;case 277:d.push(bX(95)),d.push(vX()),d.push(bX(t.declarations[0].isExportEquals?64:90));break;case 281:d.push(bX(95));break;default:d.push(bX(102))}d.push(vX()),w(t),u(t.declarations,(t=>{if(271===t.kind){const n=t;if(xm(n))d.push(vX()),d.push(EX(64)),d.push(vX()),d.push(bX(149)),d.push(CX(21)),d.push(yX(zp(Sm(n)),8)),d.push(CX(22));else{const t=e.getSymbolAtLocation(n.moduleReference);t&&(d.push(vX()),d.push(EX(64)),d.push(vX()),w(t,r))}return!0}}))}if(!g)if(""!==h){if(o)if(y?(S(),d.push(bX(110))):I(t,h),"property"===h||"accessor"===h||"getter"===h||"setter"===h||"JSX attribute"===h||3&m||"local var"===h||"index"===h||"using"===h||"await using"===h||y){if(d.push(CX(59)),d.push(vX()),o.symbol&&262144&o.symbol.flags&&"index"!==h){const t=OX((t=>{const n=e.typeParameterToDeclaration(o,r,Mde);x().writeNode(4,n,Ap(fc(r)),t)}));se(d,t)}else se(d,qX(e,o,r));if(zd(t)&&t.links.target&&zd(t.links.target)&&t.links.target.links.tupleLabelDeclaration){const e=t.links.target.links.tupleLabelDeclaration;un.assertNode(e.name,UD),d.push(vX()),d.push(CX(21)),d.push(DX(hc(e.name))),d.push(CX(22))}}else if(16&m||8192&m||16384&m||131072&m||98304&m||"method"===h){const e=o.getNonNullableType().getCallSignatures();e.length&&(F(e[0],e),E=e.length>1)}}else h=jde(e,t,i);if(0!==f.length||E||(f=t.getContextualDocumentationComment(r,e)),0===f.length&&4&m&&t.parent&&t.declarations&&u(t.parent.declarations,(e=>307===e.kind)))for(const n of t.declarations){if(!n.parent||226!==n.parent.kind)continue;const t=e.getSymbolAtLocation(n.parent.right);if(t&&(f=t.getDocumentationComment(e),_=t.getJsDocTags(e),f.length>0))break}if(0===f.length&&UD(i)&&t.valueDeclaration&&Hw(t.valueDeclaration)){const n=t.valueDeclaration,r=n.parent,i=n.propertyName||n.name;if(UD(i)&&Jw(r)){const t=jg(i),n=e.getTypeAtLocation(r);f=p(n.isUnion()?n.types:[n],(n=>{const r=n.getProperty(t);return r?r.getDocumentationComment(e):void 0}))||a}}return 0!==_.length||E||(_=t.getContextualJsDocTags(r,e)),0===f.length&&v&&(f=v),0===_.length&&b&&(_=b),{displayParts:d,documentation:f,symbolKind:h,tags:0===_.length?void 0:_};function x(){return aU()}function S(){d.length&&d.push(BX()),k()}function k(){c&&(T("alias"),d.push(vX()))}function D(){d.push(vX()),d.push(bX(103)),d.push(vX())}function w(r,i){let o;c&&r===t&&(r=c),"index"===h&&(o=e.getIndexInfosOfIndexSymbol(r));let s=[];131072&r.flags&&o?(r.parent&&(s=$X(e,r.parent)),s.push(CX(23)),o.forEach(((t,n)=>{s.push(...qX(e,t.keyType)),n!==o.length-1&&(s.push(vX()),s.push(CX(52)),s.push(vX()))})),s.push(CX(24))):s=$X(e,r,i||n,void 0,7),se(d,s),16777216&t.flags&&d.push(CX(58))}function I(e,t){S(),t&&(T(t),e&&!J(e.declarations,(e=>rI(e)||(nI(e)||mI(e))&&!e.name))&&(d.push(vX()),w(e)))}function T(e){switch(e){case"var":case"function":case"let":case"const":case"constructor":case"using":case"await using":return void d.push(kX(e));default:return d.push(CX(21)),d.push(kX(e)),void d.push(CX(22))}}function F(t,n,i=0){se(d,QX(e,t,r,32|i)),n.length>1&&(d.push(vX()),d.push(CX(21)),d.push(EX(40)),d.push(yX((n.length-1).toString(),7)),d.push(vX()),d.push(DX(2===n.length?"overload":"overloads")),d.push(CX(22))),f=t.getDocumentationComment(e),_=t.getJsDocTags(),n.length>1&&0===f.length&&0===_.length&&(f=n[0].getDocumentationComment(e),_=n[0].getJsDocTags().filter((e=>"deprecated"!==e.name)))}function R(t,n){const r=OX((r=>{const i=e.symbolToTypeParameterDeclarations(t,n,Mde);x().writeList(53776,i,Ap(fc(n)),r)}));se(d,r)}}function Gde(e,t,n,r,i,o=Lz(i),s){return Hde(e,t,n,r,i,void 0,o,s)}function Wde(e){return!e.parent&&u(e.declarations,(e=>{if(218===e.kind)return!0;if(260!==e.kind&&262!==e.kind)return!1;for(let t=e.parent;!$_(t);t=t.parent)if(307===t.kind||268===t.kind)return!1;return!0}))}var zde={};function Yde(e){const t=e.__pos;return un.assert("number"==typeof t),t}function Kde(e,t){un.assert("number"==typeof t),e.__pos=t}function Xde(e){const t=e.__end;return un.assert("number"==typeof t),t}function Zde(e,t){un.assert("number"==typeof t),e.__end=t}n(zde,{ChangeTracker:()=>dpe,LeadingTriviaOption:()=>epe,TrailingTriviaOption:()=>tpe,applyChanges:()=>mpe,assignPositionsToNode:()=>Ape,createWriter:()=>vpe,deleteNode:()=>Cpe,getAdjustedEndPosition:()=>ape,isThisTypeAnnotatable:()=>lpe,isValidLocationToAddComment:()=>bpe});var epe=(e=>(e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",e))(epe||{}),tpe=(e=>(e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include",e))(tpe||{});function npe(e,t){return Ks(e,t,!1,!0)}var rpe={leadingTriviaOption:0,trailingTriviaOption:0};function ipe(e,t,n,r){return{pos:ope(e,t,r),end:ape(e,n,r)}}function ope(e,t,n,r=!1){var i,o;const{leadingTriviaOption:s}=n;if(0===s)return t.getStart(e);if(3===s){const n=t.getStart(e),r=hY(n,e);return AY(t,r)?r:n}if(2===s){const n=A_(t,e.text);if(null==n?void 0:n.length)return hY(n[0].pos,e)}const a=t.getFullStart(),c=t.getStart(e);if(a===c)return c;const l=hY(a,e);if(hY(c,e)===l)return 1===s?a:c;if(r){const t=(null==(i=ua(e.text,a))?void 0:i[0])||(null==(o=da(e.text,a))?void 0:o[0]);if(t)return Ks(e.text,t.end,!0,!0)}const u=a>0?1:0;let d=Cp(ny(e,l)+u,e);return d=npe(e.text,d),Cp(ny(e,d),e)}function spe(e,t,n){const{end:r}=t,{trailingTriviaOption:i}=n;if(2===i){const n=da(e.text,r);if(n){const r=ny(e,t.end);for(const t of n){if(2===t.kind||ny(e,t.pos)>r)break;if(ny(e,t.end)>r)return Ks(e.text,t.end,!0,!0)}}}}function ape(e,t,n){var r;const{end:i}=t,{trailingTriviaOption:o}=n;if(0===o)return i;if(1===o){const t=H(da(e.text,i),ua(e.text,i)),n=null==(r=null==t?void 0:t[t.length-1])?void 0:r.end;return n||i}const s=spe(e,t,n);if(s)return s;const a=Ks(e.text,i,!0);return a===i||2!==o&&!Js(e.text.charCodeAt(a-1))?i:a}function cpe(e,t){return!!t&&!!e.parent&&(28===t.kind||27===t.kind&&210===e.parent.kind)}function lpe(e){return nI(e)||WI(e)}var upe,dpe=class e{constructor(e,t){this.newLineCharacter=e,this.formatContext=t,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(t){return new e(NX(t.host,t.formatContext.options),t.formatContext)}static with(t,n){const r=e.fromContext(t);return n(r),r.getChanges()}pushRaw(e,t){un.assertEqual(e.fileName,t.fileName);for(const n of t.textChanges)this.changes.push({kind:3,sourceFile:e,text:n.newText,range:IK(n.span)})}deleteRange(e,t){this.changes.push({kind:0,sourceFile:e,range:t})}delete(e,t){this.deletedNodes.push({sourceFile:e,node:t})}deleteNode(e,t,n={leadingTriviaOption:1}){this.deleteRange(e,ipe(e,t,t,n))}deleteNodes(e,t,n={leadingTriviaOption:1},r){for(const i of t){const t=ope(e,i,n,r),o=ape(e,i,n);this.deleteRange(e,{pos:t,end:o}),r=!!spe(e,i,n)}}deleteModifier(e,t){this.deleteRange(e,{pos:t.getStart(e),end:Ks(e.text,t.end,!0)})}deleteNodeRange(e,t,n,r={leadingTriviaOption:1}){const i=ope(e,t,r),o=ape(e,n,r);this.deleteRange(e,{pos:i,end:o})}deleteNodeRangeExcludingEnd(e,t,n,r={leadingTriviaOption:1}){const i=ope(e,t,r),o=void 0===n?e.text.length:ope(e,n,r);this.deleteRange(e,{pos:i,end:o})}replaceRange(e,t,n,r={}){this.changes.push({kind:1,sourceFile:e,range:t,options:r,node:n})}replaceNode(e,t,n,r=rpe){this.replaceRange(e,ipe(e,t,t,r),n,r)}replaceNodeRange(e,t,n,r,i=rpe){this.replaceRange(e,ipe(e,t,n,i),r,i)}replaceRangeWithNodes(e,t,n,r={}){this.changes.push({kind:2,sourceFile:e,range:t,options:r,nodes:n})}replaceNodeWithNodes(e,t,n,r=rpe){this.replaceRangeWithNodes(e,ipe(e,t,t,r),n,r)}replaceNodeWithText(e,t,n){this.replaceRangeWithText(e,ipe(e,t,t,rpe),n)}replaceNodeRangeWithNodes(e,t,n,r,i=rpe){this.replaceRangeWithNodes(e,ipe(e,t,n,i),r,i)}nodeHasTrailingComment(e,t,n=rpe){return!!spe(e,t,n)}nextCommaToken(e,t){const n=GY(t,t.parent,e);return n&&28===n.kind?n:void 0}replacePropertyAssignment(e,t,n){const r=this.nextCommaToken(e,t)?"":","+this.newLineCharacter;this.replaceNode(e,t,n,{suffix:r})}insertNodeAt(e,t,n,r={}){this.replaceRange(e,Pv(t),n,r)}insertNodesAt(e,t,n,r={}){this.replaceRangeWithNodes(e,Pv(t),n,r)}insertNodeAtTopOfFile(e,t,n){this.insertAtTopOfFile(e,t,n)}insertNodesAtTopOfFile(e,t,n){this.insertAtTopOfFile(e,t,n)}insertAtTopOfFile(e,t,n){const r=function(e){let t;for(const n of e.statements){if(!p_(n))break;t=n}let n=0;const r=e.text;if(t)return n=t.end,c(),n;const i=pa(r);void 0!==i&&(n=i.length,c());const o=ua(r,n);if(!o)return n;let s,a;for(const t of o){if(3===t.kind){if($p(r,t.pos)){s={range:t,pinnedOrTripleSlash:!0};continue}}else if(qp(r,t.pos,t.end)){s={range:t,pinnedOrTripleSlash:!0};continue}if(s){if(s.pinnedOrTripleSlash)break;if(e.getLineAndCharacterOfPosition(t.pos).line>=e.getLineAndCharacterOfPosition(s.range.end).line+2)break}if(e.statements.length){void 0===a&&(a=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line);if(aXe(e.comment)?XS.createJSDocText(e.comment):e.comment)),r=ye(t.jsDoc);return r&&Gv(r.pos,r.end,e)&&0===l(n)?void 0:XS.createNodeArray(h(n,XS.createJSDocText("\n")))}replaceJSDocComment(e,t,n){this.insertJsdocCommentBefore(e,function(e){if(219!==e.kind)return e;const t=172===e.parent.kind?e.parent:e.parent.parent;return t.jsDoc=e.jsDoc,t}(t),XS.createJSDocComment(this.createJSDocText(e,t),XS.createNodeArray(n)))}addJSDocTags(e,t,n){const r=P(t.jsDoc,(e=>e.tags)),i=n.filter((e=>!r.some(((t,n)=>{const i=function(e,t){if(e.kind!==t.kind)return;switch(e.kind){case 341:{const n=e,r=t;return UD(n.name)&&UD(r.name)&&n.name.escapedText===r.name.escapedText?XS.createJSDocParameterTag(void 0,r.name,!1,r.typeExpression,r.isNameFirst,n.comment):void 0}case 342:return XS.createJSDocReturnTag(void 0,t.typeExpression,e.comment);case 344:return XS.createJSDocTypeTag(void 0,t.typeExpression,e.comment)}}(t,e);return i&&(r[n]=i),!!i}))));this.replaceJSDocComment(e,t,[...r,...i])}filterJSDocTags(e,t,n){this.replaceJSDocComment(e,t,S(P(t.jsDoc,(e=>e.tags)),n))}replaceRangeWithText(e,t,n){this.changes.push({kind:3,sourceFile:e,range:t,text:n})}insertText(e,t,n){this.replaceRangeWithText(e,Pv(t),n)}tryInsertTypeAnnotation(e,t,n){let r;if(ru(t)){if(r=IY(t,22,e),!r){if(!rI(t))return!1;r=me(t.parameters)}}else r=(260===t.kind?t.exclamationToken:t.questionToken)??t.name;return this.insertNodeAt(e,r.end,n,{prefix:": "}),!0}tryInsertThisTypeAnnotation(e,t,n){const r=IY(t,21,e).getStart(e)+1,i=t.parameters.length?", ":"";this.insertNodeAt(e,r,n,{prefix:"this: ",suffix:i})}insertTypeParameters(e,t,n){const r=(IY(t,21,e)||me(t.parameters)).getStart(e);this.insertNodesAt(e,r,n,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(e,t,n){return fd(e)||uu(e)?{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:HI(e)?{suffix:", "}:aw(e)?aw(t)?{suffix:", "}:{}:kD(e)&&iT(e.parent)||fT(e)?{suffix:", "}:_T(e)?{suffix:","+(n?this.newLineCharacter:" ")}:un.failBadSyntaxKind(e)}insertNodeAtConstructorStart(e,t,n){const r=fe(t.body.statements);r&&t.body.multiLine?this.insertNodeBefore(e,r,n):this.replaceConstructorBody(e,t,[n,...t.body.statements])}insertNodeAtConstructorStartAfterSuperCall(e,t,n){const r=A(t.body.statements,(e=>TI(e)&&c_(e.expression)));r&&t.body.multiLine?this.insertNodeAfter(e,r,n):this.replaceConstructorBody(e,t,[...t.body.statements,n])}insertNodeAtConstructorEnd(e,t,n){const r=ge(t.body.statements);r&&t.body.multiLine?this.insertNodeAfter(e,r,n):this.replaceConstructorBody(e,t,[...t.body.statements,n])}replaceConstructorBody(e,t,n){this.replaceNode(e,t.body,XS.createBlock(n,!0))}insertNodeAtEndOfScope(e,t,n){const r=ope(e,t.getLastToken(),{});this.insertNodeAt(e,r,n,{prefix:Js(e.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(e,t,n){this.insertNodeAtStartWorker(e,t,n)}insertNodeAtObjectStart(e,t,n){this.insertNodeAtStartWorker(e,t,n)}insertNodeAtStartWorker(e,t,n){const r=this.guessIndentationFromExistingMembers(e,t)??this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,_pe(t).pos,n,this.getInsertNodeAtStartInsertOptions(e,t,r))}guessIndentationFromExistingMembers(e,t){let n,r=t;for(const i of _pe(t)){if(Lv(r,i,e))return;const t=i.getStart(e),o=xpe.SmartIndenter.findFirstNonWhitespaceColumn(hY(t,e),t,e,this.formatContext.options);if(void 0===n)n=o;else if(o!==n)return;r=i}return n}computeIndentationForNewMember(e,t){const n=t.getStart(e);return xpe.SmartIndenter.findFirstNonWhitespaceColumn(hY(n,e),n,e,this.formatContext.options)+(this.formatContext.options.indentSize??4)}getInsertNodeAtStartInsertOptions(e,t,n){const r=0===_pe(t).length,i=!this.classesWithNodesInsertedAtStart.has(JQ(t));i&&this.classesWithNodesInsertedAtStart.set(JQ(t),{node:t,sourceFile:e});const o=Ww(t)&&(!e_(e)||!r);return{indentation:n,prefix:(Ww(t)&&e_(e)&&r&&!i?",":"")+this.newLineCharacter,suffix:o?",":YI(t)&&r?";":""}}insertNodeAfterComma(e,t,n){const r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,n);this.insertNodeAt(e,r,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfter(e,t,n){const r=this.insertNodeAfterWorker(e,t,n);this.insertNodeAt(e,r,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAtEndOfList(e,t,n){this.insertNodeAt(e,t.end,n,{prefix:", "})}insertNodesAfter(e,t,n){const r=this.insertNodeAfterWorker(e,t,me(n));this.insertNodesAt(e,r,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfterWorker(e,t,n){var r,i;i=n,((lw(r=t)||uw(r))&&Au(i)&&167===i.name.kind||pd(r)&&pd(i))&&59!==e.text.charCodeAt(t.end-1)&&this.replaceRange(e,Pv(t.end),XS.createToken(27));return ape(e,t,{})}getInsertNodeAfterOptions(e,t){const n=this.getInsertNodeAfterOptionsWorker(t);return{...n,prefix:t.end===e.end&&fd(t)?n.prefix?`\n${n.prefix}`:"\n":n.prefix}}getInsertNodeAfterOptionsWorker(e){switch(e.kind){case 263:case 267:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 260:case 11:case 80:return{prefix:", "};case 303:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 169:return{};default:return un.assert(fd(e)||Au(e)),{suffix:this.newLineCharacter}}}insertName(e,t,n){if(un.assert(!t.name),219===t.kind){const r=IY(t,39,e),i=IY(t,21,e);i?(this.insertNodesAt(e,i.getStart(e),[XS.createToken(100),XS.createIdentifier(n)],{joiner:" "}),Cpe(this,e,r)):(this.insertText(e,me(t.parameters).getStart(e),`function ${n}(`),this.replaceRange(e,r,XS.createToken(22))),241!==t.body.kind&&(this.insertNodesAt(e,t.body.getStart(e),[XS.createToken(19),XS.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,t.body.end,[XS.createToken(27),XS.createToken(20)],{joiner:" "}))}else{const r=IY(t,218===t.kind?100:86,e).end;this.insertNodeAt(e,r,XS.createIdentifier(n),{prefix:" "})}}insertExportModifier(e,t){this.insertText(e,t.getStart(e),"export ")}insertImportSpecifierAtIndex(e,t,n,r){const i=n.elements[r-1];i?this.insertNodeInListAfter(e,i,t):this.insertNodeBefore(e,n.elements[0],t,!Gv(n.elements[0].getStart(),n.parent.parent.getStart(),e))}insertNodeInListAfter(e,t,n,r=xpe.SmartIndenter.getContainingList(t,e)){if(!r)return void un.fail("node is not a list element");const i=Kp(r,t);if(i<0)return;const o=t.getEnd();if(i!==r.length-1){const o=UY(e,t.end);if(o&&cpe(t,o)){const t=r[i+1],s=npe(e.text,t.getFullStart()),a=`${Is(o.kind)}${e.text.substring(o.end,s)}`;this.insertNodesAt(e,s,[n],{suffix:a})}}else{const s=t.getStart(e),a=hY(s,e);let c,l=!1;if(1===r.length)c=28;else{const n=WY(t.pos,e);c=cpe(t,n)?n.kind:28;l=hY(r[i-1].getStart(e),e)!==a}if(!function(e,t){let n=t;for(;n{const[n,r]=function(e,t){const n=IY(e,19,t),r=IY(e,20,t);return[null==n?void 0:n.end,null==r?void 0:r.end]}(e,t);if(void 0!==n&&void 0!==r){const i=0===_pe(e).length,o=Gv(n,r,t);i&&o&&n!==r-1&&this.deleteRange(t,Pv(n,r-1)),o&&this.insertText(t,r-1,this.newLineCharacter)}}))}finishDeleteDeclarations(){const e=new Set;for(const{sourceFile:t,node:n}of this.deletedNodes)this.deletedNodes.some((e=>e.sourceFile===t&&gY(e.node,n)))||(Ye(n)?this.deleteRange(t,lx(t,n)):hpe.deleteDeclaration(this,e,t,n));e.forEach((t=>{const n=t.getSourceFile(),r=xpe.SmartIndenter.getContainingList(t,n);if(t!==Ae(r))return;const i=b(r,(t=>!e.has(t)),r.length-2);-1!==i&&this.deleteRange(n,{pos:r[i].end,end:ppe(n,r[i+1])})}))}getChanges(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const t=upe.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e);return this.newFileChanges&&this.newFileChanges.forEach(((e,n)=>{t.push(upe.newFileChanges(n,e,this.newLineCharacter,this.formatContext))})),t}createNewFile(e,t,n){this.insertStatementsInNewFile(t,n,e)}};function ppe(e,t){return Ks(e.text,ope(e,t,{leadingTriviaOption:1}),!1,!0)}function fpe(e,t,n,r){const i=ppe(e,r);if(void 0===n||Gv(ape(e,t,{}),i,e))return i;const o=WY(r.getStart(e),e);if(cpe(t,o)){const r=WY(t.getStart(e),e);if(cpe(n,r)){const t=Ks(e.text,o.getEnd(),!0,!0);if(Gv(r.getStart(e),o.getStart(e),e))return Js(e.text.charCodeAt(t-1))?t-1:t;if(Js(e.text.charCodeAt(t)))return t}}return i}function _pe(e){return Ww(e)?e.properties:e.members}function mpe(e,t){for(let n=t.length-1;n>=0;n--){const{span:r,newText:i}=t[n];e=`${e.substring(0,r.start)}${i}${e.substring(Ia(r))}`}return e}(e=>{function t(e,t,r,i){const o=R(t,(e=>e.statements.map((t=>4===t?"":n(t,e.oldFile,r).text)))).join(r),s=LP("any file name",o,{languageVersion:99,jsDocParsingMode:1},!0,e);return mpe(o,xpe.formatDocument(s,i))+r}function n(e,t,n){const r=vpe(n);return uU({newLine:e0(n),neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},r).writeNode(4,e,t,r),{text:r.getText(),node:Ape(e)}}e.getTextChangesFromChanges=function(e,t,r,i){return q(Qe(e,(e=>e.sourceFile.path)),(e=>{const o=e[0].sourceFile,s=le(e,((e,t)=>e.range.pos-t.range.pos||e.range.end-t.range.end));for(let e=0;e`${JSON.stringify(s[e].range)} and ${JSON.stringify(s[e+1].range)}`));const a=q(s,(e=>{const s=wK(e.range),a=1===e.kind?Ap(uc(e.node))??e.sourceFile:2===e.kind?Ap(uc(e.nodes[0]))??e.sourceFile:e.sourceFile,c=function(e,t,r,i,o,s){var a;if(0===e.kind)return"";if(3===e.kind)return e.text;const{options:c={},range:{pos:l}}=e,u=e=>function(e,t,r,i,{indentation:o,prefix:s,delta:a},c,l,u){const{node:d,text:p}=n(e,t,c);u&&u(d,p);const f=n0(l,t),_=void 0!==o?o:xpe.SmartIndenter.getIndentation(i,r,f,s===c||hY(i,t)===i);void 0===a&&(a=xpe.SmartIndenter.shouldIndentChildNode(f,e)&&f.indentSize||0);const m={text:p,getLineAndCharacterOfPosition(e){return Ms(this,e)}},h=xpe.formatNodeGivenIndentation(d,m,t.languageVariant,_,a,{...l,options:f});return mpe(p,h)}(e,t,r,l,c,i,o,s),d=2===e.kind?e.nodes.map((e=>qt(u(e),i))).join((null==(a=e.options)?void 0:a.joiner)||i):u(e.node),p=void 0!==c.indentation||hY(l,t)===l?d:d.replace(/^\s+/,"");return(c.prefix||"")+p+(!c.suffix||Ot(p,c.suffix)?"":c.suffix)}(e,a,o,t,r,i);if(s.length!==c.length||!YZ(a.text,c,s.start))return FK(s,c)}));return a.length>0?{fileName:o.fileName,textChanges:a}:void 0}))},e.newFileChanges=function(e,n,r,i){const o=t(bE(e),n,r,i);return{fileName:e,textChanges:[FK(Va(0,0),o)],isNewFile:!0}},e.newFileChangesWorker=t,e.getNonformattedText=n})(upe||(upe={}));var hpe,gpe={...Pj,factory:MS(1|Pj.factory.flags,Pj.factory.baseFactory)};function Ape(e){const t=uL(e,Ape,gpe,ype,Ape),n=eA(t)?t:Object.create(t);return Sx(n,Yde(e),Xde(e)),n}function ype(e,t,n,r,i){const o=tL(e,t,n,r,i);if(!o)return o;un.assert(e);const s=o===e?XS.createNodeArray(o.slice(0)):o;return Sx(s,Yde(e),Xde(e)),s}function vpe(e){let t=0;const n=NA(e);function r(e,r){if(r||!function(e){return Ks(e,0)===e.length}(e)){t=n.getTextPos();let r=0;for(;js(e.charCodeAt(e.length-r-1));)r++;t-=r}}return{onBeforeEmitNode:e=>{e&&Kde(e,t)},onAfterEmitNode:e=>{e&&Zde(e,t)},onBeforeEmitNodeArray:e=>{e&&Kde(e,t)},onAfterEmitNodeArray:e=>{e&&Zde(e,t)},onBeforeEmitToken:e=>{e&&Kde(e,t)},onAfterEmitToken:e=>{e&&Zde(e,t)},write:function(e){n.write(e),r(e,!1)},writeComment:function(e){n.writeComment(e)},writeKeyword:function(e){n.writeKeyword(e),r(e,!1)},writeOperator:function(e){n.writeOperator(e),r(e,!1)},writePunctuation:function(e){n.writePunctuation(e),r(e,!1)},writeTrailingSemicolon:function(e){n.writeTrailingSemicolon(e),r(e,!1)},writeParameter:function(e){n.writeParameter(e),r(e,!1)},writeProperty:function(e){n.writeProperty(e),r(e,!1)},writeSpace:function(e){n.writeSpace(e),r(e,!1)},writeStringLiteral:function(e){n.writeStringLiteral(e),r(e,!1)},writeSymbol:function(e,t){n.writeSymbol(e,t),r(e,!1)},writeLine:function(e){n.writeLine(e)},increaseIndent:function(){n.increaseIndent()},decreaseIndent:function(){n.decreaseIndent()},getText:function(){return n.getText()},rawWrite:function(e){n.rawWrite(e),r(e,!1)},writeLiteral:function(e){n.writeLiteral(e),r(e,!0)},getTextPos:function(){return n.getTextPos()},getLine:function(){return n.getLine()},getColumn:function(){return n.getColumn()},getIndent:function(){return n.getIndent()},isAtStartOfLine:function(){return n.isAtStartOfLine()},hasTrailingComment:()=>n.hasTrailingComment(),hasTrailingWhitespace:()=>n.hasTrailingWhitespace(),clear:function(){n.clear(),t=0}}}function bpe(e,t){return!(cK(e,t)||XY(e,t)||tK(e,t)||nK(e,t))}function Cpe(e,t,n,r={leadingTriviaOption:1}){const i=ope(t,n,r),o=ape(t,n,r);e.deleteRange(t,{pos:i,end:o})}function Epe(e,t,n,r){const i=un.checkDefined(xpe.SmartIndenter.getContainingList(r,n)),o=Kp(i,r);un.assert(-1!==o),1!==i.length?(un.assert(!t.has(r),"Deleting a node twice"),t.add(r),e.deleteRange(n,{pos:ppe(n,r),end:o===i.length-1?ape(n,r,{}):fpe(n,r,i[o-1],i[o+1])})):Cpe(e,n,r)}(e=>{function t(e,t,n){if(n.parent.name){const r=un.checkDefined(UY(t,n.pos-1));e.deleteRange(t,{pos:r.getStart(t),end:n.end})}else{Cpe(e,t,xg(n,272))}}e.deleteDeclaration=function(e,n,r,i){switch(i.kind){case 169:{const t=i.parent;rI(t)&&1===t.parameters.length&&!IY(t,21,r)?e.replaceNodeWithText(r,i,"()"):Epe(e,n,r,i);break}case 272:case 271:Cpe(e,r,i,{leadingTriviaOption:r.imports.length&&i===me(r.imports).parent||i===A(r.statements,Ef)?0:wd(i)?2:3});break;case 208:const o=i.parent;207===o.kind&&i!==Ae(o.elements)?Cpe(e,r,i):Epe(e,n,r,i);break;case 260:!function(e,t,n,r){const{parent:i}=r;if(299===i.kind)return void e.deleteNodeRange(n,IY(i,21,n),IY(i,22,n));if(1!==i.declarations.length)return void Epe(e,t,n,r);const o=i.parent;switch(o.kind){case 250:case 249:e.replaceNode(n,r,XS.createObjectLiteralExpression());break;case 248:Cpe(e,n,i);break;case 243:Cpe(e,n,o,{leadingTriviaOption:wd(o)?2:3});break;default:un.assertNever(o)}}(e,n,r,i);break;case 168:Epe(e,n,r,i);break;case 276:const s=i.parent;1===s.elements.length?t(e,r,s):Epe(e,n,r,i);break;case 274:t(e,r,i);break;case 27:Cpe(e,r,i,{trailingTriviaOption:0});break;case 100:Cpe(e,r,i,{leadingTriviaOption:0});break;case 263:case 262:Cpe(e,r,i,{leadingTriviaOption:wd(i)?2:3});break;default:i.parent?oT(i.parent)&&i.parent.name===i?function(e,t,n){if(n.namedBindings){const r=n.name.getStart(t),i=UY(t,n.name.end);if(i&&28===i.kind){const n=Ks(t.text,i.end,!1,!0);e.deleteRange(t,{pos:r,end:n})}else Cpe(e,t,n.name)}else Cpe(e,t,n.parent)}(e,r,i.parent):Kw(i.parent)&&C(i.parent.arguments,i)?Epe(e,n,r,i):Cpe(e,r,i):Cpe(e,r,i)}}})(hpe||(hpe={}));var xpe={};n(xpe,{FormattingContext:()=>kpe,FormattingRequestKind:()=>Spe,RuleAction:()=>Rpe,RuleFlags:()=>Ppe,SmartIndenter:()=>n_e,anyContext:()=>Fpe,createTextRangeWithKind:()=>c_e,formatDocument:()=>f_e,formatNodeGivenIndentation:()=>A_e,formatOnClosingCurly:()=>p_e,formatOnEnter:()=>l_e,formatOnOpeningCurly:()=>d_e,formatOnSemicolon:()=>u_e,formatSelection:()=>__e,getAllRules:()=>Npe,getFormatContext:()=>Wfe,getFormattingScanner:()=>Ipe,getIndentationString:()=>E_e,getRangeOfEnclosingComment:()=>C_e});var Spe=(e=>(e[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",e))(Spe||{}),kpe=class{constructor(e,t,n){this.sourceFile=e,this.formattingRequestKind=t,this.options=n}updateContext(e,t,n,r,i){this.currentTokenSpan=un.checkDefined(e),this.currentTokenParent=un.checkDefined(t),this.nextTokenSpan=un.checkDefined(n),this.nextTokenParent=un.checkDefined(r),this.contextNode=un.checkDefined(i),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(void 0===this.tokensAreOnSameLine){const e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===t}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line}BlockIsOnOneLine(e){const t=IY(e,19,this.sourceFile),n=IY(e,20,this.sourceFile);if(t&&n){return this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(n.getStart(this.sourceFile)).line}return!1}},Dpe=ha(99,!1,0),wpe=ha(99,!1,1);function Ipe(e,t,n,r,i){const o=1===t?wpe:Dpe;o.setText(e),o.resetTokenState(n);let s,a,c,l,u,d=!0;const p=i({advance:function(){u=void 0;o.getTokenFullStart()!==n?d=!!a&&4===Ae(a).kind:o.scan();s=void 0,a=void 0;let e=o.getTokenFullStart();for(;es,lastTrailingTriviaWasNewLine:()=>d,skipToEndOf:function(e){o.resetTokenState(e.end),c=o.getTokenFullStart(),l=void 0,u=void 0,d=!1,s=void 0,a=void 0},skipToStartOf:function(e){o.resetTokenState(e.pos),c=o.getTokenFullStart(),l=void 0,u=void 0,d=!1,s=void 0,a=void 0},getTokenFullStart:()=>(null==u?void 0:u.token.pos)??o.getTokenStart(),getStartPos:()=>(null==u?void 0:u.token.pos)??o.getTokenStart()});return u=void 0,o.setText(void 0),p;function f(){const e=u?u.token.kind:o.getToken();return 1!==e&&!Rg(e)}function _(){return 1===(u?u.token.kind:o.getToken())}function m(e,t){return Tl(t)&&e.token.kind!==t.kind&&(e.token.kind=t.kind),e}}var Tpe,Fpe=a,Rpe=(e=>(e[e.None=0]="None",e[e.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",e[e.StopProcessingTokenActions=2]="StopProcessingTokenActions",e[e.InsertSpace=4]="InsertSpace",e[e.InsertNewLine=8]="InsertNewLine",e[e.DeleteSpace=16]="DeleteSpace",e[e.DeleteToken=32]="DeleteToken",e[e.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",e[e.StopAction=3]="StopAction",e[e.ModifySpaceAction=28]="ModifySpaceAction",e[e.ModifyTokenAction=96]="ModifyTokenAction",e))(Rpe||{}),Ppe=(e=>(e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines",e))(Ppe||{});function Npe(){const e=[];for(let t=0;t<=165;t++)1!==t&&e.push(t);function t(...t){return{tokens:e.filter((e=>!t.some((t=>t===e)))),isSpecific:!1}}const n={tokens:e,isSpecific:!1},r=Ope([...e,3]),i=Ope([...e,1]),o=$pe(83,165),s=$pe(30,79),a=[103,104,165,130,142,152],c=[80,...RK],l=r,u=Ope([80,32,3,86,95,102]),d=Ope([22,3,92,113,98,93,85]);return[...[Bpe("IgnoreBeforeComment",n,[2,3],Fpe,1),Bpe("IgnoreAfterLineComment",2,n,Fpe,1),Bpe("NotSpaceBeforeColon",n,59,[vfe,Wpe,zpe],16),Bpe("SpaceAfterColon",59,n,[vfe,Wpe,kfe],4),Bpe("NoSpaceBeforeQuestionMark",n,58,[vfe,Wpe,zpe],16),Bpe("SpaceAfterQuestionMarkInConditionalOperator",58,n,[vfe,Xpe],4),Bpe("NoSpaceAfterQuestionMark",58,n,[vfe,Kpe],16),Bpe("NoSpaceBeforeDot",n,[25,29],[vfe,Gfe],16),Bpe("NoSpaceAfterDot",[25,29],n,[vfe],16),Bpe("NoSpaceBetweenImportParenInImportType",102,21,[vfe,yfe],16),Bpe("NoSpaceAfterUnaryPrefixOperator",[46,47,55,54],[9,10,80,21,23,19,110,105],[vfe,Wpe],16),Bpe("NoSpaceAfterUnaryPreincrementOperator",46,[80,21,110,105],[vfe],16),Bpe("NoSpaceAfterUnaryPredecrementOperator",47,[80,21,110,105],[vfe],16),Bpe("NoSpaceBeforeUnaryPostincrementOperator",[80,22,24,105],46,[vfe,Jfe],16),Bpe("NoSpaceBeforeUnaryPostdecrementOperator",[80,22,24,105],47,[vfe,Jfe],16),Bpe("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[vfe,Gpe],4),Bpe("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[vfe,Gpe],4),Bpe("SpaceAfterAddWhenFollowedByPreincrement",40,46,[vfe,Gpe],4),Bpe("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[vfe,Gpe],4),Bpe("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[vfe,Gpe],4),Bpe("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[vfe,Gpe],4),Bpe("NoSpaceAfterCloseBrace",20,[28,27],[vfe],16),Bpe("NewLineBeforeCloseBraceInBlockContext",r,20,[nfe],8),Bpe("SpaceAfterCloseBrace",20,t(22),[vfe,dfe],4),Bpe("SpaceBetweenCloseBraceAndElse",20,93,[vfe],4),Bpe("SpaceBetweenCloseBraceAndWhile",20,117,[vfe],4),Bpe("NoSpaceBetweenEmptyBraceBrackets",19,20,[vfe,ffe],16),Bpe("SpaceAfterConditionalClosingParen",22,23,[pfe],4),Bpe("NoSpaceBetweenFunctionKeywordAndStar",100,42,[cfe],16),Bpe("SpaceAfterStarInGeneratorDeclaration",42,80,[cfe],4),Bpe("SpaceAfterFunctionInFuncDecl",100,n,[sfe],4),Bpe("NewLineAfterOpenBraceInBlockContext",19,n,[nfe],8),Bpe("SpaceAfterGetSetInMember",[139,153],80,[sfe],4),Bpe("NoSpaceBetweenYieldKeywordAndStar",127,42,[vfe,jfe],16),Bpe("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],n,[vfe,jfe],4),Bpe("NoSpaceBetweenReturnAndSemicolon",107,27,[vfe],16),Bpe("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],n,[vfe],4),Bpe("SpaceAfterLetConstInVariableDeclaration",[121,87],n,[vfe,Rfe],4),Bpe("NoSpaceBeforeOpenParenInFuncCall",n,21,[vfe,_fe,mfe],16),Bpe("SpaceBeforeBinaryKeywordOperator",n,a,[vfe,Gpe],4),Bpe("SpaceAfterBinaryKeywordOperator",a,n,[vfe,Gpe],4),Bpe("SpaceAfterVoidOperator",116,n,[vfe,Mfe],4),Bpe("SpaceBetweenAsyncAndOpenParen",134,21,[Afe,vfe],4),Bpe("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[vfe],4),Bpe("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[vfe],16),Bpe("SpaceBeforeJsxAttribute",n,80,[xfe,vfe],4),Bpe("SpaceBeforeSlashInJsxOpeningElement",n,44,[wfe,vfe],4),Bpe("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[wfe,vfe],16),Bpe("NoSpaceBeforeEqualInJsxAttribute",n,64,[Sfe,vfe],16),Bpe("NoSpaceAfterEqualInJsxAttribute",64,n,[Sfe,vfe],16),Bpe("NoSpaceBeforeJsxNamespaceColon",80,59,[Dfe],16),Bpe("NoSpaceAfterJsxNamespaceColon",59,80,[Dfe],16),Bpe("NoSpaceAfterModuleImport",[144,149],21,[vfe],16),Bpe("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,161,143,140],n,[vfe],4),Bpe("SpaceBeforeCertainTypeScriptKeywords",n,[96,119,161],[vfe],4),Bpe("SpaceAfterModuleName",11,19,[Nfe],4),Bpe("SpaceBeforeArrow",n,39,[vfe],4),Bpe("SpaceAfterArrow",39,n,[vfe],4),Bpe("NoSpaceAfterEllipsis",26,80,[vfe],16),Bpe("NoSpaceAfterOptionalParameters",58,[22,28],[vfe,Wpe],16),Bpe("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[vfe,Bfe],16),Bpe("NoSpaceBeforeOpenAngularBracket",c,30,[vfe,$fe],16),Bpe("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[vfe,$fe],16),Bpe("NoSpaceAfterOpenAngularBracket",30,n,[vfe,$fe],16),Bpe("NoSpaceBeforeCloseAngularBracket",n,32,[vfe,$fe],16),Bpe("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[vfe,$fe,afe,Lfe],16),Bpe("SpaceBeforeAt",[22,80],60,[vfe],4),Bpe("NoSpaceAfterAt",60,n,[vfe],16),Bpe("SpaceAfterDecorator",n,[128,80,95,90,86,126,125,123,124,139,153,23,42],[Tfe],4),Bpe("NoSpaceBeforeNonNullAssertionOperator",n,54,[vfe,Ufe],16),Bpe("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[vfe,Ofe],16),Bpe("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[vfe],4)],...[Bpe("SpaceAfterConstructor",137,21,[Lpe("insertSpaceAfterConstructor"),vfe],4),Bpe("NoSpaceAfterConstructor",137,21,[jpe("insertSpaceAfterConstructor"),vfe],16),Bpe("SpaceAfterComma",28,n,[Lpe("insertSpaceAfterCommaDelimiter"),vfe,Cfe,hfe,gfe],4),Bpe("NoSpaceAfterComma",28,n,[jpe("insertSpaceAfterCommaDelimiter"),vfe,Cfe],16),Bpe("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[Lpe("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),sfe],4),Bpe("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[jpe("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),sfe],16),Bpe("SpaceAfterKeywordInControl",o,21,[Lpe("insertSpaceAfterKeywordsInControlFlowStatements"),pfe],4),Bpe("NoSpaceAfterKeywordInControl",o,21,[jpe("insertSpaceAfterKeywordsInControlFlowStatements"),pfe],16),Bpe("SpaceAfterOpenParen",21,n,[Lpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),vfe],4),Bpe("SpaceBeforeCloseParen",n,22,[Lpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),vfe],4),Bpe("SpaceBetweenOpenParens",21,21,[Lpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),vfe],4),Bpe("NoSpaceBetweenParens",21,22,[vfe],16),Bpe("NoSpaceAfterOpenParen",21,n,[jpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),vfe],16),Bpe("NoSpaceBeforeCloseParen",n,22,[jpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),vfe],16),Bpe("SpaceAfterOpenBracket",23,n,[Lpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),vfe],4),Bpe("SpaceBeforeCloseBracket",n,24,[Lpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),vfe],4),Bpe("NoSpaceBetweenBrackets",23,24,[vfe],16),Bpe("NoSpaceAfterOpenBracket",23,n,[jpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),vfe],16),Bpe("NoSpaceBeforeCloseBracket",n,24,[jpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),vfe],16),Bpe("SpaceAfterOpenBrace",19,n,[Jpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),efe],4),Bpe("SpaceBeforeCloseBrace",n,20,[Jpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),efe],4),Bpe("NoSpaceBetweenEmptyBraceBrackets",19,20,[vfe,ffe],16),Bpe("NoSpaceAfterOpenBrace",19,n,[Mpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),vfe],16),Bpe("NoSpaceBeforeCloseBrace",n,20,[Mpe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),vfe],16),Bpe("SpaceBetweenEmptyBraceBrackets",19,20,[Lpe("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),Bpe("NoSpaceBetweenEmptyBraceBrackets",19,20,[Mpe("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),vfe],16),Bpe("SpaceAfterTemplateHeadAndMiddle",[16,17],n,[Lpe("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),bfe],4,1),Bpe("SpaceBeforeTemplateMiddleAndTail",n,[17,18],[Lpe("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),vfe],4),Bpe("NoSpaceAfterTemplateHeadAndMiddle",[16,17],n,[jpe("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),bfe],16,1),Bpe("NoSpaceBeforeTemplateMiddleAndTail",n,[17,18],[jpe("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),vfe],16),Bpe("SpaceAfterOpenBraceInJsxExpression",19,n,[Lpe("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),vfe,Efe],4),Bpe("SpaceBeforeCloseBraceInJsxExpression",n,20,[Lpe("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),vfe,Efe],4),Bpe("NoSpaceAfterOpenBraceInJsxExpression",19,n,[jpe("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),vfe,Efe],16),Bpe("NoSpaceBeforeCloseBraceInJsxExpression",n,20,[jpe("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),vfe,Efe],16),Bpe("SpaceAfterSemicolonInFor",27,n,[Lpe("insertSpaceAfterSemicolonInForStatements"),vfe,Vpe],4),Bpe("NoSpaceAfterSemicolonInFor",27,n,[jpe("insertSpaceAfterSemicolonInForStatements"),vfe,Vpe],16),Bpe("SpaceBeforeBinaryOperator",n,s,[Lpe("insertSpaceBeforeAndAfterBinaryOperators"),vfe,Gpe],4),Bpe("SpaceAfterBinaryOperator",s,n,[Lpe("insertSpaceBeforeAndAfterBinaryOperators"),vfe,Gpe],4),Bpe("NoSpaceBeforeBinaryOperator",n,s,[jpe("insertSpaceBeforeAndAfterBinaryOperators"),vfe,Gpe],16),Bpe("NoSpaceAfterBinaryOperator",s,n,[jpe("insertSpaceBeforeAndAfterBinaryOperators"),vfe,Gpe],16),Bpe("SpaceBeforeOpenParenInFuncDecl",n,21,[Lpe("insertSpaceBeforeFunctionParenthesis"),vfe,sfe],4),Bpe("NoSpaceBeforeOpenParenInFuncDecl",n,21,[jpe("insertSpaceBeforeFunctionParenthesis"),vfe,sfe],16),Bpe("NewLineBeforeOpenBraceInControl",d,19,[Lpe("placeOpenBraceOnNewLineForControlBlocks"),pfe,tfe],8,1),Bpe("NewLineBeforeOpenBraceInFunction",l,19,[Lpe("placeOpenBraceOnNewLineForFunctions"),sfe,tfe],8,1),Bpe("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",u,19,[Lpe("placeOpenBraceOnNewLineForFunctions"),lfe,tfe],8,1),Bpe("SpaceAfterTypeAssertion",32,n,[Lpe("insertSpaceAfterTypeAssertion"),vfe,Qfe],4),Bpe("NoSpaceAfterTypeAssertion",32,n,[jpe("insertSpaceAfterTypeAssertion"),vfe,Qfe],16),Bpe("SpaceBeforeTypeAnnotation",n,[58,59],[Lpe("insertSpaceBeforeTypeAnnotation"),vfe,Ype],4),Bpe("NoSpaceBeforeTypeAnnotation",n,[58,59],[jpe("insertSpaceBeforeTypeAnnotation"),vfe,Ype],16),Bpe("NoOptionalSemicolon",27,i,[Qpe("semicolons","remove"),Vfe],32),Bpe("OptionalSemicolon",n,i,[Qpe("semicolons","insert"),Hfe],64)],...[Bpe("NoSpaceBeforeSemicolon",n,27,[vfe],16),Bpe("SpaceBeforeOpenBraceInControl",d,19,[Upe("placeOpenBraceOnNewLineForControlBlocks"),pfe,Pfe,Zpe],4,1),Bpe("SpaceBeforeOpenBraceInFunction",l,19,[Upe("placeOpenBraceOnNewLineForFunctions"),sfe,ife,Pfe,Zpe],4,1),Bpe("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",u,19,[Upe("placeOpenBraceOnNewLineForFunctions"),lfe,Pfe,Zpe],4,1),Bpe("NoSpaceBeforeComma",n,28,[vfe],16),Bpe("NoSpaceBeforeOpenBracket",t(134,84),23,[vfe],16),Bpe("NoSpaceAfterCloseBracket",24,n,[vfe,Ife],16),Bpe("SpaceAfterSemicolon",27,n,[vfe],4),Bpe("SpaceBetweenForAndAwaitKeyword",99,135,[vfe],4),Bpe("SpaceBetweenDotDotDotAndTypeName",26,c,[vfe],16),Bpe("SpaceBetweenStatements",[22,92,93,84],n,[vfe,Cfe,Hpe],4),Bpe("SpaceAfterTryCatchFinally",[113,85,98],19,[vfe],4)]]}function Bpe(e,t,n,r,i,o=0){return{leftTokenRange:qpe(t),rightTokenRange:qpe(n),rule:{debugName:e,context:r,action:i,flags:o}}}function Ope(e){return{tokens:e,isSpecific:!0}}function qpe(e){return"number"==typeof e?Ope([e]):Ye(e)?Ope(e):e}function $pe(e,t,n=[]){const r=[];for(let i=e;i<=t;i++)C(n,i)||r.push(i);return Ope(r)}function Qpe(e,t){return n=>n.options&&n.options[e]===t}function Lpe(e){return t=>t.options&&De(t.options,e)&&!!t.options[e]}function Mpe(e){return t=>t.options&&De(t.options,e)&&!t.options[e]}function jpe(e){return t=>!t.options||!De(t.options,e)||!t.options[e]}function Upe(e){return t=>!t.options||!De(t.options,e)||!t.options[e]||t.TokensAreOnSameLine()}function Jpe(e){return t=>!t.options||!De(t.options,e)||!!t.options[e]}function Vpe(e){return 248===e.contextNode.kind}function Hpe(e){return!Vpe(e)}function Gpe(e){switch(e.contextNode.kind){case 226:return 28!==e.contextNode.operatorToken.kind;case 227:case 194:case 234:case 281:case 276:case 182:case 192:case 193:case 238:return!0;case 208:case 265:case 271:case 277:case 260:case 169:case 306:case 172:case 171:return 64===e.currentTokenSpan.kind||64===e.nextTokenSpan.kind;case 249:case 168:return 103===e.currentTokenSpan.kind||103===e.nextTokenSpan.kind||64===e.currentTokenSpan.kind||64===e.nextTokenSpan.kind;case 250:return 165===e.currentTokenSpan.kind||165===e.nextTokenSpan.kind}return!1}function Wpe(e){return!Gpe(e)}function zpe(e){return!Ype(e)}function Ype(e){const t=e.contextNode.kind;return 172===t||171===t||169===t||260===t||cu(t)}function Kpe(e){return!function(e){return uw(e.contextNode)&&e.contextNode.questionToken}(e)}function Xpe(e){return 227===e.contextNode.kind||194===e.contextNode.kind}function Zpe(e){return e.TokensAreOnSameLine()||ife(e)}function efe(e){return 206===e.contextNode.kind||200===e.contextNode.kind||function(e){return rfe(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function tfe(e){return ife(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function nfe(e){return rfe(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function rfe(e){return ofe(e.contextNode)}function ife(e){return ofe(e.nextTokenParent)}function ofe(e){if(ufe(e))return!0;switch(e.kind){case 241:case 269:case 210:case 268:return!0}return!1}function sfe(e){switch(e.contextNode.kind){case 262:case 174:case 173:case 177:case 178:case 179:case 218:case 176:case 219:case 264:return!0}return!1}function afe(e){return!sfe(e)}function cfe(e){return 262===e.contextNode.kind||218===e.contextNode.kind}function lfe(e){return ufe(e.contextNode)}function ufe(e){switch(e.kind){case 263:case 231:case 264:case 266:case 187:case 267:case 278:case 279:case 272:case 275:return!0}return!1}function dfe(e){switch(e.currentTokenParent.kind){case 263:case 267:case 266:case 299:case 268:case 255:return!0;case 241:{const t=e.currentTokenParent.parent;if(!t||219!==t.kind&&218!==t.kind)return!0}}return!1}function pfe(e){switch(e.contextNode.kind){case 245:case 255:case 248:case 249:case 250:case 247:case 258:case 246:case 254:case 299:return!0;default:return!1}}function ffe(e){return 210===e.contextNode.kind}function _fe(e){return function(e){return 213===e.contextNode.kind}(e)||function(e){return 214===e.contextNode.kind}(e)}function mfe(e){return 28!==e.currentTokenSpan.kind}function hfe(e){return 24!==e.nextTokenSpan.kind}function gfe(e){return 22!==e.nextTokenSpan.kind}function Afe(e){return 219===e.contextNode.kind}function yfe(e){return 205===e.contextNode.kind}function vfe(e){return e.TokensAreOnSameLine()&&12!==e.contextNode.kind}function bfe(e){return 12!==e.contextNode.kind}function Cfe(e){return 284!==e.contextNode.kind&&288!==e.contextNode.kind}function Efe(e){return 294===e.contextNode.kind||293===e.contextNode.kind}function xfe(e){return 291===e.nextTokenParent.kind||295===e.nextTokenParent.kind&&291===e.nextTokenParent.parent.kind}function Sfe(e){return 291===e.contextNode.kind}function kfe(e){return 295!==e.nextTokenParent.kind}function Dfe(e){return 295===e.nextTokenParent.kind}function wfe(e){return 285===e.contextNode.kind}function Ife(e){return!sfe(e)&&!ife(e)}function Tfe(e){return e.TokensAreOnSameLine()&&Oy(e.contextNode)&&Ffe(e.currentTokenParent)&&!Ffe(e.nextTokenParent)}function Ffe(e){for(;e&&Ju(e);)e=e.parent;return e&&170===e.kind}function Rfe(e){return 261===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function Pfe(e){return 2!==e.formattingRequestKind}function Nfe(e){return 267===e.contextNode.kind}function Bfe(e){return 187===e.contextNode.kind}function Ofe(e){return 180===e.contextNode.kind}function qfe(e,t){if(30!==e.kind&&32!==e.kind)return!1;switch(t.kind){case 183:case 216:case 265:case 263:case 231:case 264:case 262:case 218:case 219:case 174:case 173:case 179:case 180:case 213:case 214:case 233:return!0;default:return!1}}function $fe(e){return qfe(e.currentTokenSpan,e.currentTokenParent)||qfe(e.nextTokenSpan,e.nextTokenParent)}function Qfe(e){return 216===e.contextNode.kind}function Lfe(e){return!Qfe(e)}function Mfe(e){return 116===e.currentTokenSpan.kind&&222===e.currentTokenParent.kind}function jfe(e){return 229===e.contextNode.kind&&void 0!==e.contextNode.expression}function Ufe(e){return 235===e.contextNode.kind}function Jfe(e){return!function(e){switch(e.contextNode.kind){case 245:case 248:case 249:case 250:case 246:case 247:return!0;default:return!1}}(e)}function Vfe(e){let t=e.nextTokenSpan.kind,n=e.nextTokenSpan.pos;if(Rg(t)){const r=e.nextTokenParent===e.currentTokenParent?GY(e.currentTokenParent,dc(e.currentTokenParent,(e=>!e.parent)),e.sourceFile):e.nextTokenParent.getFirstToken(e.sourceFile);if(!r)return!0;t=r.kind,n=r.getStart(e.sourceFile)}return e.sourceFile.getLineAndCharacterOfPosition(e.currentTokenSpan.pos).line===e.sourceFile.getLineAndCharacterOfPosition(n).line?20===t||1===t:27===t&&27===e.currentTokenSpan.kind||240!==t&&27!==t&&(264===e.contextNode.kind||265===e.contextNode.kind?!lw(e.currentTokenParent)||!!e.currentTokenParent.type||21!==t:uw(e.currentTokenParent)?!e.currentTokenParent.initializer:248!==e.currentTokenParent.kind&&242!==e.currentTokenParent.kind&&240!==e.currentTokenParent.kind&&23!==t&&21!==t&&40!==t&&41!==t&&44!==t&&14!==t&&28!==t&&228!==t&&16!==t&&15!==t&&25!==t)}function Hfe(e){return SZ(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function Gfe(e){return!zw(e.contextNode)||!xD(e.contextNode.expression)||e.contextNode.expression.getText().includes(".")}function Wfe(e,t){return{options:e,getRules:zfe(),host:t}}function zfe(){return void 0===Tpe&&(Tpe=function(e){const t=function(e){const t=new Array(o_e*o_e),n=new Array(t.length);for(const r of e){const e=r.leftTokenRange.isSpecific&&r.rightTokenRange.isSpecific;for(const i of r.leftTokenRange.tokens)for(const o of r.rightTokenRange.tokens){const s=Kfe(i,o);let a=t[s];void 0===a&&(a=t[s]=[]),a_e(a,r.rule,e,n,s)}}return t}(e);return e=>{const n=t[Kfe(e.currentTokenSpan.kind,e.nextTokenSpan.kind)];if(n){const t=[];let r=0;for(const i of n){const n=~Yfe(r);i.action&n&&g(i.context,(t=>t(e)))&&(t.push(i),r|=i.action)}if(t.length)return t}}}(Npe())),Tpe}function Yfe(e){let t=0;return 1&e&&(t|=28),2&e&&(t|=96),28&e&&(t|=28),96&e&&(t|=96),t}function Kfe(e,t){return un.assert(e<=165&&t<=165,"Must compute formatting context from tokens"),e*o_e+t}var Xfe,Zfe,e_e,t_e,n_e,r_e=5,i_e=31,o_e=166,s_e=((Xfe=s_e||{})[Xfe.StopRulesSpecific=0]="StopRulesSpecific",Xfe[Xfe.StopRulesAny=1*r_e]="StopRulesAny",Xfe[Xfe.ContextRulesSpecific=2*r_e]="ContextRulesSpecific",Xfe[Xfe.ContextRulesAny=3*r_e]="ContextRulesAny",Xfe[Xfe.NoContextRulesSpecific=4*r_e]="NoContextRulesSpecific",Xfe[Xfe.NoContextRulesAny=5*r_e]="NoContextRulesAny",Xfe);function a_e(e,t,n,r,i){const o=3&t.action?n?0:s_e.StopRulesAny:t.context!==Fpe?n?s_e.ContextRulesSpecific:s_e.ContextRulesAny:n?s_e.NoContextRulesSpecific:s_e.NoContextRulesAny,s=r[i]||0;e.splice(function(e,t){let n=0;for(let r=0;r<=t;r+=r_e)n+=e&i_e,e>>=r_e;return n}(s,o),0,t),r[i]=function(e,t){const n=1+(e>>t&i_e);return un.assert((n&i_e)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(i_e<un.formatSyntaxKind(n)}),r}function l_e(e,t,n){const r=t.getLineAndCharacterOfPosition(e).line;if(0===r)return[];let i=xp(r,t);for(;Us(t.text.charCodeAt(i));)i--;Js(t.text.charCodeAt(i))&&i--;return v_e({pos:Cp(r-1,t),end:i+1},t,n,2)}function u_e(e,t,n){return y_e(h_e(m_e(e,27,t)),t,n,3)}function d_e(e,t,n){const r=m_e(e,19,t);if(!r)return[];return v_e({pos:hY(h_e(r.parent).getStart(t),t),end:e},t,n,4)}function p_e(e,t,n){return y_e(h_e(m_e(e,20,t)),t,n,5)}function f_e(e,t){return v_e({pos:0,end:e.text.length},e,t,0)}function __e(e,t,n,r){return v_e({pos:hY(e,n),end:t},n,r,1)}function m_e(e,t,n){const r=WY(e,n);return r&&r.kind===t&&e===r.getEnd()?r:void 0}function h_e(e){let t=e;for(;t&&t.parent&&t.parent.end===e.end&&!g_e(t.parent,t);)t=t.parent;return t}function g_e(e,t){switch(e.kind){case 263:case 264:return Kv(e.members,t);case 267:const n=e.body;return!!n&&268===n.kind&&Kv(n.statements,t);case 307:case 241:case 268:return Kv(e.statements,t);case 299:return Kv(e.block.statements,t)}return!1}function A_e(e,t,n,r,i,o){const s={pos:e.pos,end:e.end};return Ipe(t.text,n,s.pos,s.end,(n=>b_e(s,e,r,i,n,o,1,(e=>!1),t)))}function y_e(e,t,n,r){if(!e)return[];return v_e({pos:hY(e.getStart(t),t),end:e.end},t,n,r)}function v_e(e,t,n,r){const i=function(e,t){return function n(r){const i=OP(r,(n=>Xv(n.getStart(t),n.end,e)&&n));if(i){const e=n(i);if(e)return e}return r}(t)}(e,t);return Ipe(t.text,t.languageVariant,function(e,t,n){const r=e.getStart(n);if(r===t.pos&&e.end===t.end)return r;const i=WY(t.pos,n);return i?i.end>=t.pos?e.pos:i.end:e.pos}(i,e,t),e.end,(o=>b_e(e,i,n_e.getIndentationForNode(i,e,t,n.options),function(e,t,n){let r,i=-1;for(;e;){const o=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(-1!==i&&o!==i)break;if(n_e.shouldIndentChildNode(t,e,r,n))return t.indentSize;i=o,r=e,e=e.parent}return 0}(i,n.options,t),o,n,r,function(e,t){if(!e.length)return i;const n=e.filter((e=>bY(t,e.start,e.start+e.length))).sort(((e,t)=>e.start-t.start));if(!n.length)return i;let r=0;return e=>{for(;;){if(r>=n.length)return!1;const t=n[r];if(e.end<=t.start)return!1;if(EY(e.pos,e.end,t.start,t.start+t.length))return!0;r++}};function i(){return!1}}(t.parseDiagnostics,e),t)))}function b_e(e,t,n,r,i,{options:o,getRules:s,host:a},c,l,u){var p;const f=new kpe(u,c,o);let _,m,h,g,y,b=-1;const C=[];if(i.advance(),i.isOnToken()){const s=u.getLineAndCharacterOfPosition(t.getStart(u)).line;let a=s;Oy(t)&&(a=u.getLineAndCharacterOfPosition(Mp(t,u)).line),function t(n,r,s,a,c,d){if(!bY(e,n.getStart(u),n.getEnd()))return;const p=x(n,s,c,d);let f=r;OP(n,(e=>{h(e,-1,n,p,s,a,!1)}),(e=>{g(e,n,s,p)}));for(;i.isOnToken()&&i.getTokenFullStart()Math.min(n.end,e.end))break;A(t,n,p,n)}function h(r,s,a,c,l,d,p,_){if(un.assert(!eA(r)),kp(r)||wp(a,r))return s;const m=r.getStart(u),h=u.getLineAndCharacterOfPosition(m).line;let g=h;Oy(r)&&(g=u.getLineAndCharacterOfPosition(Mp(r,u)).line);let v=-1;if(p&&Kv(e,a)&&(v=function(e,t,n,r,i){if(bY(r,e,t)||vY(r,e,t)){if(-1!==i)return i}else{const t=u.getLineAndCharacterOfPosition(e).line,r=hY(e,u),i=n_e.findFirstNonWhitespaceColumn(r,e,u,o);if(t!==n||e===i){const e=n_e.getBaseIndentation(o);return e>i?e:i}}return-1}(m,r.end,l,e,s),-1!==v&&(s=v)),!bY(e,r.pos,r.end))return r.ende.end)return s;if(t.token.end>m){t.token.pos>m&&i.skipToStartOf(r);break}A(t,n,c,n)}if(!i.isOnToken()||i.getTokenFullStart()>=e.end)return s;if(Tl(r)){const e=i.readTokenInfo(r);if(12!==r.kind)return un.assert(e.token.end===r.end,"Token end is child end"),A(e,n,c,r),s}const C=170===r.kind?h:d,E=function(e,t,n,r,i,s){const a=n_e.shouldIndentChildNode(o,e)?o.indentSize:0;return s===t?{indentation:t===y?b:i.getIndentation(),delta:Math.min(o.indentSize,i.getDelta(e)+a)}:-1===n?21===e.kind&&t===y?{indentation:b,delta:i.getDelta(e)}:n_e.childStartsOnTheSameLineWithElseInIfStatement(r,e,t,u)||n_e.childIsUnindentedBranchOfConditionalExpression(r,e,t,u)||n_e.argumentStartsOnSameLineAsPreviousArgument(r,e,t,u)?{indentation:i.getIndentation(),delta:a}:{indentation:i.getIndentation()+i.getDelta(e),delta:a}:{indentation:n,delta:a}}(r,h,v,n,c,C);return t(r,f,h,g,E.indentation,E.delta),f=n,_&&209===a.kind&&-1===s&&(s=E.indentation),s}function g(t,r,s,a){un.assert(Fl(t)),un.assert(!eA(t));const c=function(e,t){switch(e.kind){case 176:case 262:case 218:case 174:case 173:case 219:case 179:case 180:case 184:case 185:case 177:case 178:if(e.typeParameters===t)return 30;if(e.parameters===t)return 21;break;case 213:case 214:if(e.typeArguments===t)return 30;if(e.arguments===t)return 21;break;case 263:case 231:case 264:case 265:if(e.typeParameters===t)return 30;break;case 183:case 215:case 186:case 233:case 205:if(e.typeArguments===t)return 30;break;case 187:return 19}return 0}(r,t);let l=a,d=s;if(!bY(e,t.pos,t.end))return void(t.endt.pos)break;if(e.token.kind===c){let t;if(d=u.getLineAndCharacterOfPosition(e.token.pos).line,A(e,r,a,r),-1!==b)t=b;else{const n=hY(e.token.pos,u);t=n_e.findFirstNonWhitespaceColumn(n,e.token.pos,u,o)}l=x(r,s,t,o.indentSize)}else A(e,r,a,r)}let p=-1;for(let e=0;eI(e.pos,i,!1)))}-1!==e&&n&&(I(t.token.pos,e,1===d),y=h.line,b=e)}i.advance(),f=n}}(t,t,s,a,n,r)}const E=i.getCurrentLeadingTrivia();if(E){const r=n_e.nodeWillIndentChild(o,t,void 0,u,!1)?n+o.indentSize:n;S(E,r,!0,(e=>{D(e,u.getLineAndCharacterOfPosition(e.pos),t,t,void 0),I(e.pos,r,!1)})),!1!==o.trimTrailingWhitespace&&function(t){let n=m?m.end:e.pos;for(const e of t)fK(e.kind)&&(n=e.end){const e=i.isOnEOF()?i.readEOFTokenRange():i.isOnToken()?i.readTokenInfo(t).token:void 0;if(e&&e.pos===_){const n=(null==(p=WY(e.end,u,t))?void 0:p.parent)||h;w(e,u.getLineAndCharacterOfPosition(e.pos).line,n,m,g,h,n,void 0)}}return C;function x(e,t,n,r){return{getIndentationForComment:(e,t,r)=>{switch(e){case 20:case 24:case 22:return n+i(r)}return-1!==t?t:n},getIndentationForToken:(r,o,s,a)=>!a&&function(n,r,i){switch(r){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(i.kind){case 286:case 287:case 285:return!1}break;case 23:case 24:if(200!==i.kind)return!1}return t!==n&&!(Oy(e)&&r===function(e){if(cP(e)){const t=A(e.modifiers,Zl,v(e.modifiers,cw));if(t)return t.kind}switch(e.kind){case 263:return 86;case 264:return 120;case 262:return 100;case 266:return 266;case 177:return 139;case 178:return 153;case 174:if(e.asteriskToken)return 42;case 172:case 169:const t=Sc(e);if(t)return t.kind}}(e))}(r,o,s)?n+i(s):n,getIndentation:()=>n,getDelta:i,recomputeIndentation:(t,i)=>{n_e.shouldIndentChildNode(o,i,e,u)&&(n+=t?o.indentSize:-o.indentSize,r=n_e.shouldIndentChildNode(o,e)?o.indentSize:0)}};function i(t){return n_e.nodeWillIndentChild(o,e,t,u,!0)?r:0}}function S(t,n,r,i){for(const o of t){const t=Kv(e,o);switch(o.kind){case 3:t&&T(o,n,!r),r=!1;break;case 2:r&&t&&i(o),r=!1;break;case 4:r=!0}}return r}function k(t,n,r,i){for(const o of t)if(fK(o.kind)&&Kv(e,o)){D(o,u.getLineAndCharacterOfPosition(o.pos),n,r,i)}}function D(t,n,r,i,o){let s=0;if(!l(t))if(m)s=w(t,n.line,r,m,g,h,i,o);else{F(u.getLineAndCharacterOfPosition(e.pos).line,n.line)}return m=t,_=t.end,h=r,g=n.line,s}function w(e,t,n,r,i,c,l,p){f.updateContext(r,c,e,n,l);const _=s(f);let m=!1!==f.options.trimTrailingWhitespace,h=0;return _?d(_,(s=>{if(h=function(e,t,n,r,i){const s=i!==n;switch(e.action){case 1:return 0;case 16:if(t.end!==r.pos)return N(t.end,r.pos-t.end),s?2:0;break;case 32:N(t.pos,t.end-t.pos);break;case 8:if(1!==e.flags&&n!==i)return 0;if(1!==i-n)return B(t.end,r.pos-t.end,NX(a,o)),s?0:1;break;case 4:if(1!==e.flags&&n!==i)return 0;if(1!==r.pos-t.end||32!==u.text.charCodeAt(t.end))return B(t.end,r.pos-t.end," "),s?2:0;break;case 64:!function(e,t){C.push(TK(e,0,t))}(t.end,";")}return 0}(s,r,i,e,t),p)switch(h){case 2:n.getStart(u)===e.pos&&p.recomputeIndentation(!1,l);break;case 1:n.getStart(u)===e.pos&&p.recomputeIndentation(!0,l);break;default:un.assert(0===h)}m=m&&!(16&s.action)&&1!==s.flags})):m=m&&1!==e.kind,t!==i&&m&&F(i,t,r),h}function I(e,t,n){const r=E_e(t,o);if(n)B(e,0,r);else{const n=u.getLineAndCharacterOfPosition(e),i=Cp(n.line,u);(t!==function(e,t){let n=0;for(let r=0;r0){const e=E_e(r,o);B(t,n.character,e)}else N(t,n.character)}}function F(e,t,n){for(let r=e;rt)continue;const i=R(e,t);-1!==i&&(un.assert(i===e||!Us(u.text.charCodeAt(i-1))),N(i,t+1-i))}}function R(e,t){let n=t;for(;n>=e&&Us(u.text.charCodeAt(n));)n--;return n!==t?n+1:-1}function P(e,t,n){F(u.getLineAndCharacterOfPosition(e).line,u.getLineAndCharacterOfPosition(t).line+1,n)}function N(e,t){t&&C.push(TK(e,t,""))}function B(e,t,n){(t||n)&&C.push(TK(e,t,n))}}function C_e(e,t,n,r=UY(e,t)){const i=dc(r,sF);i&&(r=i.parent);if(r.getStart(e)<=t&&tyY(n,t)||t===n.end&&(2===n.kind||t===e.getFullWidth())))}function E_e(e,t){if((!Zfe||Zfe.tabSize!==t.tabSize||Zfe.indentSize!==t.indentSize)&&(Zfe={tabSize:t.tabSize,indentSize:t.indentSize},e_e=t_e=void 0),t.convertTabsToSpaces){let n;const r=Math.floor(e/t.indentSize),i=e%t.indentSize;return t_e||(t_e=[]),void 0===t_e[r]?(n=$K(" ",t.indentSize*r),t_e[r]=n):n=t_e[r],i?n+$K(" ",i):n}{const n=Math.floor(e/t.tabSize),r=e-n*t.tabSize;let i;return e_e||(e_e=[]),void 0===e_e[n]?e_e[n]=i=$K("\t",n):i=e_e[n],r?i+$K(" ",r):i}}(e=>{let t;var n;function r(e){return e.baseIndentSize||0}function i(e,t,n,i,a,c,l){var _;let m=e.parent;for(;m;){let r=!0;if(n){const t=e.getStart(a);r=tn.end}const g=o(m,e,a),A=g.line===t.line||p(m,e,t.line,a);if(r){const n=null==(_=f(e,a))?void 0:_[0];let r=h(e,a,l,!!n&&u(n,a).line>g.line);if(-1!==r)return r+i;if(r=s(e,m,t,A,a,l),-1!==r)return r+i}x(l,m,e,a,c)&&!A&&(i+=l.indentSize);const y=d(m,e,t.line,a);m=(e=m).parent,t=y?a.getLineAndCharacterOfPosition(e.getStart(a)):g}return i+r(l)}function o(e,t,n){const r=f(t,n),i=r?r.pos:e.getStart(n);return n.getLineAndCharacterOfPosition(i)}function s(e,t,n,r,i,o){return(ud(e)||pd(e))&&(307===t.kind||!r)?y(n,i,o):-1}let a;var c;function l(e,t,n,r){const i=GY(e,t,r);if(!i)return 0;if(19===i.kind)return 1;if(20===i.kind){return n===u(i,r).line?2:0}return 0}function u(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function d(e,t,n,r){if(!Kw(e)||!C(e.arguments,t))return!1;return Ms(r,e.expression.getEnd()).line===n}function p(e,t,n,r){if(245===e.kind&&e.elseStatement===t){const t=IY(e,93,r);un.assert(void 0!==t);return u(t,r).line===n}return!1}function f(e,t){return e.parent&&_(e.getStart(t),e.getEnd(),e.parent,t)}function _(e,t,n,r){switch(n.kind){case 183:return i(n.typeArguments);case 210:return i(n.properties);case 209:case 275:case 279:case 206:case 207:return i(n.elements);case 187:return i(n.members);case 262:case 218:case 219:case 174:case 173:case 179:case 176:case 185:case 180:return i(n.typeParameters)||i(n.parameters);case 177:return i(n.parameters);case 263:case 231:case 264:case 265:case 345:return i(n.typeParameters);case 214:case 213:return i(n.typeArguments)||i(n.arguments);case 261:return i(n.declarations)}function i(i){return i&&vY(function(e,t,n){const r=e.getChildren(n);for(let e=1;e=0&&t=0;o--){if(28===e[o].kind)continue;if(n.getLineAndCharacterOfPosition(e[o].end).line!==i.line)return y(i,n,r);i=u(e[o],n)}return-1}function y(e,t,n){const r=t.getPositionOfLineAndCharacter(e.line,0);return b(r,r+e.character,t,n)}function v(e,t,n,r){let i=0,o=0;for(let s=e;st.text.length)return r(n);if(0===n.indentStyle)return 0;const s=WY(e,t,void 0,!0),a=C_e(t,e,s||null);if(a&&3===a.kind)return function(e,t,n,r){const i=Ms(e,t).line-1,o=Ms(e,r.pos).line;if(un.assert(o>=0),i<=o)return b(Cp(o,e),t,e,n);const s=Cp(i,e),{column:a,character:c}=v(s,t,e,n);if(0===a)return a;const l=e.text.charCodeAt(s+c);return 42===l?a-1:a}(t,e,n,a);if(!s)return r(n);if(_K(s.kind)&&s.getStart(t)<=e&&e0;){if(!js(e.text.charCodeAt(r)))break;r--}const i=hY(r,e);return b(i,r,e,n)}(t,e,n);if(28===s.kind&&226!==s.parent.kind){const e=function(e,t,n){const r=DY(e);return r&&r.listItemIndex>0?g(r.list.getChildren(),r.listItemIndex-1,t,n):-1}(s,t,n);if(-1!==e)return e}const f=function(e,t,n){return t&&_(e,e,t,n)}(e,s.parent,t);if(f&&!Kv(f,s)){const e=[218,219].includes(d.parent.kind)?0:n.indentSize;return m(f,t,n)+e}return function(e,t,n,o,s,a){let c,d=n;for(;d;){if(xY(d,t,e)&&x(a,d,c,e,!0)){const t=u(d,e),r=l(n,d,o,e);return i(d,t,void 0,0!==r?s&&2===r?a.indentSize:0:o!==t.line?a.indentSize:0,e,!0,a)}const r=h(d,e,a,!0);if(-1!==r)return r;c=d,d=d.parent}return r(a)}(t,e,s,c,o,n)},e.getIndentationForNode=function(e,t,n,r){const o=n.getLineAndCharacterOfPosition(e.getStart(n));return i(e,o,t,0,n,!1,r)},e.getBaseIndentation=r,(c=a||(a={}))[c.Unknown=0]="Unknown",c[c.OpenBrace=1]="OpenBrace",c[c.CloseBrace=2]="CloseBrace",e.isArgumentAndStartLineOverlapsExpressionBeingCalled=d,e.childStartsOnTheSameLineWithElseInIfStatement=p,e.childIsUnindentedBranchOfConditionalExpression=function(e,t,n,r){if(dI(e)&&(t===e.whenTrue||t===e.whenFalse)){const i=Ms(r,e.condition.end).line;if(t===e.whenTrue)return n===i;{const t=u(e.whenTrue,r).line,o=Ms(r,e.whenTrue.end).line;return i===t&&o===n}}return!1},e.argumentStartsOnSameLineAsPreviousArgument=function(e,t,n,r){if(Ou(e)){if(!e.arguments)return!1;const i=A(e.arguments,(e=>e.pos===t.pos));if(!i)return!1;const o=e.arguments.indexOf(i);if(0===o)return!1;if(n===Ms(r,e.arguments[o-1].getEnd()).line)return!0}return!1},e.getContainingList=f,e.findFirstNonWhitespaceCharacterAndColumn=v,e.findFirstNonWhitespaceColumn=b,e.nodeWillIndentChild=E,e.shouldIndentChildNode=x})(n_e||(n_e={}));var x_e={};function S_e(e,t,n){let r=!1;return t.forEach((t=>{const i=dc(UY(e,t.pos),(e=>Kv(e,t)));i&&OP(i,(function i(o){var s;if(!r){if(UD(o)&&AY(t,o.getStart(e))){const t=n.resolveName(o.text,o,-1,!1);if(t&&t.declarations)for(const n of t.declarations)if(a6(n)||o.text&&e.symbol&&(null==(s=e.symbol.exports)?void 0:s.has(o.escapedText)))return void(r=!0)}o.forEachChild(i)}}))})),r}n(x_e,{preparePasteEdits:()=>S_e});var k_e={};n(k_e,{pasteEditsProvider:()=>w_e});var D_e="providePostPasteEdits";function w_e(e,t,n,r,i,o,s,a){const c=zde.ChangeTracker.with({host:i,formatContext:s,preferences:o},(c=>function(e,t,n,r,i,o,s,a,c){let l;t.length!==n.length&&(l=1===t.length?t[0]:t.join(NX(s.host,s.options)));const u=[];let d,p=e.text;for(let e=n.length-1;e>=0;e--){const{pos:r,end:i}=n[e];p=l?p.slice(0,r)+l+p.slice(i):p.slice(0,r)+t[e]+p.slice(i)}if(un.checkDefined(i.runWithTemporaryFileUpdate).call(i,e.fileName,p,((p,f,_)=>{if(d=R5.createImportAdder(_,p,o,i),null==r?void 0:r.range){un.assert(r.range.length===t.length),r.range.forEach((e=>{const t=r.file.statements,n=v(t,(t=>t.end>e.pos));if(-1===n)return;let i=v(t,(t=>t.end>=e.end),n);-1!==i&&e.end<=t[i].getStart()&&i--,u.push(...t.slice(n,-1===i?t.length:i+1))})),un.assertIsDefined(f,"no original program found");const n=f.getTypeChecker(),o=function({file:e,range:t}){const n=t[0].pos,r=t[t.length-1].end,i=UY(e,n),o=HY(e,n)??UY(e,r);return{pos:UD(i)&&n<=i.getStart(e)?i.getFullStart():n,end:UD(o)&&r===o.getEnd()?zde.getAdjustedEndPosition(e,o,{}):r}}(r),s=i6(r.file,u,n,_6(_,u,n),o),a=!s0(e.fileName,f,i,!!r.file.commonJsModuleIndicator);O3(r.file,s.targetFileImportsFromOldFile,c,a),A6(r.file,s.oldImportsNeededByTargetFile,s.targetFileImportsFromOldFile,n,p,d)}else{const e={sourceFile:_,program:f,cancellationToken:a,host:i,preferences:o,formatContext:s};let r=0;n.forEach(((n,i)=>{const o=n.end-n.pos,s=l??t[i],a=n.pos+r,c={pos:a,end:a+s.length};r+=s.length-o;const u=dc(UY(e.sourceFile,c.pos),(e=>Kv(e,c)));u&&OP(u,(function t(n){if(UD(n)&&AY(c,n.getStart(_))&&!(null==p?void 0:p.getTypeChecker().resolveName(n.text,n,-1,!1)))return d.addImportForUnresolvedIdentifier(e,n,!0);n.forEachChild(t)}))}))}d.writeFixes(c,KK(r?r.file:e,o))})),!d.hasFixes())return;n.forEach(((n,r)=>{c.replaceRangeWithText(e,{pos:n.pos,end:n.end},l??t[r])}))}(e,t,n,r,i,o,s,a,c)));return{edits:c,fixId:D_e}}var I_e,T_e={};function F_e(e,t,n,r,i){let o=t?"DeprecationError: ":"DeprecationWarning: ";return o+=`'${e}' `,o+=r?`has been deprecated since v${r}`:"is deprecated",o+=t?" and can no longer be used.":n?` and will no longer be usable after v${n}.`:".",o+=i?` ${jb(i,[e])}`:"",o}function R_e(e,t={}){const n="string"==typeof t.typeScriptVersion?new yn(t.typeScriptVersion):t.typeScriptVersion??I_e??(I_e=new yn(o)),r="string"==typeof t.errorAfter?new yn(t.errorAfter):t.errorAfter,i="string"==typeof t.warnAfter?new yn(t.warnAfter):t.warnAfter,s="string"==typeof t.since?new yn(t.since):t.since??i,a=t.error||r&&n.compareTo(r)>=0,c=!i||n.compareTo(i)>=0;return a?function(e,t,n,r){const i=F_e(e,!0,t,n,r);return()=>{throw new TypeError(i)}}(e,r,s,t.message):c?function(e,t,n,r){let i=!1;return()=>{i||(un.log.warn(F_e(e,!1,t,n,r)),i=!0)}}(e,r,s,t.message):nt}function P_e(e,t){return function(e,t){return function(){return e(),t.apply(this,arguments)}}(R_e((null==t?void 0:t.name)??un.getFunctionName(e),t),e)}function N_e(e,t,n,r){if(Object.defineProperty(o,"name",{...Object.getOwnPropertyDescriptor(o,"name"),value:e}),r)for(const n of Object.keys(r)){const i=+n;!isNaN(i)&&De(t,`${i}`)&&(t[i]=P_e(t[i],{...r[i],name:e}))}const i=function(e,t){return n=>{for(let r=0;De(e,`${r}`)&&De(t,`${r}`);r++){if((0,t[r])(n))return r}}}(t,n);return o;function o(...e){const n=i(e),r=void 0!==n?t[n]:void 0;if("function"==typeof r)return r(...e);throw new TypeError("Invalid arguments")}}function B_e(e){return{overload:t=>({bind:n=>({finish:()=>N_e(e,t,n),deprecate:r=>({finish:()=>N_e(e,t,n,r)})})})}}n(T_e,{ANONYMOUS:()=>AZ,AccessFlags:()=>zr,AssertionLevel:()=>ft,AssignmentDeclarationKind:()=>oi,AssignmentKind:()=>Wh,Associativity:()=>tA,BreakpointResolver:()=>l5,BuilderFileEmit:()=>UJ,BuilderProgramKind:()=>AV,BuilderState:()=>MJ,CallHierarchy:()=>d5,CharacterCodes:()=>bi,CheckFlags:()=>jr,CheckMode:()=>$Q,ClassificationType:()=>Oz,ClassificationTypeNames:()=>Bz,CommentDirectiveType:()=>Er,Comparison:()=>s,CompletionInfoFlags:()=>wz,CompletionTriggerKind:()=>vz,Completions:()=>Ese,ContainerFlags:()=>q$,ContextFlags:()=>Pr,Debug:()=>un,DiagnosticCategory:()=>si,Diagnostics:()=>us,DocumentHighlights:()=>x0,ElementFlags:()=>Wr,EmitFlags:()=>Si,EmitHint:()=>Ii,EmitOnly:()=>Dr,EndOfLineState:()=>Fz,ExitStatus:()=>Ir,ExportKind:()=>u0,Extension:()=>Ci,ExternalEmitHelpers:()=>wi,FileIncludeKind:()=>Sr,FilePreprocessingDiagnosticsKind:()=>kr,FileSystemEntryKind:()=>ro,FileWatcherEventKind:()=>$i,FindAllReferences:()=>kce,FlattenLevel:()=>fM,FlowFlags:()=>Cr,ForegroundColorEscapeSequences:()=>$U,FunctionFlags:()=>Pg,GeneratedIdentifierFlags:()=>yr,GetLiteralTextFlags:()=>tf,GoToDefinition:()=>fle,HighlightSpanKind:()=>Cz,IdentifierNameMap:()=>jL,ImportKind:()=>l0,ImportsNotUsedAsValues:()=>mi,IndentStyle:()=>Ez,IndexFlags:()=>Yr,IndexKind:()=>ei,InferenceFlags:()=>ri,InferencePriority:()=>ni,InlayHintKind:()=>bz,InlayHints:()=>Rle,InternalEmitFlags:()=>ki,InternalNodeBuilderFlags:()=>Br,InternalSymbolName:()=>Ur,IntersectionFlags:()=>Rr,InvalidatedProjectKind:()=>dG,JSDocParsingMode:()=>Bi,JsDoc:()=>qle,JsTyping:()=>QW,JsxEmit:()=>_i,JsxFlags:()=>hr,JsxReferenceKind:()=>Kr,LanguageFeatureMinimumTarget:()=>Di,LanguageServiceMode:()=>hz,LanguageVariant:()=>yi,LexicalEnvironmentFlags:()=>Fi,ListFormat:()=>Ri,LogLevel:()=>dn,MapCode:()=>rue,MemberOverrideStatus:()=>Tr,ModifierFlags:()=>mr,ModuleDetectionKind:()=>li,ModuleInstanceState:()=>P$,ModuleKind:()=>fi,ModuleResolutionKind:()=>ci,ModuleSpecifierEnding:()=>qE,NavigateTo:()=>Y1,NavigationBar:()=>a2,NewLineKind:()=>hi,NodeBuilderFlags:()=>Nr,NodeCheckFlags:()=>Jr,NodeFactoryFlags:()=>$S,NodeFlags:()=>_r,NodeResolutionFeatures:()=>Tq,ObjectFlags:()=>Hr,OperationCanceledException:()=>xr,OperatorPrecedence:()=>sA,OrganizeImports:()=>lue,OrganizeImportsMode:()=>yz,OuterExpressionKinds:()=>Ti,OutliningElementsCollector:()=>Mue,OutliningSpanKind:()=>Iz,OutputFileType:()=>Tz,PackageJsonAutoImportPreference:()=>mz,PackageJsonDependencyGroup:()=>_z,PatternMatchKind:()=>K0,PollingInterval:()=>Qi,PollingWatchKind:()=>pi,PragmaKindFlags:()=>Pi,PredicateSemantics:()=>Ar,PreparePasteEdits:()=>x_e,PrivateIdentifierKind:()=>Mk,ProcessLevel:()=>NM,ProgramUpdateLevel:()=>mU,QuotePreference:()=>zK,RegularExpressionFlags:()=>vr,RelationComparisonResult:()=>gr,Rename:()=>Yue,ScriptElementKind:()=>Pz,ScriptElementKindModifier:()=>Nz,ScriptKind:()=>gi,ScriptSnapshot:()=>az,ScriptTarget:()=>Ai,SemanticClassificationFormat:()=>Az,SemanticMeaning:()=>$z,SemicolonPreference:()=>xz,SignatureCheckMode:()=>QQ,SignatureFlags:()=>Zr,SignatureHelp:()=>rde,SignatureInfo:()=>jJ,SignatureKind:()=>Xr,SmartSelectionRange:()=>Ide,SnippetKind:()=>xi,StatisticType:()=>KG,StructureIsReused:()=>wr,SymbolAccessibility:()=>$r,SymbolDisplay:()=>Lde,SymbolDisplayPartKind:()=>Dz,SymbolFlags:()=>Mr,SymbolFormatFlags:()=>qr,SyntaxKind:()=>fr,Ternary:()=>ii,ThrottledCancellationToken:()=>e5,TokenClass:()=>Rz,TokenFlags:()=>br,TransformFlags:()=>Ei,TypeFacts:()=>OQ,TypeFlags:()=>Vr,TypeFormatFlags:()=>Or,TypeMapKind:()=>ti,TypePredicateKind:()=>Qr,TypeReferenceSerializationKind:()=>Lr,UnionReduction:()=>Fr,UpToDateStatusType:()=>qH,VarianceFlags:()=>Gr,Version:()=>yn,VersionRange:()=>bn,WatchDirectoryFlags:()=>vi,WatchDirectoryKind:()=>di,WatchFileKind:()=>ui,WatchLogLevel:()=>EU,WatchType:()=>bH,accessPrivateIdentifier:()=>lM,addEmitFlags:()=>ok,addEmitHelper:()=>Sk,addEmitHelpers:()=>kk,addInternalEmitFlags:()=>ak,addNodeFactoryPatcher:()=>LS,addObjectAllocatorPatcher:()=>Lb,addRange:()=>se,addRelatedInfo:()=>sx,addSyntheticLeadingComment:()=>Ak,addSyntheticTrailingComment:()=>bk,addToSeen:()=>bb,advancedAsyncSuperHelper:()=>CD,affectsDeclarationPathOptionDeclarations:()=>CN,affectsEmitOptionDeclarations:()=>bN,allKeysStartWithDot:()=>a$,altDirectorySeparator:()=>po,and:()=>Xt,append:()=>re,appendIfUnique:()=>ce,arrayFrom:()=>Pe,arrayIsEqualTo:()=>ee,arrayIsHomogeneous:()=>Cx,arrayOf:()=>Re,arrayReverseIterator:()=>ue,arrayToMap:()=>Oe,arrayToMultiMap:()=>$e,arrayToNumericMap:()=>qe,assertType:()=>tn,assign:()=>Ne,asyncSuperHelper:()=>bD,attachFileToDiagnostics:()=>zb,base64decode:()=>Sv,base64encode:()=>xv,binarySearch:()=>Ee,binarySearchKey:()=>xe,bindSourceFile:()=>L$,breakIntoCharacterSpans:()=>_1,breakIntoWordSpans:()=>m1,buildLinkParts:()=>RX,buildOpts:()=>PN,buildOverload:()=>B_e,bundlerModuleNameResolver:()=>Rq,canBeConvertedToAsync:()=>Q1,canHaveDecorators:()=>lP,canHaveExportModifier:()=>Vx,canHaveFlowNode:()=>Nh,canHaveIllegalDecorators:()=>IR,canHaveIllegalModifiers:()=>TR,canHaveIllegalType:()=>DR,canHaveIllegalTypeParameters:()=>wR,canHaveJSDoc:()=>Bh,canHaveLocals:()=>ad,canHaveModifiers:()=>cP,canHaveModuleSpecifier:()=>gh,canHaveSymbol:()=>sd,canIncludeBindAndCheckDiagnostics:()=>fx,canJsonReportNoInputFiles:()=>iO,canProduceDiagnostics:()=>fj,canUsePropertyAccess:()=>Gx,canWatchAffectingLocation:()=>MV,canWatchAtTypes:()=>$V,canWatchDirectoryOrFile:()=>OV,canWatchDirectoryOrFilePath:()=>qV,cartesianProduct:()=>on,cast:()=>tt,chainBundle:()=>BL,chainDiagnosticMessages:()=>eC,changeAnyExtension:()=>Go,changeCompilerHostLikeToUseCache:()=>NU,changeExtension:()=>HE,changeFullExtension:()=>Wo,changesAffectModuleResolution:()=>Xd,changesAffectingProgramStructure:()=>Zd,characterCodeToRegularExpressionFlag:()=>Ps,childIsDecorated:()=>mm,classElementOrClassElementParameterIsDecorated:()=>gm,classHasClassThisAssignment:()=>xM,classHasDeclaredOrExplicitlyAssignedName:()=>TM,classHasExplicitlyAssignedName:()=>IM,classOrConstructorParameterIsDecorated:()=>hm,classicNameResolver:()=>k$,classifier:()=>T5,cleanExtendedConfigCache:()=>AU,clear:()=>D,clearMap:()=>pb,clearSharedExtendedConfigFileWatcher:()=>gU,climbPastPropertyAccess:()=>Xz,clone:()=>Me,cloneCompilerOptions:()=>yK,closeFileWatcher:()=>rb,closeFileWatcherOf:()=>kU,codefix:()=>R5,collapseTextChangeRangesAcrossMultipleVersions:()=>Ka,collectExternalModuleInfo:()=>QL,combine:()=>ie,combinePaths:()=>qo,commandLineOptionOfCustomType:()=>IN,commentPragmas:()=>Ni,commonOptionsWithBuild:()=>mN,compact:()=>te,compareBooleans:()=>Pt,compareDataObjects:()=>db,compareDiagnostics:()=>rC,compareEmitHelpers:()=>Uk,compareNumberOfDirectorySeparators:()=>ME,comparePaths:()=>Zo,comparePathsCaseInsensitive:()=>Xo,comparePathsCaseSensitive:()=>Ko,comparePatternKeys:()=>l$,compareProperties:()=>Rt,compareStringsCaseInsensitive:()=>Ct,compareStringsCaseInsensitiveEslintCompatible:()=>Et,compareStringsCaseSensitive:()=>xt,compareStringsCaseSensitiveUI:()=>Ft,compareTextSpans:()=>yt,compareValues:()=>At,compilerOptionsAffectDeclarationPath:()=>VC,compilerOptionsAffectEmit:()=>JC,compilerOptionsAffectSemanticDiagnostics:()=>UC,compilerOptionsDidYouMeanDiagnostics:()=>WN,compilerOptionsIndicateEsModules:()=>UK,computeCommonSourceDirectoryOfFilenames:()=>IU,computeLineAndCharacterOfPosition:()=>$s,computeLineOfPosition:()=>Qs,computeLineStarts:()=>Ns,computePositionOfLineAndCharacter:()=>Os,computeSignatureWithDiagnostics:()=>bV,computeSuggestionDiagnostics:()=>I1,computedOptions:()=>gC,concatenate:()=>H,concatenateDiagnosticMessageChains:()=>tC,consumesNodeCoreModules:()=>qZ,contains:()=>C,containsIgnoredPath:()=>Px,containsObjectRestOrSpread:()=>sP,containsParseError:()=>gp,containsPath:()=>es,convertCompilerOptionsForTelemetry:()=>OO,convertCompilerOptionsFromJson:()=>lO,convertJsonOption:()=>gO,convertToBase64:()=>Ev,convertToJson:()=>SB,convertToObject:()=>xB,convertToOptionsWithAbsolutePaths:()=>QB,convertToRelativePath:()=>is,convertToTSConfig:()=>wB,convertTypeAcquisitionFromJson:()=>uO,copyComments:()=>tZ,copyEntries:()=>ip,copyLeadingComments:()=>sZ,copyProperties:()=>Ue,copyTrailingAsLeadingComments:()=>cZ,copyTrailingComments:()=>aZ,couldStartTrivia:()=>Ys,countWhere:()=>x,createAbstractBuilder:()=>PV,createAccessorPropertyBackingField:()=>eP,createAccessorPropertyGetRedirector:()=>tP,createAccessorPropertySetRedirector:()=>nP,createBaseNodeFactory:()=>FS,createBinaryExpressionTrampoline:()=>GR,createBuilderProgram:()=>CV,createBuilderProgramUsingIncrementalBuildInfo:()=>DV,createBuilderStatusReporter:()=>JH,createCacheableExportInfoMap:()=>d0,createCachedDirectoryStructureHost:()=>_U,createClassifier:()=>E0,createCommentDirectivesMap:()=>Qp,createCompilerDiagnostic:()=>Xb,createCompilerDiagnosticForInvalidCustomType:()=>QN,createCompilerDiagnosticFromMessageChain:()=>Zb,createCompilerHost:()=>TU,createCompilerHostFromProgramHost:()=>EH,createCompilerHostWorker:()=>PU,createDetachedDiagnostic:()=>Hb,createDiagnosticCollection:()=>uA,createDiagnosticForFileFromMessageChain:()=>Vf,createDiagnosticForNode:()=>$f,createDiagnosticForNodeArray:()=>Qf,createDiagnosticForNodeArrayFromMessageChain:()=>jf,createDiagnosticForNodeFromMessageChain:()=>Mf,createDiagnosticForNodeInSourceFile:()=>Lf,createDiagnosticForRange:()=>Gf,createDiagnosticMessageChainFromDiagnostic:()=>Hf,createDiagnosticReporter:()=>XV,createDocumentPositionMapper:()=>TL,createDocumentRegistry:()=>Q0,createDocumentRegistryInternal:()=>L0,createEmitAndSemanticDiagnosticsBuilderProgram:()=>RV,createEmitHelperFactory:()=>jk,createEmptyExports:()=>MF,createEvaluator:()=>hS,createExpressionForJsxElement:()=>HF,createExpressionForJsxFragment:()=>GF,createExpressionForObjectLiteralElementLike:()=>KF,createExpressionForPropertyName:()=>YF,createExpressionFromEntityName:()=>zF,createExternalHelpersImportDeclarationIfNeeded:()=>mR,createFileDiagnostic:()=>Yb,createFileDiagnosticFromMessageChain:()=>Jf,createFlowNode:()=>$$,createForOfBindingStatement:()=>WF,createFutureSourceFile:()=>c0,createGetCanonicalFileName:()=>Jt,createGetIsolatedDeclarationErrors:()=>hj,createGetSourceFile:()=>FU,createGetSymbolAccessibilityDiagnosticForNode:()=>mj,createGetSymbolAccessibilityDiagnosticForNodeName:()=>_j,createGetSymbolWalker:()=>H$,createIncrementalCompilerHost:()=>PH,createIncrementalProgram:()=>NH,createJsxFactoryExpression:()=>VF,createLanguageService:()=>r5,createLanguageServiceSourceFile:()=>Y8,createMemberAccessForPropertyName:()=>jF,createModeAwareCache:()=>gq,createModeAwareCacheKey:()=>hq,createModeMismatchDetails:()=>pp,createModuleNotFoundChain:()=>dp,createModuleResolutionCache:()=>Cq,createModuleResolutionLoader:()=>aJ,createModuleResolutionLoaderUsingGlobalCache:()=>WV,createModuleSpecifierResolutionHost:()=>JK,createMultiMap:()=>Ve,createNameResolver:()=>yS,createNodeConverters:()=>NS,createNodeFactory:()=>MS,createOptionNameMap:()=>BN,createOverload:()=>N_e,createPackageJsonImportFilter:()=>OZ,createPackageJsonInfo:()=>BZ,createParenthesizerRules:()=>RS,createPatternMatcher:()=>Z0,createPrinter:()=>uU,createPrinterWithDefaults:()=>sU,createPrinterWithRemoveComments:()=>aU,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>cU,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>lU,createProgram:()=>DJ,createProgramHost:()=>kH,createPropertyNameNodeForIdentifierOrLiteral:()=>Mx,createQueue:()=>We,createRange:()=>Pv,createRedirectedBuilderProgram:()=>TV,createResolutionCache:()=>zV,createRuntimeTypeSerializer:()=>MM,createScanner:()=>ha,createSemanticDiagnosticsBuilderProgram:()=>FV,createSet:()=>ze,createSolutionBuilder:()=>WH,createSolutionBuilderHost:()=>HH,createSolutionBuilderWithWatch:()=>zH,createSolutionBuilderWithWatchHost:()=>GH,createSortedArray:()=>K,createSourceFile:()=>LP,createSourceMapGenerator:()=>fL,createSourceMapSource:()=>ZS,createSuperAccessVariableStatement:()=>VM,createSymbolTable:()=>Wd,createSymlinkCache:()=>KC,createSyntacticTypeNodeBuilder:()=>$W,createSystemWatchFunctions:()=>so,createTextChange:()=>FK,createTextChangeFromStartLength:()=>TK,createTextChangeRange:()=>za,createTextRangeFromNode:()=>DK,createTextRangeFromSpan:()=>IK,createTextSpan:()=>Va,createTextSpanFromBounds:()=>Ha,createTextSpanFromNode:()=>SK,createTextSpanFromRange:()=>wK,createTextSpanFromStringLiteralLikeContent:()=>kK,createTextWriter:()=>NA,createTokenRange:()=>$v,createTypeChecker:()=>GQ,createTypeReferenceDirectiveResolutionCache:()=>Eq,createTypeReferenceResolutionLoader:()=>uJ,createWatchCompilerHost:()=>BH,createWatchCompilerHostOfConfigFile:()=>IH,createWatchCompilerHostOfFilesAndCompilerOptions:()=>TH,createWatchFactory:()=>CH,createWatchHost:()=>vH,createWatchProgram:()=>OH,createWatchStatusReporter:()=>nH,createWriteFileMeasuringIO:()=>RU,declarationNameToString:()=>Rf,decodeMappings:()=>bL,decodedTextSpanIntersectsWith:()=>La,deduplicate:()=>Y,defaultInitCompilerOptions:()=>$N,defaultMaximumTruncationLength:()=>Jd,diagnosticCategoryName:()=>ai,diagnosticToString:()=>t0,diagnosticsEqualityComparer:()=>aC,directoryProbablyExists:()=>Iv,directorySeparator:()=>uo,displayPart:()=>yX,displayPartsToString:()=>V8,disposeEmitNodes:()=>nk,documentSpansEqual:()=>uX,dumpTracingLegend:()=>pr,elementAt:()=>pe,elideNodes:()=>zR,emitDetachedComments:()=>by,emitFiles:()=>nU,emitFilesAndReportErrors:()=>hH,emitFilesAndReportErrorsAndGetExitStatus:()=>gH,emitModuleKindIsNonNodeESM:()=>BC,emitNewLineBeforeLeadingCommentOfPosition:()=>vy,emitResolverSkipsTypeChecking:()=>tU,emitSkippedWithNoDiagnostics:()=>RJ,emptyArray:()=>a,emptyFileSystemEntries:()=>rx,emptyMap:()=>c,emptyOptions:()=>gz,endsWith:()=>Ot,ensurePathIsNonModuleName:()=>Ho,ensureScriptKind:()=>vE,ensureTrailingDirectorySeparator:()=>Vo,entityNameToString:()=>qf,enumerateInsertsAndDeletes:()=>rn,equalOwnProperties:()=>Be,equateStringsCaseInsensitive:()=>mt,equateStringsCaseSensitive:()=>ht,equateValues:()=>_t,escapeJsxAttributeString:()=>wA,escapeLeadingUnderscores:()=>_c,escapeNonAsciiString:()=>EA,escapeSnippetText:()=>Qx,escapeString:()=>bA,escapeTemplateSubstitution:()=>pA,evaluatorResult:()=>mS,every:()=>g,exclusivelyPrefixedNodeCoreModules:()=>kS,executeCommandLine:()=>_W,expandPreOrPostfixIncrementOrDecrementExpression:()=>XF,explainFiles:()=>uH,explainIfFileIsRedirectAndImpliedFormat:()=>dH,exportAssignmentIsAlias:()=>mg,expressionResultIsUnused:()=>Rx,extend:()=>je,extensionFromPath:()=>ZE,extensionIsTS:()=>KE,extensionsNotSupportingExtensionlessResolution:()=>FE,externalHelpersModuleNameText:()=>Ud,factory:()=>XS,fileExtensionIs:()=>Eo,fileExtensionIsOneOf:()=>xo,fileIncludeReasonToDiagnostics:()=>_H,fileShouldUseJavaScriptRequire:()=>s0,filter:()=>S,filterMutate:()=>k,filterSemanticDiagnostics:()=>NJ,find:()=>A,findAncestor:()=>dc,findBestPatternMatch:()=>Gt,findChildOfKind:()=>IY,findComputedPropertyNameCacheAssignment:()=>rP,findConfigFile:()=>DU,findConstructorDeclaration:()=>AS,findContainingList:()=>TY,findDiagnosticForNode:()=>LZ,findFirstNonJsxWhitespaceToken:()=>VY,findIndex:()=>v,findLast:()=>y,findLastIndex:()=>b,findListItemInfo:()=>DY,findModifier:()=>sX,findNextToken:()=>GY,findPackageJson:()=>NZ,findPackageJsons:()=>PZ,findPrecedingMatchingToken:()=>iK,findPrecedingToken:()=>WY,findSuperStatementIndexPath:()=>YL,findTokenOnLeftOfPosition:()=>HY,findUseStrictPrologue:()=>rR,first:()=>me,firstDefined:()=>p,firstDefinedIterator:()=>f,firstIterator:()=>he,firstOrOnly:()=>VZ,firstOrUndefined:()=>fe,firstOrUndefinedIterator:()=>_e,fixupCompilerOptions:()=>z1,flatMap:()=>R,flatMapIterator:()=>N,flatMapToMutable:()=>P,flatten:()=>F,flattenCommaList:()=>oP,flattenDestructuringAssignment:()=>_M,flattenDestructuringBinding:()=>gM,flattenDiagnosticMessageText:()=>YU,forEach:()=>u,forEachAncestor:()=>tp,forEachAncestorDirectory:()=>as,forEachAncestorDirectoryStoppingAtGlobalCache:()=>m$,forEachChild:()=>OP,forEachChildRecursively:()=>qP,forEachDynamicImportOrRequireCall:()=>wS,forEachEmittedFile:()=>Oj,forEachEnclosingBlockScopeContainer:()=>Ff,forEachEntry:()=>np,forEachExternalModuleToImportFrom:()=>_0,forEachImportClauseDeclaration:()=>Sh,forEachKey:()=>rp,forEachLeadingCommentRange:()=>oa,forEachNameInAccessChainWalkingLeft:()=>wb,forEachNameOfDefaultExport:()=>C0,forEachPropertyAssignment:()=>U_,forEachResolvedProjectReference:()=>pJ,forEachReturnStatement:()=>D_,forEachRight:()=>d,forEachTrailingCommentRange:()=>sa,forEachTsConfigPropArray:()=>G_,forEachUnique:()=>pX,forEachYieldExpression:()=>w_,formatColorAndReset:()=>HU,formatDiagnostic:()=>qU,formatDiagnostics:()=>OU,formatDiagnosticsWithColorAndContext:()=>zU,formatGeneratedName:()=>ZR,formatGeneratedNamePart:()=>KR,formatLocation:()=>WU,formatMessage:()=>Kb,formatStringFromArgs:()=>jb,formatting:()=>xpe,generateDjb2Hash:()=>Oi,generateTSConfig:()=>$B,getAdjustedReferenceLocation:()=>QY,getAdjustedRenameLocation:()=>LY,getAliasDeclarationFromName:()=>fg,getAllAccessorDeclarations:()=>fy,getAllDecoratorsOfClass:()=>rM,getAllDecoratorsOfClassElement:()=>iM,getAllJSDocTags:()=>al,getAllJSDocTagsOfKind:()=>cl,getAllKeys:()=>Te,getAllProjectOutputs:()=>Xj,getAllSuperTypeNodes:()=>bg,getAllowImportingTsExtensions:()=>AC,getAllowJSCompilerOption:()=>PC,getAllowSyntheticDefaultImports:()=>SC,getAncestor:()=>xg,getAnyExtensionFromPath:()=>Ro,getAreDeclarationMapsEnabled:()=>RC,getAssignedExpandoInitializer:()=>Hm,getAssignedName:()=>kc,getAssignmentDeclarationKind:()=>th,getAssignmentDeclarationPropertyAccessKind:()=>dh,getAssignmentTargetKind:()=>Yh,getAutomaticTypeDirectiveNames:()=>lq,getBaseFileName:()=>To,getBinaryOperatorPrecedence:()=>cA,getBuildInfo:()=>iU,getBuildInfoFileVersionMap:()=>wV,getBuildInfoText:()=>rU,getBuildOrderFromAnyBuildOrder:()=>UH,getBuilderCreationParameters:()=>yV,getBuilderFileEmit:()=>VJ,getCanonicalDiagnostic:()=>Wf,getCheckFlags:()=>ib,getClassExtendsHeritageElement:()=>yg,getClassLikeDeclarationOfSymbol:()=>hb,getCombinedLocalAndExportSymbolFlags:()=>ab,getCombinedModifierFlags:()=>ic,getCombinedNodeFlags:()=>sc,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>oc,getCommentRange:()=>_k,getCommonSourceDirectory:()=>Yj,getCommonSourceDirectoryOfConfig:()=>Kj,getCompilerOptionValue:()=>HC,getCompilerOptionsDiffValue:()=>OB,getConditions:()=>aq,getConfigFileParsingDiagnostics:()=>EJ,getConstantValue:()=>Ek,getContainerFlags:()=>J$,getContainerNode:()=>pY,getContainingClass:()=>Y_,getContainingClassExcludingClassDecorators:()=>Z_,getContainingClassStaticBlock:()=>K_,getContainingFunction:()=>W_,getContainingFunctionDeclaration:()=>z_,getContainingFunctionOrClassStaticBlock:()=>X_,getContainingNodeArray:()=>Nx,getContainingObjectLiteralElement:()=>o5,getContextualTypeFromParent:()=>pZ,getContextualTypeFromParentOrAncestorTypeNode:()=>NY,getDeclarationDiagnostics:()=>gj,getDeclarationEmitExtensionForPath:()=>VA,getDeclarationEmitOutputFilePath:()=>UA,getDeclarationEmitOutputFilePathWorker:()=>JA,getDeclarationFileExtension:()=>XP,getDeclarationFromName:()=>ug,getDeclarationModifierFlagsFromSymbol:()=>ob,getDeclarationOfKind:()=>Hd,getDeclarationsOfKind:()=>Gd,getDeclaredExpandoInitializer:()=>Vm,getDecorators:()=>Dc,getDefaultCompilerOptions:()=>H8,getDefaultFormatCodeSettings:()=>Sz,getDefaultLibFileName:()=>wa,getDefaultLibFilePath:()=>a5,getDefaultLikeExportInfo:()=>v0,getDefaultLikeExportNameFromDeclaration:()=>GZ,getDefaultResolutionModeForFileWorker:()=>FJ,getDiagnosticText:()=>tB,getDiagnosticsWithinSpan:()=>MZ,getDirectoryPath:()=>Io,getDirectoryToWatchFailedLookupLocation:()=>jV,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>VV,getDocumentPositionMapper:()=>k1,getDocumentSpansEqualityComparer:()=>dX,getESModuleInterop:()=>xC,getEditsForFileRename:()=>U0,getEffectiveBaseTypeNode:()=>Ag,getEffectiveConstraintOfTypeParameter:()=>dl,getEffectiveContainerForJSDocTemplateTag:()=>Lh,getEffectiveImplementsTypeNodes:()=>vg,getEffectiveInitializer:()=>Jm,getEffectiveJSDocHost:()=>Uh,getEffectiveModifierFlags:()=>Ly,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>My,getEffectiveModifierFlagsNoCache:()=>Vy,getEffectiveReturnTypeNode:()=>hy,getEffectiveSetAccessorTypeAnnotationNode:()=>Ay,getEffectiveTypeAnnotationNode:()=>_y,getEffectiveTypeParameterDeclarations:()=>ul,getEffectiveTypeRoots:()=>tq,getElementOrPropertyAccessArgumentExpressionOrName:()=>lh,getElementOrPropertyAccessName:()=>uh,getElementsOfBindingOrAssignmentPattern:()=>SR,getEmitDeclarations:()=>IC,getEmitFlags:()=>Xp,getEmitHelpers:()=>wk,getEmitModuleDetectionKind:()=>CC,getEmitModuleFormatOfFileWorker:()=>IJ,getEmitModuleKind:()=>vC,getEmitModuleResolutionKind:()=>bC,getEmitScriptTarget:()=>yC,getEmitStandardClassFields:()=>jC,getEnclosingBlockScopeContainer:()=>Tf,getEnclosingContainer:()=>If,getEncodedSemanticClassifications:()=>R0,getEncodedSyntacticClassifications:()=>q0,getEndLinePosition:()=>xp,getEntityNameFromTypeNode:()=>um,getEntrypointsFromPackageJsonInfo:()=>Kq,getErrorCountForSummary:()=>iH,getErrorSpanForNode:()=>Kf,getErrorSummaryText:()=>cH,getEscapedTextOfIdentifierOrLiteral:()=>Ug,getEscapedTextOfJsxAttributeName:()=>tS,getEscapedTextOfJsxNamespacedName:()=>iS,getExpandoInitializer:()=>Gm,getExportAssignmentExpression:()=>hg,getExportInfoMap:()=>y0,getExportNeedsImportStarHelper:()=>OL,getExpressionAssociativity:()=>nA,getExpressionPrecedence:()=>iA,getExternalHelpersModuleName:()=>fR,getExternalModuleImportEqualsDeclarationExpression:()=>Sm,getExternalModuleName:()=>Ch,getExternalModuleNameFromDeclaration:()=>LA,getExternalModuleNameFromPath:()=>MA,getExternalModuleNameLiteral:()=>gR,getExternalModuleRequireArgument:()=>km,getFallbackOptions:()=>SU,getFileEmitOutput:()=>LJ,getFileMatcherPatterns:()=>mE,getFileNamesFromConfigSpecs:()=>xO,getFileWatcherEventKind:()=>Ki,getFilesInErrorForSummary:()=>oH,getFirstConstructorWithBody:()=>iy,getFirstIdentifier:()=>cv,getFirstNonSpaceCharacterPosition:()=>VX,getFirstProjectOutput:()=>eU,getFixableErrorSpanExpression:()=>UZ,getFormatCodeSettingsForWriting:()=>n0,getFullWidth:()=>sp,getFunctionFlags:()=>Ng,getHeritageClause:()=>Eg,getHostSignatureFromJSDoc:()=>jh,getIdentifierAutoGenerate:()=>$k,getIdentifierGeneratedImportReference:()=>Lk,getIdentifierTypeArguments:()=>Ok,getImmediatelyInvokedFunctionExpression:()=>om,getImpliedNodeFormatForEmitWorker:()=>TJ,getImpliedNodeFormatForFile:()=>xJ,getImpliedNodeFormatForFileWorker:()=>SJ,getImportNeedsImportDefaultHelper:()=>$L,getImportNeedsImportStarHelper:()=>qL,getIndentString:()=>RA,getInferredLibraryNameResolveFrom:()=>mJ,getInitializedVariables:()=>eb,getInitializerOfBinaryExpression:()=>ph,getInitializerOfBindingOrAssignmentElement:()=>yR,getInterfaceBaseTypeNodes:()=>Cg,getInternalEmitFlags:()=>Zp,getInvokedExpression:()=>dm,getIsFileExcluded:()=>A0,getIsolatedModules:()=>EC,getJSDocAugmentsTag:()=>Oc,getJSDocClassTag:()=>$c,getJSDocCommentRanges:()=>A_,getJSDocCommentsAndTags:()=>Oh,getJSDocDeprecatedTag:()=>Wc,getJSDocDeprecatedTagNoCache:()=>zc,getJSDocEnumTag:()=>Yc,getJSDocHost:()=>Jh,getJSDocImplementsTags:()=>qc,getJSDocOverloadTags:()=>Mh,getJSDocOverrideTagNoCache:()=>Gc,getJSDocParameterTags:()=>Tc,getJSDocParameterTagsNoCache:()=>Fc,getJSDocPrivateTag:()=>Mc,getJSDocPrivateTagNoCache:()=>jc,getJSDocProtectedTag:()=>Uc,getJSDocProtectedTagNoCache:()=>Jc,getJSDocPublicTag:()=>Qc,getJSDocPublicTagNoCache:()=>Lc,getJSDocReadonlyTag:()=>Vc,getJSDocReadonlyTagNoCache:()=>Hc,getJSDocReturnTag:()=>Xc,getJSDocReturnType:()=>rl,getJSDocRoot:()=>Vh,getJSDocSatisfiesExpressionType:()=>Zx,getJSDocSatisfiesTag:()=>el,getJSDocTags:()=>ol,getJSDocTemplateTag:()=>Zc,getJSDocThisTag:()=>Kc,getJSDocType:()=>nl,getJSDocTypeAliasName:()=>kR,getJSDocTypeAssertionType:()=>cR,getJSDocTypeParameterDeclarations:()=>gy,getJSDocTypeParameterTags:()=>Pc,getJSDocTypeParameterTagsNoCache:()=>Nc,getJSDocTypeTag:()=>tl,getJSXImplicitImportBase:()=>WC,getJSXRuntimeImport:()=>zC,getJSXTransformEnabled:()=>GC,getKeyForCompilerOptions:()=>fq,getLanguageVariant:()=>uC,getLastChild:()=>vb,getLeadingCommentRanges:()=>ua,getLeadingCommentRangesOfNode:()=>g_,getLeftmostAccessExpression:()=>Db,getLeftmostExpression:()=>Ib,getLibraryNameFromLibFileName:()=>hJ,getLineAndCharacterOfPosition:()=>Ms,getLineInfo:()=>gL,getLineOfLocalPosition:()=>ny,getLineStartPositionForPosition:()=>hY,getLineStarts:()=>qs,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Yv,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>zv,getLinesBetweenPositions:()=>Ls,getLinesBetweenRangeEndAndRangeStart:()=>Jv,getLinesBetweenRangeEndPositions:()=>Vv,getLiteralText:()=>nf,getLocalNameForExternalImport:()=>hR,getLocalSymbolForExportDefault:()=>vv,getLocaleSpecificMessage:()=>Vb,getLocaleTimeString:()=>tH,getMappedContextSpan:()=>hX,getMappedDocumentSpan:()=>mX,getMappedLocation:()=>_X,getMatchedFileSpec:()=>pH,getMatchedIncludeSpec:()=>fH,getMeaningFromDeclaration:()=>Qz,getMeaningFromLocation:()=>Lz,getMembersOfDeclaration:()=>T_,getModeForFileReference:()=>KU,getModeForResolutionAtIndex:()=>XU,getModeForUsageLocation:()=>eJ,getModifiedTime:()=>Mi,getModifiers:()=>wc,getModuleInstanceState:()=>N$,getModuleNameStringLiteralAt:()=>QJ,getModuleSpecifierEndingPreference:()=>$E,getModuleSpecifierResolverHost:()=>VK,getNameForExportedSymbol:()=>HZ,getNameFromImportAttribute:()=>fS,getNameFromIndexInfo:()=>Pf,getNameFromPropertyName:()=>LK,getNameOfAccessExpression:()=>Sb,getNameOfCompilerOptionValue:()=>PB,getNameOfDeclaration:()=>Sc,getNameOfExpando:()=>zm,getNameOfJSDocTypedef:()=>Cc,getNameOfScriptTarget:()=>MC,getNameOrArgument:()=>ch,getNameTable:()=>i5,getNamespaceDeclarationNode:()=>Eh,getNewLineCharacter:()=>Rv,getNewLineKind:()=>e0,getNewLineOrDefaultFromHost:()=>NX,getNewTargetContainer:()=>rm,getNextJSDocCommentLocation:()=>$h,getNodeChildren:()=>qF,getNodeForGeneratedName:()=>YR,getNodeId:()=>JQ,getNodeKind:()=>fY,getNodeModifiers:()=>dK,getNodeModulePathParts:()=>Ux,getNonAssignedNameOfDeclaration:()=>xc,getNonAssignmentOperatorForCompoundAssignment:()=>GL,getNonAugmentationDeclaration:()=>hf,getNonDecoratorTokenPosOfNode:()=>Mp,getNonIncrementalBuildInfoRoots:()=>IV,getNonModifierTokenPosOfNode:()=>jp,getNormalizedAbsolutePath:()=>Lo,getNormalizedAbsolutePathWithoutRoot:()=>jo,getNormalizedPathComponents:()=>Qo,getObjectFlags:()=>gb,getOperatorAssociativity:()=>rA,getOperatorPrecedence:()=>aA,getOptionFromName:()=>YN,getOptionsForLibraryResolution:()=>xq,getOptionsNameMap:()=>ON,getOrCreateEmitNode:()=>tk,getOrUpdate:()=>Q,getOriginalNode:()=>uc,getOriginalNodeId:()=>RL,getOutputDeclarationFileName:()=>Uj,getOutputDeclarationFileNameWorker:()=>Jj,getOutputExtension:()=>Mj,getOutputFileNames:()=>Zj,getOutputJSFileNameWorker:()=>Hj,getOutputPathsFor:()=>Qj,getOwnEmitOutputFilePath:()=>jA,getOwnKeys:()=>Ie,getOwnValues:()=>Fe,getPackageJsonTypesVersionsPaths:()=>eq,getPackageNameFromTypesPackageName:()=>E$,getPackageScopeForPath:()=>e$,getParameterSymbolFromJSDoc:()=>Qh,getParentNodeInSpan:()=>iX,getParseTreeNode:()=>fc,getParsedCommandLineOfConfigFile:()=>nB,getPathComponents:()=>Po,getPathFromPathComponents:()=>No,getPathUpdater:()=>J0,getPathsBasePath:()=>WA,getPatternFromSpec:()=>pE,getPendingEmitKindWithSeen:()=>rV,getPositionOfLineAndCharacter:()=>Bs,getPossibleGenericSignatures:()=>sK,getPossibleOriginalInputExtensionForExtension:()=>HA,getPossibleOriginalInputPathWithoutChangingExt:()=>GA,getPossibleTypeArgumentsInfo:()=>aK,getPreEmitDiagnostics:()=>BU,getPrecedingNonSpaceCharacterPosition:()=>HX,getPrivateIdentifier:()=>aM,getProperties:()=>KL,getProperty:()=>we,getPropertyArrayElementValue:()=>J_,getPropertyAssignmentAliasLikeExpression:()=>gg,getPropertyNameForPropertyNameNode:()=>Lg,getPropertyNameFromType:()=>cS,getPropertyNameOfBindingOrAssignmentElement:()=>CR,getPropertySymbolFromBindingElement:()=>rX,getPropertySymbolsFromContextualType:()=>s5,getQuoteFromPreference:()=>XK,getQuotePreference:()=>KK,getRangesWhere:()=>V,getRefactorContextSpan:()=>jZ,getReferencedFileLocation:()=>bJ,getRegexFromPattern:()=>hE,getRegularExpressionForWildcard:()=>lE,getRegularExpressionsForWildcards:()=>uE,getRelativePathFromDirectory:()=>rs,getRelativePathFromFile:()=>os,getRelativePathToDirectoryOrUrl:()=>ss,getRenameLocation:()=>oZ,getReplacementSpanForContextToken:()=>xK,getResolutionDiagnostic:()=>qJ,getResolutionModeOverride:()=>rJ,getResolveJsonModule:()=>wC,getResolvePackageJsonExports:()=>kC,getResolvePackageJsonImports:()=>DC,getResolvedExternalModuleName:()=>$A,getResolvedModuleFromResolution:()=>lp,getResolvedTypeReferenceDirectiveFromResolution:()=>up,getRestIndicatorOfBindingOrAssignmentElement:()=>bR,getRestParameterElementType:()=>I_,getRightMostAssignedExpression:()=>Km,getRootDeclaration:()=>Xg,getRootDirectoryOfResolutionCache:()=>HV,getRootLength:()=>wo,getScriptKind:()=>MX,getScriptKindFromFileName:()=>bE,getScriptTargetFeatures:()=>ef,getSelectedEffectiveModifierFlags:()=>qy,getSelectedSyntacticModifierFlags:()=>$y,getSemanticClassifications:()=>T0,getSemanticJsxChildren:()=>lA,getSetAccessorTypeAnnotationNode:()=>sy,getSetAccessorValueParameter:()=>oy,getSetExternalModuleIndicator:()=>_C,getShebang:()=>pa,getSingleVariableOfVariableStatement:()=>Rh,getSnapshotText:()=>qK,getSnippetElement:()=>Tk,getSourceFileOfModule:()=>yp,getSourceFileOfNode:()=>Ap,getSourceFilePathInNewDir:()=>KA,getSourceFileVersionAsHashFromText:()=>xH,getSourceFilesToEmit:()=>zA,getSourceMapRange:()=>ck,getSourceMapper:()=>S1,getSourceTextOfNodeFromSourceFile:()=>Up,getSpanOfTokenAtPosition:()=>zf,getSpellingSuggestion:()=>Nt,getStartPositionOfLine:()=>Cp,getStartPositionOfRange:()=>Wv,getStartsOnNewLine:()=>pk,getStaticPropertiesAndClassStaticBlock:()=>ZL,getStrictOptionValue:()=>LC,getStringComparer:()=>St,getSubPatternFromSpec:()=>fE,getSuperCallFromStatement:()=>WL,getSuperContainer:()=>im,getSupportedCodeFixes:()=>G8,getSupportedExtensions:()=>RE,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>PE,getSwitchedType:()=>gZ,getSymbolId:()=>VQ,getSymbolNameForPrivateIdentifier:()=>Jg,getSymbolTarget:()=>jX,getSyntacticClassifications:()=>O0,getSyntacticModifierFlags:()=>jy,getSyntacticModifierFlagsNoCache:()=>Hy,getSynthesizedDeepClone:()=>GX,getSynthesizedDeepCloneWithReplacements:()=>WX,getSynthesizedDeepClones:()=>YX,getSynthesizedDeepClonesWithReplacements:()=>KX,getSyntheticLeadingComments:()=>hk,getSyntheticTrailingComments:()=>yk,getTargetLabel:()=>Zz,getTargetOfBindingOrAssignmentElement:()=>vR,getTemporaryModuleResolutionState:()=>Zq,getTextOfConstantValue:()=>rf,getTextOfIdentifierOrLiteral:()=>jg,getTextOfJSDocComment:()=>ll,getTextOfJsxAttributeName:()=>nS,getTextOfJsxNamespacedName:()=>oS,getTextOfNode:()=>zp,getTextOfNodeFromSourceText:()=>Wp,getTextOfPropertyName:()=>Of,getThisContainer:()=>em,getThisParameter:()=>ay,getTokenAtPosition:()=>UY,getTokenPosOfNode:()=>Lp,getTokenSourceMapRange:()=>uk,getTouchingPropertyName:()=>MY,getTouchingToken:()=>jY,getTrailingCommentRanges:()=>da,getTrailingSemicolonDeferringWriter:()=>BA,getTransformers:()=>xj,getTsBuildInfoEmitOutputFilePath:()=>qj,getTsConfigObjectLiteralExpression:()=>V_,getTsConfigPropArrayElementValue:()=>H_,getTypeAnnotationNode:()=>my,getTypeArgumentOrTypeParameterList:()=>pK,getTypeKeywordOfTypeOnlyImport:()=>cX,getTypeNode:()=>Nk,getTypeNodeIfAccessible:()=>yZ,getTypeParameterFromJsDoc:()=>Hh,getTypeParameterOwner:()=>Xa,getTypesPackageName:()=>b$,getUILocale:()=>It,getUniqueName:()=>iZ,getUniqueSymbolId:()=>JX,getUseDefineForClassFields:()=>NC,getWatchErrorSummaryDiagnosticMessage:()=>sH,getWatchFactory:()=>xU,group:()=>Qe,groupBy:()=>Le,guessIndentation:()=>Bd,handleNoEmitOptions:()=>PJ,handleWatchOptionsConfigDirTemplateSubstitution:()=>WB,hasAbstractModifier:()=>Ry,hasAccessorModifier:()=>Ny,hasAmbientModifier:()=>Py,hasChangesInResolutions:()=>hp,hasContextSensitiveParameters:()=>Bx,hasDecorators:()=>Oy,hasDocComment:()=>lK,hasDynamicName:()=>$g,hasEffectiveModifier:()=>Dy,hasEffectiveModifiers:()=>Sy,hasEffectiveReadonlyModifier:()=>By,hasExtension:()=>Co,hasImplementationTSFileExtension:()=>OE,hasIndexSignature:()=>hZ,hasInferredType:()=>CS,hasInitializer:()=>Td,hasInvalidEscape:()=>_A,hasJSDocNodes:()=>wd,hasJSDocParameterTags:()=>Bc,hasJSFileExtension:()=>NE,hasJsonModuleEmitEnabled:()=>OC,hasOnlyExpressionInitializer:()=>Fd,hasOverrideModifier:()=>Fy,hasPossibleExternalModuleReference:()=>Df,hasProperty:()=>De,hasPropertyAccessExpressionWithName:()=>eY,hasQuestionToken:()=>kh,hasRecordedExternalHelpers:()=>_R,hasResolutionModeOverride:()=>uS,hasRestParameter:()=>$d,hasScopeMarker:()=>Wu,hasStaticModifier:()=>Ty,hasSyntacticModifier:()=>wy,hasSyntacticModifiers:()=>ky,hasTSFileExtension:()=>BE,hasTabstop:()=>Wx,hasTrailingDirectorySeparator:()=>So,hasType:()=>Id,hasTypeArguments:()=>Gh,hasZeroOrOneAsteriskCharacter:()=>YC,hostGetCanonicalFileName:()=>qA,hostUsesCaseSensitiveFileNames:()=>OA,idText:()=>hc,identifierIsThisKeyword:()=>py,identifierToKeywordKind:()=>gc,identity:()=>st,identitySourceMapConsumer:()=>FL,ignoreSourceNewlines:()=>Rk,ignoredPaths:()=>Xi,importFromModuleSpecifier:()=>yh,importSyntaxAffectsModuleResolution:()=>mC,indexOfAnyCharCode:()=>E,indexOfNode:()=>Kp,indicesOf:()=>W,inferredTypesContainingFile:()=>_J,injectClassNamedEvaluationHelperBlockIfMissing:()=>FM,injectClassThisAssignmentIfMissing:()=>SM,insertImports:()=>aX,insertSorted:()=>X,insertStatementAfterCustomPrologue:()=>Op,insertStatementAfterStandardPrologue:()=>Bp,insertStatementsAfterCustomPrologue:()=>Np,insertStatementsAfterStandardPrologue:()=>Pp,intersperse:()=>h,intrinsicTagNameToString:()=>sS,introducesArgumentsExoticObject:()=>O_,inverseJsxOptionMap:()=>uN,isAbstractConstructorSymbol:()=>mb,isAbstractModifier:()=>XD,isAccessExpression:()=>xb,isAccessibilityModifier:()=>AK,isAccessor:()=>pu,isAccessorModifier:()=>ew,isAliasableExpression:()=>_g,isAmbientModule:()=>cf,isAmbientPropertyDeclaration:()=>yf,isAnyDirectorySeparator:()=>mo,isAnyImportOrBareOrAccessedRequire:()=>xf,isAnyImportOrReExport:()=>wf,isAnyImportOrRequireStatement:()=>Sf,isAnyImportSyntax:()=>Ef,isAnySupportedFileExtension:()=>ex,isApplicableVersionedTypesKey:()=>p$,isArgumentExpressionOfElementAccess:()=>aY,isArray:()=>Ye,isArrayBindingElement:()=>xu,isArrayBindingOrAssignmentElement:()=>Fu,isArrayBindingOrAssignmentPattern:()=>Tu,isArrayBindingPattern:()=>Vw,isArrayLiteralExpression:()=>Gw,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>vK,isArrayTypeNode:()=>kw,isArrowFunction:()=>rI,isAsExpression:()=>AI,isAssertClause:()=>aT,isAssertEntry:()=>cT,isAssertionExpression:()=>Vu,isAssertsKeyword:()=>WD,isAssignmentDeclaration:()=>Um,isAssignmentExpression:()=>iv,isAssignmentOperator:()=>tv,isAssignmentPattern:()=>Eu,isAssignmentTarget:()=>Kh,isAsteriskToken:()=>qD,isAsyncFunction:()=>Bg,isAsyncModifier:()=>GD,isAutoAccessorPropertyDeclaration:()=>fu,isAwaitExpression:()=>aI,isAwaitKeyword:()=>zD,isBigIntLiteral:()=>SD,isBinaryExpression:()=>uI,isBinaryLogicalOperator:()=>zy,isBinaryOperatorToken:()=>LR,isBindableObjectDefinePropertyCall:()=>nh,isBindableStaticAccessExpression:()=>oh,isBindableStaticElementAccessExpression:()=>sh,isBindableStaticNameExpression:()=>ah,isBindingElement:()=>Hw,isBindingElementOfBareOrAccessedRequire:()=>$m,isBindingName:()=>nu,isBindingOrAssignmentElement:()=>ku,isBindingOrAssignmentPattern:()=>Du,isBindingPattern:()=>Cu,isBlock:()=>DI,isBlockLike:()=>a0,isBlockOrCatchScoped:()=>sf,isBlockScope:()=>vf,isBlockScopedContainerTopLevel:()=>pf,isBooleanLiteral:()=>su,isBreakOrContinueStatement:()=>Sl,isBreakStatement:()=>$I,isBuildCommand:()=>fW,isBuildInfoFile:()=>Bj,isBuilderProgram:()=>lH,isBundle:()=>VT,isCallChain:()=>hl,isCallExpression:()=>Kw,isCallExpressionTarget:()=>jz,isCallLikeExpression:()=>Bu,isCallLikeOrFunctionLikeExpression:()=>Nu,isCallOrNewExpression:()=>Ou,isCallOrNewExpressionTarget:()=>Jz,isCallSignatureDeclaration:()=>gw,isCallToHelper:()=>ED,isCaseBlock:()=>tT,isCaseClause:()=>OT,isCaseKeyword:()=>rw,isCaseOrDefaultClause:()=>Cd,isCatchClause:()=>QT,isCatchClauseVariableDeclaration:()=>qx,isCatchClauseVariableDeclarationOrBindingElement:()=>af,isCheckJsEnabledForFile:()=>nx,isCircularBuildOrder:()=>jH,isClassDeclaration:()=>zI,isClassElement:()=>uu,isClassExpression:()=>mI,isClassInstanceProperty:()=>_u,isClassLike:()=>du,isClassMemberModifier:()=>Xl,isClassNamedEvaluationHelperBlock:()=>wM,isClassOrTypeElement:()=>Au,isClassStaticBlockDeclaration:()=>fw,isClassThisAssignmentBlock:()=>EM,isColonToken:()=>LD,isCommaExpression:()=>oR,isCommaListExpression:()=>xI,isCommaSequence:()=>sR,isCommaToken:()=>ND,isComment:()=>fK,isCommonJsExportPropertyAssignment:()=>N_,isCommonJsExportedExpression:()=>P_,isCompoundAssignment:()=>HL,isComputedNonLiteralName:()=>Nf,isComputedPropertyName:()=>ow,isConciseBody:()=>Xu,isConditionalExpression:()=>dI,isConditionalTypeNode:()=>Pw,isConstAssertion:()=>gS,isConstTypeReference:()=>Cl,isConstructSignatureDeclaration:()=>Aw,isConstructorDeclaration:()=>_w,isConstructorTypeNode:()=>Ew,isContextualKeyword:()=>wg,isContinueStatement:()=>qI,isCustomPrologue:()=>f_,isDebuggerStatement:()=>VI,isDeclaration:()=>ud,isDeclarationBindingElement:()=>Su,isDeclarationFileName:()=>KP,isDeclarationName:()=>lg,isDeclarationNameOfEnumOrNamespace:()=>Zv,isDeclarationReadonly:()=>n_,isDeclarationStatement:()=>dd,isDeclarationWithTypeParameterChildren:()=>Cf,isDeclarationWithTypeParameters:()=>bf,isDecorator:()=>cw,isDecoratorTarget:()=>Hz,isDefaultClause:()=>qT,isDefaultImport:()=>xh,isDefaultModifier:()=>HD,isDefaultedExpandoInitializer:()=>Wm,isDeleteExpression:()=>iI,isDeleteTarget:()=>ag,isDeprecatedDeclaration:()=>XZ,isDestructuringAssignment:()=>ov,isDiskPathRoot:()=>Ao,isDoStatement:()=>RI,isDocumentRegistryEntry:()=>$0,isDotDotDotToken:()=>PD,isDottedName:()=>lv,isDynamicName:()=>Qg,isEffectiveExternalModule:()=>gf,isEffectiveStrictModeSourceFile:()=>Af,isElementAccessChain:()=>ml,isElementAccessExpression:()=>Yw,isEmittedFileOfProgram:()=>CU,isEmptyArrayLiteral:()=>yv,isEmptyBindingElement:()=>tc,isEmptyBindingPattern:()=>ec,isEmptyObjectLiteral:()=>Av,isEmptyStatement:()=>II,isEmptyStringLiteral:()=>Am,isEntityName:()=>eu,isEntityNameExpression:()=>av,isEnumConst:()=>t_,isEnumDeclaration:()=>XI,isEnumMember:()=>UT,isEqualityOperatorKind:()=>_Z,isEqualsGreaterThanToken:()=>jD,isExclamationToken:()=>$D,isExcludedFile:()=>SO,isExclusivelyTypeOnlyImportOrExport:()=>ZU,isExpandoPropertyDeclaration:()=>lS,isExportAssignment:()=>mT,isExportDeclaration:()=>hT,isExportModifier:()=>VD,isExportName:()=>tR,isExportNamespaceAsDefaultDeclaration:()=>Jp,isExportOrDefaultModifier:()=>WR,isExportSpecifier:()=>AT,isExportsIdentifier:()=>Xm,isExportsOrModuleExportsOrAlias:()=>U$,isExpression:()=>Ju,isExpressionNode:()=>vm,isExpressionOfExternalModuleImportEqualsDeclaration:()=>dY,isExpressionOfOptionalChainRoot:()=>yl,isExpressionStatement:()=>TI,isExpressionWithTypeArguments:()=>gI,isExpressionWithTypeArgumentsInClassExtendsClause:()=>sv,isExternalModule:()=>UP,isExternalModuleAugmentation:()=>_f,isExternalModuleImportEqualsDeclaration:()=>xm,isExternalModuleIndicator:()=>Yu,isExternalModuleNameRelative:()=>Sa,isExternalModuleReference:()=>ET,isExternalModuleSymbol:()=>Yd,isExternalOrCommonJsModule:()=>Zf,isFileLevelReservedGeneratedIdentifier:()=>Gl,isFileLevelUniqueName:()=>Sp,isFileProbablyExternalModule:()=>mP,isFirstDeclarationOfSymbolParameter:()=>gX,isFixablePromiseHandler:()=>N1,isForInOrOfStatement:()=>Ku,isForInStatement:()=>BI,isForInitializer:()=>ed,isForOfStatement:()=>OI,isForStatement:()=>NI,isFullSourceFile:()=>wm,isFunctionBlock:()=>$_,isFunctionBody:()=>Zu,isFunctionDeclaration:()=>WI,isFunctionExpression:()=>nI,isFunctionExpressionOrArrowFunction:()=>$x,isFunctionLike:()=>ru,isFunctionLikeDeclaration:()=>ou,isFunctionLikeKind:()=>cu,isFunctionLikeOrClassStaticBlockDeclaration:()=>iu,isFunctionOrConstructorTypeNode:()=>bu,isFunctionOrModuleBlock:()=>lu,isFunctionSymbol:()=>hh,isFunctionTypeNode:()=>Cw,isGeneratedIdentifier:()=>Vl,isGeneratedPrivateIdentifier:()=>Hl,isGetAccessor:()=>Dd,isGetAccessorDeclaration:()=>mw,isGetOrSetAccessorDeclaration:()=>fl,isGlobalScopeAugmentation:()=>ff,isGlobalSourceFile:()=>Xf,isGrammarError:()=>wp,isHeritageClause:()=>$T,isHoistedFunction:()=>__,isHoistedVariableStatement:()=>h_,isIdentifier:()=>UD,isIdentifierANonContextualKeyword:()=>Fg,isIdentifierName:()=>pg,isIdentifierOrThisTypeNode:()=>RR,isIdentifierPart:()=>_a,isIdentifierStart:()=>fa,isIdentifierText:()=>ma,isIdentifierTypePredicate:()=>M_,isIdentifierTypeReference:()=>bx,isIfStatement:()=>FI,isIgnoredFileFromWildCardWatching:()=>bU,isImplicitGlob:()=>dE,isImportAttribute:()=>uT,isImportAttributeName:()=>Jl,isImportAttributes:()=>lT,isImportCall:()=>l_,isImportClause:()=>oT,isImportDeclaration:()=>iT,isImportEqualsDeclaration:()=>rT,isImportKeyword:()=>nw,isImportMeta:()=>u_,isImportOrExportSpecifier:()=>$l,isImportOrExportSpecifierName:()=>LX,isImportSpecifier:()=>_T,isImportTypeAssertionContainer:()=>sT,isImportTypeNode:()=>Mw,isImportable:()=>p0,isInComment:()=>cK,isInCompoundLikeAssignment:()=>Xh,isInExpressionContext:()=>bm,isInJSDoc:()=>Pm,isInJSFile:()=>Tm,isInJSXText:()=>nK,isInJsonFile:()=>Fm,isInNonReferenceComment:()=>CK,isInReferenceComment:()=>bK,isInRightSideOfInternalImportEqualsDeclaration:()=>Mz,isInString:()=>XY,isInTemplateString:()=>tK,isInTopLevelContext:()=>nm,isInTypeQuery:()=>uy,isIncrementalBuildInfo:()=>_V,isIncrementalBundleEmitBuildInfo:()=>fV,isIncrementalCompilation:()=>FC,isIndexSignatureDeclaration:()=>yw,isIndexedAccessTypeNode:()=>$w,isInferTypeNode:()=>Nw,isInfinityOrNaNString:()=>Ox,isInitializedProperty:()=>eM,isInitializedVariable:()=>tb,isInsideJsxElement:()=>rK,isInsideJsxElementOrAttribute:()=>ZY,isInsideNodeModules:()=>$Z,isInsideTemplateLiteral:()=>gK,isInstanceOfExpression:()=>hv,isInstantiatedModule:()=>HQ,isInterfaceDeclaration:()=>YI,isInternalDeclaration:()=>Md,isInternalModuleImportEqualsDeclaration:()=>Dm,isInternalName:()=>ZF,isIntersectionTypeNode:()=>Rw,isIntrinsicJsxName:()=>TA,isIterationStatement:()=>Hu,isJSDoc:()=>sF,isJSDocAllType:()=>XT,isJSDocAugmentsTag:()=>lF,isJSDocAuthorTag:()=>uF,isJSDocCallbackTag:()=>pF,isJSDocClassTag:()=>dF,isJSDocCommentContainingNode:()=>xd,isJSDocConstructSignature:()=>Dh,isJSDocDeprecatedTag:()=>yF,isJSDocEnumTag:()=>bF,isJSDocFunctionType:()=>rF,isJSDocImplementsTag:()=>TF,isJSDocImportTag:()=>PF,isJSDocIndexSignature:()=>Nm,isJSDocLikeText:()=>_P,isJSDocLink:()=>zT,isJSDocLinkCode:()=>YT,isJSDocLinkLike:()=>qd,isJSDocLinkPlain:()=>KT,isJSDocMemberName:()=>WT,isJSDocNameReference:()=>GT,isJSDocNamepathType:()=>oF,isJSDocNamespaceBody:()=>rd,isJSDocNode:()=>Ed,isJSDocNonNullableType:()=>tF,isJSDocNullableType:()=>eF,isJSDocOptionalParameter:()=>zx,isJSDocOptionalType:()=>nF,isJSDocOverloadTag:()=>AF,isJSDocOverrideTag:()=>gF,isJSDocParameterTag:()=>CF,isJSDocPrivateTag:()=>_F,isJSDocPropertyLikeTag:()=>Dl,isJSDocPropertyTag:()=>IF,isJSDocProtectedTag:()=>mF,isJSDocPublicTag:()=>fF,isJSDocReadonlyTag:()=>hF,isJSDocReturnTag:()=>EF,isJSDocSatisfiesExpression:()=>Xx,isJSDocSatisfiesTag:()=>FF,isJSDocSeeTag:()=>vF,isJSDocSignature:()=>cF,isJSDocTag:()=>Sd,isJSDocTemplateTag:()=>kF,isJSDocThisTag:()=>xF,isJSDocThrowsTag:()=>RF,isJSDocTypeAlias:()=>wh,isJSDocTypeAssertion:()=>aR,isJSDocTypeExpression:()=>HT,isJSDocTypeLiteral:()=>aF,isJSDocTypeTag:()=>SF,isJSDocTypedefTag:()=>DF,isJSDocUnknownTag:()=>wF,isJSDocUnknownType:()=>ZT,isJSDocVariadicType:()=>iF,isJSXTagName:()=>ym,isJsonEqual:()=>_x,isJsonSourceFile:()=>e_,isJsxAttribute:()=>FT,isJsxAttributeLike:()=>Ad,isJsxAttributeName:()=>rS,isJsxAttributes:()=>RT,isJsxCallLike:()=>bd,isJsxChild:()=>gd,isJsxClosingElement:()=>DT,isJsxClosingFragment:()=>TT,isJsxElement:()=>xT,isJsxExpression:()=>NT,isJsxFragment:()=>wT,isJsxNamespacedName:()=>BT,isJsxOpeningElement:()=>kT,isJsxOpeningFragment:()=>IT,isJsxOpeningLikeElement:()=>vd,isJsxOpeningLikeElementTagName:()=>Gz,isJsxSelfClosingElement:()=>ST,isJsxSpreadAttribute:()=>PT,isJsxTagNameExpression:()=>hd,isJsxText:()=>DD,isJumpStatementTarget:()=>tY,isKeyword:()=>Sg,isKeywordOrPunctuation:()=>Dg,isKnownSymbol:()=>Vg,isLabelName:()=>rY,isLabelOfLabeledStatement:()=>nY,isLabeledStatement:()=>jI,isLateVisibilityPaintedStatement:()=>kf,isLeftHandSideExpression:()=>$u,isLet:()=>a_,isLineBreak:()=>Js,isLiteralComputedPropertyDeclarationName:()=>dg,isLiteralExpression:()=>Pl,isLiteralExpressionOfObject:()=>Nl,isLiteralImportTypeNode:()=>d_,isLiteralKind:()=>Rl,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>uY,isLiteralTypeLiteral:()=>Uu,isLiteralTypeNode:()=>Lw,isLocalName:()=>eR,isLogicalOperator:()=>Yy,isLogicalOrCoalescingAssignmentExpression:()=>Xy,isLogicalOrCoalescingAssignmentOperator:()=>Ky,isLogicalOrCoalescingBinaryExpression:()=>ev,isLogicalOrCoalescingBinaryOperator:()=>Zy,isMappedTypeNode:()=>Qw,isMemberName:()=>pl,isMetaProperty:()=>bI,isMethodDeclaration:()=>pw,isMethodOrAccessor:()=>mu,isMethodSignature:()=>dw,isMinusToken:()=>OD,isMissingDeclaration:()=>vT,isMissingPackageJsonInfo:()=>dq,isModifier:()=>Zl,isModifierKind:()=>Yl,isModifierLike:()=>hu,isModuleAugmentationExternal:()=>mf,isModuleBlock:()=>eT,isModuleBody:()=>td,isModuleDeclaration:()=>ZI,isModuleExportName:()=>yT,isModuleExportsAccessExpression:()=>eh,isModuleIdentifier:()=>Zm,isModuleName:()=>BR,isModuleOrEnumDeclaration:()=>od,isModuleReference:()=>md,isModuleSpecifierLike:()=>tX,isModuleWithStringLiteralName:()=>lf,isNameOfFunctionDeclaration:()=>lY,isNameOfModuleDeclaration:()=>cY,isNamedDeclaration:()=>Ec,isNamedEvaluation:()=>zg,isNamedEvaluationSource:()=>Wg,isNamedExportBindings:()=>kl,isNamedExports:()=>gT,isNamedImportBindings:()=>id,isNamedImports:()=>fT,isNamedImportsOrExports:()=>kb,isNamedTupleMember:()=>ww,isNamespaceBody:()=>nd,isNamespaceExport:()=>pT,isNamespaceExportDeclaration:()=>nT,isNamespaceImport:()=>dT,isNamespaceReexportDeclaration:()=>Em,isNewExpression:()=>Xw,isNewExpressionTarget:()=>Uz,isNewScopeNode:()=>TS,isNoSubstitutionTemplateLiteral:()=>ID,isNodeArray:()=>Fl,isNodeArrayMultiLine:()=>Hv,isNodeDescendantOf:()=>cg,isNodeKind:()=>wl,isNodeLikeSystem:()=>ln,isNodeModulesDirectory:()=>cs,isNodeWithPossibleHoistedDeclaration:()=>Zh,isNonContextualKeyword:()=>Ig,isNonGlobalAmbientModule:()=>uf,isNonNullAccess:()=>Kx,isNonNullChain:()=>xl,isNonNullExpression:()=>vI,isNonStaticMethodOrAccessorWithPrivateName:()=>tM,isNotEmittedStatement:()=>bT,isNullishCoalesce:()=>bl,isNumber:()=>Ze,isNumericLiteral:()=>xD,isNumericLiteralName:()=>Lx,isObjectBindingElementWithoutPropertyName:()=>nX,isObjectBindingOrAssignmentElement:()=>Iu,isObjectBindingOrAssignmentPattern:()=>wu,isObjectBindingPattern:()=>Jw,isObjectLiteralElement:()=>Rd,isObjectLiteralElementLike:()=>yu,isObjectLiteralExpression:()=>Ww,isObjectLiteralMethod:()=>Q_,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>L_,isObjectTypeDeclaration:()=>Cb,isOmittedExpression:()=>hI,isOptionalChain:()=>gl,isOptionalChainRoot:()=>Al,isOptionalDeclaration:()=>Yx,isOptionalJSDocPropertyLikeTag:()=>Hx,isOptionalTypeNode:()=>Iw,isOuterExpression:()=>lR,isOutermostOptionalChain:()=>vl,isOverrideModifier:()=>ZD,isPackageJsonInfo:()=>uq,isPackedArrayLiteral:()=>Fx,isParameter:()=>aw,isParameterPropertyDeclaration:()=>Za,isParameterPropertyModifier:()=>Kl,isParenthesizedExpression:()=>tI,isParenthesizedTypeNode:()=>Bw,isParseTreeNode:()=>pc,isPartOfParameterDeclaration:()=>Kg,isPartOfTypeNode:()=>S_,isPartOfTypeOnlyImportOrExportDeclaration:()=>jl,isPartOfTypeQuery:()=>Cm,isPartiallyEmittedExpression:()=>EI,isPatternMatch:()=>Kt,isPinnedComment:()=>$p,isPlainJsFile:()=>vp,isPlusToken:()=>BD,isPossiblyTypeArgumentPosition:()=>oK,isPostfixUnaryExpression:()=>lI,isPrefixUnaryExpression:()=>cI,isPrimitiveLiteralValue:()=>vS,isPrivateIdentifier:()=>JD,isPrivateIdentifierClassElementDeclaration:()=>Wl,isPrivateIdentifierPropertyAccessExpression:()=>zl,isPrivateIdentifierSymbol:()=>Hg,isProgramUptoDate:()=>CJ,isPrologueDirective:()=>p_,isPropertyAccessChain:()=>_l,isPropertyAccessEntityNameExpression:()=>uv,isPropertyAccessExpression:()=>zw,isPropertyAccessOrQualifiedName:()=>Pu,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Ru,isPropertyAssignment:()=>LT,isPropertyDeclaration:()=>uw,isPropertyName:()=>tu,isPropertyNameLiteral:()=>Mg,isPropertySignature:()=>lw,isPrototypeAccess:()=>pv,isPrototypePropertyAssignment:()=>fh,isPunctuation:()=>kg,isPushOrUnshiftIdentifier:()=>Yg,isQualifiedName:()=>iw,isQuestionDotToken:()=>MD,isQuestionOrExclamationToken:()=>FR,isQuestionOrPlusOrMinusToken:()=>NR,isQuestionToken:()=>QD,isReadonlyKeyword:()=>YD,isReadonlyKeywordOrPlusOrMinusToken:()=>PR,isRecognizedTripleSlashComment:()=>qp,isReferenceFileLocation:()=>vJ,isReferencedFile:()=>yJ,isRegularExpressionLiteral:()=>wD,isRequireCall:()=>Bm,isRequireVariableStatement:()=>Lm,isRestParameter:()=>Qd,isRestTypeNode:()=>Tw,isReturnStatement:()=>QI,isReturnStatementWithFixablePromiseHandler:()=>P1,isRightSideOfAccessExpression:()=>_v,isRightSideOfInstanceofExpression:()=>gv,isRightSideOfPropertyAccess:()=>sY,isRightSideOfQualifiedName:()=>oY,isRightSideOfQualifiedNameOrPropertyAccess:()=>fv,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>mv,isRootedDiskPath:()=>go,isSameEntityName:()=>Ym,isSatisfiesExpression:()=>yI,isSemicolonClassElement:()=>kI,isSetAccessor:()=>kd,isSetAccessorDeclaration:()=>hw,isShiftOperatorOrHigher:()=>OR,isShorthandAmbientModuleSymbol:()=>df,isShorthandPropertyAssignment:()=>MT,isSideEffectImport:()=>ES,isSignedNumericLiteral:()=>qg,isSimpleCopiableExpression:()=>JL,isSimpleInlineableExpression:()=>VL,isSimpleParameterList:()=>dM,isSingleOrDoubleQuote:()=>Mm,isSolutionConfig:()=>rO,isSourceElement:()=>_S,isSourceFile:()=>JT,isSourceFileFromLibrary:()=>i0,isSourceFileJS:()=>Im,isSourceFileNotJson:()=>Rm,isSourceMapping:()=>EL,isSpecialPropertyDeclaration:()=>_h,isSpreadAssignment:()=>jT,isSpreadElement:()=>_I,isStatement:()=>fd,isStatementButNotDeclaration:()=>pd,isStatementOrBlock:()=>_d,isStatementWithLocals:()=>bp,isStatic:()=>Iy,isStaticModifier:()=>KD,isString:()=>Xe,isStringANonContextualKeyword:()=>Tg,isStringAndEmptyAnonymousObjectIntersection:()=>hK,isStringDoubleQuoted:()=>jm,isStringLiteral:()=>kD,isStringLiteralLike:()=>Od,isStringLiteralOrJsxExpression:()=>yd,isStringLiteralOrTemplate:()=>mZ,isStringOrNumericLiteralLike:()=>Og,isStringOrRegularExpressionOrTemplateLiteral:()=>_K,isStringTextContainingNode:()=>Ul,isSuperCall:()=>c_,isSuperKeyword:()=>tw,isSuperProperty:()=>sm,isSupportedSourceFileName:()=>QE,isSwitchStatement:()=>MI,isSyntaxList:()=>NF,isSyntheticExpression:()=>CI,isSyntheticReference:()=>CT,isTagName:()=>iY,isTaggedTemplateExpression:()=>Zw,isTaggedTemplateTag:()=>Vz,isTemplateExpression:()=>pI,isTemplateHead:()=>TD,isTemplateLiteral:()=>qu,isTemplateLiteralKind:()=>Bl,isTemplateLiteralToken:()=>Ol,isTemplateLiteralTypeNode:()=>Uw,isTemplateLiteralTypeSpan:()=>jw,isTemplateMiddle:()=>FD,isTemplateMiddleOrTemplateTail:()=>ql,isTemplateSpan:()=>SI,isTemplateTail:()=>RD,isTextWhiteSpaceLike:()=>fX,isThis:()=>_Y,isThisContainerOrFunctionBlock:()=>tm,isThisIdentifier:()=>ly,isThisInTypeQuery:()=>dy,isThisInitializedDeclaration:()=>cm,isThisInitializedObjectBindingExpression:()=>lm,isThisProperty:()=>am,isThisTypeNode:()=>Ow,isThisTypeParameter:()=>jx,isThisTypePredicate:()=>j_,isThrowStatement:()=>UI,isToken:()=>Tl,isTokenKind:()=>Il,isTraceEnabled:()=>LO,isTransientSymbol:()=>zd,isTrivia:()=>Rg,isTryStatement:()=>JI,isTupleTypeNode:()=>Dw,isTypeAlias:()=>Ih,isTypeAliasDeclaration:()=>KI,isTypeAssertionExpression:()=>eI,isTypeDeclaration:()=>Jx,isTypeElement:()=>gu,isTypeKeyword:()=>PK,isTypeKeywordTokenOrIdentifier:()=>BK,isTypeLiteralNode:()=>Sw,isTypeNode:()=>vu,isTypeNodeKind:()=>Eb,isTypeOfExpression:()=>oI,isTypeOnlyExportDeclaration:()=>Ll,isTypeOnlyImportDeclaration:()=>Ql,isTypeOnlyImportOrExportDeclaration:()=>Ml,isTypeOperatorNode:()=>qw,isTypeParameterDeclaration:()=>sw,isTypePredicateNode:()=>vw,isTypeQueryNode:()=>xw,isTypeReferenceNode:()=>bw,isTypeReferenceType:()=>Pd,isTypeUsableAsPropertyName:()=>aS,isUMDExportSymbol:()=>Ab,isUnaryExpression:()=>Lu,isUnaryExpressionWithWrite:()=>ju,isUnicodeIdentifierStart:()=>ks,isUnionTypeNode:()=>Fw,isUrl:()=>ho,isValidBigIntString:()=>yx,isValidESSymbolDeclaration:()=>B_,isValidTypeOnlyAliasUseSite:()=>vx,isValueSignatureDeclaration:()=>eg,isVarAwaitUsing:()=>r_,isVarConst:()=>o_,isVarConstLike:()=>s_,isVarUsing:()=>i_,isVariableDeclaration:()=>HI,isVariableDeclarationInVariableStatement:()=>R_,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>qm,isVariableDeclarationInitializedToRequire:()=>Om,isVariableDeclarationList:()=>GI,isVariableLike:()=>F_,isVariableStatement:()=>wI,isVoidExpression:()=>sI,isWatchSet:()=>nb,isWhileStatement:()=>PI,isWhiteSpaceLike:()=>js,isWhiteSpaceSingleLine:()=>Us,isWithStatement:()=>LI,isWriteAccess:()=>lb,isWriteOnlyAccess:()=>cb,isYieldExpression:()=>fI,jsxModeNeedsExplicitImport:()=>r0,keywordPart:()=>bX,last:()=>Ae,lastOrUndefined:()=>ge,length:()=>l,libMap:()=>fN,libs:()=>pN,lineBreakPart:()=>BX,loadModuleFromGlobalCache:()=>I$,loadWithModeAwareCache:()=>dJ,makeIdentifierFromModuleName:()=>of,makeImport:()=>GK,makeStringLiteral:()=>WK,mangleScopedPackageName:()=>C$,map:()=>w,mapAllOrFail:()=>O,mapDefined:()=>q,mapDefinedIterator:()=>$,mapEntries:()=>U,mapIterator:()=>I,mapOneOrMany:()=>JZ,mapToDisplayParts:()=>OX,matchFiles:()=>gE,matchPatternOrExact:()=>ix,matchedText:()=>Ht,matchesExclude:()=>DO,matchesExcludeWorker:()=>wO,maxBy:()=>vt,maybeBind:()=>Je,maybeSetLocalizedDiagnosticMessages:()=>Jb,memoize:()=>dt,memoizeOne:()=>pt,min:()=>bt,minAndMax:()=>ax,missingFileModifiedTime:()=>Li,modifierToFlag:()=>Wy,modifiersToFlags:()=>Gy,moduleExportNameIsDefault:()=>Gp,moduleExportNameTextEscaped:()=>Hp,moduleExportNameTextUnescaped:()=>Vp,moduleOptionDeclaration:()=>gN,moduleResolutionIsEqualTo:()=>cp,moduleResolutionNameAndModeGetter:()=>sJ,moduleResolutionOptionDeclarations:()=>EN,moduleResolutionSupportsPackageJsonExportsAndImports:()=>QC,moduleResolutionUsesNodeModules:()=>HK,moduleSpecifierToValidIdentifier:()=>zZ,moduleSpecifiers:()=>G$,moduleSymbolToValidIdentifier:()=>WZ,moveEmitHelpers:()=>Ik,moveRangeEnd:()=>Nv,moveRangePastDecorators:()=>Ov,moveRangePastModifiers:()=>qv,moveRangePos:()=>Bv,moveSyntheticComments:()=>Ck,mutateMap:()=>_b,mutateMapSkippingNewValues:()=>fb,needsParentheses:()=>dZ,needsScopeMarker:()=>zu,newCaseClauseTracker:()=>o0,newPrivateEnvironment:()=>sM,noEmitNotification:()=>Fj,noEmitSubstitution:()=>Tj,noTransformers:()=>Ej,noTruncationMaximumTruncationLength:()=>Vd,nodeCanBeDecorated:()=>pm,nodeCoreModules:()=>DS,nodeHasName:()=>bc,nodeIsDecorated:()=>fm,nodeIsMissing:()=>kp,nodeIsPresent:()=>Dp,nodeIsSynthesized:()=>eA,nodeModuleNameResolver:()=>Pq,nodeModulesPathPart:()=>Qq,nodeNextJsonConfigResolver:()=>Nq,nodeOrChildIsDecorated:()=>_m,nodeOverlapsWithStartEnd:()=>CY,nodePosToString:()=>Ep,nodeSeenTracker:()=>OK,nodeStartsNewLexicalEnvironment:()=>Zg,noop:()=>nt,noopFileWatcher:()=>AH,normalizePath:()=>Mo,normalizeSlashes:()=>Bo,normalizeSpans:()=>Ja,not:()=>en,notImplemented:()=>ut,notImplementedResolver:()=>oU,nullNodeConverters:()=>OS,nullParenthesizerRules:()=>PS,nullTransformationContext:()=>Pj,objectAllocator:()=>$b,operatorPart:()=>EX,optionDeclarations:()=>yN,optionMapToObject:()=>TB,optionsAffectingProgramStructure:()=>SN,optionsForBuild:()=>RN,optionsForWatch:()=>_N,optionsHaveChanges:()=>ep,or:()=>Zt,orderedRemoveItem:()=>Lt,orderedRemoveItemAt:()=>Mt,packageIdToPackageName:()=>fp,packageIdToString:()=>_p,parameterIsThisKeyword:()=>cy,parameterNamePart:()=>xX,parseBaseNodeFactory:()=>uP,parseBigInt:()=>gx,parseBuildCommand:()=>eB,parseCommandLine:()=>zN,parseCommandLineWorker:()=>VN,parseConfigFileTextToJson:()=>iB,parseConfigFileWithSystem:()=>rH,parseConfigHostFromCompilerHostLike:()=>BJ,parseCustomTypeOption:()=>MN,parseIsolatedEntityName:()=>MP,parseIsolatedJSDocComment:()=>VP,parseJSDocTypeExpressionForTests:()=>HP,parseJsonConfigFileContent:()=>MB,parseJsonSourceFileConfigFileContent:()=>jB,parseJsonText:()=>jP,parseListTypeOption:()=>jN,parseNodeFactory:()=>dP,parseNodeModuleFromPath:()=>Mq,parsePackageName:()=>s$,parsePseudoBigInt:()=>mx,parseValidBigInt:()=>Ax,pasteEdits:()=>k_e,patchWriteFileEnsuringDirectory:()=>ao,pathContainsNodeModules:()=>Lq,pathIsAbsolute:()=>yo,pathIsBareSpecifier:()=>bo,pathIsRelative:()=>vo,patternText:()=>Vt,performIncrementalCompilation:()=>FH,performance:()=>Un,positionBelongsToNode:()=>xY,positionIsASICandidate:()=>SZ,positionIsSynthesized:()=>YE,positionsAreOnSameLine:()=>Gv,preProcessFile:()=>E1,probablyUsesSemicolons:()=>kZ,processCommentPragmas:()=>ZP,processPragmasIntoFields:()=>eN,processTaggedTemplateExpression:()=>BM,programContainsEsModules:()=>jK,programContainsModules:()=>MK,projectReferenceIsEqualTo:()=>ap,propertyNamePart:()=>SX,pseudoBigIntToString:()=>hx,punctuationPart:()=>CX,pushIfUnique:()=>ae,quote:()=>fZ,quotePreferenceFromString:()=>YK,rangeContainsPosition:()=>AY,rangeContainsPositionExclusive:()=>yY,rangeContainsRange:()=>Kv,rangeContainsRangeExclusive:()=>gY,rangeContainsStartEnd:()=>vY,rangeEndIsOnSameLineAsRangeStart:()=>Uv,rangeEndPositionsAreOnSameLine:()=>Mv,rangeEquals:()=>de,rangeIsOnSingleLine:()=>Qv,rangeOfNode:()=>cx,rangeOfTypeParameters:()=>lx,rangeOverlapsWithStartEnd:()=>bY,rangeStartIsOnSameLineAsRangeEnd:()=>jv,rangeStartPositionsAreOnSameLine:()=>Lv,readBuilderProgram:()=>RH,readConfigFile:()=>rB,readJson:()=>Dv,readJsonConfigFile:()=>oB,readJsonOrUndefined:()=>kv,reduceEachLeadingCommentRange:()=>aa,reduceEachTrailingCommentRange:()=>ca,reduceLeft:()=>Se,reduceLeftIterator:()=>_,reducePathComponents:()=>Oo,refactor:()=>r3,regExpEscape:()=>tE,regularExpressionFlagToCharacterCode:()=>Rs,relativeComplement:()=>ne,removeAllComments:()=>rk,removeEmitHelper:()=>Dk,removeExtension:()=>VE,removeFileExtension:()=>UE,removeIgnoredPath:()=>NV,removeMinAndVersionNumbers:()=>Qt,removePrefix:()=>zt,removeSuffix:()=>qt,removeTrailingDirectorySeparator:()=>Jo,repeatString:()=>$K,replaceElement:()=>Ce,replaceFirstStar:()=>pS,resolutionExtensionIsTSOrJson:()=>XE,resolveConfigFileProjectName:()=>$H,resolveJSModule:()=>Iq,resolveLibrary:()=>Sq,resolveModuleName:()=>Dq,resolveModuleNameFromCache:()=>kq,resolvePackageNameToPackageJson:()=>cq,resolvePath:()=>$o,resolveProjectReferencePath:()=>OJ,resolveTripleslashReference:()=>wU,resolveTypeReferenceDirective:()=>oq,resolvingEmptyArray:()=>jd,returnFalse:()=>rt,returnNoopFileWatcher:()=>yH,returnTrue:()=>it,returnUndefined:()=>ot,returnsPromise:()=>R1,rewriteModuleSpecifier:()=>pM,sameFlatMap:()=>B,sameMap:()=>T,sameMapping:()=>CL,scanTokenAtPosition:()=>Yf,scanner:()=>qz,semanticDiagnosticsOptionDeclarations:()=>vN,serializeCompilerOptions:()=>NB,server:()=>O_e,servicesVersion:()=>k8,setCommentRange:()=>mk,setConfigFileInOptions:()=>UB,setConstantValue:()=>xk,setEmitFlags:()=>ik,setGetSourceFileAsHashVersioned:()=>SH,setIdentifierAutoGenerate:()=>qk,setIdentifierGeneratedImportReference:()=>Qk,setIdentifierTypeArguments:()=>Bk,setInternalEmitFlags:()=>sk,setLocalizedDiagnosticMessages:()=>Ub,setNodeChildren:()=>$F,setNodeFlags:()=>Dx,setObjectAllocator:()=>Mb,setOriginalNode:()=>ek,setParent:()=>wx,setParentRecursive:()=>Ix,setPrivateIdentifier:()=>cM,setSnippetElement:()=>Fk,setSourceMapRange:()=>lk,setStackTraceLimit:()=>qi,setStartsOnNewLine:()=>fk,setSyntheticLeadingComments:()=>gk,setSyntheticTrailingComments:()=>vk,setSys:()=>lo,setSysLog:()=>to,setTextRange:()=>aP,setTextRangeEnd:()=>xx,setTextRangePos:()=>Ex,setTextRangePosEnd:()=>Sx,setTextRangePosWidth:()=>kx,setTokenSourceMapRange:()=>dk,setTypeNode:()=>Pk,setUILocale:()=>Tt,setValueDeclaration:()=>mh,shouldAllowImportingTsExtension:()=>w$,shouldPreserveConstEnums:()=>TC,shouldRewriteModuleSpecifier:()=>bh,shouldUseUriStyleNodeCoreModules:()=>ZZ,showModuleSpecifier:()=>yb,signatureHasRestParameter:()=>KQ,signatureToDisplayParts:()=>QX,single:()=>ve,singleElementArray:()=>nn,singleIterator:()=>M,singleOrMany:()=>be,singleOrUndefined:()=>ye,skipAlias:()=>sb,skipConstraint:()=>QK,skipOuterExpressions:()=>uR,skipParentheses:()=>sg,skipPartiallyEmittedExpressions:()=>El,skipTrivia:()=>Ks,skipTypeChecking:()=>ux,skipTypeCheckingIgnoringNoCheck:()=>dx,skipTypeParentheses:()=>og,skipWhile:()=>cn,sliceAfter:()=>ox,some:()=>J,sortAndDeduplicate:()=>Z,sortAndDeduplicateDiagnostics:()=>ka,sourceFileAffectingCompilerOptions:()=>xN,sourceFileMayBeEmitted:()=>YA,sourceMapCommentRegExp:()=>mL,sourceMapCommentRegExpDontCareLineStart:()=>_L,spacePart:()=>vX,spanMap:()=>j,startEndContainsRange:()=>Xv,startEndOverlapsWithStartEnd:()=>EY,startOnNewLine:()=>pR,startTracing:()=>dr,startsWith:()=>Wt,startsWithDirectory:()=>ts,startsWithUnderscore:()=>KZ,startsWithUseStrict:()=>iR,stringContainsAt:()=>YZ,stringToToken:()=>Ts,stripQuotes:()=>IA,supportedDeclarationExtensions:()=>IE,supportedJSExtensionsFlat:()=>kE,supportedLocaleDirectories:()=>cc,supportedTSExtensionsFlat:()=>EE,supportedTSImplementationExtensions:()=>TE,suppressLeadingAndTrailingTrivia:()=>XX,suppressLeadingTrivia:()=>ZX,suppressTrailingTrivia:()=>eZ,symbolEscapedNameNoDefault:()=>eX,symbolName:()=>Ac,symbolNameNoDefault:()=>ZK,symbolToDisplayParts:()=>$X,sys:()=>co,sysLog:()=>eo,tagNamesAreEquivalent:()=>aN,takeWhile:()=>an,targetOptionDeclaration:()=>hN,targetToLibMap:()=>Da,testFormatSettings:()=>kz,textChangeRangeIsUnchanged:()=>Wa,textChangeRangeNewSpan:()=>Ga,textChanges:()=>zde,textOrKeywordPart:()=>kX,textPart:()=>DX,textRangeContainsPositionInclusive:()=>Ra,textRangeContainsTextSpan:()=>Ba,textRangeIntersectsWithTextSpan:()=>ja,textSpanContainsPosition:()=>Fa,textSpanContainsTextRange:()=>Na,textSpanContainsTextSpan:()=>Pa,textSpanEnd:()=>Ia,textSpanIntersection:()=>Ua,textSpanIntersectsWith:()=>Qa,textSpanIntersectsWithPosition:()=>Ma,textSpanIntersectsWithTextSpan:()=>$a,textSpanIsEmpty:()=>Ta,textSpanOverlap:()=>qa,textSpanOverlapsWith:()=>Oa,textSpansEqual:()=>lX,textToKeywordObj:()=>fs,timestamp:()=>jn,toArray:()=>Ke,toBuilderFileEmit:()=>SV,toBuilderStateFileInfoForMultiEmit:()=>xV,toEditorSettings:()=>U8,toFileNameLowerCase:()=>lt,toPath:()=>Uo,toProgramEmitPending:()=>kV,toSorted:()=>le,tokenIsIdentifierOrKeyword:()=>ds,tokenIsIdentifierOrKeywordOrGreaterThan:()=>ps,tokenToString:()=>Is,trace:()=>QO,tracing:()=>Hn,tracingEnabled:()=>Gn,transferSourceFileChildren:()=>LF,transform:()=>c5,transformClassFields:()=>QM,transformDeclarations:()=>vj,transformECMAScriptModule:()=>dj,transformES2015:()=>sj,transformES2016:()=>ij,transformES2017:()=>JM,transformES2018:()=>HM,transformES2019:()=>GM,transformES2020:()=>WM,transformES2021:()=>zM,transformESDecorators:()=>UM,transformESNext:()=>YM,transformGenerators:()=>aj,transformImpliedNodeFormatDependentModule:()=>pj,transformJsx:()=>nj,transformLegacyDecorators:()=>jM,transformModule:()=>cj,transformNamedEvaluation:()=>PM,transformNodes:()=>Rj,transformSystemModule:()=>uj,transformTypeScript:()=>$M,transpile:()=>W1,transpileDeclaration:()=>j1,transpileModule:()=>M1,transpileOptionValueCompilerOptions:()=>kN,tryAddToSet:()=>L,tryAndIgnoreErrors:()=>FZ,tryCast:()=>et,tryDirectoryExists:()=>TZ,tryExtractTSExtension:()=>bv,tryFileExists:()=>IZ,tryGetClassExtendingExpressionWithTypeArguments:()=>nv,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>rv,tryGetDirectories:()=>DZ,tryGetExtensionFromPath:()=>tx,tryGetImportFromModuleSpecifier:()=>vh,tryGetJSDocSatisfiesTypeNode:()=>eS,tryGetModuleNameFromFile:()=>AR,tryGetModuleSpecifierFromDeclaration:()=>Ah,tryGetNativePerformanceHooks:()=>Qn,tryGetPropertyAccessOrIdentifierToString:()=>dv,tryGetPropertyNameOfBindingOrAssignmentElement:()=>ER,tryGetSourceMappingURL:()=>AL,tryGetTextOfPropertyName:()=>Bf,tryParseJson:()=>wv,tryParsePattern:()=>GE,tryParsePatterns:()=>zE,tryParseRawSourceMap:()=>vL,tryReadDirectory:()=>wZ,tryReadFile:()=>sB,tryRemoveDirectoryPrefix:()=>ZC,tryRemoveExtension:()=>JE,tryRemovePrefix:()=>Yt,tryRemoveSuffix:()=>$t,tscBuildOption:()=>FN,typeAcquisitionDeclarations:()=>NN,typeAliasNamePart:()=>wX,typeDirectiveIsEqualTo:()=>mp,typeKeywords:()=>RK,typeParameterNamePart:()=>IX,typeToDisplayParts:()=>qX,unchangedPollThresholds:()=>Vi,unchangedTextChangeRange:()=>Ya,unescapeLeadingUnderscores:()=>mc,unmangleScopedPackageName:()=>x$,unorderedRemoveItem:()=>Ut,unprefixedNodeCoreModules:()=>SS,unreachableCodeIsError:()=>qC,unsetNodeChildren:()=>QF,unusedLabelIsError:()=>$C,unwrapInnermostStatementOfLabel:()=>q_,unwrapParenthesizedExpression:()=>bS,updateErrorForNoInputFiles:()=>oO,updateLanguageServiceSourceFile:()=>K8,updateMissingFilePathsWatch:()=>yU,updateResolutionField:()=>zO,updateSharedExtendedConfigFileWatcher:()=>hU,updateSourceFile:()=>JP,updateWatchingWildcardDirectories:()=>vU,usingSingleLineStringWriter:()=>op,utf16EncodeAsString:()=>va,validateLocaleAndSetLanguage:()=>lc,version:()=>o,versionMajorMinor:()=>i,visitArray:()=>nL,visitCommaListElements:()=>lL,visitEachChild:()=>uL,visitFunctionBody:()=>aL,visitIterationBody:()=>cL,visitLexicalEnvironment:()=>iL,visitNode:()=>eL,visitNodes:()=>tL,visitParameterList:()=>oL,walkUpBindingElementsAndPatterns:()=>nc,walkUpOuterExpressions:()=>dR,walkUpParenthesizedExpressions:()=>rg,walkUpParenthesizedTypes:()=>ng,walkUpParenthesizedTypesAndGetParentAndChild:()=>ig,whitespaceOrMapCommentRegExp:()=>hL,writeCommentRange:()=>Cy,writeFile:()=>ZA,writeFileEnsuringDirectories:()=>ty,zipWith:()=>m});var O_e={};n(O_e,{ActionInvalidate:()=>UW,ActionPackageInstalled:()=>JW,ActionSet:()=>jW,ActionWatchTypingLocations:()=>zW,Arguments:()=>LW,AutoImportProviderProject:()=>Bme,AuxiliaryProject:()=>Pme,CharRangeSection:()=>Dge,CloseFileWatcherEvent:()=>the,CommandNames:()=>tge,ConfigFileDiagEvent:()=>zme,ConfiguredProject:()=>Ome,ConfiguredProjectLoadKind:()=>Ehe,CreateDirectoryWatcherEvent:()=>ehe,CreateFileWatcherEvent:()=>Zme,Errors:()=>J_e,EventBeginInstallTypes:()=>HW,EventEndInstallTypes:()=>GW,EventInitializationFailed:()=>WW,EventTypesRegistry:()=>VW,ExternalProject:()=>qme,GcTimer:()=>sme,InferredProject:()=>Rme,LargeFileReferencedEvent:()=>Wme,LineIndex:()=>Pge,LineLeaf:()=>Bge,LineNode:()=>Nge,LogLevel:()=>H_e,Msg:()=>W_e,OpenFileInfoTelemetryEvent:()=>Xme,Project:()=>Fme,ProjectInfoTelemetryEvent:()=>Kme,ProjectKind:()=>xme,ProjectLanguageServiceStateEvent:()=>Yme,ProjectLoadingFinishEvent:()=>Gme,ProjectLoadingStartEvent:()=>Hme,ProjectService:()=>Jhe,ProjectsUpdatedInBackgroundEvent:()=>Vme,ScriptInfo:()=>bme,ScriptVersionCache:()=>Fge,Session:()=>yge,TextStorage:()=>yme,ThrottledOperations:()=>ome,TypingsInstallerAdapter:()=>qge,allFilesAreJsOrDts:()=>Dme,allRootFilesAreJsOrDts:()=>kme,asNormalizedPath:()=>X_e,convertCompilerOptions:()=>lhe,convertFormatOptions:()=>che,convertScriptKindName:()=>fhe,convertTypeAcquisition:()=>dhe,convertUserPreferences:()=>_he,convertWatchOptions:()=>uhe,countEachFileTypes:()=>Sme,createInstallTypingsRequest:()=>z_e,createModuleSpecifierCache:()=>Ghe,createNormalizedPathMap:()=>Z_e,createPackageJsonCache:()=>Whe,createSortedArray:()=>ime,emptyArray:()=>G_e,findArgument:()=>KW,formatDiagnosticToProtocol:()=>ege,formatMessage:()=>nge,getBaseConfigFileName:()=>ame,getDetailWatchInfo:()=>Fhe,getLocationInNewDocument:()=>xge,hasArgument:()=>YW,hasNoTypeScriptSource:()=>wme,indent:()=>ez,isBackgroundProject:()=>Mme,isConfigFile:()=>Vhe,isConfiguredProject:()=>Qme,isDynamicFileName:()=>vme,isExternalProject:()=>Lme,isInferredProject:()=>$me,isInferredProjectName:()=>eme,isProjectDeferredClose:()=>jme,makeAutoImportProviderProjectName:()=>nme,makeAuxiliaryProjectName:()=>rme,makeInferredProjectName:()=>tme,maxFileSize:()=>Jme,maxProgramSizeForNonTsFiles:()=>Ume,normalizedPathToPath:()=>K_e,nowString:()=>XW,nullCancellationToken:()=>zhe,nullTypingsInstaller:()=>Ahe,protocol:()=>cme,scriptInfoIsContainedByBackgroundProject:()=>Cme,scriptInfoIsContainedByDeferredClosedProject:()=>Eme,stringifyIndented:()=>tz,toEvent:()=>ige,toNormalizedPath:()=>Y_e,tryConvertScriptKindName:()=>phe,typingsInstaller:()=>q_e,updateProjectIfDirty:()=>Phe});var q_e={};n(q_e,{TypingsInstaller:()=>j_e,getNpmCommandForInstallation:()=>M_e,installNpmPackages:()=>L_e,typingsName:()=>U_e});var $_e={isEnabled:()=>!1,writeLine:nt};function Q_e(e,t,n,r){try{const r=Dq(t,qo(e,"index.d.ts"),{moduleResolution:2},n);return r.resolvedModule&&r.resolvedModule.resolvedFileName}catch(n){return void(r.isEnabled()&&r.writeLine(`Failed to resolve ${t} in folder '${e}': ${n.message}`))}}function L_e(e,t,n,r){let i=!1;for(let o=n.length;o>0;){const s=M_e(e,t,n,o);o=s.remaining,i=r(s.command)||i}return i}function M_e(e,t,n,r){const i=n.length-r;let o,s=r;for(;o=`${e} install --ignore-scripts ${(s===n.length?n:n.slice(i,i+s)).join(" ")} --save-dev --user-agent="typesInstaller/${t}"`,!(o.length<8e3);)s-=Math.floor(s/2);return{command:o,remaining:r-s}}var j_e=class{constructor(e,t,n,r,i,o=$_e){this.installTypingHost=e,this.globalCachePath=t,this.safeListPath=n,this.typesMapLocation=r,this.throttleLimit=i,this.log=o,this.packageNameToTypingLocation=new Map,this.missingTypingsSet=new Set,this.knownCachesSet=new Set,this.projectWatchers=new Map,this.pendingRunRequests=[],this.installRunCount=1,this.inFlightRequestCount=0,this.latestDistTag="latest";this.log.isEnabled()&&this.log.writeLine(`Global cache location '${t}', safe file path '${n}', types map path ${r}`),this.processCacheLocation(this.globalCachePath)}handleRequest(e){switch(e.kind){case"discover":this.install(e);break;case"closeProject":this.closeProject(e);break;case"typesRegistry":{const e={};this.typesRegistry.forEach(((t,n)=>{e[n]=t}));const t={kind:VW,typesRegistry:e};this.sendResponse(t);break}case"installPackage":this.installPackage(e);break;default:un.assertNever(e)}}closeProject(e){this.closeWatchers(e.projectName)}closeWatchers(e){this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${e}'`);this.projectWatchers.get(e)?(this.projectWatchers.delete(e),this.sendResponse({kind:zW,projectName:e,files:[]}),this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${e}' - done.`)):this.log.isEnabled()&&this.log.writeLine(`No watchers are registered for project '${e}'`)}install(e){this.log.isEnabled()&&this.log.writeLine(`Got install request${tz(e)}`),e.cachePath&&(this.log.isEnabled()&&this.log.writeLine(`Request specifies cache path '${e.cachePath}', loading cached information...`),this.processCacheLocation(e.cachePath)),void 0===this.safeList&&this.initializeSafeList();const t=QW.discoverTypings(this.installTypingHost,this.log.isEnabled()?e=>this.log.writeLine(e):void 0,e.fileNames,e.projectRootPath,this.safeList,this.packageNameToTypingLocation,e.typeAcquisition,e.unresolvedImports,this.typesRegistry,e.compilerOptions);this.watchFiles(e.projectName,t.filesToWatch),t.newTypingNames.length?this.installTypings(e,e.cachePath||this.globalCachePath,t.cachedTypingPaths,t.newTypingNames):(this.sendResponse(this.createSetTypings(e,t.cachedTypingPaths)),this.log.isEnabled()&&this.log.writeLine("No new typings were requested as a result of typings discovery"))}installPackage(e){const{fileName:t,packageName:n,projectName:r,projectRootPath:i,id:o}=e,s=as(Io(t),(e=>{if(this.installTypingHost.fileExists(qo(e,"package.json")))return e}))||i;if(s)this.installWorker(-1,[n],s,(e=>{const t={kind:JW,projectName:r,id:o,success:e,message:e?`Package ${n} installed.`:`There was an error installing ${n}.`};this.sendResponse(t)}));else{const e={kind:JW,projectName:r,id:o,success:!1,message:"Could not determine a project root path."};this.sendResponse(e)}}initializeSafeList(){if(this.typesMapLocation){const e=QW.loadTypesMap(this.installTypingHost,this.typesMapLocation);if(e)return this.log.writeLine(`Loaded safelist from types map file '${this.typesMapLocation}'`),void(this.safeList=e);this.log.writeLine(`Failed to load safelist from types map file '${this.typesMapLocation}'`)}this.safeList=QW.loadSafeList(this.installTypingHost,this.safeListPath)}processCacheLocation(e){if(this.log.isEnabled()&&this.log.writeLine(`Processing cache location '${e}'`),this.knownCachesSet.has(e))return void(this.log.isEnabled()&&this.log.writeLine("Cache location was already processed..."));const t=qo(e,"package.json"),n=qo(e,"package-lock.json");if(this.log.isEnabled()&&this.log.writeLine(`Trying to find '${t}'...`),this.installTypingHost.fileExists(t)&&this.installTypingHost.fileExists(n)){const r=JSON.parse(this.installTypingHost.readFile(t)),i=JSON.parse(this.installTypingHost.readFile(n));if(this.log.isEnabled()&&(this.log.writeLine(`Loaded content of '${t}':${tz(r)}`),this.log.writeLine(`Loaded content of '${n}':${tz(i)}`)),r.devDependencies&&i.dependencies)for(const t in r.devDependencies){if(!De(i.dependencies,t))continue;const n=To(t);if(!n)continue;const r=Q_e(e,n,this.installTypingHost,this.log);if(!r){this.missingTypingsSet.add(n);continue}const o=this.packageNameToTypingLocation.get(n);if(o){if(o.typingLocation===r)continue;this.log.isEnabled()&&this.log.writeLine(`New typing for package ${n} from '${r}' conflicts with existing typing file '${o}'`)}this.log.isEnabled()&&this.log.writeLine(`Adding entry into typings cache: '${n}' => '${r}'`);const s=we(i.dependencies,t),a=s&&s.version;if(!a)continue;const c={typingLocation:r,version:new yn(a)};this.packageNameToTypingLocation.set(n,c)}}this.log.isEnabled()&&this.log.writeLine(`Finished processing cache location '${e}'`),this.knownCachesSet.add(e)}filterTypings(e){return q(e,(e=>{const t=C$(e);if(this.missingTypingsSet.has(t))return void(this.log.isEnabled()&&this.log.writeLine(`'${e}':: '${t}' is in missingTypingsSet - skipping...`));const n=QW.validatePackageName(e);if(n!==QW.NameValidationResult.Ok)return this.missingTypingsSet.add(t),void(this.log.isEnabled()&&this.log.writeLine(QW.renderPackageNameValidationFailure(n,e)));if(this.typesRegistry.has(t)){if(!this.packageNameToTypingLocation.get(t)||!QW.isTypingUpToDate(this.packageNameToTypingLocation.get(t),this.typesRegistry.get(t)))return t;this.log.isEnabled()&&this.log.writeLine(`'${e}':: '${t}' already has an up-to-date typing - skipping...`)}else this.log.isEnabled()&&this.log.writeLine(`'${e}':: Entry for package '${t}' does not exist in local types registry - skipping...`)}))}ensurePackageDirectoryExists(e){const t=qo(e,"package.json");this.log.isEnabled()&&this.log.writeLine(`Npm config file: ${t}`),this.installTypingHost.fileExists(t)||(this.log.isEnabled()&&this.log.writeLine(`Npm config file: '${t}' is missing, creating new one...`),this.ensureDirectoryExists(e,this.installTypingHost),this.installTypingHost.writeFile(t,'{ "private": true }'))}installTypings(e,t,n,r){this.log.isEnabled()&&this.log.writeLine(`Installing typings ${JSON.stringify(r)}`);const s=this.filterTypings(r);if(0===s.length)return this.log.isEnabled()&&this.log.writeLine("All typings are known to be missing or invalid - no need to install more typings"),void this.sendResponse(this.createSetTypings(e,n));this.ensurePackageDirectoryExists(t);const a=this.installRunCount;this.installRunCount++,this.sendResponse({kind:HW,eventId:a,typingsInstallerVersion:o,projectName:e.projectName});const c=s.map(U_e);this.installTypingsAsync(a,c,t,(r=>{try{if(!r){this.log.isEnabled()&&this.log.writeLine(`install request failed, marking packages as missing to prevent repeated requests: ${JSON.stringify(s)}`);for(const e of s)this.missingTypingsSet.add(e);return}this.log.isEnabled()&&this.log.writeLine(`Installed typings ${JSON.stringify(c)}`);const o=[];for(const e of s){const n=Q_e(t,e,this.installTypingHost,this.log);if(!n){this.missingTypingsSet.add(e);continue}const r=this.typesRegistry.get(e),s={typingLocation:n,version:new yn(r[`ts${i}`]||r[this.latestDistTag])};this.packageNameToTypingLocation.set(e,s),o.push(n)}this.log.isEnabled()&&this.log.writeLine(`Installed typing files ${JSON.stringify(o)}`),this.sendResponse(this.createSetTypings(e,n.concat(o)))}finally{const t={kind:GW,eventId:a,projectName:e.projectName,packagesToInstall:c,installSuccess:r,typingsInstallerVersion:o};this.sendResponse(t)}}))}ensureDirectoryExists(e,t){const n=Io(e);t.directoryExists(n)||this.ensureDirectoryExists(n,t),t.directoryExists(e)||t.createDirectory(e)}watchFiles(e,t){if(!t.length)return void this.closeWatchers(e);const n=this.projectWatchers.get(e),r=new Set(t);!n||rp(r,(e=>!n.has(e)))||rp(n,(e=>!r.has(e)))?(this.projectWatchers.set(e,r),this.sendResponse({kind:zW,projectName:e,files:t})):this.sendResponse({kind:zW,projectName:e,files:void 0})}createSetTypings(e,t){return{projectName:e.projectName,typeAcquisition:e.typeAcquisition,compilerOptions:e.compilerOptions,typings:t,unresolvedImports:e.unresolvedImports,kind:jW}}installTypingsAsync(e,t,n,r){this.pendingRunRequests.unshift({requestId:e,packageNames:t,cwd:n,onRequestCompleted:r}),this.executeWithThrottling()}executeWithThrottling(){for(;this.inFlightRequestCount{this.inFlightRequestCount--,e.onRequestCompleted(t),this.executeWithThrottling()}))}}};function U_e(e){return`@types/${e}@ts${i}`}var J_e,V_e,H_e=(e=>(e[e.terse=0]="terse",e[e.normal=1]="normal",e[e.requestTime=2]="requestTime",e[e.verbose=3]="verbose",e))(H_e||{}),G_e=[],W_e=(e=>(e.Err="Err",e.Info="Info",e.Perf="Perf",e))(W_e||{});function z_e(e,t,n,r){return{projectName:e.getProjectName(),fileNames:e.getFileNames(!0,!0).concat(e.getExcludedFiles()),compilerOptions:e.getCompilationSettings(),typeAcquisition:t,unresolvedImports:n,projectRootPath:e.getCurrentDirectory(),cachePath:r,kind:"discover"}}function Y_e(e){return Mo(e)}function K_e(e,t,n){return n(go(e)?e:Lo(e,t))}function X_e(e){return e}function Z_e(){const e=new Map;return{get:t=>e.get(t),set(t,n){e.set(t,n)},contains:t=>e.has(t),remove(t){e.delete(t)}}}function eme(e){return/dev\/null\/inferredProject\d+\*/.test(e)}function tme(e){return`/dev/null/inferredProject${e}*`}function nme(e){return`/dev/null/autoImportProviderProject${e}*`}function rme(e){return`/dev/null/auxiliaryProject${e}*`}function ime(){return[]}(V_e=J_e||(J_e={})).ThrowNoProject=function(){throw new Error("No Project.")},V_e.ThrowProjectLanguageServiceDisabled=function(){throw new Error("The project's language service is disabled.")},V_e.ThrowProjectDoesNotContainDocument=function(e,t){throw new Error(`Project '${t.getProjectName()}' does not contain document '${e}'`)};var ome=class e{constructor(e,t){this.host=e,this.pendingTimeouts=new Map,this.logger=t.hasLevel(3)?t:void 0}schedule(t,n,r){const i=this.pendingTimeouts.get(t);i&&this.host.clearTimeout(i),this.pendingTimeouts.set(t,this.host.setTimeout(e.run,n,t,this,r)),this.logger&&this.logger.info(`Scheduled: ${t}${i?", Cancelled earlier one":""}`)}cancel(e){const t=this.pendingTimeouts.get(e);return!!t&&(this.host.clearTimeout(t),this.pendingTimeouts.delete(e))}static run(e,t,n){t.pendingTimeouts.delete(e),t.logger&&t.logger.info(`Running: ${e}`),n()}},sme=class e{constructor(e,t,n){this.host=e,this.delay=t,this.logger=n}scheduleCollect(){this.host.gc&&void 0===this.timerId&&(this.timerId=this.host.setTimeout(e.run,this.delay,this))}static run(e){e.timerId=void 0;const t=e.logger.hasLevel(2),n=t&&e.host.getMemoryUsage();if(e.host.gc(),t){const t=e.host.getMemoryUsage();e.logger.perftrc(`GC::before ${n}, after ${t}`)}}};function ame(e){const t=To(e);return"tsconfig.json"===t||"jsconfig.json"===t?t:void 0}var cme={};n(cme,{ClassificationType:()=>Oz,CommandTypes:()=>lme,CompletionTriggerKind:()=>vz,IndentStyle:()=>fme,JsxEmit:()=>_me,ModuleKind:()=>mme,ModuleResolutionKind:()=>hme,NewLineKind:()=>gme,OrganizeImportsMode:()=>yz,PollingWatchKind:()=>pme,ScriptTarget:()=>Ame,SemicolonPreference:()=>xz,WatchDirectoryKind:()=>dme,WatchFileKind:()=>ume});var lme=(e=>(e.JsxClosingTag="jsxClosingTag",e.LinkedEditingRange="linkedEditingRange",e.Brace="brace",e.BraceFull="brace-full",e.BraceCompletion="braceCompletion",e.GetSpanOfEnclosingComment="getSpanOfEnclosingComment",e.Change="change",e.Close="close",e.Completions="completions",e.CompletionInfo="completionInfo",e.CompletionsFull="completions-full",e.CompletionDetails="completionEntryDetails",e.CompletionDetailsFull="completionEntryDetails-full",e.CompileOnSaveAffectedFileList="compileOnSaveAffectedFileList",e.CompileOnSaveEmitFile="compileOnSaveEmitFile",e.Configure="configure",e.Definition="definition",e.DefinitionFull="definition-full",e.DefinitionAndBoundSpan="definitionAndBoundSpan",e.DefinitionAndBoundSpanFull="definitionAndBoundSpan-full",e.Implementation="implementation",e.ImplementationFull="implementation-full",e.EmitOutput="emit-output",e.Exit="exit",e.FileReferences="fileReferences",e.FileReferencesFull="fileReferences-full",e.Format="format",e.Formatonkey="formatonkey",e.FormatFull="format-full",e.FormatonkeyFull="formatonkey-full",e.FormatRangeFull="formatRange-full",e.Geterr="geterr",e.GeterrForProject="geterrForProject",e.SemanticDiagnosticsSync="semanticDiagnosticsSync",e.SyntacticDiagnosticsSync="syntacticDiagnosticsSync",e.SuggestionDiagnosticsSync="suggestionDiagnosticsSync",e.NavBar="navbar",e.NavBarFull="navbar-full",e.Navto="navto",e.NavtoFull="navto-full",e.NavTree="navtree",e.NavTreeFull="navtree-full",e.DocumentHighlights="documentHighlights",e.DocumentHighlightsFull="documentHighlights-full",e.Open="open",e.Quickinfo="quickinfo",e.QuickinfoFull="quickinfo-full",e.References="references",e.ReferencesFull="references-full",e.Reload="reload",e.Rename="rename",e.RenameInfoFull="rename-full",e.RenameLocationsFull="renameLocations-full",e.Saveto="saveto",e.SignatureHelp="signatureHelp",e.SignatureHelpFull="signatureHelp-full",e.FindSourceDefinition="findSourceDefinition",e.Status="status",e.TypeDefinition="typeDefinition",e.ProjectInfo="projectInfo",e.ReloadProjects="reloadProjects",e.Unknown="unknown",e.OpenExternalProject="openExternalProject",e.OpenExternalProjects="openExternalProjects",e.CloseExternalProject="closeExternalProject",e.SynchronizeProjectList="synchronizeProjectList",e.ApplyChangedToOpenFiles="applyChangedToOpenFiles",e.UpdateOpen="updateOpen",e.EncodedSyntacticClassificationsFull="encodedSyntacticClassifications-full",e.EncodedSemanticClassificationsFull="encodedSemanticClassifications-full",e.Cleanup="cleanup",e.GetOutliningSpans="getOutliningSpans",e.GetOutliningSpansFull="outliningSpans",e.TodoComments="todoComments",e.Indentation="indentation",e.DocCommentTemplate="docCommentTemplate",e.CompilerOptionsDiagnosticsFull="compilerOptionsDiagnostics-full",e.NameOrDottedNameSpan="nameOrDottedNameSpan",e.BreakpointStatement="breakpointStatement",e.CompilerOptionsForInferredProjects="compilerOptionsForInferredProjects",e.GetCodeFixes="getCodeFixes",e.GetCodeFixesFull="getCodeFixes-full",e.GetCombinedCodeFix="getCombinedCodeFix",e.GetCombinedCodeFixFull="getCombinedCodeFix-full",e.ApplyCodeActionCommand="applyCodeActionCommand",e.GetSupportedCodeFixes="getSupportedCodeFixes",e.GetApplicableRefactors="getApplicableRefactors",e.GetEditsForRefactor="getEditsForRefactor",e.GetMoveToRefactoringFileSuggestions="getMoveToRefactoringFileSuggestions",e.PreparePasteEdits="preparePasteEdits",e.GetPasteEdits="getPasteEdits",e.GetEditsForRefactorFull="getEditsForRefactor-full",e.OrganizeImports="organizeImports",e.OrganizeImportsFull="organizeImports-full",e.GetEditsForFileRename="getEditsForFileRename",e.GetEditsForFileRenameFull="getEditsForFileRename-full",e.ConfigurePlugin="configurePlugin",e.SelectionRange="selectionRange",e.SelectionRangeFull="selectionRange-full",e.ToggleLineComment="toggleLineComment",e.ToggleLineCommentFull="toggleLineComment-full",e.ToggleMultilineComment="toggleMultilineComment",e.ToggleMultilineCommentFull="toggleMultilineComment-full",e.CommentSelection="commentSelection",e.CommentSelectionFull="commentSelection-full",e.UncommentSelection="uncommentSelection",e.UncommentSelectionFull="uncommentSelection-full",e.PrepareCallHierarchy="prepareCallHierarchy",e.ProvideCallHierarchyIncomingCalls="provideCallHierarchyIncomingCalls",e.ProvideCallHierarchyOutgoingCalls="provideCallHierarchyOutgoingCalls",e.ProvideInlayHints="provideInlayHints",e.WatchChange="watchChange",e.MapCode="mapCode",e.CopilotRelated="copilotRelated",e))(lme||{}),ume=(e=>(e.FixedPollingInterval="FixedPollingInterval",e.PriorityPollingInterval="PriorityPollingInterval",e.DynamicPriorityPolling="DynamicPriorityPolling",e.FixedChunkSizePolling="FixedChunkSizePolling",e.UseFsEvents="UseFsEvents",e.UseFsEventsOnParentDirectory="UseFsEventsOnParentDirectory",e))(ume||{}),dme=(e=>(e.UseFsEvents="UseFsEvents",e.FixedPollingInterval="FixedPollingInterval",e.DynamicPriorityPolling="DynamicPriorityPolling",e.FixedChunkSizePolling="FixedChunkSizePolling",e))(dme||{}),pme=(e=>(e.FixedInterval="FixedInterval",e.PriorityInterval="PriorityInterval",e.DynamicPriority="DynamicPriority",e.FixedChunkSize="FixedChunkSize",e))(pme||{}),fme=(e=>(e.None="None",e.Block="Block",e.Smart="Smart",e))(fme||{}),_me=(e=>(e.None="none",e.Preserve="preserve",e.ReactNative="react-native",e.React="react",e.ReactJSX="react-jsx",e.ReactJSXDev="react-jsxdev",e))(_me||{}),mme=(e=>(e.None="none",e.CommonJS="commonjs",e.AMD="amd",e.UMD="umd",e.System="system",e.ES6="es6",e.ES2015="es2015",e.ES2020="es2020",e.ES2022="es2022",e.ESNext="esnext",e.Node16="node16",e.NodeNext="nodenext",e.Preserve="preserve",e))(mme||{}),hme=(e=>(e.Classic="classic",e.Node="node",e.NodeJs="node",e.Node10="node10",e.Node16="node16",e.NodeNext="nodenext",e.Bundler="bundler",e))(hme||{}),gme=(e=>(e.Crlf="Crlf",e.Lf="Lf",e))(gme||{}),Ame=(e=>(e.ES3="es3",e.ES5="es5",e.ES6="es6",e.ES2015="es2015",e.ES2016="es2016",e.ES2017="es2017",e.ES2018="es2018",e.ES2019="es2019",e.ES2020="es2020",e.ES2021="es2021",e.ES2022="es2022",e.ES2023="es2023",e.ES2024="es2024",e.ESNext="esnext",e.JSON="json",e.Latest="esnext",e))(Ame||{}),yme=class{constructor(e,t,n){this.host=e,this.info=t,this.isOpen=!1,this.ownFileText=!1,this.pendingReloadFromDisk=!1,this.version=n||0}getVersion(){return this.svc?`SVC-${this.version}-${this.svc.getSnapshotVersion()}`:`Text-${this.version}`}hasScriptVersionCache_TestOnly(){return void 0!==this.svc}resetSourceMapInfo(){this.info.sourceFileLike=void 0,this.info.closeSourceMapFileWatcher(),this.info.sourceMapFilePath=void 0,this.info.declarationInfoPath=void 0,this.info.sourceInfos=void 0,this.info.documentPositionMapper=void 0}useText(e){this.svc=void 0,this.text=e,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo(),this.version++}edit(e,t,n){this.switchToScriptVersionCache().edit(e,t-e,n),this.ownFileText=!1,this.text=void 0,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo()}reload(e){return un.assert(void 0!==e),this.pendingReloadFromDisk=!1,!this.text&&this.svc&&(this.text=qK(this.svc.getSnapshot())),this.text!==e&&(this.useText(e),this.ownFileText=!1,!0)}reloadWithFileText(e){const{text:t,fileSize:n}=e||!this.info.isDynamicOrHasMixedContent()?this.getFileTextAndSize(e):{text:"",fileSize:void 0},r=this.reload(t);return this.fileSize=n,this.ownFileText=!e||e===this.info.fileName,this.ownFileText&&this.info.mTime===Li.getTime()&&(this.info.mTime=(this.host.getModifiedTime(this.info.fileName)||Li).getTime()),r}scheduleReloadIfNeeded(){return!this.pendingReloadFromDisk&&!this.ownFileText&&(this.pendingReloadFromDisk=!0)}delayReloadFromFileIntoText(){this.pendingReloadFromDisk=!0}getTelemetryFileSize(){return this.fileSize?this.fileSize:this.text?this.text.length:this.svc?this.svc.getSnapshot().getLength():this.getSnapshot().getLength()}getSnapshot(){var e;return(null==(e=this.tryUseScriptVersionCache())?void 0:e.getSnapshot())||(this.textSnapshot??(this.textSnapshot=az.fromString(un.checkDefined(this.text))))}getAbsolutePositionAndLineText(e){const t=this.tryUseScriptVersionCache();if(t)return t.getAbsolutePositionAndLineText(e);const n=this.getLineMap();return e<=n.length?{absolutePosition:n[e-1],lineText:this.text.substring(n[e-1],n[e])}:{absolutePosition:this.text.length,lineText:void 0}}lineToTextSpan(e){const t=this.tryUseScriptVersionCache();if(t)return t.lineToTextSpan(e);const n=this.getLineMap();return Ha(n[e],e+1void 0===t?t=this.host.readFile(n)||"":t;if(!BE(this.info.fileName)){const e=this.host.getFileSize?this.host.getFileSize(n):r().length;if(e>Jme){un.assert(!!this.info.containingProjects.length);return this.info.containingProjects[0].projectService.logger.info(`Skipped loading contents of large file ${n} for info ${this.info.fileName}: fileSize: ${e}`),this.info.containingProjects[0].projectService.sendLargeFileReferencedEvent(n,e),{text:"",fileSize:e}}}return{text:r()}}switchToScriptVersionCache(){return this.svc&&!this.pendingReloadFromDisk||(this.svc=Fge.fromString(this.getOrLoadText()),this.textSnapshot=void 0,this.version++),this.svc}tryUseScriptVersionCache(){return this.svc&&!this.pendingReloadFromDisk||this.getOrLoadText(),this.isOpen?(this.svc||this.textSnapshot||(this.svc=Fge.fromString(un.checkDefined(this.text)),this.textSnapshot=void 0),this.svc):this.svc}getOrLoadText(){return(void 0===this.text||this.pendingReloadFromDisk)&&(un.assert(!this.svc||this.pendingReloadFromDisk,"ScriptVersionCache should not be set when reloading from disk"),this.reloadWithFileText()),this.text}getLineMap(){return un.assert(!this.svc,"ScriptVersionCache should not be set"),this.lineMap||(this.lineMap=Ns(un.checkDefined(this.text)))}getLineInfo(){const e=this.tryUseScriptVersionCache();if(e)return{getLineCount:()=>e.getLineCount(),getLineText:t=>e.getAbsolutePositionAndLineText(t+1).lineText};const t=this.getLineMap();return gL(this.text,t)}};function vme(e){return"^"===e[0]||(e.includes("walkThroughSnippet:/")||e.includes("untitled:/"))&&"^"===To(e)[0]||e.includes(":^")&&!e.includes(uo)}var bme=class{constructor(e,t,n,r,i,o){this.host=e,this.fileName=t,this.scriptKind=n,this.hasMixedContent=r,this.path=i,this.containingProjects=[],this.isDynamic=vme(t),this.textStorage=new yme(e,this,o),(r||this.isDynamic)&&(this.realpath=this.path),this.scriptKind=n||bE(t)}isDynamicOrHasMixedContent(){return this.hasMixedContent||this.isDynamic}isScriptOpen(){return this.textStorage.isOpen}open(e){this.textStorage.isOpen=!0,void 0!==e&&this.textStorage.reload(e)&&this.markContainingProjectsAsDirty()}close(e=!0){this.textStorage.isOpen=!1,e&&this.textStorage.scheduleReloadIfNeeded()&&this.markContainingProjectsAsDirty()}getSnapshot(){return this.textStorage.getSnapshot()}ensureRealPath(){if(void 0===this.realpath&&(this.realpath=this.path,this.host.realpath)){un.assert(!!this.containingProjects.length);const e=this.containingProjects[0],t=this.host.realpath(this.path);t&&(this.realpath=e.toPath(t),this.realpath!==this.path&&e.projectService.realpathToScriptInfos.add(this.realpath,this))}}getRealpathIfDifferent(){return this.realpath&&this.realpath!==this.path?this.realpath:void 0}isSymlink(){return this.realpath&&this.realpath!==this.path}getFormatCodeSettings(){return this.formatSettings}getPreferences(){return this.preferences}attachToProject(e){const t=!this.isAttached(e);return t&&(this.containingProjects.push(e),e.getCompilerOptions().preserveSymlinks||this.ensureRealPath(),e.onFileAddedOrRemoved(this.isSymlink())),t}isAttached(e){switch(this.containingProjects.length){case 0:return!1;case 1:return this.containingProjects[0]===e;case 2:return this.containingProjects[0]===e||this.containingProjects[1]===e;default:return C(this.containingProjects,e)}}detachFromProject(e){switch(this.containingProjects.length){case 0:return;case 1:this.containingProjects[0]===e&&(e.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;case 2:this.containingProjects[0]===e?(e.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects[0]=this.containingProjects.pop()):this.containingProjects[1]===e&&(e.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;default:Lt(this.containingProjects,e)&&e.onFileAddedOrRemoved(this.isSymlink())}}detachAllProjects(){for(const e of this.containingProjects){Qme(e)&&e.getCachedDirectoryStructureHost().addOrDeleteFile(this.fileName,this.path,2);const t=e.getRootFilesMap().get(this.path);e.removeFile(this,!1,!1),e.onFileAddedOrRemoved(this.isSymlink()),t&&!$me(e)&&e.addMissingFileRoot(t.fileName)}D(this.containingProjects)}getDefaultProject(){switch(this.containingProjects.length){case 0:return J_e.ThrowNoProject();case 1:return jme(this.containingProjects[0])||Mme(this.containingProjects[0])?J_e.ThrowNoProject():this.containingProjects[0];default:let e,t,n,r;for(let i=0;i!e.isOrphan()))}lineToTextSpan(e){return this.textStorage.lineToTextSpan(e)}lineOffsetToPosition(e,t,n){return this.textStorage.lineOffsetToPosition(e,t,n)}positionToLineOffset(e){!function(e){un.assert("number"==typeof e,`Expected position ${e} to be a number.`),un.assert(e>=0,"Expected position to be non-negative.")}(e);const t=this.textStorage.positionToLineOffset(e);return function(e){un.assert("number"==typeof e.line,`Expected line ${e.line} to be a number.`),un.assert("number"==typeof e.offset,`Expected offset ${e.offset} to be a number.`),un.assert(e.line>0,"Expected line to be non-"+(0===e.line?"zero":"negative")),un.assert(e.offset>0,"Expected offset to be non-"+(0===e.offset?"zero":"negative"))}(t),t}isJavaScript(){return 1===this.scriptKind||2===this.scriptKind}closeSourceMapFileWatcher(){this.sourceMapFilePath&&!Xe(this.sourceMapFilePath)&&(kU(this.sourceMapFilePath),this.sourceMapFilePath=void 0)}};function Cme(e){return J(e.containingProjects,Mme)}function Eme(e){return J(e.containingProjects,jme)}var xme=(e=>(e[e.Inferred=0]="Inferred",e[e.Configured=1]="Configured",e[e.External=2]="External",e[e.AutoImportProvider=3]="AutoImportProvider",e[e.Auxiliary=4]="Auxiliary",e))(xme||{});function Sme(e,t=!1){const n={js:0,jsSize:0,jsx:0,jsxSize:0,ts:0,tsSize:0,tsx:0,tsxSize:0,dts:0,dtsSize:0,deferred:0,deferredSize:0};for(const r of e){const e=t?r.textStorage.getTelemetryFileSize():0;switch(r.scriptKind){case 1:n.js+=1,n.jsSize+=e;break;case 2:n.jsx+=1,n.jsxSize+=e;break;case 3:KP(r.fileName)?(n.dts+=1,n.dtsSize+=e):(n.ts+=1,n.tsSize+=e);break;case 4:n.tsx+=1,n.tsxSize+=e;break;case 7:n.deferred+=1,n.deferredSize+=e}}return n}function kme(e){const t=Sme(e.getRootScriptInfos());return 0===t.ts&&0===t.tsx}function Dme(e){const t=Sme(e.getScriptInfos());return 0===t.ts&&0===t.tsx}function wme(e){return!e.some((e=>Eo(e,".ts")&&!KP(e)||Eo(e,".tsx")))}function Ime(e){return void 0!==e.generatedFilePath}function Tme(e,t){if(e===t)return!0;if(0===(e||G_e).length&&0===(t||G_e).length)return!0;const n=new Map;let r=0;for(const t of e)!0!==n.get(t)&&(n.set(t,!0),r++);for(const e of t){const t=n.get(e);if(void 0===t)return!1;!0===t&&(n.set(e,!1),r--)}return 0===r}var Fme=class e{constructor(e,t,n,r,i,o,s,a,c,l){switch(this.projectKind=t,this.projectService=n,this.compilerOptions=o,this.compileOnSaveEnabled=s,this.watchOptions=a,this.rootFilesMap=new Map,this.plugins=[],this.cachedUnresolvedImportsPerFile=new Map,this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1,this.lastReportedVersion=0,this.projectProgramVersion=0,this.projectStateVersion=0,this.initialLoadPending=!1,this.dirty=!1,this.typingFiles=G_e,this.moduleSpecifierCache=Ghe(this),this.createHash=Je(this.projectService.host,this.projectService.host.createHash),this.globalCacheResolutionModuleName=QW.nonRelativeModuleNameForTypingCache,this.updateFromProjectInProgress=!1,n.logger.info(`Creating ${xme[t]}Project: ${e}, currentDirectory: ${l}`),this.projectName=e,this.directoryStructureHost=c,this.currentDirectory=this.projectService.getNormalizedAbsolutePath(l),this.getCanonicalFileName=this.projectService.toCanonicalFileName,this.jsDocParsingMode=this.projectService.jsDocParsingMode,this.cancellationToken=new e5(this.projectService.cancellationToken,this.projectService.throttleWaitMilliseconds),this.compilerOptions?(r||PC(this.compilerOptions)||this.projectService.hasDeferredExtension())&&(this.compilerOptions.allowNonTsExtensions=!0):(this.compilerOptions={target:1,jsx:1},this.compilerOptions.allowNonTsExtensions=!0,this.compilerOptions.allowJs=!0),n.serverMode){case 0:this.languageServiceEnabled=!0;break;case 1:this.languageServiceEnabled=!0,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;case 2:this.languageServiceEnabled=!1,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;default:un.assertNever(n.serverMode)}this.setInternalCompilerOptionsForEmittingJsFiles();const u=this.projectService.host;this.projectService.logger.loggingEnabled()?this.trace=e=>this.writeLog(e):u.trace&&(this.trace=e=>u.trace(e)),this.realpath=Je(u,u.realpath),this.preferNonRecursiveWatch=this.projectService.canUseWatchEvents||u.preferNonRecursiveWatch,this.resolutionCache=zV(this,this.currentDirectory,!0),this.languageService=r5(this,this.projectService.documentRegistry,this.projectService.serverMode),i&&this.disableLanguageService(i),this.markAsDirty(),Mme(this)||(this.projectService.pendingEnsureProjectForOpenFiles=!0),this.projectService.onProjectCreation(this)}getResolvedProjectReferenceToRedirect(e){}isNonTsProject(){return Phe(this),Dme(this)}isJsOnlyProject(){return Phe(this),function(e){const t=Sme(e.getScriptInfos());return t.js>0&&0===t.ts&&0===t.tsx}(this)}static resolveModule(t,n,r,i){return e.importServicePluginSync({name:t},[n],r,i).resolvedModule}static importServicePluginSync(e,t,n,r){let i,o;un.assertIsDefined(n.require);for(const s of t){const t=Bo(n.resolvePath(qo(s,"node_modules")));r(`Loading ${e.name} from ${s} (resolved to ${t})`);const a=n.require(t,e.name);if(!a.error){o=a.module;break}const c=a.error.stack||a.error.message||JSON.stringify(a.error);(i??(i=[])).push(`Failed to load module '${e.name}' from ${t}: ${c}`)}return{pluginConfigEntry:e,resolvedModule:o,errorLogs:i}}static async importServicePluginAsync(e,t,n,r){let i,o;un.assertIsDefined(n.importPlugin);for(const s of t){const t=qo(s,"node_modules");let a;r(`Dynamically importing ${e.name} from ${s} (resolved to ${t})`);try{a=await n.importPlugin(t,e.name)}catch(e){a={module:void 0,error:e}}if(!a.error){o=a.module;break}const c=a.error.stack||a.error.message||JSON.stringify(a.error);(i??(i=[])).push(`Failed to dynamically import module '${e.name}' from ${t}: ${c}`)}return{pluginConfigEntry:e,resolvedModule:o,errorLogs:i}}isKnownTypesPackageName(e){return this.projectService.typingsInstaller.isKnownTypesPackageName(e)}installPackage(e){return this.projectService.typingsInstaller.installPackage({...e,projectName:this.projectName,projectRootPath:this.toPath(this.currentDirectory)})}getGlobalTypingsCacheLocation(){return this.getTypeAcquisition().enable?this.projectService.typingsInstaller.globalTypingsCacheLocation:void 0}getSymlinkCache(){return this.symlinks||(this.symlinks=KC(this.getCurrentDirectory(),this.getCanonicalFileName)),this.program&&!this.symlinks.hasProcessedResolutions()&&this.symlinks.setSymlinksFromResolutions(this.program.forEachResolvedModule,this.program.forEachResolvedTypeReferenceDirective,this.program.getAutomaticTypeDirectiveResolutions()),this.symlinks}getCompilationSettings(){return this.compilerOptions}getCompilerOptions(){return this.getCompilationSettings()}getNewLine(){return this.projectService.host.newLine}getProjectVersion(){return this.projectStateVersion.toString()}getProjectReferences(){}getScriptFileNames(){if(!this.rootFilesMap.size)return a;let e;return this.rootFilesMap.forEach((t=>{(this.languageServiceEnabled||t.info&&t.info.isScriptOpen())&&(e||(e=[])).push(t.fileName)})),se(e,this.typingFiles)||a}getOrCreateScriptInfoAndAttachToProject(e){const t=this.projectService.getOrCreateScriptInfoNotOpenedByClient(e,this.currentDirectory,this.directoryStructureHost,!1);if(t){const e=this.rootFilesMap.get(t.path);e&&e.info!==t&&(e.info=t),t.attachToProject(this)}return t}getScriptKind(e){const t=this.projectService.getScriptInfoForPath(this.toPath(e));return t&&t.scriptKind}getScriptVersion(e){const t=this.projectService.getOrCreateScriptInfoNotOpenedByClient(e,this.currentDirectory,this.directoryStructureHost,!1);return t&&t.getLatestVersion()}getScriptSnapshot(e){const t=this.getOrCreateScriptInfoAndAttachToProject(e);if(t)return t.getSnapshot()}getCancellationToken(){return this.cancellationToken}getCurrentDirectory(){return this.currentDirectory}getDefaultLibFileName(){return qo(Io(Mo(this.projectService.getExecutingFilePath())),wa(this.compilerOptions))}useCaseSensitiveFileNames(){return this.projectService.host.useCaseSensitiveFileNames}readDirectory(e,t,n,r,i){return this.directoryStructureHost.readDirectory(e,t,n,r,i)}readFile(e){return this.projectService.host.readFile(e)}writeFile(e,t){return this.projectService.host.writeFile(e,t)}fileExists(e){const t=this.toPath(e);return!!this.projectService.getScriptInfoForPath(t)||!this.isWatchedMissingFile(t)&&this.directoryStructureHost.fileExists(e)}resolveModuleNameLiterals(e,t,n,r,i,o){return this.resolutionCache.resolveModuleNameLiterals(e,t,n,r,i,o)}getModuleResolutionCache(){return this.resolutionCache.getModuleResolutionCache()}resolveTypeReferenceDirectiveReferences(e,t,n,r,i,o){return this.resolutionCache.resolveTypeReferenceDirectiveReferences(e,t,n,r,i,o)}resolveLibrary(e,t,n,r){return this.resolutionCache.resolveLibrary(e,t,n,r)}directoryExists(e){return this.directoryStructureHost.directoryExists(e)}getDirectories(e){return this.directoryStructureHost.getDirectories(e)}getCachedDirectoryStructureHost(){}toPath(e){return Uo(e,this.currentDirectory,this.projectService.toCanonicalFileName)}watchDirectoryOfFailedLookupLocation(e,t,n){return this.projectService.watchFactory.watchDirectory(e,t,n,this.projectService.getWatchOptions(this),bH.FailedLookupLocations,this)}watchAffectingFileLocation(e,t){return this.projectService.watchFactory.watchFile(e,t,2e3,this.projectService.getWatchOptions(this),bH.AffectingFileLocation,this)}clearInvalidateResolutionOfFailedLookupTimer(){return this.projectService.throttledOperations.cancel(`${this.getProjectName()}FailedLookupInvalidation`)}scheduleInvalidateResolutionsOfFailedLookupLocations(){this.projectService.throttledOperations.schedule(`${this.getProjectName()}FailedLookupInvalidation`,1e3,(()=>{this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}))}invalidateResolutionsOfFailedLookupLocations(){this.clearInvalidateResolutionOfFailedLookupTimer()&&this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&(this.markAsDirty(),this.projectService.delayEnsureProjectForOpenFiles())}onInvalidatedResolution(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}watchTypeRootsDirectory(e,t,n){return this.projectService.watchFactory.watchDirectory(e,t,n,this.projectService.getWatchOptions(this),bH.TypeRoots,this)}hasChangedAutomaticTypeDirectiveNames(){return this.resolutionCache.hasChangedAutomaticTypeDirectiveNames()}onChangedAutomaticTypeDirectiveNames(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}fileIsOpen(e){return this.projectService.openFiles.has(e)}writeLog(e){this.projectService.logger.info(e)}log(e){this.writeLog(e)}error(e){this.projectService.logger.msg(e,"Err")}setInternalCompilerOptionsForEmittingJsFiles(){0!==this.projectKind&&2!==this.projectKind||(this.compilerOptions.noEmitForJsFiles=!0)}getGlobalProjectErrors(){return S(this.projectErrors,(e=>!e.file))||G_e}getAllProjectErrors(){return this.projectErrors||G_e}setProjectErrors(e){this.projectErrors=e}getLanguageService(e=!0){return e&&Phe(this),this.languageService}getSourceMapper(){return this.getLanguageService().getSourceMapper()}clearSourceMapperCache(){this.languageService.clearSourceMapperCache()}getDocumentPositionMapper(e,t){return this.projectService.getDocumentPositionMapper(this,e,t)}getSourceFileLike(e){return this.projectService.getSourceFileLike(e,this)}shouldEmitFile(e){return e&&!e.isDynamicOrHasMixedContent()&&!this.program.isSourceOfProjectReferenceRedirect(e.path)}getCompileOnSaveAffectedFileList(e){return this.languageServiceEnabled?(Phe(this),this.builderState=MJ.create(this.program,this.builderState,!0),q(MJ.getFilesAffectedBy(this.builderState,this.program,e.path,this.cancellationToken,this.projectService.host),(e=>this.shouldEmitFile(this.projectService.getScriptInfoForPath(e.path))?e.fileName:void 0))):[]}emitFile(e,t){if(!this.languageServiceEnabled||!this.shouldEmitFile(e))return{emitSkipped:!0,diagnostics:G_e};const{emitSkipped:n,diagnostics:r,outputFiles:i}=this.getLanguageService().getEmitOutput(e.fileName);if(!n){for(const e of i){t(Lo(e.name,this.currentDirectory),e.text,e.writeByteOrderMark)}if(this.builderState&&IC(this.compilerOptions)){const t=i.filter((e=>KP(e.name)));if(1===t.length){const n=this.program.getSourceFile(e.fileName),r=this.projectService.host.createHash?this.projectService.host.createHash(t[0].text):Oi(t[0].text);MJ.updateSignatureOfFile(this.builderState,r,n.resolvedPath)}}}return{emitSkipped:n,diagnostics:r}}enableLanguageService(){this.languageServiceEnabled||2===this.projectService.serverMode||(this.languageServiceEnabled=!0,this.lastFileExceededProgramSize=void 0,this.projectService.onUpdateLanguageServiceStateForProject(this,!0))}cleanupProgram(){if(this.program){for(const e of this.program.getSourceFiles())this.detachScriptInfoIfNotRoot(e.fileName);this.program.forEachResolvedProjectReference((e=>this.detachScriptInfoFromProject(e.sourceFile.fileName))),this.program=void 0}}disableLanguageService(e){this.languageServiceEnabled&&(un.assert(2!==this.projectService.serverMode),this.languageService.cleanupSemanticCache(),this.languageServiceEnabled=!1,this.cleanupProgram(),this.lastFileExceededProgramSize=e,this.builderState=void 0,this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.resolutionCache.closeTypeRootsWatch(),this.clearGeneratedFileWatch(),this.projectService.verifyDocumentRegistry(),this.projectService.onUpdateLanguageServiceStateForProject(this,!1))}getProjectName(){return this.projectName}removeLocalTypingsFromTypeAcquisition(e){return e.enable&&e.include?{...e,include:this.removeExistingTypings(e.include)}:e}getExternalFiles(e){return le(R(this.plugins,(t=>{if("function"==typeof t.module.getExternalFiles)try{return t.module.getExternalFiles(this,e||0)}catch(e){this.projectService.logger.info(`A plugin threw an exception in getExternalFiles: ${e}`),e.stack&&this.projectService.logger.info(e.stack)}})))}getSourceFile(e){if(this.program)return this.program.getSourceFileByPath(e)}getSourceFileOrConfigFile(e){const t=this.program.getCompilerOptions();return e===t.configFilePath?t.configFile:this.getSourceFile(e)}close(){var e;this.typingsCache&&this.projectService.typingsInstaller.onProjectClosed(this),this.typingsCache=void 0,this.closeWatchingTypingLocations(),this.cleanupProgram(),u(this.externalFiles,(e=>this.detachScriptInfoIfNotRoot(e))),this.rootFilesMap.forEach((e=>{var t;return null==(t=e.info)?void 0:t.detachFromProject(this)})),this.projectService.pendingEnsureProjectForOpenFiles=!0,this.rootFilesMap=void 0,this.externalFiles=void 0,this.program=void 0,this.builderState=void 0,this.resolutionCache.clear(),this.resolutionCache=void 0,this.cachedUnresolvedImportsPerFile=void 0,null==(e=this.packageJsonWatches)||e.forEach((e=>{e.projects.delete(this),e.close()})),this.packageJsonWatches=void 0,this.moduleSpecifierCache.clear(),this.moduleSpecifierCache=void 0,this.directoryStructureHost=void 0,this.exportMapCache=void 0,this.projectErrors=void 0,this.plugins.length=0,this.missingFilesMap&&(pb(this.missingFilesMap,rb),this.missingFilesMap=void 0),this.clearGeneratedFileWatch(),this.clearInvalidateResolutionOfFailedLookupTimer(),this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.noDtsResolutionProject&&this.noDtsResolutionProject.close(),this.noDtsResolutionProject=void 0,this.languageService.dispose(),this.languageService=void 0}detachScriptInfoIfNotRoot(e){const t=this.projectService.getScriptInfo(e);t&&!this.isRoot(t)&&t.detachFromProject(this)}isClosed(){return void 0===this.rootFilesMap}hasRoots(){var e;return!!(null==(e=this.rootFilesMap)?void 0:e.size)}isOrphan(){return!1}getRootFiles(){return this.rootFilesMap&&Pe($(this.rootFilesMap.values(),(e=>{var t;return null==(t=e.info)?void 0:t.fileName})))}getRootFilesMap(){return this.rootFilesMap}getRootScriptInfos(){return Pe($(this.rootFilesMap.values(),(e=>e.info)))}getScriptInfos(){return this.languageServiceEnabled?w(this.program.getSourceFiles(),(e=>{const t=this.projectService.getScriptInfoForPath(e.resolvedPath);return un.assert(!!t,"getScriptInfo",(()=>`scriptInfo for a file '${e.fileName}' Path: '${e.path}' / '${e.resolvedPath}' is missing.`)),t})):this.getRootScriptInfos()}getExcludedFiles(){return G_e}getFileNames(e,t){if(!this.program)return[];if(!this.languageServiceEnabled){let e=this.getRootFiles();if(this.compilerOptions){const t=a5(this.compilerOptions);t&&(e||(e=[])).push(t)}return e}const n=[];for(const t of this.program.getSourceFiles())e&&this.program.isSourceFileFromExternalLibrary(t)||n.push(t.fileName);if(!t){const e=this.program.getCompilerOptions().configFile;if(e&&(n.push(e.fileName),e.extendedSourceFiles))for(const t of e.extendedSourceFiles)n.push(t)}return n}getFileNamesWithRedirectInfo(e){return this.getFileNames().map((t=>({fileName:t,isSourceOfProjectReferenceRedirect:e&&this.isSourceOfProjectReferenceRedirect(t)})))}hasConfigFile(e){if(this.program&&this.languageServiceEnabled){const t=this.program.getCompilerOptions().configFile;if(t){if(e===t.fileName)return!0;if(t.extendedSourceFiles)for(const n of t.extendedSourceFiles)if(e===n)return!0}}return!1}containsScriptInfo(e){if(this.isRoot(e))return!0;if(!this.program)return!1;const t=this.program.getSourceFileByPath(e.path);return!!t&&t.resolvedPath===e.path}containsFile(e,t){const n=this.projectService.getScriptInfoForNormalizedPath(e);return!(!n||!n.isScriptOpen()&&t)&&this.containsScriptInfo(n)}isRoot(e){var t,n;return(null==(n=null==(t=this.rootFilesMap)?void 0:t.get(e.path))?void 0:n.info)===e}addRoot(e,t){un.assert(!this.isRoot(e)),this.rootFilesMap.set(e.path,{fileName:t||e.fileName,info:e}),e.attachToProject(this),this.markAsDirty()}addMissingFileRoot(e){const t=this.projectService.toPath(e);this.rootFilesMap.set(t,{fileName:e}),this.markAsDirty()}removeFile(e,t,n){this.isRoot(e)&&this.removeRoot(e),t?this.resolutionCache.removeResolutionsOfFile(e.path):this.resolutionCache.invalidateResolutionOfFile(e.path),this.cachedUnresolvedImportsPerFile.delete(e.path),n&&e.detachFromProject(this),this.markAsDirty()}registerFileUpdate(e){(this.updatedFileNames||(this.updatedFileNames=new Set)).add(e)}markFileAsDirty(e){this.markAsDirty(),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.changedFilesForExportMapCache||(this.changedFilesForExportMapCache=new Set)).add(e)}markAsDirty(){this.dirty||(this.projectStateVersion++,this.dirty=!0)}markAutoImportProviderAsDirty(){var e;this.autoImportProviderHost||(this.autoImportProviderHost=void 0),null==(e=this.autoImportProviderHost)||e.markAsDirty()}onAutoImportProviderSettingsChanged(){this.markAutoImportProviderAsDirty()}onPackageJsonChange(){this.moduleSpecifierCache.clear(),this.markAutoImportProviderAsDirty()}onFileAddedOrRemoved(e){this.hasAddedorRemovedFiles=!0,e&&(this.hasAddedOrRemovedSymlinks=!0)}onDiscoveredSymlink(){this.hasAddedOrRemovedSymlinks=!0}onReleaseOldSourceFile(e,t,n,r){(!r||e.resolvedPath===e.path&&r.resolvedPath!==e.path)&&this.detachScriptInfoFromProject(e.fileName,n)}updateFromProject(){Phe(this)}updateGraph(){var e,t;null==(e=Hn)||e.push(Hn.Phase.Session,"updateGraph",{name:this.projectName,kind:xme[this.projectKind]}),this.resolutionCache.startRecordingFilesWithChangedResolutions();const n=this.updateGraphWorker(),r=this.hasAddedorRemovedFiles;this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1;const i=this.resolutionCache.finishRecordingFilesWithChangedResolutions()||G_e;for(const e of i)this.cachedUnresolvedImportsPerFile.delete(e);this.languageServiceEnabled&&0===this.projectService.serverMode&&!this.isOrphan()?((n||i.length)&&(this.lastCachedUnresolvedImportsList=function(e,t){var n,r;const i=e.getSourceFiles();null==(n=Hn)||n.push(Hn.Phase.Session,"getUnresolvedImports",{count:i.length});const o=e.getTypeChecker().getAmbientModules().map((e=>IA(e.getName()))),s=Z(R(i,(n=>function(e,t,n,r){return Q(r,t.path,(()=>{let r;return e.forEachResolvedModule((({resolvedModule:e},t)=>{e&&XE(e.extension)||Sa(t)||n.some((e=>e===t))||(r=re(r,s$(t).packageName))}),t),r||G_e}))}(e,n,o,t))));return null==(r=Hn)||r.pop(),s}(this.program,this.cachedUnresolvedImportsPerFile)),this.enqueueInstallTypingsForProject(r)):this.lastCachedUnresolvedImportsList=void 0;const o=0===this.projectProgramVersion&&n;return n&&this.projectProgramVersion++,r&&this.markAutoImportProviderAsDirty(),o&&this.getPackageJsonAutoImportProvider(),null==(t=Hn)||t.pop(),!n}enqueueInstallTypingsForProject(e){const t=this.getTypeAcquisition();if(!t||!t.enable||this.projectService.typingsInstaller===Ahe)return;const n=this.typingsCache;var r,i,o,s;!e&&n&&(o=t,s=n.typeAcquisition,o.enable===s.enable&&Tme(o.include,s.include)&&Tme(o.exclude,s.exclude))&&!function(e,t){return PC(e)!==PC(t)}(this.getCompilationSettings(),n.compilerOptions)&&(r=this.lastCachedUnresolvedImportsList,i=n.unresolvedImports,r===i||ee(r,i))||(this.typingsCache={compilerOptions:this.getCompilationSettings(),typeAcquisition:t,unresolvedImports:this.lastCachedUnresolvedImportsList},this.projectService.typingsInstaller.enqueueInstallTypingsRequest(this,t,this.lastCachedUnresolvedImportsList))}updateTypingFiles(e,t,n,r){this.typingsCache={compilerOptions:e,typeAcquisition:t,unresolvedImports:n};const i=t&&t.enable?le(r):G_e;rn(i,this.typingFiles,St(!this.useCaseSensitiveFileNames()),nt,(e=>this.detachScriptInfoFromProject(e)))&&(this.typingFiles=i,this.resolutionCache.setFilesWithInvalidatedNonRelativeUnresolvedImports(this.cachedUnresolvedImportsPerFile),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))}closeWatchingTypingLocations(){this.typingWatchers&&pb(this.typingWatchers,rb),this.typingWatchers=void 0}onTypingInstallerWatchInvoke(){this.typingWatchers.isInvoked=!0,this.projectService.updateTypingsForProject({projectName:this.getProjectName(),kind:UW})}watchTypingLocations(e){if(!e)return void(this.typingWatchers.isInvoked=!1);if(!e.length)return void this.closeWatchingTypingLocations();const t=new Map(this.typingWatchers);this.typingWatchers||(this.typingWatchers=new Map),this.typingWatchers.isInvoked=!1;const n=(e,n)=>{const r=this.toPath(e);if(t.delete(r),!this.typingWatchers.has(r)){const t="FileWatcher"===n?bH.TypingInstallerLocationFile:bH.TypingInstallerLocationDirectory;this.typingWatchers.set(r,qV(r)?"FileWatcher"===n?this.projectService.watchFactory.watchFile(e,(()=>this.typingWatchers.isInvoked?this.writeLog("TypingWatchers already invoked"):this.onTypingInstallerWatchInvoke()),2e3,this.projectService.getWatchOptions(this),t,this):this.projectService.watchFactory.watchDirectory(e,(e=>this.typingWatchers.isInvoked?this.writeLog("TypingWatchers already invoked"):Eo(e,".json")?Zo(e,qo(this.projectService.typingsInstaller.globalTypingsCacheLocation,"package.json"),!this.useCaseSensitiveFileNames())?this.writeLog("Ignoring package.json change at global typings location"):void this.onTypingInstallerWatchInvoke():this.writeLog("Ignoring files that are not *.json")),1,this.projectService.getWatchOptions(this),t,this):(this.writeLog(`Skipping watcher creation at ${e}:: ${Fhe(t,this)}`),AH))}};for(const t of e){const e=To(t);if("package.json"!==e&&"bower.json"!==e)if(es(this.currentDirectory,t,this.currentDirectory,!this.useCaseSensitiveFileNames())){const e=t.indexOf(uo,this.currentDirectory.length+1);n(-1!==e?t.substr(0,e):t,"DirectoryWatcher")}else es(this.projectService.typingsInstaller.globalTypingsCacheLocation,t,this.currentDirectory,!this.useCaseSensitiveFileNames())?n(this.projectService.typingsInstaller.globalTypingsCacheLocation,"DirectoryWatcher"):n(t,"DirectoryWatcher");else n(t,"FileWatcher")}t.forEach(((e,t)=>{e.close(),this.typingWatchers.delete(t)}))}getCurrentProgram(){return this.program}removeExistingTypings(e){if(!e.length)return e;const t=lq(this.getCompilerOptions(),this);return S(e,(e=>!t.includes(e)))}updateGraphWorker(){var e,t;const n=this.languageService.getCurrentProgram();un.assert(n===this.program),un.assert(!this.isClosed(),"Called update graph worker of closed project"),this.writeLog(`Starting updateGraphWorker: Project: ${this.getProjectName()}`);const r=jn(),{hasInvalidatedResolutions:i,hasInvalidatedLibResolutions:o}=this.resolutionCache.createHasInvalidatedResolutions(rt,rt);this.hasInvalidatedResolutions=i,this.hasInvalidatedLibResolutions=o,this.resolutionCache.startCachingPerDirectoryResolution(),this.dirty=!1,this.updateFromProjectInProgress=!0,this.program=this.languageService.getProgram(),this.updateFromProjectInProgress=!1,null==(e=Hn)||e.push(Hn.Phase.Session,"finishCachingPerDirectoryResolution"),this.resolutionCache.finishCachingPerDirectoryResolution(this.program,n),null==(t=Hn)||t.pop(),un.assert(void 0===n||void 0!==this.program);let s=!1;if(this.program&&(!n||this.program!==n&&2!==this.program.structureIsReused)){if(s=!0,this.rootFilesMap.forEach(((e,t)=>{var n;const r=this.program.getSourceFileByPath(t),i=e.info;r&&(null==(n=e.info)?void 0:n.path)!==r.resolvedPath&&(e.info=this.projectService.getScriptInfo(r.fileName),un.assert(e.info.isAttached(this)),null==i||i.detachFromProject(this))})),yU(this.program,this.missingFilesMap||(this.missingFilesMap=new Map),((e,t)=>this.addMissingFileWatcher(e,t))),this.generatedFilesMap){const e=this.compilerOptions.outFile;Ime(this.generatedFilesMap)?e&&this.isValidGeneratedFileWatcher(UE(e)+".d.ts",this.generatedFilesMap)||this.clearGeneratedFileWatch():e?this.clearGeneratedFileWatch():this.generatedFilesMap.forEach(((e,t)=>{const n=this.program.getSourceFileByPath(t);n&&n.resolvedPath===t&&this.isValidGeneratedFileWatcher(JA(n.fileName,this.compilerOptions,this.program),e)||(kU(e),this.generatedFilesMap.delete(t))}))}this.languageServiceEnabled&&0===this.projectService.serverMode&&this.resolutionCache.updateTypeRootsWatch()}this.projectService.verifyProgram(this),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.exportMapCache.releaseSymbols(),this.hasAddedorRemovedFiles||n&&!this.program.structureIsReused?this.exportMapCache.clear():this.changedFilesForExportMapCache&&n&&this.program&&rp(this.changedFilesForExportMapCache,(e=>{const t=n.getSourceFileByPath(e),r=this.program.getSourceFileByPath(e);return t&&r?this.exportMapCache.onFileChanged(t,r,!!this.getTypeAcquisition().enable):(this.exportMapCache.clear(),!0)}))),this.changedFilesForExportMapCache&&this.changedFilesForExportMapCache.clear(),(this.hasAddedOrRemovedSymlinks||this.program&&!this.program.structureIsReused&&this.getCompilerOptions().preserveSymlinks)&&(this.symlinks=void 0,this.moduleSpecifierCache.clear());const a=this.externalFiles||G_e;this.externalFiles=this.getExternalFiles(),rn(this.externalFiles,a,St(!this.useCaseSensitiveFileNames()),(e=>{const t=this.projectService.getOrCreateScriptInfoNotOpenedByClient(e,this.currentDirectory,this.directoryStructureHost,!1);null==t||t.attachToProject(this)}),(e=>this.detachScriptInfoFromProject(e)));const c=jn()-r;return this.sendPerformanceEvent("UpdateGraph",c),this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} projectStateVersion: ${this.projectStateVersion} projectProgramVersion: ${this.projectProgramVersion} structureChanged: ${s}${this.program?` structureIsReused:: ${wr[this.program.structureIsReused]}`:""} Elapsed: ${c}ms`),this.projectService.logger.isTestLogger?this.program!==n?this.print(!0,this.hasAddedorRemovedFiles,!0):this.writeLog("Same program as before"):this.hasAddedorRemovedFiles?this.print(!0,!0,!1):this.program!==n&&this.writeLog("Different program with same set of files"),this.projectService.verifyDocumentRegistry(),s}sendPerformanceEvent(e,t){this.projectService.sendPerformanceEvent(e,t)}detachScriptInfoFromProject(e,t){const n=this.projectService.getScriptInfo(e);n&&(n.detachFromProject(this),t||this.resolutionCache.removeResolutionsOfFile(n.path))}addMissingFileWatcher(e,t){var n;if(Qme(this)){const t=this.projectService.configFileExistenceInfoCache.get(e);if(null==(n=null==t?void 0:t.config)?void 0:n.projects.has(this.canonicalConfigFilePath))return AH}const r=this.projectService.watchFactory.watchFile(Lo(t,this.currentDirectory),((t,n)=>{Qme(this)&&this.getCachedDirectoryStructureHost().addOrDeleteFile(t,e,n),0===n&&this.missingFilesMap.has(e)&&(this.missingFilesMap.delete(e),r.close(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))}),500,this.projectService.getWatchOptions(this),bH.MissingFile,this);return r}isWatchedMissingFile(e){return!!this.missingFilesMap&&this.missingFilesMap.has(e)}addGeneratedFileWatch(e,t){if(this.compilerOptions.outFile)this.generatedFilesMap||(this.generatedFilesMap=this.createGeneratedFileWatcher(e));else{const n=this.toPath(t);if(this.generatedFilesMap){if(Ime(this.generatedFilesMap))return void un.fail(`${this.projectName} Expected to not have --out watcher for generated file with options: ${JSON.stringify(this.compilerOptions)}`);if(this.generatedFilesMap.has(n))return}else this.generatedFilesMap=new Map;this.generatedFilesMap.set(n,this.createGeneratedFileWatcher(e))}}createGeneratedFileWatcher(e){return{generatedFilePath:this.toPath(e),watcher:this.projectService.watchFactory.watchFile(e,(()=>{this.clearSourceMapperCache(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}),2e3,this.projectService.getWatchOptions(this),bH.MissingGeneratedFile,this)}}isValidGeneratedFileWatcher(e,t){return this.toPath(e)===t.generatedFilePath}clearGeneratedFileWatch(){this.generatedFilesMap&&(Ime(this.generatedFilesMap)?kU(this.generatedFilesMap):pb(this.generatedFilesMap,kU),this.generatedFilesMap=void 0)}getScriptInfoForNormalizedPath(e){const t=this.projectService.getScriptInfoForPath(this.toPath(e));return t&&!t.isAttached(this)?J_e.ThrowProjectDoesNotContainDocument(e,this):t}getScriptInfo(e){return this.projectService.getScriptInfo(e)}filesToString(e){return this.filesToStringWorker(e,!0,!1)}filesToStringWorker(e,t,n){if(this.initialLoadPending)return"\tFiles (0) InitialLoadPending\n";if(!this.program)return"\tFiles (0) NoProgram\n";const r=this.program.getSourceFiles();let i=`\tFiles (${r.length})\n`;if(e){for(const e of r)i+=`\t${e.fileName}${n?` ${e.version} ${JSON.stringify(e.text)}`:""}\n`;t&&(i+="\n\n",uH(this.program,(e=>i+=`\t${e}\n`)))}return i}print(e,t,n){var r;this.writeLog(`Project '${this.projectName}' (${xme[this.projectKind]})`),this.writeLog(this.filesToStringWorker(e&&this.projectService.logger.hasLevel(3),t&&this.projectService.logger.hasLevel(3),n&&this.projectService.logger.hasLevel(3))),this.writeLog("-----------------------------------------------"),this.autoImportProviderHost&&this.autoImportProviderHost.print(!1,!1,!1),null==(r=this.noDtsResolutionProject)||r.print(!1,!1,!1)}setCompilerOptions(e){var t;if(e){e.allowNonTsExtensions=!0;const n=this.compilerOptions;this.compilerOptions=e,this.setInternalCompilerOptionsForEmittingJsFiles(),null==(t=this.noDtsResolutionProject)||t.setCompilerOptions(this.getCompilerOptionsForNoDtsResolutionProject()),Xd(n,e)&&(this.cachedUnresolvedImportsPerFile.clear(),this.lastCachedUnresolvedImportsList=void 0,this.resolutionCache.onChangesAffectModuleResolution(),this.moduleSpecifierCache.clear()),this.markAsDirty()}}setWatchOptions(e){this.watchOptions=e}getWatchOptions(){return this.watchOptions}setTypeAcquisition(e){e&&(this.typeAcquisition=this.removeLocalTypingsFromTypeAcquisition(e))}getTypeAcquisition(){return this.typeAcquisition||{}}getChangesSinceVersion(e,t){var n,r;const i=t?e=>Pe(e.entries(),(([e,t])=>({fileName:e,isSourceOfProjectReferenceRedirect:t}))):e=>Pe(e.keys());this.initialLoadPending||Phe(this);const o={projectName:this.getProjectName(),version:this.projectProgramVersion,isInferred:$me(this),options:this.getCompilationSettings(),languageServiceDisabled:!this.languageServiceEnabled,lastFileExceededProgramSize:this.lastFileExceededProgramSize},s=this.updatedFileNames;if(this.updatedFileNames=void 0,this.lastReportedFileNames&&e===this.lastReportedVersion){if(this.projectProgramVersion===this.lastReportedVersion&&!s)return{info:o,projectErrors:this.getGlobalProjectErrors()};const e=this.lastReportedFileNames,r=(null==(n=this.externalFiles)?void 0:n.map((e=>({fileName:Y_e(e),isSourceOfProjectReferenceRedirect:!1}))))||G_e,a=Oe(this.getFileNamesWithRedirectInfo(!!t).concat(r),(e=>e.fileName),(e=>e.isSourceOfProjectReferenceRedirect)),c=new Map,l=new Map,u=s?Pe(s.keys()):[],d=[];return np(a,((n,r)=>{e.has(r)?t&&n!==e.get(r)&&d.push({fileName:r,isSourceOfProjectReferenceRedirect:n}):c.set(r,n)})),np(e,((e,t)=>{a.has(t)||l.set(t,e)})),this.lastReportedFileNames=a,this.lastReportedVersion=this.projectProgramVersion,{info:o,changes:{added:i(c),removed:i(l),updated:t?u.map((e=>({fileName:e,isSourceOfProjectReferenceRedirect:this.isSourceOfProjectReferenceRedirect(e)}))):u,updatedRedirects:t?d:void 0},projectErrors:this.getGlobalProjectErrors()}}{const e=this.getFileNamesWithRedirectInfo(!!t),n=(null==(r=this.externalFiles)?void 0:r.map((e=>({fileName:Y_e(e),isSourceOfProjectReferenceRedirect:!1}))))||G_e,i=e.concat(n);return this.lastReportedFileNames=Oe(i,(e=>e.fileName),(e=>e.isSourceOfProjectReferenceRedirect)),this.lastReportedVersion=this.projectProgramVersion,{info:o,files:t?i:i.map((e=>e.fileName)),projectErrors:this.getGlobalProjectErrors()}}}removeRoot(e){this.rootFilesMap.delete(e.path)}isSourceOfProjectReferenceRedirect(e){return!!this.program&&this.program.isSourceOfProjectReferenceRedirect(e)}getGlobalPluginSearchPaths(){return[...this.projectService.pluginProbeLocations,qo(this.projectService.getExecutingFilePath(),"../../..")]}enableGlobalPlugins(e){if(!this.projectService.globalPlugins.length)return;const t=this.projectService.host;if(!t.require&&!t.importPlugin)return void this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");const n=this.getGlobalPluginSearchPaths();for(const t of this.projectService.globalPlugins)t&&(e.plugins&&e.plugins.some((e=>e.name===t))||(this.projectService.logger.info(`Loading global plugin ${t}`),this.enablePlugin({name:t,global:!0},n)))}enablePlugin(e,t){this.projectService.requestEnablePlugin(this,e,t)}enableProxy(e,t){try{if("function"!=typeof e)return void this.projectService.logger.info(`Skipped loading plugin ${t.name} because it did not expose a proper factory function`);const n={config:t,project:this,languageService:this.languageService,languageServiceHost:this,serverHost:this.projectService.host,session:this.projectService.session},r=e({typescript:T_e}),i=r.create(n);for(const e of Object.keys(this.languageService))e in i||(this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${e} in created LS. Patching.`),i[e]=this.languageService[e]);this.projectService.logger.info("Plugin validation succeeded"),this.languageService=i,this.plugins.push({name:t.name,module:r})}catch(e){this.projectService.logger.info(`Plugin activation failed: ${e}`)}}onPluginConfigurationChanged(e,t){this.plugins.filter((t=>t.name===e)).forEach((e=>{e.module.onConfigurationChanged&&e.module.onConfigurationChanged(t)}))}refreshDiagnostics(){this.projectService.sendProjectsUpdatedInBackgroundEvent()}getPackageJsonsVisibleToFile(e,t){return 0!==this.projectService.serverMode?G_e:this.projectService.getPackageJsonsVisibleToFile(e,this,t)}getNearestAncestorDirectoryWithPackageJson(e){return this.projectService.getNearestAncestorDirectoryWithPackageJson(e,this)}getPackageJsonsForAutoImport(e){return this.getPackageJsonsVisibleToFile(qo(this.currentDirectory,_J),e)}getPackageJsonCache(){return this.projectService.packageJsonCache}getCachedExportInfoMap(){return this.exportMapCache||(this.exportMapCache=d0(this))}clearCachedExportInfoMap(){var e;null==(e=this.exportMapCache)||e.clear()}getModuleSpecifierCache(){return this.moduleSpecifierCache}includePackageJsonAutoImports(){return 0!==this.projectService.includePackageJsonAutoImports()&&this.languageServiceEnabled&&!$Z(this.currentDirectory)&&this.isDefaultProjectForOpenFiles()?this.projectService.includePackageJsonAutoImports():0}getHostForAutoImportProvider(){var e,t;return this.program?{fileExists:this.program.fileExists,directoryExists:this.program.directoryExists,realpath:this.program.realpath||(null==(e=this.projectService.host.realpath)?void 0:e.bind(this.projectService.host)),getCurrentDirectory:this.getCurrentDirectory.bind(this),readFile:this.projectService.host.readFile.bind(this.projectService.host),getDirectories:this.projectService.host.getDirectories.bind(this.projectService.host),trace:null==(t=this.projectService.host.trace)?void 0:t.bind(this.projectService.host),useCaseSensitiveFileNames:this.program.useCaseSensitiveFileNames(),readDirectory:this.projectService.host.readDirectory.bind(this.projectService.host)}:this.projectService.host}getPackageJsonAutoImportProvider(){var e,t,n;if(!1===this.autoImportProviderHost)return;if(0!==this.projectService.serverMode)return void(this.autoImportProviderHost=!1);if(this.autoImportProviderHost)return Phe(this.autoImportProviderHost),this.autoImportProviderHost.isEmpty()?(this.autoImportProviderHost.close(),void(this.autoImportProviderHost=void 0)):this.autoImportProviderHost.getCurrentProgram();const r=this.includePackageJsonAutoImports();if(r){null==(e=Hn)||e.push(Hn.Phase.Session,"getPackageJsonAutoImportProvider");const i=jn();if(this.autoImportProviderHost=Bme.create(r,this,this.getHostForAutoImportProvider())??!1,this.autoImportProviderHost)return Phe(this.autoImportProviderHost),this.sendPerformanceEvent("CreatePackageJsonAutoImportProvider",jn()-i),null==(t=Hn)||t.pop(),this.autoImportProviderHost.getCurrentProgram();null==(n=Hn)||n.pop()}}isDefaultProjectForOpenFiles(){return!!np(this.projectService.openFiles,((e,t)=>this.projectService.tryGetDefaultProjectForFile(this.projectService.getScriptInfoForPath(t))===this))}watchNodeModulesForPackageJsonChanges(e){return this.projectService.watchPackageJsonsInNodeModules(e,this)}getIncompleteCompletionsCache(){return this.projectService.getIncompleteCompletionsCache()}getNoDtsResolutionProject(e){return un.assert(0===this.projectService.serverMode),this.noDtsResolutionProject??(this.noDtsResolutionProject=new Pme(this)),this.noDtsResolutionProject.rootFile!==e&&(this.projectService.setFileNamesOfAutoImportProviderOrAuxillaryProject(this.noDtsResolutionProject,[e]),this.noDtsResolutionProject.rootFile=e),this.noDtsResolutionProject}runWithTemporaryFileUpdate(e,t,n){var r,i,o,s;const a=this.program,c=un.checkDefined(null==(r=this.program)?void 0:r.getSourceFile(e),"Expected file to be part of program"),l=un.checkDefined(c.getFullText());null==(i=this.getScriptInfo(e))||i.editContent(0,l.length,t),this.updateGraph();try{n(this.program,a,null==(o=this.program)?void 0:o.getSourceFile(e))}finally{null==(s=this.getScriptInfo(e))||s.editContent(0,t.length,l)}}getCompilerOptionsForNoDtsResolutionProject(){return{...this.getCompilerOptions(),noDtsResolution:!0,allowJs:!0,maxNodeModuleJsDepth:3,diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:a,lib:a,noLib:!0}}};var Rme=class extends Fme{constructor(e,t,n,r,i,o){super(e.newInferredProjectName(),0,e,!1,void 0,t,!1,n,e.host,i),this._isJsInferredProject=!1,this.typeAcquisition=o,this.projectRootPath=r&&e.toCanonicalFileName(r),r||e.useSingleInferredProject||(this.canonicalCurrentDirectory=e.toCanonicalFileName(this.currentDirectory)),this.enableGlobalPlugins(this.getCompilerOptions())}toggleJsInferredProject(e){e!==this._isJsInferredProject&&(this._isJsInferredProject=e,this.setCompilerOptions())}setCompilerOptions(e){if(!e&&!this.getCompilationSettings())return;const t=yK(e||this.getCompilationSettings());this._isJsInferredProject&&"number"!=typeof t.maxNodeModuleJsDepth?t.maxNodeModuleJsDepth=2:this._isJsInferredProject||(t.maxNodeModuleJsDepth=void 0),t.allowJs=!0,super.setCompilerOptions(t)}addRoot(e){un.assert(e.isScriptOpen()),this.projectService.startWatchingConfigFilesForInferredProjectRoot(e),!this._isJsInferredProject&&e.isJavaScript()?this.toggleJsInferredProject(!0):this.isOrphan()&&this._isJsInferredProject&&!e.isJavaScript()&&this.toggleJsInferredProject(!1),super.addRoot(e)}removeRoot(e){this.projectService.stopWatchingConfigFilesForScriptInfo(e),super.removeRoot(e),!this.isOrphan()&&this._isJsInferredProject&&e.isJavaScript()&&g(this.getRootScriptInfos(),(e=>!e.isJavaScript()))&&this.toggleJsInferredProject(!1)}isOrphan(){return!this.hasRoots()}isProjectWithSingleRoot(){return!this.projectRootPath&&!this.projectService.useSingleInferredProject||1===this.getRootScriptInfos().length}close(){u(this.getRootScriptInfos(),(e=>this.projectService.stopWatchingConfigFilesForScriptInfo(e))),super.close()}getTypeAcquisition(){return this.typeAcquisition||{enable:kme(this),include:a,exclude:a}}},Pme=class extends Fme{constructor(e){super(e.projectService.newAuxiliaryProjectName(),4,e.projectService,!1,void 0,e.getCompilerOptionsForNoDtsResolutionProject(),!1,void 0,e.projectService.host,e.currentDirectory)}isOrphan(){return!0}scheduleInvalidateResolutionsOfFailedLookupLocations(){}},Nme=class e extends Fme{constructor(e,t,n){super(e.projectService.newAutoImportProviderProjectName(),3,e.projectService,!1,void 0,n,!1,e.getWatchOptions(),e.projectService.host,e.currentDirectory),this.hostProject=e,this.rootFileNames=t,this.useSourceOfProjectReferenceRedirect=Je(this.hostProject,this.hostProject.useSourceOfProjectReferenceRedirect),this.getParsedCommandLine=Je(this.hostProject,this.hostProject.getParsedCommandLine)}static getRootFileNames(e,t,n,r){var i,o;if(!e)return a;const s=t.getCurrentProgram();if(!s)return a;const c=jn();let l,d;const p=qo(t.currentDirectory,_J),f=t.getPackageJsonsForAutoImport(qo(t.currentDirectory,p));for(const e of f)null==(i=e.dependencies)||i.forEach(((e,t)=>A(t))),null==(o=e.peerDependencies)||o.forEach(((e,t)=>A(t)));let _=0;if(l){const i=t.getSymlinkCache();for(const o of Pe(l.keys())){if(2===e&&_>=this.maxDependencies)return t.log(`AutoImportProviderProject: attempted to add more than ${this.maxDependencies} dependencies. Aborting.`),a;const c=cq(o,t.currentDirectory,r,n,s.getModuleResolutionCache());if(c){const e=y(c,s,i);if(e){_+=g(e);continue}}if(!u([t.currentDirectory,t.getGlobalTypingsCacheLocation()],(e=>{if(e){const t=cq(`@types/${o}`,e,r,n,s.getModuleResolutionCache());if(t){const e=y(t,s,i);return _+=g(e),!0}}}))&&(c&&r.allowJs&&r.maxNodeModuleJsDepth)){const e=y(c,s,i,!0);_+=g(e)}}}const m=s.getResolvedProjectReferences();let h=0;return(null==m?void 0:m.length)&&t.projectService.getHostPreferences().includeCompletionsForModuleExports&&m.forEach((e=>{if(null==e?void 0:e.commandLine.options.outFile)h+=g(v([HE(e.commandLine.options.outFile,".d.ts")]));else if(e){const n=dt((()=>Kj(e.commandLine,!t.useCaseSensitiveFileNames())));h+=g(v(q(e.commandLine.fileNames,(r=>KP(r)||Eo(r,".json")||s.getSourceFile(r)?void 0:Uj(r,e.commandLine,!t.useCaseSensitiveFileNames(),n)))))}})),(null==d?void 0:d.size)&&t.log(`AutoImportProviderProject: found ${d.size} root files in ${_} dependencies ${h} referenced projects in ${jn()-c} ms`),d?Pe(d.values()):a;function g(e){return(null==e?void 0:e.length)?(d??(d=new Set),e.forEach((e=>d.add(e))),1):0}function A(e){Wt(e,"@types/")||(l||(l=new Set)).add(e)}function y(e,i,o,s){var a;const c=Kq(e,r,n,i.getModuleResolutionCache(),s);if(c){const r=null==(a=n.realpath)?void 0:a.call(n,e.packageDirectory),i=r?t.toPath(r):void 0,s=i&&i!==t.toPath(e.packageDirectory);return s&&o.setSymlinkedDirectory(e.packageDirectory,{real:Vo(r),realPath:Vo(i)}),v(c,s?t=>t.replace(e.packageDirectory,r):void 0)}}function v(e,t){return q(e,(e=>{const n=t?t(e):e;if(!(s.getSourceFile(n)||t&&s.getSourceFile(e)))return n}))}}static create(t,n,r){if(0===t)return;const i={...n.getCompilerOptions(),...this.compilerOptionsOverrides},o=this.getRootFileNames(t,n,r,i);return o.length?new e(n,o,i):void 0}isEmpty(){return!J(this.rootFileNames)}isOrphan(){return!0}updateGraph(){let t=this.rootFileNames;t||(t=e.getRootFileNames(this.hostProject.includePackageJsonAutoImports(),this.hostProject,this.hostProject.getHostForAutoImportProvider(),this.getCompilationSettings())),this.projectService.setFileNamesOfAutoImportProviderOrAuxillaryProject(this,t),this.rootFileNames=t;const n=this.getCurrentProgram(),r=super.updateGraph();return n&&n!==this.getCurrentProgram()&&this.hostProject.clearCachedExportInfoMap(),r}scheduleInvalidateResolutionsOfFailedLookupLocations(){}hasRoots(){var e;return!!(null==(e=this.rootFileNames)?void 0:e.length)}markAsDirty(){this.rootFileNames=void 0,super.markAsDirty()}getScriptFileNames(){return this.rootFileNames||a}getLanguageService(){throw new Error("AutoImportProviderProject language service should never be used. To get the program, use `project.getCurrentProgram()`.")}onAutoImportProviderSettingsChanged(){throw new Error("AutoImportProviderProject is an auto import provider; use `markAsDirty()` instead.")}onPackageJsonChange(){throw new Error("package.json changes should be notified on an AutoImportProvider's host project")}getHostForAutoImportProvider(){throw new Error("AutoImportProviderProject cannot provide its own host; use `hostProject.getModuleResolutionHostForAutomImportProvider()` instead.")}getProjectReferences(){return this.hostProject.getProjectReferences()}includePackageJsonAutoImports(){return 0}getSymlinkCache(){return this.hostProject.getSymlinkCache()}getModuleResolutionCache(){var e;return null==(e=this.hostProject.getCurrentProgram())?void 0:e.getModuleResolutionCache()}};Nme.maxDependencies=10,Nme.compilerOptionsOverrides={diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:a,lib:a,noLib:!0};var Bme=Nme,Ome=class extends Fme{constructor(e,t,n,r,i){super(e,1,n,!1,void 0,{},!1,void 0,r,Io(e)),this.canonicalConfigFilePath=t,this.openFileWatchTriggered=new Map,this.initialLoadPending=!0,this.sendLoadingProjectFinish=!1,this.pendingUpdateLevel=2,this.pendingUpdateReason=i}setCompilerHost(e){this.compilerHost=e}getCompilerHost(){return this.compilerHost}useSourceOfProjectReferenceRedirect(){return this.languageServiceEnabled}getParsedCommandLine(e){const t=Y_e(e),n=this.projectService.toCanonicalFileName(t);let r=this.projectService.configFileExistenceInfoCache.get(n);return r||this.projectService.configFileExistenceInfoCache.set(n,r={exists:this.projectService.host.fileExists(t)}),this.projectService.ensureParsedConfigUptoDate(t,n,r,this),this.languageServiceEnabled&&0===this.projectService.serverMode&&this.projectService.watchWildcards(t,r,this),r.exists?r.config.parsedCommandLine:void 0}onReleaseParsedCommandLine(e){this.releaseParsedConfig(this.projectService.toCanonicalFileName(Y_e(e)))}releaseParsedConfig(e){this.projectService.stopWatchingWildCards(e,this),this.projectService.releaseParsedConfig(e,this)}updateGraph(){if(this.deferredClose)return!1;const e=this.dirty;this.initialLoadPending=!1;const t=this.pendingUpdateLevel;let n;switch(this.pendingUpdateLevel=0,t){case 1:this.openFileWatchTriggered.clear(),n=this.projectService.reloadFileNamesOfConfiguredProject(this);break;case 2:this.openFileWatchTriggered.clear();const e=un.checkDefined(this.pendingUpdateReason);this.projectService.reloadConfiguredProject(this,e),n=!0;break;default:n=super.updateGraph()}return this.compilerHost=void 0,this.projectService.sendProjectLoadingFinishEvent(this),this.projectService.sendProjectTelemetry(this),2!==t&&(!n||e&&this.triggerFileForConfigFileDiag&&2!==this.getCurrentProgram().structureIsReused)?this.triggerFileForConfigFileDiag||this.projectService.sendConfigFileDiagEvent(this,void 0,!1):this.triggerFileForConfigFileDiag=void 0,n}getCachedDirectoryStructureHost(){return this.directoryStructureHost}getConfigFilePath(){return this.getProjectName()}getProjectReferences(){return this.projectReferences}updateReferences(e){this.projectReferences=e,this.potentialProjectReferences=void 0}setPotentialProjectReference(e){un.assert(this.initialLoadPending),(this.potentialProjectReferences||(this.potentialProjectReferences=new Set)).add(e)}getResolvedProjectReferenceToRedirect(e){const t=this.getCurrentProgram();return t&&t.getResolvedProjectReferenceToRedirect(e)}forEachResolvedProjectReference(e){var t;return null==(t=this.getCurrentProgram())?void 0:t.forEachResolvedProjectReference(e)}enablePluginsWithOptions(e){var t;if(this.plugins.length=0,!(null==(t=e.plugins)?void 0:t.length)&&!this.projectService.globalPlugins.length)return;const n=this.projectService.host;if(!n.require&&!n.importPlugin)return void this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");const r=this.getGlobalPluginSearchPaths();if(this.projectService.allowLocalPluginLoads){const e=Io(this.canonicalConfigFilePath);this.projectService.logger.info(`Local plugin loading enabled; adding ${e} to search paths`),r.unshift(e)}if(e.plugins)for(const t of e.plugins)this.enablePlugin(t,r);return this.enableGlobalPlugins(e)}getGlobalProjectErrors(){return S(this.projectErrors,(e=>!e.file))||G_e}getAllProjectErrors(){return this.projectErrors||G_e}setProjectErrors(e){this.projectErrors=e}close(){this.projectService.configFileExistenceInfoCache.forEach(((e,t)=>this.releaseParsedConfig(t))),this.projectErrors=void 0,this.openFileWatchTriggered.clear(),this.compilerHost=void 0,super.close()}markAsDirty(){this.deferredClose||super.markAsDirty()}isOrphan(){return!!this.deferredClose}getEffectiveTypeRoots(){return tq(this.getCompilationSettings(),this)||[]}updateErrorOnNoInputFiles(e){this.parsedCommandLine=e,oO(e.fileNames,this.getConfigFilePath(),this.getCompilerOptions().configFile.configFileSpecs,this.projectErrors,iO(e.raw))}},qme=class extends Fme{constructor(e,t,n,r,i,o,s){super(e,2,t,!0,r,n,i,s,t.host,Io(o||Bo(e))),this.externalProjectName=e,this.compileOnSaveEnabled=i,this.excludedFiles=[],this.enableGlobalPlugins(this.getCompilerOptions())}updateGraph(){const e=super.updateGraph();return this.projectService.sendProjectTelemetry(this),e}getExcludedFiles(){return this.excludedFiles}};function $me(e){return 0===e.projectKind}function Qme(e){return 1===e.projectKind}function Lme(e){return 2===e.projectKind}function Mme(e){return 3===e.projectKind||4===e.projectKind}function jme(e){return Qme(e)&&!!e.deferredClose}var Ume=20971520,Jme=4194304,Vme="projectsUpdatedInBackground",Hme="projectLoadingStart",Gme="projectLoadingFinish",Wme="largeFileReferenced",zme="configFileDiag",Yme="projectLanguageServiceState",Kme="projectInfo",Xme="openFileInfo",Zme="createFileWatcher",ehe="createDirectoryWatcher",the="closeFileWatcher",nhe="*ensureProjectForOpenFiles*";function rhe(e){const t=new Map;for(const n of e)if("object"==typeof n.type){const e=n.type;e.forEach((e=>{un.assert("number"==typeof e)})),t.set(n.name,e)}return t}var ihe=rhe(yN),ohe=rhe(_N),she=new Map(Object.entries({none:0,block:1,smart:2})),ahe={jquery:{match:/jquery(-[\d.]+)?(\.intellisense)?(\.min)?\.js$/i,types:["jquery"]},WinJS:{match:/^(.*\/winjs-[.\d]+)\/js\/base\.js$/i,exclude:[["^",1,"/.*"]],types:["winjs"]},Kendo:{match:/^(.*\/kendo(-ui)?)\/kendo\.all(\.min)?\.js$/i,exclude:[["^",1,"/.*"]],types:["kendo-ui"]},"Office Nuget":{match:/^(.*\/office\/1)\/excel-\d+\.debug\.js$/i,exclude:[["^",1,"/.*"]],types:["office"]},References:{match:/^(.*\/_references\.js)$/i,exclude:[["^",1,"$"]]}};function che(e){return Xe(e.indentStyle)&&(e.indentStyle=she.get(e.indentStyle.toLowerCase()),un.assert(void 0!==e.indentStyle)),e}function lhe(e){return ihe.forEach(((t,n)=>{const r=e[n];Xe(r)&&(e[n]=t.get(r.toLowerCase()))})),e}function uhe(e,t){let n,r;return _N.forEach((i=>{const o=e[i.name];if(void 0===o)return;const s=ohe.get(i.name);(n||(n={}))[i.name]=s?Xe(o)?s.get(o.toLowerCase()):o:gO(i,o,t||"",r||(r=[]))})),n&&{watchOptions:n,errors:r}}function dhe(e){let t;return NN.forEach((n=>{const r=e[n.name];void 0!==r&&((t||(t={}))[n.name]=r)})),t}function phe(e){return Xe(e)?fhe(e):e}function fhe(e){switch(e){case"JS":return 1;case"JSX":return 2;case"TS":return 3;case"TSX":return 4;default:return 0}}function _he(e){const{lazyConfiguredProjectsFromExternalProject:t,...n}=e;return n}var mhe={getFileName:e=>e,getScriptKind:(e,t)=>{let n;if(t){const r=Ro(e);r&&J(t,(e=>e.extension===r&&(n=e.scriptKind,!0)))}return n},hasMixedContent:(e,t)=>J(t,(t=>t.isMixedContent&&Eo(e,t.extension)))},hhe={getFileName:e=>e.fileName,getScriptKind:e=>phe(e.scriptKind),hasMixedContent:e=>!!e.hasMixedContent};function ghe(e,t){for(const n of t)if(n.getProjectName()===e)return n}var Ahe={isKnownTypesPackageName:rt,installPackage:ut,enqueueInstallTypingsRequest:nt,attach:nt,onProjectClosed:nt,globalTypingsCacheLocation:void 0},yhe={close:nt};function vhe(e,t){if(!t)return;const n=t.get(e.path);return void 0!==n?Che(e)?n&&!Xe(n)?n.get(e.fileName):void 0:Xe(n)||!n?n:n.get(!1):void 0}function bhe(e){return!!e.containingProjects}function Che(e){return!!e.configFileInfo}var Ehe=(e=>(e[e.FindOptimized=0]="FindOptimized",e[e.Find=1]="Find",e[e.CreateReplayOptimized=2]="CreateReplayOptimized",e[e.CreateReplay=3]="CreateReplay",e[e.CreateOptimized=4]="CreateOptimized",e[e.Create=5]="Create",e[e.ReloadOptimized=6]="ReloadOptimized",e[e.Reload=7]="Reload",e))(Ehe||{});function xhe(e){return e-1}function She(e,t,n,r,i,o,s,a,c){for(var l;;){if(t.parsedCommandLine&&(a&&!t.parsedCommandLine.options.composite||t.parsedCommandLine.options.disableSolutionSearching))return;const u=t.projectService.getConfigFileNameForFile({fileName:t.getConfigFilePath(),path:e.path,configFileInfo:!0,isForDefaultProject:!a},r<=3);if(!u)return;const d=t.projectService.findCreateOrReloadConfiguredProject(u,r,i,o,a?void 0:e.fileName,s,a,c);if(!d)return;!d.project.parsedCommandLine&&(null==(l=t.parsedCommandLine)?void 0:l.options.composite)&&d.project.setPotentialProjectReference(t.canonicalConfigFilePath);const p=n(d);if(p)return p;t=d.project}}function khe(e,t,n,r,i,o,s,a){const c=t.options.disableReferencedProjectLoad?0:r;let l;return u(t.projectReferences,(t=>{var u;const d=Y_e(OJ(t)),p=e.projectService.toCanonicalFileName(d),f=null==a?void 0:a.get(p);if(void 0!==f&&f>=c)return;const _=e.projectService.configFileExistenceInfoCache.get(p);let m=0===c?(null==_?void 0:_.exists)||(null==(u=e.resolvedChildConfigs)?void 0:u.has(p))?_.config.parsedCommandLine:void 0:e.getParsedCommandLine(d);if(m&&c!==r&&c>2&&(m=e.getParsedCommandLine(d)),!m)return;const h=e.projectService.findConfiguredProjectByProjectName(d,o);if(2!==c||_||h){switch(c){case 6:h&&h.projectService.reloadConfiguredProjectOptimized(h,i,s);case 4:(e.resolvedChildConfigs??(e.resolvedChildConfigs=new Set)).add(p);case 2:case 0:if(h||0!==c){const t=n(_??e.projectService.configFileExistenceInfoCache.get(p),h,d,i,e,p);if(t)return t}break;default:un.assertNever(c)}(a??(a=new Map)).set(p,c),(l??(l=[])).push(m)}}))||u(l,(t=>t.projectReferences&&khe(e,t,n,c,i,o,s,a)))}function Dhe(e,t,n,r,i){let o,s=!1;switch(t){case 2:case 3:Ohe(e)&&(o=e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath));break;case 4:if(o=Bhe(e),o)break;case 5:s=function(e,t){if(t){if(Nhe(e,t,!1))return!0}else Phe(e);return!1}(e,n);break;case 6:if(e.projectService.reloadConfiguredProjectOptimized(e,r,i),o=Bhe(e),o)break;case 7:s=e.projectService.reloadConfiguredProjectClearingSemanticCache(e,r,i);break;case 0:case 1:break;default:un.assertNever(t)}return{project:e,sentConfigFileDiag:s,configFileExistenceInfo:o,reason:r}}function whe(e,t){return e.initialLoadPending?(e.potentialProjectReferences&&rp(e.potentialProjectReferences,t))??(e.resolvedChildConfigs&&rp(e.resolvedChildConfigs,t)):void 0}function Ihe(e,t,n){const r=n&&e.projectService.configuredProjects.get(n);return r&&t(r)}function The(e,t){return function(e,t,n,r){return e.getCurrentProgram()?e.forEachResolvedProjectReference(t):e.initialLoadPending?whe(e,r):u(e.getProjectReferences(),n)}(e,(n=>Ihe(e,t,n.sourceFile.path)),(n=>Ihe(e,t,e.toPath(OJ(n)))),(n=>Ihe(e,t,n)))}function Fhe(e,t){return`${Xe(t)?`Config: ${t} `:t?`Project: ${t.getProjectName()} `:""}WatchType: ${e}`}function Rhe(e){return!e.isScriptOpen()&&void 0!==e.mTime}function Phe(e){return e.invalidateResolutionsOfFailedLookupLocations(),e.dirty&&!e.updateGraph()}function Nhe(e,t,n){if(!n&&(e.invalidateResolutionsOfFailedLookupLocations(),!e.dirty))return!1;e.triggerFileForConfigFileDiag=t;const r=e.pendingUpdateLevel;if(e.updateGraph(),!e.triggerFileForConfigFileDiag&&!n)return 2===r;const i=e.projectService.sendConfigFileDiagEvent(e,t,n);return e.triggerFileForConfigFileDiag=void 0,i}function Bhe(e){const t=Y_e(e.getConfigFilePath()),n=e.projectService.ensureParsedConfigUptoDate(t,e.canonicalConfigFilePath,e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath),e),r=n.config.parsedCommandLine;if(e.parsedCommandLine=r,e.resolvedChildConfigs=void 0,e.updateReferences(r.projectReferences),Ohe(e))return n}function Ohe(e){return!(!e.parsedCommandLine||!e.parsedCommandLine.options.composite&&!rO(e.parsedCommandLine))}function qhe(e){return`User requested reload projects: ${e}`}function $he(e){Qme(e)&&(e.projectOptions=!0)}function Qhe(e){let t=1;return()=>e(t++)}function Lhe(){return{idToCallbacks:new Map,pathToId:new Map}}function Mhe(e,t){return!!t&&!!e.eventHandler&&!!e.session}function jhe(e,t){if(!Mhe(e,t))return;const n=Lhe(),r=Lhe(),i=Lhe();let o=1;return e.session.addProtocolHandler("watchChange",(e=>(function(e){Ye(e)?e.forEach(a):a(e)}(e.arguments),{responseRequired:!1}))),{watchFile:function(e,t){return s(n,e,t,(t=>({eventName:Zme,data:{id:t,path:e}})))},watchDirectory:function(e,t,n){return s(n?i:r,e,t,(t=>({eventName:ehe,data:{id:t,path:e,recursive:!!n,ignoreUpdate:!e.endsWith("/node_modules")||void 0}})))},getCurrentDirectory:()=>e.host.getCurrentDirectory(),useCaseSensitiveFileNames:e.host.useCaseSensitiveFileNames};function s({pathToId:t,idToCallbacks:n},r,i,s){const a=e.toPath(r);let c=t.get(a);c||t.set(a,c=o++);let l=n.get(c);return l||(n.set(c,l=new Set),e.eventHandler(s(c))),l.add(i),{close(){const r=n.get(c);(null==r?void 0:r.delete(i))&&(r.size||(n.delete(c),t.delete(a),e.eventHandler({eventName:the,data:{id:c}})))}}}function a({id:e,created:t,deleted:n,updated:r}){c(e,t,0),c(e,n,2),c(e,r,1)}function c(e,t,o){(null==t?void 0:t.length)&&(l(n,e,t,((e,t)=>e(t,o))),l(r,e,t,((e,t)=>e(t))),l(i,e,t,((e,t)=>e(t))))}function l(e,t,n,r){var i;null==(i=e.idToCallbacks.get(t))||i.forEach((e=>{n.forEach((t=>r(e,Bo(t))))}))}}var Uhe=class e{constructor(e){var t;this.filenameToScriptInfo=new Map,this.nodeModulesWatchers=new Map,this.filenameToScriptInfoVersion=new Map,this.allJsFilesForOpenFileTelemetry=new Set,this.externalProjectToConfiguredProjectMap=new Map,this.externalProjects=[],this.inferredProjects=[],this.configuredProjects=new Map,this.newInferredProjectName=Qhe(tme),this.newAutoImportProviderProjectName=Qhe(nme),this.newAuxiliaryProjectName=Qhe(rme),this.openFiles=new Map,this.configFileForOpenFiles=new Map,this.rootOfInferredProjects=new Set,this.openFilesWithNonRootedDiskPath=new Map,this.compilerOptionsForInferredProjectsPerProjectRoot=new Map,this.watchOptionsForInferredProjectsPerProjectRoot=new Map,this.typeAcquisitionForInferredProjectsPerProjectRoot=new Map,this.projectToSizeMap=new Map,this.configFileExistenceInfoCache=new Map,this.safelist=ahe,this.legacySafelist=new Map,this.pendingProjectUpdates=new Map,this.pendingEnsureProjectForOpenFiles=!1,this.seenProjects=new Map,this.sharedExtendedConfigFileWatchers=new Map,this.extendedConfigCache=new Map,this.baseline=nt,this.verifyDocumentRegistry=nt,this.verifyProgram=nt,this.onProjectCreation=nt,this.host=e.host,this.logger=e.logger,this.cancellationToken=e.cancellationToken,this.useSingleInferredProject=e.useSingleInferredProject,this.useInferredProjectPerProjectRoot=e.useInferredProjectPerProjectRoot,this.typingsInstaller=e.typingsInstaller||Ahe,this.throttleWaitMilliseconds=e.throttleWaitMilliseconds,this.eventHandler=e.eventHandler,this.suppressDiagnosticEvents=e.suppressDiagnosticEvents,this.globalPlugins=e.globalPlugins||G_e,this.pluginProbeLocations=e.pluginProbeLocations||G_e,this.allowLocalPluginLoads=!!e.allowLocalPluginLoads,this.typesMapLocation=void 0===e.typesMapLocation?qo(Io(this.getExecutingFilePath()),"typesMap.json"):e.typesMapLocation,this.session=e.session,this.jsDocParsingMode=e.jsDocParsingMode,void 0!==e.serverMode?this.serverMode=e.serverMode:this.serverMode=0,this.host.realpath&&(this.realpathToScriptInfos=Ve()),this.currentDirectory=Y_e(this.host.getCurrentDirectory()),this.toCanonicalFileName=Jt(this.host.useCaseSensitiveFileNames),this.globalCacheLocationDirectoryPath=this.typingsInstaller.globalTypingsCacheLocation?Vo(this.toPath(this.typingsInstaller.globalTypingsCacheLocation)):void 0,this.throttledOperations=new ome(this.host,this.logger),this.logger.info(`currentDirectory:: ${this.host.getCurrentDirectory()} useCaseSensitiveFileNames:: ${this.host.useCaseSensitiveFileNames}`),this.logger.info(`libs Location:: ${Io(this.host.getExecutingFilePath())}`),this.logger.info(`globalTypingsCacheLocation:: ${this.typingsInstaller.globalTypingsCacheLocation}`),this.typesMapLocation?this.loadTypesMap():this.logger.info("No types map provided; using the default"),this.typingsInstaller.attach(this),this.hostConfiguration={formatCodeOptions:Sz(this.host.newLine),preferences:gz,hostInfo:"Unknown host",extraFileExtensions:[]},this.documentRegistry=L0(this.host.useCaseSensitiveFileNames,this.currentDirectory,this.jsDocParsingMode,this);const n=this.logger.hasLevel(3)?2:this.logger.loggingEnabled()?1:0,r=0!==n?e=>this.logger.info(e):nt;this.packageJsonCache=Whe(this),this.watchFactory=0!==this.serverMode?{watchFile:yH,watchDirectory:yH}:xU(jhe(this,e.canUseWatchEvents)||this.host,n,r,Fhe),this.canUseWatchEvents=Mhe(this,e.canUseWatchEvents),null==(t=e.incrementalVerifier)||t.call(e,this)}toPath(e){return Uo(e,this.currentDirectory,this.toCanonicalFileName)}getExecutingFilePath(){return this.getNormalizedAbsolutePath(this.host.getExecutingFilePath())}getNormalizedAbsolutePath(e){return Lo(e,this.host.getCurrentDirectory())}setDocument(e,t,n){un.checkDefined(this.getScriptInfoForPath(t)).cacheSourceFile={key:e,sourceFile:n}}getDocument(e,t){const n=this.getScriptInfoForPath(t);return n&&n.cacheSourceFile&&n.cacheSourceFile.key===e?n.cacheSourceFile.sourceFile:void 0}ensureInferredProjectsUpToDate_TestOnly(){this.ensureProjectStructuresUptoDate()}getCompilerOptionsForInferredProjects(){return this.compilerOptionsForInferredProjects}onUpdateLanguageServiceStateForProject(e,t){if(!this.eventHandler)return;const n={eventName:Yme,data:{project:e,languageServiceEnabled:t}};this.eventHandler(n)}loadTypesMap(){try{const e=this.host.readFile(this.typesMapLocation);if(void 0===e)return void this.logger.info(`Provided types map file "${this.typesMapLocation}" doesn't exist`);const t=JSON.parse(e);for(const e of Object.keys(t.typesMap))t.typesMap[e].match=new RegExp(t.typesMap[e].match,"i");this.safelist=t.typesMap;for(const e in t.simpleMap)De(t.simpleMap,e)&&this.legacySafelist.set(e,t.simpleMap[e].toLowerCase())}catch(e){this.logger.info(`Error loading types map: ${e}`),this.safelist=ahe,this.legacySafelist.clear()}}updateTypingsForProject(e){const t=this.findProject(e.projectName);if(t)switch(e.kind){case jW:return void t.updateTypingFiles(e.compilerOptions,e.typeAcquisition,e.unresolvedImports,e.typings);case UW:return void t.enqueueInstallTypingsForProject(!0)}}watchTypingLocations(e){var t;null==(t=this.findProject(e.projectName))||t.watchTypingLocations(e.files)}delayEnsureProjectForOpenFiles(){this.openFiles.size&&(this.pendingEnsureProjectForOpenFiles=!0,this.throttledOperations.schedule(nhe,2500,(()=>{0!==this.pendingProjectUpdates.size?this.delayEnsureProjectForOpenFiles():this.pendingEnsureProjectForOpenFiles&&(this.ensureProjectForOpenFiles(),this.sendProjectsUpdatedInBackgroundEvent())})))}delayUpdateProjectGraph(e){if(jme(e))return;if(e.markAsDirty(),Mme(e))return;const t=e.getProjectName();this.pendingProjectUpdates.set(t,e),this.throttledOperations.schedule(t,250,(()=>{this.pendingProjectUpdates.delete(t)&&Phe(e)}))}hasPendingProjectUpdate(e){return this.pendingProjectUpdates.has(e.getProjectName())}sendProjectsUpdatedInBackgroundEvent(){if(!this.eventHandler)return;const e={eventName:Vme,data:{openFiles:Pe(this.openFiles.keys(),(e=>this.getScriptInfoForPath(e).fileName))}};this.eventHandler(e)}sendLargeFileReferencedEvent(e,t){if(!this.eventHandler)return;const n={eventName:Wme,data:{file:e,fileSize:t,maxFileSize:Jme}};this.eventHandler(n)}sendProjectLoadingStartEvent(e,t){if(!this.eventHandler)return;e.sendLoadingProjectFinish=!0;const n={eventName:Hme,data:{project:e,reason:t}};this.eventHandler(n)}sendProjectLoadingFinishEvent(e){if(!this.eventHandler||!e.sendLoadingProjectFinish)return;e.sendLoadingProjectFinish=!1;const t={eventName:Gme,data:{project:e}};this.eventHandler(t)}sendPerformanceEvent(e,t){this.performanceEventHandler&&this.performanceEventHandler({kind:e,durationMs:t})}delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(e){this.delayUpdateProjectGraph(e),this.delayEnsureProjectForOpenFiles()}delayUpdateProjectGraphs(e,t){if(e.length){for(const n of e)t&&n.clearSourceMapperCache(),this.delayUpdateProjectGraph(n);this.delayEnsureProjectForOpenFiles()}}setCompilerOptionsForInferredProjects(e,t){un.assert(void 0===t||this.useInferredProjectPerProjectRoot,"Setting compiler options per project root path is only supported when useInferredProjectPerProjectRoot is enabled");const n=lhe(e),r=uhe(e,t),i=dhe(e);n.allowNonTsExtensions=!0;const o=t&&this.toCanonicalFileName(t);o?(this.compilerOptionsForInferredProjectsPerProjectRoot.set(o,n),this.watchOptionsForInferredProjectsPerProjectRoot.set(o,r||!1),this.typeAcquisitionForInferredProjectsPerProjectRoot.set(o,i)):(this.compilerOptionsForInferredProjects=n,this.watchOptionsForInferredProjects=r,this.typeAcquisitionForInferredProjects=i);for(const e of this.inferredProjects)(o?e.projectRootPath!==o:e.projectRootPath&&this.compilerOptionsForInferredProjectsPerProjectRoot.has(e.projectRootPath))||(e.setCompilerOptions(n),e.setTypeAcquisition(i),e.setWatchOptions(null==r?void 0:r.watchOptions),e.setProjectErrors(null==r?void 0:r.errors),e.compileOnSaveEnabled=n.compileOnSave,e.markAsDirty(),this.delayUpdateProjectGraph(e));this.delayEnsureProjectForOpenFiles()}findProject(e){if(void 0!==e)return eme(e)?ghe(e,this.inferredProjects):this.findExternalProjectByProjectName(e)||this.findConfiguredProjectByProjectName(Y_e(e))}forEachProject(e){this.externalProjects.forEach(e),this.configuredProjects.forEach(e),this.inferredProjects.forEach(e)}forEachEnabledProject(e){this.forEachProject((t=>{!t.isOrphan()&&t.languageServiceEnabled&&e(t)}))}getDefaultProjectForFile(e,t){return t?this.ensureDefaultProjectForFile(e):this.tryGetDefaultProjectForFile(e)}tryGetDefaultProjectForFile(e){const t=Xe(e)?this.getScriptInfoForNormalizedPath(e):e;return t&&!t.isOrphan()?t.getDefaultProject():void 0}tryGetDefaultProjectForEnsuringConfiguredProjectForFile(e){var t;const n=Xe(e)?this.getScriptInfoForNormalizedPath(e):e;if(n)return(null==(t=this.pendingOpenFileProjectUpdates)?void 0:t.delete(n.path))&&(this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(n,5),n.isOrphan()&&this.assignOrphanScriptInfoToInferredProject(n,this.openFiles.get(n.path))),this.tryGetDefaultProjectForFile(n)}ensureDefaultProjectForFile(e){return this.tryGetDefaultProjectForEnsuringConfiguredProjectForFile(e)||this.doEnsureDefaultProjectForFile(e)}doEnsureDefaultProjectForFile(e){this.ensureProjectStructuresUptoDate();const t=Xe(e)?this.getScriptInfoForNormalizedPath(e):e;return t?t.getDefaultProject():(this.logErrorForScriptInfoNotFound(Xe(e)?e:e.fileName),J_e.ThrowNoProject())}getScriptInfoEnsuringProjectsUptoDate(e){return this.ensureProjectStructuresUptoDate(),this.getScriptInfo(e)}ensureProjectStructuresUptoDate(){let e=this.pendingEnsureProjectForOpenFiles;this.pendingProjectUpdates.clear();const t=t=>{e=Phe(t)||e};this.externalProjects.forEach(t),this.configuredProjects.forEach(t),this.inferredProjects.forEach(t),e&&this.ensureProjectForOpenFiles()}getFormatCodeOptions(e){const t=this.getScriptInfoForNormalizedPath(e);return t&&t.getFormatCodeSettings()||this.hostConfiguration.formatCodeOptions}getPreferences(e){const t=this.getScriptInfoForNormalizedPath(e);return{...this.hostConfiguration.preferences,...t&&t.getPreferences()}}getHostFormatCodeOptions(){return this.hostConfiguration.formatCodeOptions}getHostPreferences(){return this.hostConfiguration.preferences}onSourceFileChanged(e,t){un.assert(!e.isScriptOpen()),2===t?this.handleDeletedFile(e,!0):(e.deferredDelete&&(e.deferredDelete=void 0),e.delayReloadNonMixedContentFile(),this.delayUpdateProjectGraphs(e.containingProjects,!1),this.handleSourceMapProjects(e))}handleSourceMapProjects(e){if(e.sourceMapFilePath)if(Xe(e.sourceMapFilePath)){const t=this.getScriptInfoForPath(e.sourceMapFilePath);this.delayUpdateSourceInfoProjects(null==t?void 0:t.sourceInfos)}else this.delayUpdateSourceInfoProjects(e.sourceMapFilePath.sourceInfos);this.delayUpdateSourceInfoProjects(e.sourceInfos),e.declarationInfoPath&&this.delayUpdateProjectsOfScriptInfoPath(e.declarationInfoPath)}delayUpdateSourceInfoProjects(e){e&&e.forEach(((e,t)=>this.delayUpdateProjectsOfScriptInfoPath(t)))}delayUpdateProjectsOfScriptInfoPath(e){const t=this.getScriptInfoForPath(e);t&&this.delayUpdateProjectGraphs(t.containingProjects,!0)}handleDeletedFile(e,t){un.assert(!e.isScriptOpen()),this.delayUpdateProjectGraphs(e.containingProjects,!1),this.handleSourceMapProjects(e),e.detachAllProjects(),t?(e.delayReloadNonMixedContentFile(),e.deferredDelete=!0):this.deleteScriptInfo(e)}watchWildcardDirectory(e,t,n,r){let i=this.watchFactory.watchDirectory(e,(t=>this.onWildCardDirectoryWatcherInvoke(e,n,r,o,t)),t,this.getWatchOptionsFromProjectWatchOptions(r.parsedCommandLine.watchOptions,Io(n)),bH.WildcardDirectory,n);const o={packageJsonWatches:void 0,close(){var e;i&&(i.close(),i=void 0,null==(e=o.packageJsonWatches)||e.forEach((e=>{e.projects.delete(o),e.close()})),o.packageJsonWatches=void 0)}};return o}onWildCardDirectoryWatcherInvoke(e,t,n,r,i){const o=this.toPath(i),s=n.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(i,o);if("package.json"===To(o)&&!$Z(o)&&(s&&s.fileExists||!s&&this.host.fileExists(i))){const e=this.getNormalizedAbsolutePath(i);this.logger.info(`Config: ${t} Detected new package.json: ${e}`),this.packageJsonCache.addOrUpdate(e,o),this.watchPackageJsonFile(e,o,r)}(null==s?void 0:s.fileExists)||this.sendSourceFileChange(o);const a=this.findConfiguredProjectByProjectName(t);bU({watchedDirPath:this.toPath(e),fileOrDirectory:i,fileOrDirectoryPath:o,configFileName:t,extraFileExtensions:this.hostConfiguration.extraFileExtensions,currentDirectory:this.currentDirectory,options:n.parsedCommandLine.options,program:(null==a?void 0:a.getCurrentProgram())||n.parsedCommandLine.fileNames,useCaseSensitiveFileNames:this.host.useCaseSensitiveFileNames,writeLog:e=>this.logger.info(e),toPath:e=>this.toPath(e),getScriptKind:a?e=>a.getScriptKind(e):void 0})||(2!==n.updateLevel&&(n.updateLevel=1),n.projects.forEach(((e,n)=>{var r;if(!e)return;const i=this.getConfiguredProjectByCanonicalConfigFilePath(n);if(!i)return;if(a!==i&&this.getHostPreferences().includeCompletionsForModuleExports){const e=this.toPath(t);A(null==(r=i.getCurrentProgram())?void 0:r.getResolvedProjectReferences(),(t=>(null==t?void 0:t.sourceFile.path)===e))&&i.markAutoImportProviderAsDirty()}const s=a===i?1:0;if(!(i.pendingUpdateLevel>s))if(this.openFiles.has(o)){if(un.checkDefined(this.getScriptInfoForPath(o)).isAttached(i)){const e=Math.max(s,i.openFileWatchTriggered.get(o)||0);i.openFileWatchTriggered.set(o,e)}else i.pendingUpdateLevel=s,this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(i)}else i.pendingUpdateLevel=s,this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(i)})))}delayUpdateProjectsFromParsedConfigOnConfigFileChange(e,t){const n=this.configFileExistenceInfoCache.get(e);if(!(null==n?void 0:n.config))return!1;let r=!1;return n.config.updateLevel=2,n.config.cachedDirectoryStructureHost.clearCache(),n.config.projects.forEach(((n,i)=>{var o,s,a;const c=this.getConfiguredProjectByCanonicalConfigFilePath(i);if(c)if(r=!0,i===e){if(c.initialLoadPending)return;c.pendingUpdateLevel=2,c.pendingUpdateReason=t,this.delayUpdateProjectGraph(c),c.markAutoImportProviderAsDirty()}else{if(c.initialLoadPending)return void(null==(s=null==(o=this.configFileExistenceInfoCache.get(i))?void 0:o.openFilesImpactedByConfigFile)||s.forEach((e=>{var t;(null==(t=this.pendingOpenFileProjectUpdates)?void 0:t.has(e))||(this.pendingOpenFileProjectUpdates??(this.pendingOpenFileProjectUpdates=new Map)).set(e,this.configFileForOpenFiles.get(e))})));const t=this.toPath(e);c.resolutionCache.removeResolutionsFromProjectReferenceRedirects(t),this.delayUpdateProjectGraph(c),this.getHostPreferences().includeCompletionsForModuleExports&&A(null==(a=c.getCurrentProgram())?void 0:a.getResolvedProjectReferences(),(e=>(null==e?void 0:e.sourceFile.path)===t))&&c.markAutoImportProviderAsDirty()}})),r}onConfigFileChanged(e,t,n){const r=this.configFileExistenceInfoCache.get(t),i=this.getConfiguredProjectByCanonicalConfigFilePath(t),o=null==i?void 0:i.deferredClose;2===n?(r.exists=!1,i&&(i.deferredClose=!0)):(r.exists=!0,o&&(i.deferredClose=void 0,i.markAsDirty())),this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(t,"Change in config file detected"),this.openFiles.forEach(((e,t)=>{var n,i;const o=this.configFileForOpenFiles.get(t);if(!(null==(n=r.openFilesImpactedByConfigFile)?void 0:n.has(t)))return;this.configFileForOpenFiles.delete(t);const s=this.getScriptInfoForPath(t);this.getConfigFileNameForFile(s,!1)&&((null==(i=this.pendingOpenFileProjectUpdates)?void 0:i.has(t))||(this.pendingOpenFileProjectUpdates??(this.pendingOpenFileProjectUpdates=new Map)).set(t,o))})),this.delayEnsureProjectForOpenFiles()}removeProject(e){switch(this.logger.info("`remove Project::"),e.print(!0,!0,!1),e.close(),un.shouldAssert(1)&&this.filenameToScriptInfo.forEach((t=>un.assert(!t.isAttached(e),"Found script Info still attached to project",(()=>`${e.projectName}: ScriptInfos still attached: ${JSON.stringify(Pe($(this.filenameToScriptInfo.values(),(t=>t.isAttached(e)?{fileName:t.fileName,projects:t.containingProjects.map((e=>e.projectName)),hasMixedContent:t.hasMixedContent}:void 0))),void 0," ")}`)))),this.pendingProjectUpdates.delete(e.getProjectName()),e.projectKind){case 2:Ut(this.externalProjects,e),this.projectToSizeMap.delete(e.getProjectName());break;case 1:this.configuredProjects.delete(e.canonicalConfigFilePath),this.projectToSizeMap.delete(e.canonicalConfigFilePath);break;case 0:Ut(this.inferredProjects,e)}}assignOrphanScriptInfoToInferredProject(e,t){un.assert(e.isOrphan());const n=this.getOrCreateInferredProjectForProjectRootPathIfEnabled(e,t)||this.getOrCreateSingleInferredProjectIfEnabled()||this.getOrCreateSingleInferredWithoutProjectRoot(e.isDynamic?t||this.currentDirectory:Io(go(e.fileName)?e.fileName:Lo(e.fileName,t?this.getNormalizedAbsolutePath(t):this.currentDirectory)));if(n.addRoot(e),e.containingProjects[0]!==n&&(Lt(e.containingProjects,n),e.containingProjects.unshift(n)),n.updateGraph(),!this.useSingleInferredProject&&!n.projectRootPath)for(const e of this.inferredProjects){if(e===n||e.isOrphan())continue;const t=e.getRootScriptInfos();un.assert(1===t.length||!!e.projectRootPath),1===t.length&&u(t[0].containingProjects,(e=>e!==t[0].containingProjects[0]&&!e.isOrphan()))&&e.removeFile(t[0],!0,!0)}return n}assignOrphanScriptInfosToInferredProject(){this.openFiles.forEach(((e,t)=>{const n=this.getScriptInfoForPath(t);n.isOrphan()&&this.assignOrphanScriptInfoToInferredProject(n,e)}))}closeOpenFile(e,t){var n;const r=!e.isDynamic&&this.host.fileExists(e.fileName);e.close(r),this.stopWatchingConfigFilesForScriptInfo(e);const i=this.toCanonicalFileName(e.fileName);this.openFilesWithNonRootedDiskPath.get(i)===e&&this.openFilesWithNonRootedDiskPath.delete(i);let o=!1;for(const t of e.containingProjects){if(Qme(t)){e.hasMixedContent&&e.registerFileUpdate();const n=t.openFileWatchTriggered.get(e.path);void 0!==n&&(t.openFileWatchTriggered.delete(e.path),t.pendingUpdateLevelthis.onConfigFileChanged(e,t,r)),2e3,this.getWatchOptionsFromProjectWatchOptions(null==(i=null==(r=null==o?void 0:o.config)?void 0:r.parsedCommandLine)?void 0:i.watchOptions,Io(e)),bH.ConfigFile,n)),this.ensureConfigFileWatcherForProject(o,n)}ensureConfigFileWatcherForProject(e,t){const n=e.config.projects;n.set(t.canonicalConfigFilePath,n.get(t.canonicalConfigFilePath)||!1)}releaseParsedConfig(e,t){var n,r,i;const o=this.configFileExistenceInfoCache.get(e);(null==(n=o.config)?void 0:n.projects.delete(t.canonicalConfigFilePath))&&((null==(r=o.config)?void 0:r.projects.size)||(o.config=void 0,gU(e,this.sharedExtendedConfigFileWatchers),un.checkDefined(o.watcher),(null==(i=o.openFilesImpactedByConfigFile)?void 0:i.size)?o.inferredProjectRoots?qV(Io(e))||(o.watcher.close(),o.watcher=yhe):(o.watcher.close(),o.watcher=void 0):(o.watcher.close(),this.configFileExistenceInfoCache.delete(e))))}stopWatchingConfigFilesForScriptInfo(e){if(0!==this.serverMode)return;const t=this.rootOfInferredProjects.delete(e),n=e.isScriptOpen();n&&!t||this.forEachConfigFileLocation(e,(r=>{var i,o,s;const a=this.configFileExistenceInfoCache.get(r);if(a){if(n){if(!(null==(i=null==a?void 0:a.openFilesImpactedByConfigFile)?void 0:i.has(e.path)))return}else if(!(null==(o=a.openFilesImpactedByConfigFile)?void 0:o.delete(e.path)))return;t&&(a.inferredProjectRoots--,!a.watcher||a.config||a.inferredProjectRoots||(a.watcher.close(),a.watcher=void 0)),(null==(s=a.openFilesImpactedByConfigFile)?void 0:s.size)||a.config||(un.assert(!a.watcher),this.configFileExistenceInfoCache.delete(r))}}))}startWatchingConfigFilesForInferredProjectRoot(e){0===this.serverMode&&(un.assert(e.isScriptOpen()),this.rootOfInferredProjects.add(e),this.forEachConfigFileLocation(e,((t,n)=>{let r=this.configFileExistenceInfoCache.get(t);r?r.inferredProjectRoots=(r.inferredProjectRoots??0)+1:(r={exists:this.host.fileExists(n),inferredProjectRoots:1},this.configFileExistenceInfoCache.set(t,r)),(r.openFilesImpactedByConfigFile??(r.openFilesImpactedByConfigFile=new Set)).add(e.path),r.watcher||(r.watcher=qV(Io(t))?this.watchFactory.watchFile(n,((e,r)=>this.onConfigFileChanged(n,t,r)),2e3,this.hostConfiguration.watchOptions,bH.ConfigFileForInferredRoot):yhe)})))}forEachConfigFileLocation(e,t){if(0!==this.serverMode)return;un.assert(!bhe(e)||this.openFiles.has(e.path));const n=this.openFiles.get(e.path);if(un.checkDefined(this.getScriptInfo(e.path)).isDynamic)return;let r=Io(e.fileName);const i=()=>es(n,r,this.currentDirectory,!this.host.useCaseSensitiveFileNames),o=!n||!i();let s=!0,a=!0;Che(e)&&(s=!Ot(e.fileName,"tsconfig.json")&&(a=!1));do{const e=K_e(r,this.currentDirectory,this.toCanonicalFileName);if(s){const n=qo(r,"tsconfig.json");if(t(qo(e,"tsconfig.json"),n))return n}if(a){const n=qo(r,"jsconfig.json");if(t(qo(e,"jsconfig.json"),n))return n}if(cs(e))break;const n=Io(r);if(n===r)break;r=n,s=a=!0}while(o||i())}findDefaultConfiguredProject(e){var t;return null==(t=this.findDefaultConfiguredProjectWorker(e,1))?void 0:t.defaultProject}findDefaultConfiguredProjectWorker(e,t){return e.isScriptOpen()?this.tryFindDefaultConfiguredProjectForOpenScriptInfo(e,t):void 0}getConfigFileNameForFileFromCache(e,t){if(t){const t=vhe(e,this.pendingOpenFileProjectUpdates);if(void 0!==t)return t}return vhe(e,this.configFileForOpenFiles)}setConfigFileNameForFileInCache(e,t){if(!this.openFiles.has(e.path))return;const n=t||!1;if(Che(e)){let t=this.configFileForOpenFiles.get(e.path);t&&!Xe(t)||this.configFileForOpenFiles.set(e.path,t=(new Map).set(!1,t)),t.set(e.fileName,n)}else this.configFileForOpenFiles.set(e.path,n)}getConfigFileNameForFile(e,t){const n=this.getConfigFileNameForFileFromCache(e,t);if(void 0!==n)return n||void 0;if(t)return;const r=this.forEachConfigFileLocation(e,((t,n)=>this.configFileExists(n,t,e)));return this.logger.info(`getConfigFileNameForFile:: File: ${e.fileName} ProjectRootPath: ${this.openFiles.get(e.path)}:: Result: ${r}`),this.setConfigFileNameForFileInCache(e,r),r}printProjects(){this.logger.hasLevel(1)&&(this.logger.startGroup(),this.externalProjects.forEach(Hhe),this.configuredProjects.forEach(Hhe),this.inferredProjects.forEach(Hhe),this.logger.info("Open files: "),this.openFiles.forEach(((e,t)=>{const n=this.getScriptInfoForPath(t);this.logger.info(`\tFileName: ${n.fileName} ProjectRootPath: ${e}`),this.logger.info(`\t\tProjects: ${n.containingProjects.map((e=>e.getProjectName()))}`)})),this.logger.endGroup())}findConfiguredProjectByProjectName(e,t){const n=this.toCanonicalFileName(e),r=this.getConfiguredProjectByCanonicalConfigFilePath(n);return t?r:(null==r?void 0:r.deferredClose)?void 0:r}getConfiguredProjectByCanonicalConfigFilePath(e){return this.configuredProjects.get(e)}findExternalProjectByProjectName(e){return ghe(e,this.externalProjects)}getFilenameForExceededTotalSizeLimitForNonTsFiles(e,t,n,r){if(t&&t.disableSizeLimit||!this.host.getFileSize)return;let i=Ume;this.projectToSizeMap.set(e,0),this.projectToSizeMap.forEach((e=>i-=e||0));let o=0;for(const e of n){const t=r.getFileName(e);if(!BE(t)&&(o+=this.host.getFileSize(t),o>Ume||o>i)){const e=n.map((e=>r.getFileName(e))).filter((e=>!BE(e))).map((e=>({name:e,size:this.host.getFileSize(e)}))).sort(((e,t)=>t.size-e.size)).slice(0,5);return this.logger.info(`Non TS file size exceeded limit (${o}). Largest files: ${e.map((e=>`${e.name}:${e.size}`)).join(", ")}`),t}}this.projectToSizeMap.set(e,o)}createExternalProject(e,t,n,r,i){const o=lhe(n),s=uhe(n,Io(Bo(e))),a=new qme(e,this,o,this.getFilenameForExceededTotalSizeLimitForNonTsFiles(e,o,t,hhe),void 0===n.compileOnSave||n.compileOnSave,void 0,null==s?void 0:s.watchOptions);return a.setProjectErrors(null==s?void 0:s.errors),a.excludedFiles=i,this.addFilesToNonInferredProject(a,t,hhe,r),this.externalProjects.push(a),a}sendProjectTelemetry(e){if(this.seenProjects.has(e.projectName))return void $he(e);if(this.seenProjects.set(e.projectName,!0),!this.eventHandler||!this.host.createSHA256Hash)return void $he(e);const t=Qme(e)?e.projectOptions:void 0;$he(e);const n={projectId:this.host.createSHA256Hash(e.projectName),fileStats:Sme(e.getScriptInfos(),!0),compilerOptions:OO(e.getCompilationSettings()),typeAcquisition:function({enable:e,include:t,exclude:n}){return{enable:e,include:void 0!==t&&0!==t.length,exclude:void 0!==n&&0!==n.length}}(e.getTypeAcquisition()),extends:t&&t.configHasExtendsProperty,files:t&&t.configHasFilesProperty,include:t&&t.configHasIncludeProperty,exclude:t&&t.configHasExcludeProperty,compileOnSave:e.compileOnSaveEnabled,configFileName:function(){if(!Qme(e))return"other";return ame(e.getConfigFilePath())||"other"}(),projectType:e instanceof qme?"external":"configured",languageServiceEnabled:e.languageServiceEnabled,version:o};this.eventHandler({eventName:Kme,data:n})}addFilesToNonInferredProject(e,t,n,r){this.updateNonInferredProjectFiles(e,t,n),e.setTypeAcquisition(r),e.markAsDirty()}createConfiguredProject(e,t){var n;null==(n=Hn)||n.instant(Hn.Phase.Session,"createConfiguredProject",{configFilePath:e});const r=this.toCanonicalFileName(e);let i=this.configFileExistenceInfoCache.get(r);i?i.exists=!0:this.configFileExistenceInfoCache.set(r,i={exists:!0}),i.config||(i.config={cachedDirectoryStructureHost:_U(this.host,this.host.getCurrentDirectory(),this.host.useCaseSensitiveFileNames),projects:new Map,updateLevel:2});const o=new Ome(e,r,this,i.config.cachedDirectoryStructureHost,t);return un.assert(!this.configuredProjects.has(r)),this.configuredProjects.set(r,o),this.createConfigFileWatcherForParsedConfig(e,r,o),o}loadConfiguredProject(e,t){var n,r;null==(n=Hn)||n.push(Hn.Phase.Session,"loadConfiguredProject",{configFilePath:e.canonicalConfigFilePath}),this.sendProjectLoadingStartEvent(e,t);const i=Y_e(e.getConfigFilePath()),o=this.ensureParsedConfigUptoDate(i,e.canonicalConfigFilePath,this.configFileExistenceInfoCache.get(e.canonicalConfigFilePath),e),s=o.config.parsedCommandLine;un.assert(!!s.fileNames);const a=s.options;e.projectOptions||(e.projectOptions={configHasExtendsProperty:void 0!==s.raw.extends,configHasFilesProperty:void 0!==s.raw.files,configHasIncludeProperty:void 0!==s.raw.include,configHasExcludeProperty:void 0!==s.raw.exclude}),e.parsedCommandLine=s,e.setProjectErrors(s.options.configFile.parseDiagnostics),e.updateReferences(s.projectReferences);const c=this.getFilenameForExceededTotalSizeLimitForNonTsFiles(e.canonicalConfigFilePath,a,s.fileNames,mhe);c?(e.disableLanguageService(c),this.configFileExistenceInfoCache.forEach(((t,n)=>this.stopWatchingWildCards(n,e)))):(e.setCompilerOptions(a),e.setWatchOptions(s.watchOptions),e.enableLanguageService(),this.watchWildcards(i,o,e)),e.enablePluginsWithOptions(a);const l=s.fileNames.concat(e.getExternalFiles(2));this.updateRootAndOptionsOfNonInferredProject(e,l,mhe,a,s.typeAcquisition,s.compileOnSave,s.watchOptions),null==(r=Hn)||r.pop()}ensureParsedConfigUptoDate(e,t,n,r){var i,o,s;if(n.config&&(1===n.config.updateLevel&&this.reloadFileNamesOfParsedConfig(e,n.config),!n.config.updateLevel))return this.ensureConfigFileWatcherForProject(n,r),n;if(!n.exists&&n.config)return n.config.updateLevel=void 0,this.ensureConfigFileWatcherForProject(n,r),n;const a=(null==(i=n.config)?void 0:i.cachedDirectoryStructureHost)||_U(this.host,this.host.getCurrentDirectory(),this.host.useCaseSensitiveFileNames),c=sB(e,(e=>this.host.readFile(e))),l=jP(e,Xe(c)?c:""),u=l.parseDiagnostics;Xe(c)||u.push(c);const d=Io(e),p=jB(l,a,d,void 0,e,void 0,this.hostConfiguration.extraFileExtensions,this.extendedConfigCache);p.errors.length&&u.push(...p.errors),this.logger.info(`Config: ${e} : ${JSON.stringify({rootNames:p.fileNames,options:p.options,watchOptions:p.watchOptions,projectReferences:p.projectReferences},void 0," ")}`);const f=null==(o=n.config)?void 0:o.parsedCommandLine;return n.config?(n.config.parsedCommandLine=p,n.config.watchedDirectoriesStale=!0,n.config.updateLevel=void 0):n.config={parsedCommandLine:p,cachedDirectoryStructureHost:a,projects:new Map},f||_x(this.getWatchOptionsFromProjectWatchOptions(void 0,d),this.getWatchOptionsFromProjectWatchOptions(p.watchOptions,d))||(null==(s=n.watcher)||s.close(),n.watcher=void 0),this.createConfigFileWatcherForParsedConfig(e,t,r),hU(t,p.options,this.sharedExtendedConfigFileWatchers,((t,n)=>this.watchFactory.watchFile(t,(()=>{var e;AU(this.extendedConfigCache,n,(e=>this.toPath(e)));let r=!1;null==(e=this.sharedExtendedConfigFileWatchers.get(n))||e.projects.forEach((e=>{r=this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(e,`Change in extended config file ${t} detected`)||r})),r&&this.delayEnsureProjectForOpenFiles()}),2e3,this.hostConfiguration.watchOptions,bH.ExtendedConfigFile,e)),(e=>this.toPath(e))),n}watchWildcards(e,{exists:t,config:n},r){if(n.projects.set(r.canonicalConfigFilePath,!0),t){if(n.watchedDirectories&&!n.watchedDirectoriesStale)return;n.watchedDirectoriesStale=!1,vU(n.watchedDirectories||(n.watchedDirectories=new Map),n.parsedCommandLine.wildcardDirectories,((t,r)=>this.watchWildcardDirectory(t,r,e,n)))}else{if(n.watchedDirectoriesStale=!1,!n.watchedDirectories)return;pb(n.watchedDirectories,kU),n.watchedDirectories=void 0}}stopWatchingWildCards(e,t){const n=this.configFileExistenceInfoCache.get(e);n.config&&n.config.projects.get(t.canonicalConfigFilePath)&&(n.config.projects.set(t.canonicalConfigFilePath,!1),np(n.config.projects,st)||(n.config.watchedDirectories&&(pb(n.config.watchedDirectories,kU),n.config.watchedDirectories=void 0),n.config.watchedDirectoriesStale=void 0))}updateNonInferredProjectFiles(e,t,n){var r;const i=e.getRootFilesMap(),o=new Map;for(const s of t){const t=n.getFileName(s),a=Y_e(t);let c;if(vme(a)||e.fileExists(t)){const t=n.getScriptKind(s,this.hostConfiguration.extraFileExtensions),r=n.hasMixedContent(s,this.hostConfiguration.extraFileExtensions),o=un.checkDefined(this.getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(a,e.currentDirectory,t,r,e.directoryStructureHost,!1));c=o.path;const l=i.get(c);l&&l.info===o?l.fileName=a:(e.addRoot(o,a),o.isScriptOpen()&&this.removeRootOfInferredProjectIfNowPartOfOtherProject(o))}else{c=K_e(a,this.currentDirectory,this.toCanonicalFileName);const t=i.get(c);t?((null==(r=t.info)?void 0:r.path)===c&&(e.removeFile(t.info,!1,!0),t.info=void 0),t.fileName=a):i.set(c,{fileName:a})}o.set(c,!0)}i.size>o.size&&i.forEach(((t,n)=>{o.has(n)||(t.info?e.removeFile(t.info,e.fileExists(t.info.fileName),!0):i.delete(n))}))}updateRootAndOptionsOfNonInferredProject(e,t,n,r,i,o,s){e.setCompilerOptions(r),e.setWatchOptions(s),void 0!==o&&(e.compileOnSaveEnabled=o),this.addFilesToNonInferredProject(e,t,n,i)}reloadFileNamesOfConfiguredProject(e){const t=this.reloadFileNamesOfParsedConfig(e.getConfigFilePath(),this.configFileExistenceInfoCache.get(e.canonicalConfigFilePath).config);return e.updateErrorOnNoInputFiles(t),this.updateNonInferredProjectFiles(e,t.fileNames.concat(e.getExternalFiles(1)),mhe),e.markAsDirty(),e.updateGraph()}reloadFileNamesOfParsedConfig(e,t){if(void 0===t.updateLevel)return t.parsedCommandLine;un.assert(1===t.updateLevel);const n=xO(t.parsedCommandLine.options.configFile.configFileSpecs,Io(e),t.parsedCommandLine.options,t.cachedDirectoryStructureHost,this.hostConfiguration.extraFileExtensions);return t.parsedCommandLine={...t.parsedCommandLine,fileNames:n},t.updateLevel=void 0,t.parsedCommandLine}setFileNamesOfAutoImportProviderOrAuxillaryProject(e,t){this.updateNonInferredProjectFiles(e,t,mhe)}reloadConfiguredProjectOptimized(e,t,n){n.has(e)||(n.set(e,6),e.initialLoadPending||this.setProjectForReload(e,2,t))}reloadConfiguredProjectClearingSemanticCache(e,t,n){return 7!==n.get(e)&&(n.set(e,7),this.clearSemanticCache(e),this.reloadConfiguredProject(e,qhe(t)),!0)}setProjectForReload(e,t,n){2===t&&this.clearSemanticCache(e),e.pendingUpdateReason=n&&qhe(n),e.pendingUpdateLevel=t}reloadConfiguredProject(e,t){e.initialLoadPending=!1,this.setProjectForReload(e,0),this.loadConfiguredProject(e,t),Nhe(e,e.triggerFileForConfigFileDiag??e.getConfigFilePath(),!0)}clearSemanticCache(e){e.originalConfiguredProjects=void 0,e.resolutionCache.clear(),e.getLanguageService(!1).cleanupSemanticCache(),e.cleanupProgram(),e.markAsDirty()}sendConfigFileDiagEvent(e,t,n){if(!this.eventHandler||this.suppressDiagnosticEvents)return!1;const r=e.getLanguageService().getCompilerOptionsDiagnostics();return r.push(...e.getAllProjectErrors()),!(!n&&r.length===(e.configDiagDiagnosticsReported??0))&&(e.configDiagDiagnosticsReported=r.length,this.eventHandler({eventName:zme,data:{configFileName:e.getConfigFilePath(),diagnostics:r,triggerFile:t??e.getConfigFilePath()}}),!0)}getOrCreateInferredProjectForProjectRootPathIfEnabled(e,t){if(!this.useInferredProjectPerProjectRoot||e.isDynamic&&void 0===t)return;if(t){const e=this.toCanonicalFileName(t);for(const t of this.inferredProjects)if(t.projectRootPath===e)return t;return this.createInferredProject(t,!1,t)}let n;for(const t of this.inferredProjects)t.projectRootPath&&es(t.projectRootPath,e.path,this.host.getCurrentDirectory(),!this.host.useCaseSensitiveFileNames)&&(n&&n.projectRootPath.length>t.projectRootPath.length||(n=t));return n}getOrCreateSingleInferredProjectIfEnabled(){if(this.useSingleInferredProject)return this.inferredProjects.length>0&&void 0===this.inferredProjects[0].projectRootPath?this.inferredProjects[0]:this.createInferredProject(this.currentDirectory,!0,void 0)}getOrCreateSingleInferredWithoutProjectRoot(e){un.assert(!this.useSingleInferredProject);const t=this.toCanonicalFileName(this.getNormalizedAbsolutePath(e));for(const e of this.inferredProjects)if(!e.projectRootPath&&e.isOrphan()&&e.canonicalCurrentDirectory===t)return e;return this.createInferredProject(e,!1,void 0)}createInferredProject(e,t,n){const r=n&&this.compilerOptionsForInferredProjectsPerProjectRoot.get(n)||this.compilerOptionsForInferredProjects;let i,o;n&&(i=this.watchOptionsForInferredProjectsPerProjectRoot.get(n),o=this.typeAcquisitionForInferredProjectsPerProjectRoot.get(n)),void 0===i&&(i=this.watchOptionsForInferredProjects),void 0===o&&(o=this.typeAcquisitionForInferredProjects),i=i||void 0;const s=new Rme(this,r,null==i?void 0:i.watchOptions,n,e,o);return s.setProjectErrors(null==i?void 0:i.errors),t?this.inferredProjects.unshift(s):this.inferredProjects.push(s),s}getOrCreateScriptInfoNotOpenedByClient(e,t,n,r){return this.getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(Y_e(e),t,void 0,void 0,n,r)}getScriptInfo(e){return this.getScriptInfoForNormalizedPath(Y_e(e))}getScriptInfoOrConfig(e){const t=Y_e(e),n=this.getScriptInfoForNormalizedPath(t);if(n)return n;const r=this.configuredProjects.get(this.toPath(e));return r&&r.getCompilerOptions().configFile}logErrorForScriptInfoNotFound(e){const t=Pe($(this.filenameToScriptInfo.entries(),(e=>e[1].deferredDelete?void 0:e)),(([e,t])=>({path:e,fileName:t.fileName})));this.logger.msg(`Could not find file ${JSON.stringify(e)}.\nAll files are: ${JSON.stringify(t)}`,"Err")}getSymlinkedProjects(e){let t;if(this.realpathToScriptInfos){const t=e.getRealpathIfDifferent();t&&u(this.realpathToScriptInfos.get(t),n),u(this.realpathToScriptInfos.get(e.path),n)}return t;function n(n){if(n!==e)for(const r of n.containingProjects)!r.languageServiceEnabled||r.isOrphan()||r.getCompilerOptions().preserveSymlinks||e.isAttached(r)||(t?np(t,((e,t)=>t!==n.path&&C(e,r)))||t.add(n.path,r):(t=Ve(),t.add(n.path,r)))}}watchClosedScriptInfo(e){if(un.assert(!e.fileWatcher),!(e.isDynamicOrHasMixedContent()||this.globalCacheLocationDirectoryPath&&Wt(e.path,this.globalCacheLocationDirectoryPath))){const t=e.fileName.indexOf("/node_modules/");this.host.getModifiedTime&&-1!==t?(e.mTime=this.getModifiedTime(e),e.fileWatcher=this.watchClosedScriptInfoInNodeModules(e.fileName.substring(0,t))):e.fileWatcher=this.watchFactory.watchFile(e.fileName,((t,n)=>this.onSourceFileChanged(e,n)),500,this.hostConfiguration.watchOptions,bH.ClosedScriptInfo)}}createNodeModulesWatcher(e,t){let n=this.watchFactory.watchDirectory(e,(e=>{var n;const i=NV(this.toPath(e));if(!i)return;const o=To(i);if(!(null==(n=r.affectedModuleSpecifierCacheProjects)?void 0:n.size)||"package.json"!==o&&"node_modules"!==o||r.affectedModuleSpecifierCacheProjects.forEach((e=>{var t;null==(t=e.getModuleSpecifierCache())||t.clear()})),r.refreshScriptInfoRefCount)if(t===i)this.refreshScriptInfosInDirectory(t);else{const e=this.filenameToScriptInfo.get(i);e?Rhe(e)&&this.refreshScriptInfo(e):Co(i)||this.refreshScriptInfosInDirectory(i)}}),1,this.hostConfiguration.watchOptions,bH.NodeModules);const r={refreshScriptInfoRefCount:0,affectedModuleSpecifierCacheProjects:void 0,close:()=>{var e;!n||r.refreshScriptInfoRefCount||(null==(e=r.affectedModuleSpecifierCacheProjects)?void 0:e.size)||(n.close(),n=void 0,this.nodeModulesWatchers.delete(t))}};return this.nodeModulesWatchers.set(t,r),r}watchPackageJsonsInNodeModules(e,t){var n;const r=this.toPath(e),i=this.nodeModulesWatchers.get(r)||this.createNodeModulesWatcher(e,r);return un.assert(!(null==(n=i.affectedModuleSpecifierCacheProjects)?void 0:n.has(t))),(i.affectedModuleSpecifierCacheProjects||(i.affectedModuleSpecifierCacheProjects=new Set)).add(t),{close:()=>{var e;null==(e=i.affectedModuleSpecifierCacheProjects)||e.delete(t),i.close()}}}watchClosedScriptInfoInNodeModules(e){const t=e+"/node_modules",n=this.toPath(t),r=this.nodeModulesWatchers.get(n)||this.createNodeModulesWatcher(t,n);return r.refreshScriptInfoRefCount++,{close:()=>{r.refreshScriptInfoRefCount--,r.close()}}}getModifiedTime(e){return(this.host.getModifiedTime(e.fileName)||Li).getTime()}refreshScriptInfo(e){const t=this.getModifiedTime(e);if(t!==e.mTime){const n=Ki(e.mTime,t);e.mTime=t,this.onSourceFileChanged(e,n)}}refreshScriptInfosInDirectory(e){e+=uo,this.filenameToScriptInfo.forEach((t=>{Rhe(t)&&Wt(t.path,e)&&this.refreshScriptInfo(t)}))}stopWatchingScriptInfo(e){e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)}getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(e,t,n,r,i,o){if(go(e)||vme(e))return this.getOrCreateScriptInfoWorker(e,t,!1,void 0,n,!!r,i,o);const s=this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFileName(e));return s||void 0}getOrCreateScriptInfoForNormalizedPath(e,t,n,r,i,o){return this.getOrCreateScriptInfoWorker(e,this.currentDirectory,t,n,r,!!i,o,!1)}getOrCreateScriptInfoWorker(e,t,n,r,i,o,s,a){un.assert(void 0===r||n,"ScriptInfo needs to be opened by client to be able to set its user defined content");const c=K_e(e,t,this.toCanonicalFileName);let l=this.filenameToScriptInfo.get(c);if(l){if(l.deferredDelete){if(un.assert(!l.isDynamic),!n&&!(s||this.host).fileExists(e))return a?l:void 0;l.deferredDelete=void 0}}else{const r=vme(e);if(un.assert(go(e)||r||n,"",(()=>`${JSON.stringify({fileName:e,currentDirectory:t,hostCurrentDirectory:this.currentDirectory,openKeys:Pe(this.openFilesWithNonRootedDiskPath.keys())})}\nScript info with non-dynamic relative file name can only be open script info or in context of host currentDirectory`)),un.assert(!go(e)||this.currentDirectory===t||!this.openFilesWithNonRootedDiskPath.has(this.toCanonicalFileName(e)),"",(()=>`${JSON.stringify({fileName:e,currentDirectory:t,hostCurrentDirectory:this.currentDirectory,openKeys:Pe(this.openFilesWithNonRootedDiskPath.keys())})}\nOpen script files with non rooted disk path opened with current directory context cannot have same canonical names`)),un.assert(!r||this.currentDirectory===t||this.useInferredProjectPerProjectRoot,"",(()=>`${JSON.stringify({fileName:e,currentDirectory:t,hostCurrentDirectory:this.currentDirectory,openKeys:Pe(this.openFilesWithNonRootedDiskPath.keys())})}\nDynamic files must always be opened with service's current directory or service should support inferred project per projectRootPath.`)),!n&&!r&&!(s||this.host).fileExists(e))return;l=new bme(this.host,e,i,o,c,this.filenameToScriptInfoVersion.get(c)),this.filenameToScriptInfo.set(l.path,l),this.filenameToScriptInfoVersion.delete(l.path),n?go(e)||r&&this.currentDirectory===t||this.openFilesWithNonRootedDiskPath.set(this.toCanonicalFileName(e),l):this.watchClosedScriptInfo(l)}return n&&(this.stopWatchingScriptInfo(l),l.open(r),o&&l.registerFileUpdate()),l}getScriptInfoForNormalizedPath(e){return!go(e)&&this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFileName(e))||this.getScriptInfoForPath(K_e(e,this.currentDirectory,this.toCanonicalFileName))}getScriptInfoForPath(e){const t=this.filenameToScriptInfo.get(e);return t&&t.deferredDelete?void 0:t}getDocumentPositionMapper(e,t,n){const r=this.getOrCreateScriptInfoNotOpenedByClient(t,e.currentDirectory,this.host,!1);if(!r)return void(n&&e.addGeneratedFileWatch(t,n));if(r.getSnapshot(),Xe(r.sourceMapFilePath)){const t=this.getScriptInfoForPath(r.sourceMapFilePath);if(t&&(t.getSnapshot(),void 0!==t.documentPositionMapper))return t.sourceInfos=this.addSourceInfoToSourceMap(n,e,t.sourceInfos),t.documentPositionMapper?t.documentPositionMapper:void 0;r.sourceMapFilePath=void 0}else{if(r.sourceMapFilePath)return void(r.sourceMapFilePath.sourceInfos=this.addSourceInfoToSourceMap(n,e,r.sourceMapFilePath.sourceInfos));if(void 0!==r.sourceMapFilePath)return}let i,o=(t,n)=>{const r=this.getOrCreateScriptInfoNotOpenedByClient(t,e.currentDirectory,this.host,!0);if(i=r||n,!r||r.deferredDelete)return;const o=r.getSnapshot();return void 0!==r.documentPositionMapper?r.documentPositionMapper:qK(o)};const s=e.projectName,a=k1({getCanonicalFileName:this.toCanonicalFileName,log:e=>this.logger.info(e),getSourceFileLike:e=>this.getSourceFileLike(e,s,r)},r.fileName,r.textStorage.getLineInfo(),o);return o=void 0,i?Xe(i)?r.sourceMapFilePath={watcher:this.addMissingSourceMapFile(e.currentDirectory===this.currentDirectory?i:Lo(i,e.currentDirectory),r.path),sourceInfos:this.addSourceInfoToSourceMap(n,e)}:(r.sourceMapFilePath=i.path,i.declarationInfoPath=r.path,i.deferredDelete||(i.documentPositionMapper=a||!1),i.sourceInfos=this.addSourceInfoToSourceMap(n,e,i.sourceInfos)):r.sourceMapFilePath=!1,a}addSourceInfoToSourceMap(e,t,n){if(e){const r=this.getOrCreateScriptInfoNotOpenedByClient(e,t.currentDirectory,t.directoryStructureHost,!1);(n||(n=new Set)).add(r.path)}return n}addMissingSourceMapFile(e,t){return this.watchFactory.watchFile(e,(()=>{const e=this.getScriptInfoForPath(t);e&&e.sourceMapFilePath&&!Xe(e.sourceMapFilePath)&&(this.delayUpdateProjectGraphs(e.containingProjects,!0),this.delayUpdateSourceInfoProjects(e.sourceMapFilePath.sourceInfos),e.closeSourceMapFileWatcher())}),2e3,this.hostConfiguration.watchOptions,bH.MissingSourceMapFile)}getSourceFileLike(e,t,n){const r=t.projectName?t:this.findProject(t);if(r){const t=r.toPath(e),n=r.getSourceFile(t);if(n&&n.resolvedPath===t)return n}const i=this.getOrCreateScriptInfoNotOpenedByClient(e,(r||this).currentDirectory,r?r.directoryStructureHost:this.host,!1);if(i){if(n&&Xe(n.sourceMapFilePath)&&i!==n){const e=this.getScriptInfoForPath(n.sourceMapFilePath);e&&(e.sourceInfos??(e.sourceInfos=new Set)).add(i.path)}return i.cacheSourceFile?i.cacheSourceFile.sourceFile:(i.sourceFileLike||(i.sourceFileLike={get text(){return un.fail("shouldnt need text"),""},getLineAndCharacterOfPosition:e=>{const t=i.positionToLineOffset(e);return{line:t.line-1,character:t.offset-1}},getPositionOfLineAndCharacter:(e,t,n)=>i.lineOffsetToPosition(e+1,t+1,n)}),i.sourceFileLike)}}setPerformanceEventHandler(e){this.performanceEventHandler=e}setHostConfiguration(e){var t;if(e.file){const t=this.getScriptInfoForNormalizedPath(Y_e(e.file));t&&(t.setOptions(che(e.formatOptions),e.preferences),this.logger.info(`Host configuration update for file ${e.file}`))}else{if(void 0!==e.hostInfo&&(this.hostConfiguration.hostInfo=e.hostInfo,this.logger.info(`Host information ${e.hostInfo}`)),e.formatOptions&&(this.hostConfiguration.formatCodeOptions={...this.hostConfiguration.formatCodeOptions,...che(e.formatOptions)},this.logger.info("Format host information updated")),e.preferences){const{lazyConfiguredProjectsFromExternalProject:t,includePackageJsonAutoImports:n,includeCompletionsForModuleExports:r}=this.hostConfiguration.preferences;this.hostConfiguration.preferences={...this.hostConfiguration.preferences,...e.preferences},t&&!this.hostConfiguration.preferences.lazyConfiguredProjectsFromExternalProject&&this.externalProjectToConfiguredProjectMap.forEach((e=>e.forEach((e=>{e.deferredClose||e.isClosed()||2!==e.pendingUpdateLevel||this.hasPendingProjectUpdate(e)||e.updateGraph()})))),n===e.preferences.includePackageJsonAutoImports&&!!r==!!e.preferences.includeCompletionsForModuleExports||this.forEachProject((e=>{e.onAutoImportProviderSettingsChanged()}))}if(e.extraFileExtensions&&(this.hostConfiguration.extraFileExtensions=e.extraFileExtensions,this.reloadProjects(),this.logger.info("Host file extension mappings updated")),e.watchOptions){const n=null==(t=uhe(e.watchOptions))?void 0:t.watchOptions,r=WB(n,this.currentDirectory);this.hostConfiguration.watchOptions=r,this.hostConfiguration.beforeSubstitution=r===n?void 0:n,this.logger.info(`Host watch options changed to ${JSON.stringify(this.hostConfiguration.watchOptions)}, it will be take effect for next watches.`)}}}getWatchOptions(e){return this.getWatchOptionsFromProjectWatchOptions(e.getWatchOptions(),e.getCurrentDirectory())}getWatchOptionsFromProjectWatchOptions(e,t){const n=this.hostConfiguration.beforeSubstitution?WB(this.hostConfiguration.beforeSubstitution,t):this.hostConfiguration.watchOptions;return e&&n?{...n,...e}:e||n}closeLog(){this.logger.close()}sendSourceFileChange(e){this.filenameToScriptInfo.forEach((t=>{if(this.openFiles.has(t.path))return;if(!t.fileWatcher)return;const n=dt((()=>this.host.fileExists(t.fileName)?t.deferredDelete?0:1:2));if(e){if(Rhe(t)||!t.path.startsWith(e))return;if(2===n()&&t.deferredDelete)return;this.logger.info(`Invoking sourceFileChange on ${t.fileName}:: ${n()}`)}this.onSourceFileChanged(t,n())}))}reloadProjects(){this.logger.info("reload projects."),this.sendSourceFileChange(void 0),this.pendingProjectUpdates.forEach(((e,t)=>{this.throttledOperations.cancel(t),this.pendingProjectUpdates.delete(t)})),this.throttledOperations.cancel(nhe),this.pendingOpenFileProjectUpdates=void 0,this.pendingEnsureProjectForOpenFiles=!1,this.configFileExistenceInfoCache.forEach((e=>{e.config&&(e.config.updateLevel=2,e.config.cachedDirectoryStructureHost.clearCache())})),this.configFileForOpenFiles.clear(),this.externalProjects.forEach((e=>{this.clearSemanticCache(e),e.updateGraph()}));const e=new Map,t=new Set;this.externalProjectToConfiguredProjectMap.forEach(((t,n)=>{const r=`Reloading configured project in external project: ${n}`;t.forEach((t=>{this.getHostPreferences().lazyConfiguredProjectsFromExternalProject?this.reloadConfiguredProjectOptimized(t,r,e):this.reloadConfiguredProjectClearingSemanticCache(t,r,e)}))})),this.openFiles.forEach(((n,r)=>{const i=this.getScriptInfoForPath(r);A(i.containingProjects,Lme)||this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(i,7,e,t)})),t.forEach((t=>e.set(t,7))),this.inferredProjects.forEach((e=>this.clearSemanticCache(e))),this.ensureProjectForOpenFiles(),this.cleanupProjectsAndScriptInfos(e,new Set(this.openFiles.keys()),new Set(this.externalProjectToConfiguredProjectMap.keys())),this.logger.info("After reloading projects.."),this.printProjects()}removeRootOfInferredProjectIfNowPartOfOtherProject(e){un.assert(e.containingProjects.length>0);const t=e.containingProjects[0];!t.isOrphan()&&$me(t)&&t.isRoot(e)&&u(e.containingProjects,(e=>e!==t&&!e.isOrphan()))&&t.removeFile(e,!0,!0)}ensureProjectForOpenFiles(){this.logger.info("Before ensureProjectForOpenFiles:"),this.printProjects();const e=this.pendingOpenFileProjectUpdates;this.pendingOpenFileProjectUpdates=void 0,null==e||e.forEach(((e,t)=>this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(this.getScriptInfoForPath(t),5))),this.openFiles.forEach(((e,t)=>{const n=this.getScriptInfoForPath(t);n.isOrphan()?this.assignOrphanScriptInfoToInferredProject(n,e):this.removeRootOfInferredProjectIfNowPartOfOtherProject(n)})),this.pendingEnsureProjectForOpenFiles=!1,this.inferredProjects.forEach(Phe),this.logger.info("After ensureProjectForOpenFiles:"),this.printProjects()}openClientFile(e,t,n,r){return this.openClientFileWithNormalizedPath(Y_e(e),t,n,!1,r?Y_e(r):void 0)}getOriginalLocationEnsuringConfiguredProject(e,t){const n=e.isSourceOfProjectReferenceRedirect(t.fileName),r=n?t:e.getSourceMapper().tryGetSourcePosition(t);if(!r)return;const{fileName:i}=r,o=this.getScriptInfo(i);if(!o&&!this.host.fileExists(i))return;const s={fileName:Y_e(i),path:this.toPath(i)},a=this.getConfigFileNameForFile(s,!1);if(!a)return;let c=this.findConfiguredProjectByProjectName(a);if(!c){if(e.getCompilerOptions().disableReferencedProjectLoad)return n?t:(null==o?void 0:o.containingProjects.length)?r:t;c=this.createConfiguredProject(a,`Creating project for original file: ${s.fileName}${t!==r?" for location: "+t.fileName:""}`)}const l=this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(s,5,Dhe(c,4),(e=>`Creating project referenced in solution ${e.projectName} to find possible configured project for original file: ${s.fileName}${t!==r?" for location: "+t.fileName:""}`));if(!l.defaultProject)return;if(l.defaultProject===e)return r;d(l.defaultProject);const u=this.getScriptInfo(i);if(u&&u.containingProjects.length)return u.containingProjects.forEach((e=>{Qme(e)&&d(e)})),r;function d(t){(e.originalConfiguredProjects??(e.originalConfiguredProjects=new Set)).add(t.canonicalConfigFilePath)}}fileExists(e){return!!this.getScriptInfoForNormalizedPath(e)||this.host.fileExists(e)}findExternalProjectContainingOpenScriptInfo(e){return A(this.externalProjects,(t=>(Phe(t),t.containsScriptInfo(e))))}getOrCreateOpenScriptInfo(e,t,n,r,i){const o=this.getOrCreateScriptInfoWorker(e,i?this.getNormalizedAbsolutePath(i):this.currentDirectory,!0,t,n,!!r,void 0,!0);return this.openFiles.set(o.path,i),o}assignProjectToOpenedScriptInfo(e){let t,n;let r,i;if(!this.findExternalProjectContainingOpenScriptInfo(e)&&0===this.serverMode){const o=this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(e,5);o&&(r=o.seenProjects,i=o.sentConfigDiag,o.defaultProject&&(t=o.defaultProject.getConfigFilePath(),n=o.defaultProject.getAllProjectErrors()))}return e.containingProjects.forEach(Phe),e.isOrphan()&&(null==r||r.forEach(((t,n)=>{4===t||i.has(n)||this.sendConfigFileDiagEvent(n,e.fileName,!0)})),un.assert(this.openFiles.has(e.path)),this.assignOrphanScriptInfoToInferredProject(e,this.openFiles.get(e.path))),un.assert(!e.isOrphan()),{configFileName:t,configFileErrors:n,retainProjects:r}}findCreateOrReloadConfiguredProject(e,t,n,r,i,o,s,a,c){let l,u=c??this.findConfiguredProjectByProjectName(e,r),d=!1;switch(t){case 0:case 1:case 3:if(!u)return;break;case 2:if(!u)return;l=function(e){return Ohe(e)?e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath):void 0}(u);break;case 4:case 5:u??(u=this.createConfiguredProject(e,n)),s||({sentConfigFileDiag:d,configFileExistenceInfo:l}=Dhe(u,t,i));break;case 6:if(u??(u=this.createConfiguredProject(e,qhe(n))),u.projectService.reloadConfiguredProjectOptimized(u,n,o),l=Bhe(u),l)break;case 7:u??(u=this.createConfiguredProject(e,qhe(n))),d=!a&&this.reloadConfiguredProjectClearingSemanticCache(u,n,o),!a||a.has(u)||o.has(u)||(this.setProjectForReload(u,2,n),a.add(u));break;default:un.assertNever(t)}return{project:u,sentConfigFileDiag:d,configFileExistenceInfo:l,reason:n}}tryFindDefaultConfiguredProjectForOpenScriptInfo(e,t,n,r){const i=this.getConfigFileNameForFile(e,t<=3);if(!i)return;const o=xhe(t),s=this.findCreateOrReloadConfiguredProject(i,o,function(e){return`Creating possible configured project for ${e.fileName} to open`}(e),n,e.fileName,r);return s&&this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(e,t,s,(t=>`Creating project referenced in solution ${t.projectName} to find possible configured project for ${e.fileName} to open`),n,r)}isMatchedByConfig(e,t,n){if(t.fileNames.some((e=>this.toPath(e)===n.path)))return!0;if(QE(n.fileName,t.options,this.hostConfiguration.extraFileExtensions))return!1;const{validatedFilesSpec:r,validatedIncludeSpecs:i,validatedExcludeSpecs:o}=t.options.configFile.configFileSpecs,s=Y_e(Lo(Io(e),this.currentDirectory));return!!(null==r?void 0:r.some((e=>this.toPath(Lo(e,s))===n.path)))||!!(null==i?void 0:i.length)&&(!wO(n.fileName,o,this.host.useCaseSensitiveFileNames,this.currentDirectory,s)&&(null==i?void 0:i.some((e=>{const t=pE(e,s,"files");return!!t&&hE(`(${t})$`,this.host.useCaseSensitiveFileNames).test(n.fileName)}))))}tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(e,t,n,r,i,o){const s=bhe(e),a=xhe(t),c=new Map;let l;const u=new Set;let d,p,f,_;return m(n),{defaultProject:d??p,tsconfigProject:f??_,sentConfigDiag:u,seenProjects:c,seenConfigs:l};function m(t){return function(e,t){e.sentConfigFileDiag&&u.add(e.project);return e.configFileExistenceInfo?h(e.configFileExistenceInfo,e.project,Y_e(e.project.getConfigFilePath()),e.reason,e.project,e.project.canonicalConfigFilePath):g(e.project,t)}(t,t.project)??((n=t.project).parsedCommandLine&&khe(n,n.parsedCommandLine,h,a,r(n),i,o))??function(t){return s?She(e,t,m,a,`Creating possible configured project for ${e.fileName} to open`,i,o,!1):void 0}(t.project);var n}function h(n,r,s,d,p,f){if(r){if(c.has(r))return;c.set(r,a)}else{if(null==l?void 0:l.has(f))return;(l??(l=new Set)).add(f)}if(!p.projectService.isMatchedByConfig(s,n.config.parsedCommandLine,e))return void(p.languageServiceEnabled&&p.projectService.watchWildcards(s,n,p));const _=r?Dhe(r,t,e.fileName,d,o):p.projectService.findCreateOrReloadConfiguredProject(s,t,d,i,e.fileName,o);if(_)return c.set(_.project,a),_.sentConfigFileDiag&&u.add(_.project),g(_.project,p);un.assert(3===t)}function g(n,r){if(c.get(n)===t)return;c.set(n,t);const i=s?e:n.projectService.getScriptInfo(e.fileName),o=i&&n.containsScriptInfo(i);if(o&&!n.isSourceOfProjectReferenceRedirect(i.path))return f=r,d=n;!p&&s&&o&&(_=r,p=n)}}tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(e,t,n,r){const i=1===t,o=this.tryFindDefaultConfiguredProjectForOpenScriptInfo(e,t,i,n);if(!o)return;const{defaultProject:s,tsconfigProject:a,seenProjects:c}=o;return s&&She(e,a,(e=>{c.set(e.project,t)}),t,`Creating project possibly referencing default composite project ${s.getProjectName()} of open file ${e.fileName}`,i,n,!0,r),o}loadAncestorProjectTree(e){e??(e=new Set($(this.configuredProjects.entries(),(([e,t])=>t.initialLoadPending?void 0:e))));const t=new Set,n=Pe(this.configuredProjects.values());for(const r of n)whe(r,(t=>e.has(t)))&&Phe(r),this.ensureProjectChildren(r,e,t)}ensureProjectChildren(e,t,n){var r;if(!L(n,e.canonicalConfigFilePath))return;if(e.getCompilerOptions().disableReferencedProjectLoad)return;const i=null==(r=e.getCurrentProgram())?void 0:r.getResolvedProjectReferences();if(i)for(const r of i){if(!r)continue;const i=pJ(r.references,(e=>t.has(e.sourceFile.path)?e:void 0));if(!i)continue;const o=Y_e(r.sourceFile.fileName),s=this.findConfiguredProjectByProjectName(o)??this.createConfiguredProject(o,`Creating project referenced by : ${e.projectName} as it references project ${i.sourceFile.fileName}`);Phe(s),this.ensureProjectChildren(s,t,n)}}cleanupConfiguredProjects(e,t,n){this.getOrphanConfiguredProjects(e,n,t).forEach((e=>this.removeProject(e)))}cleanupProjectsAndScriptInfos(e,t,n){this.cleanupConfiguredProjects(e,n,t);for(const e of this.inferredProjects.slice())e.isOrphan()&&this.removeProject(e);this.removeOrphanScriptInfos()}tryInvokeWildCardDirectories(e){this.configFileExistenceInfoCache.forEach(((t,n)=>{var r,i;(null==(r=t.config)?void 0:r.parsedCommandLine)&&!C(t.config.parsedCommandLine.fileNames,e.fileName,this.host.useCaseSensitiveFileNames?ht:mt)&&(null==(i=t.config.watchedDirectories)||i.forEach(((r,i)=>{es(i,e.fileName,!this.host.useCaseSensitiveFileNames)&&(this.logger.info(`Invoking ${n}:: wildcard for open scriptInfo:: ${e.fileName}`),this.onWildCardDirectoryWatcherInvoke(i,n,t.config,r.watcher,e.fileName))})))}))}openClientFileWithNormalizedPath(e,t,n,r,i){const o=this.getScriptInfoForPath(K_e(e,i?this.getNormalizedAbsolutePath(i):this.currentDirectory,this.toCanonicalFileName)),s=this.getOrCreateOpenScriptInfo(e,t,n,r,i);o||!s||s.isDynamic||this.tryInvokeWildCardDirectories(s);const{retainProjects:a,...c}=this.assignProjectToOpenedScriptInfo(s);return this.cleanupProjectsAndScriptInfos(a,new Set([s.path]),void 0),this.telemetryOnOpenFile(s),this.printProjects(),c}getOrphanConfiguredProjects(e,t,n){const r=new Set(this.configuredProjects.values()),i=e=>{!e.originalConfiguredProjects||!Qme(e)&&e.isOrphan()||e.originalConfiguredProjects.forEach(((e,t)=>{const n=this.getConfiguredProjectByCanonicalConfigFilePath(t);return n&&a(n)}))};return null==e||e.forEach(((e,t)=>a(t))),r.size?(this.inferredProjects.forEach(i),this.externalProjects.forEach(i),this.externalProjectToConfiguredProjectMap.forEach(((e,t)=>{(null==n?void 0:n.has(t))||e.forEach(a)})),r.size?(np(this.openFiles,((e,n)=>{if(null==t?void 0:t.has(n))return;const i=this.getScriptInfoForPath(n);if(A(i.containingProjects,Lme))return;const o=this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(i,1);return(null==o?void 0:o.defaultProject)&&(null==o||o.seenProjects.forEach(((e,t)=>a(t))),!r.size)?r:void 0})),r.size?(np(this.configuredProjects,(e=>{if(r.has(e)&&(s(e)||The(e,o))&&(a(e),!r.size))return r})),r):r):r):r;function o(e){return!r.has(e)||s(e)}function s(e){var t,n;return(e.deferredClose||e.projectService.hasPendingProjectUpdate(e))&&!!(null==(n=null==(t=e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath))?void 0:t.openFilesImpactedByConfigFile)?void 0:n.size)}function a(e){r.delete(e)&&(i(e),The(e,a))}}removeOrphanScriptInfos(){const e=new Map(this.filenameToScriptInfo);this.filenameToScriptInfo.forEach((t=>{if(!t.deferredDelete){if(!t.isScriptOpen()&&t.isOrphan()&&!Eme(t)&&!Cme(t)){if(!t.sourceMapFilePath)return;let e;if(Xe(t.sourceMapFilePath)){const n=this.filenameToScriptInfo.get(t.sourceMapFilePath);e=null==n?void 0:n.sourceInfos}else e=t.sourceMapFilePath.sourceInfos;if(!e)return;if(!rp(e,(e=>{const t=this.getScriptInfoForPath(e);return!!t&&(t.isScriptOpen()||!t.isOrphan())})))return}if(e.delete(t.path),t.sourceMapFilePath){let n;if(Xe(t.sourceMapFilePath)){const r=this.filenameToScriptInfo.get(t.sourceMapFilePath);(null==r?void 0:r.deferredDelete)?t.sourceMapFilePath={watcher:this.addMissingSourceMapFile(r.fileName,t.path),sourceInfos:r.sourceInfos}:e.delete(t.sourceMapFilePath),n=null==r?void 0:r.sourceInfos}else n=t.sourceMapFilePath.sourceInfos;n&&n.forEach(((t,n)=>e.delete(n)))}}})),e.forEach((e=>this.deleteScriptInfo(e)))}telemetryOnOpenFile(e){if(0!==this.serverMode||!this.eventHandler||!e.isJavaScript()||!bb(this.allJsFilesForOpenFileTelemetry,e.path))return;const t=this.ensureDefaultProjectForFile(e);if(!t.languageServiceEnabled)return;const n=t.getSourceFile(e.path),r=!!n&&!!n.checkJsDirective;this.eventHandler({eventName:Xme,data:{info:{checkJs:r}}})}closeClientFile(e,t){const n=this.getScriptInfoForNormalizedPath(Y_e(e)),r=!!n&&this.closeOpenFile(n,t);return t||this.printProjects(),r}collectChanges(e,t,n,r){for(const i of t){const t=A(e,(e=>e.projectName===i.getProjectName()));r.push(i.getChangesSinceVersion(t&&t.version,n))}}synchronizeProjectList(e,t){const n=[];return this.collectChanges(e,this.externalProjects,t,n),this.collectChanges(e,$(this.configuredProjects.values(),(e=>e.deferredClose?void 0:e)),t,n),this.collectChanges(e,this.inferredProjects,t,n),n}applyChangesInOpenFiles(e,t,n){let r,i,o,s=!1;if(e)for(const t of e){(r??(r=[])).push(this.getScriptInfoForPath(K_e(Y_e(t.fileName),t.projectRootPath?this.getNormalizedAbsolutePath(t.projectRootPath):this.currentDirectory,this.toCanonicalFileName)));const e=this.getOrCreateOpenScriptInfo(Y_e(t.fileName),t.content,phe(t.scriptKind),t.hasMixedContent,t.projectRootPath?Y_e(t.projectRootPath):void 0);(i||(i=[])).push(e)}if(t)for(const e of t){const t=this.getScriptInfo(e.fileName);un.assert(!!t),this.applyChangesToFile(t,e.changes)}if(n)for(const e of n)s=this.closeClientFile(e,!0)||s;u(r,((e,t)=>e||!i[t]||i[t].isDynamic?void 0:this.tryInvokeWildCardDirectories(i[t]))),null==i||i.forEach((e=>{var t;return null==(t=this.assignProjectToOpenedScriptInfo(e).retainProjects)?void 0:t.forEach(((e,t)=>(o??(o=new Map)).set(t,e)))})),s&&this.assignOrphanScriptInfosToInferredProject(),i?(this.cleanupProjectsAndScriptInfos(o,new Set(i.map((e=>e.path))),void 0),i.forEach((e=>this.telemetryOnOpenFile(e))),this.printProjects()):l(n)&&this.printProjects()}applyChangesToFile(e,t){for(const n of t)e.editContent(n.span.start,n.span.start+n.span.length,n.newText)}closeExternalProject(e,t){const n=Y_e(e);if(this.externalProjectToConfiguredProjectMap.get(n))this.externalProjectToConfiguredProjectMap.delete(n);else{const t=this.findExternalProjectByProjectName(e);t&&this.removeProject(t)}t&&(this.cleanupConfiguredProjects(),this.printProjects())}openExternalProjects(e){const t=new Set(this.externalProjects.map((e=>e.getProjectName())));this.externalProjectToConfiguredProjectMap.forEach(((e,n)=>t.add(n)));for(const n of e)this.openExternalProject(n,!1),t.delete(n.projectFileName);t.forEach((e=>this.closeExternalProject(e,!1))),this.cleanupConfiguredProjects(),this.printProjects()}static escapeFilenameForRegex(e){return e.replace(this.filenameEscapeRegexp,"\\$&")}resetSafeList(){this.safelist=ahe}applySafeList(e){const t=e.typeAcquisition;un.assert(!!t,"proj.typeAcquisition should be set by now");const n=this.applySafeListWorker(e,e.rootFiles,t);return(null==n?void 0:n.excludedFiles)??[]}applySafeListWorker(t,n,r){if(!1===r.enable||r.disableFilenameBasedTypeAcquisition)return;const i=r.include||(r.include=[]),o=[],s=n.map((e=>Bo(e.fileName)));for(const t of Object.keys(this.safelist)){const n=this.safelist[t];for(const r of s)if(n.match.test(r)){if(this.logger.info(`Excluding files based on rule ${t} matching file '${r}'`),n.types)for(const e of n.types)i.includes(e)||i.push(e);if(n.exclude)for(const i of n.exclude){const s=r.replace(n.match,((...n)=>i.map((r=>"number"==typeof r?Xe(n[r])?e.escapeFilenameForRegex(n[r]):(this.logger.info(`Incorrect RegExp specification in safelist rule ${t} - not enough groups`),"\\*"):r)).join("")));o.includes(s)||o.push(s)}else{const t=e.escapeFilenameForRegex(r);o.includes(t)||o.push(t)}}}const a=o.map((e=>new RegExp(e,"i")));let c,l;for(let e=0;et.test(s[e]))))u(e);else{if(r.enable){const t=To(lt(s[e]));if(Eo(t,"js")){const n=Qt(UE(t)),r=this.legacySafelist.get(n);if(void 0!==r){this.logger.info(`Excluded '${s[e]}' because it matched ${n} from the legacy safelist`),u(e),i.includes(r)||i.push(r);continue}}}/^.+[.-]min\.js$/.test(s[e])?u(e):null==c||c.push(n[e])}return l?{rootFiles:c,excludedFiles:l}:void 0;function u(e){l||(un.assert(!c),c=n.slice(0,e),l=[]),l.push(s[e])}}openExternalProject(e,t){const n=this.findExternalProjectByProjectName(e.projectFileName);let r,i=[];for(const t of e.rootFiles){const n=Y_e(t.fileName);if(ame(n)){if(0===this.serverMode&&this.host.fileExists(n)){let t=this.findConfiguredProjectByProjectName(n);t||(t=this.createConfiguredProject(n,`Creating configured project in external project: ${e.projectFileName}`),this.getHostPreferences().lazyConfiguredProjectsFromExternalProject||t.updateGraph()),(r??(r=new Set)).add(t),un.assert(!t.isClosed())}}else i.push(t)}if(r)this.externalProjectToConfiguredProjectMap.set(e.projectFileName,r),n&&this.removeProject(n);else{this.externalProjectToConfiguredProjectMap.delete(e.projectFileName);const t=e.typeAcquisition||{};t.include=t.include||[],t.exclude=t.exclude||[],void 0===t.enable&&(t.enable=wme(i.map((e=>e.fileName))));const r=this.applySafeListWorker(e,i,t),o=(null==r?void 0:r.excludedFiles)??[];if(i=(null==r?void 0:r.rootFiles)??i,n){n.excludedFiles=o;const r=lhe(e.options),s=uhe(e.options,n.getCurrentDirectory()),a=this.getFilenameForExceededTotalSizeLimitForNonTsFiles(e.projectFileName,r,i,hhe);a?n.disableLanguageService(a):n.enableLanguageService(),n.setProjectErrors(null==s?void 0:s.errors),this.updateRootAndOptionsOfNonInferredProject(n,i,hhe,r,t,e.options.compileOnSave,null==s?void 0:s.watchOptions),n.updateGraph()}else{this.createExternalProject(e.projectFileName,i,e.options,t,o).updateGraph()}}t&&(this.cleanupConfiguredProjects(r,new Set([e.projectFileName])),this.printProjects())}hasDeferredExtension(){for(const e of this.hostConfiguration.extraFileExtensions)if(7===e.scriptKind)return!0;return!1}requestEnablePlugin(e,t,n){if(this.host.importPlugin||this.host.require)if(this.logger.info(`Enabling plugin ${t.name} from candidate paths: ${n.join(",")}`),!t.name||Sa(t.name)||/[\\/]\.\.?(?:$|[\\/])/.test(t.name))this.logger.info(`Skipped loading plugin ${t.name||JSON.stringify(t)} because only package name is allowed plugin name`);else{if(this.host.importPlugin){const r=Fme.importServicePluginAsync(t,n,this.host,(e=>this.logger.info(e)));this.pendingPluginEnablements??(this.pendingPluginEnablements=new Map);let i=this.pendingPluginEnablements.get(e);return i||this.pendingPluginEnablements.set(e,i=[]),void i.push(r)}this.endEnablePlugin(e,Fme.importServicePluginSync(t,n,this.host,(e=>this.logger.info(e))))}else this.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded")}endEnablePlugin(e,{pluginConfigEntry:t,resolvedModule:n,errorLogs:r}){var i;if(n){const r=null==(i=this.currentPluginConfigOverrides)?void 0:i.get(t.name);if(r){const e=t.name;(t=r).name=e}e.enableProxy(n,t)}else u(r,(e=>this.logger.info(e))),this.logger.info(`Couldn't find ${t.name}`)}hasNewPluginEnablementRequests(){return!!this.pendingPluginEnablements}hasPendingPluginEnablements(){return!!this.currentPluginEnablementPromise}async waitForPendingPlugins(){for(;this.currentPluginEnablementPromise;)await this.currentPluginEnablementPromise}enableRequestedPlugins(){this.pendingPluginEnablements&&this.enableRequestedPluginsAsync()}async enableRequestedPluginsAsync(){if(this.currentPluginEnablementPromise&&await this.waitForPendingPlugins(),!this.pendingPluginEnablements)return;const e=Pe(this.pendingPluginEnablements.entries());this.pendingPluginEnablements=void 0,this.currentPluginEnablementPromise=this.enableRequestedPluginsWorker(e),await this.currentPluginEnablementPromise}async enableRequestedPluginsWorker(e){un.assert(void 0===this.currentPluginEnablementPromise);let t=!1;await Promise.all(w(e,(async([e,n])=>{const r=await Promise.all(n);if(e.isClosed()||jme(e))this.logger.info(`Cancelling plugin enabling for ${e.getProjectName()} as it is ${e.isClosed()?"closed":"deferred close"}`);else{t=!0;for(const t of r)this.endEnablePlugin(e,t);this.delayUpdateProjectGraph(e)}}))),this.currentPluginEnablementPromise=void 0,t&&this.sendProjectsUpdatedInBackgroundEvent()}configurePlugin(e){this.forEachEnabledProject((t=>t.onPluginConfigurationChanged(e.pluginName,e.configuration))),this.currentPluginConfigOverrides=this.currentPluginConfigOverrides||new Map,this.currentPluginConfigOverrides.set(e.pluginName,e.configuration)}getPackageJsonsVisibleToFile(e,t,n){const r=this.packageJsonCache,i=n&&this.toPath(n),o=[],s=e=>{switch(r.directoryHasPackageJson(e)){case 3:return r.searchDirectoryAndAncestors(e,t),s(e);case-1:const n=qo(e,"package.json");this.watchPackageJsonFile(n,this.toPath(n),t);const i=r.getInDirectory(e);i&&o.push(i)}if(i&&i===e)return!0};return m$(t,Io(e),s),o}getNearestAncestorDirectoryWithPackageJson(e,t){return m$(t,e,(e=>{switch(this.packageJsonCache.directoryHasPackageJson(e)){case-1:return e;case 0:return;case 3:return this.host.fileExists(qo(e,"package.json"))?e:void 0}}))}watchPackageJsonFile(e,t,n){un.assert(void 0!==n);let r=(this.packageJsonFilesMap??(this.packageJsonFilesMap=new Map)).get(t);if(!r){let n=this.watchFactory.watchFile(e,((e,n)=>{switch(n){case 0:case 1:this.packageJsonCache.addOrUpdate(e,t),this.onPackageJsonChange(r);break;case 2:this.packageJsonCache.delete(t),this.onPackageJsonChange(r),r.projects.clear(),r.close()}}),250,this.hostConfiguration.watchOptions,bH.PackageJson);r={projects:new Set,close:()=>{var e;!r.projects.size&&n&&(n.close(),n=void 0,null==(e=this.packageJsonFilesMap)||e.delete(t),this.packageJsonCache.invalidate(t))}},this.packageJsonFilesMap.set(t,r)}r.projects.add(n),(n.packageJsonWatches??(n.packageJsonWatches=new Set)).add(r)}onPackageJsonChange(e){e.projects.forEach((e=>{var t;return null==(t=e.onPackageJsonChange)?void 0:t.call(e)}))}includePackageJsonAutoImports(){switch(this.hostConfiguration.preferences.includePackageJsonAutoImports){case"on":return 1;case"off":return 0;default:return 2}}getIncompleteCompletionsCache(){return this.incompleteCompletionsCache||(this.incompleteCompletionsCache=function(){let e;return{get:()=>e,set(t){e=t},clear(){e=void 0}}}())}};Uhe.filenameEscapeRegexp=/[-/\\^$*+?.()|[\]{}]/g;var Jhe=Uhe;function Vhe(e){return void 0!==e.kind}function Hhe(e){e.print(!1,!1,!1)}function Ghe(e){let t,n,r;const i={get(e,t,i,o){if(n&&r===s(e,i,o))return n.get(t)},set(n,r,i,s,c,l,u){if(o(n,i,s).set(r,a(c,l,u,void 0,!1)),u)for(const n of l)if(n.isInNodeModules){const r=n.path.substring(0,n.path.indexOf(Qq)+Qq.length-1),i=e.toPath(r);(null==t?void 0:t.has(i))||(t||(t=new Map)).set(i,e.watchNodeModulesForPackageJsonChanges(r))}},setModulePaths(e,t,n,r,i){const s=o(e,n,r),c=s.get(t);c?c.modulePaths=i:s.set(t,a(void 0,i,void 0,void 0,void 0))},setBlockedByPackageJsonDependencies(e,t,n,r,i,s){const c=o(e,n,r),l=c.get(t);l?(l.isBlockedByPackageJsonDependencies=s,l.packageName=i):c.set(t,a(void 0,void 0,void 0,i,s))},clear(){null==t||t.forEach(rb),null==n||n.clear(),null==t||t.clear(),r=void 0},count:()=>n?n.size:0};return un.isDebugging&&Object.defineProperty(i,"__cache",{get:()=>n}),i;function o(e,t,o){const a=s(e,t,o);return n&&r!==a&&i.clear(),r=a,n||(n=new Map)}function s(e,t,n){return`${e},${t.importModuleSpecifierEnding},${t.importModuleSpecifierPreference},${n.overrideImportMode}`}function a(e,t,n,r,i){return{kind:e,modulePaths:t,moduleSpecifiers:n,packageName:r,isBlockedByPackageJsonDependencies:i}}}function Whe(e){const t=new Map,n=new Map;return{addOrUpdate:r,invalidate:function(e){t.delete(e),n.delete(Io(e))},delete:e=>{t.delete(e),n.set(Io(e),!0)},getInDirectory:n=>t.get(e.toPath(qo(n,"package.json")))||void 0,directoryHasPackageJson:t=>i(e.toPath(t)),searchDirectoryAndAncestors:(t,o)=>{m$(o,t,(t=>{const o=e.toPath(t);if(3!==i(o))return!0;const s=qo(t,"package.json");IZ(e,s)?r(s,qo(o,"package.json")):n.set(o,!0)}))}};function r(r,i){const o=un.checkDefined(BZ(r,e.host));t.set(i,o),n.delete(Io(i))}function i(e){return t.has(qo(e,"package.json"))?-1:n.has(e)?0:3}}var zhe={isCancellationRequested:()=>!1,setRequest:()=>{},resetRequest:()=>{}};function Yhe(e,t){if(($me(e)||Lme(e))&&e.isJsOnlyProject()){const n=e.getScriptInfoForNormalizedPath(t);return n&&!n.isJavaScript()}return!1}function Khe(e,t,n){const r=t.getScriptInfoForNormalizedPath(e);return{start:r.positionToLineOffset(n.start),end:r.positionToLineOffset(n.start+n.length),text:YU(n.messageText,"\n"),code:n.code,category:ai(n),reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated,source:n.source,relatedInformation:w(n.relatedInformation,Xhe)}}function Xhe(e){return e.file?{span:{start:Zhe(Ms(e.file,e.start)),end:Zhe(Ms(e.file,e.start+e.length)),file:e.file.fileName},message:YU(e.messageText,"\n"),category:ai(e),code:e.code}:{message:YU(e.messageText,"\n"),category:ai(e),code:e.code}}function Zhe(e){return{line:e.line+1,offset:e.character+1}}function ege(e,t){const n=e.file&&Zhe(Ms(e.file,e.start)),r=e.file&&Zhe(Ms(e.file,e.start+e.length)),i=YU(e.messageText,"\n"),{code:o,source:s}=e,a={start:n,end:r,text:i,code:o,category:ai(e),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,source:s,relatedInformation:w(e.relatedInformation,Xhe)};return t?{...a,fileName:e.file&&e.file.fileName}:a}var tge=lme;function nge(e,t,n,r){const i=t.hasLevel(3),o=JSON.stringify(e);i&&t.info(`${e.type}:${tz(e)}`);return`Content-Length: ${1+n(o,"utf8")}\r\n\r\n${o}${r}`}var rge=class{constructor(e){this.operationHost=e}startNew(e){this.complete(),this.requestId=this.operationHost.getCurrentRequestId(),this.executeAction(e)}complete(){void 0!==this.requestId&&(this.operationHost.sendRequestCompletedEvent(this.requestId,this.performanceData),this.requestId=void 0),this.setTimerHandle(void 0),this.setImmediateId(void 0),this.performanceData=void 0}immediate(e,t){const n=this.requestId;un.assert(n===this.operationHost.getCurrentRequestId(),"immediate: incorrect request id"),this.setImmediateId(this.operationHost.getServerHost().setImmediate((()=>{this.immediateId=void 0,this.operationHost.executeWithRequestId(n,(()=>this.executeAction(t)),this.performanceData)}),e))}delay(e,t,n){const r=this.requestId;un.assert(r===this.operationHost.getCurrentRequestId(),"delay: incorrect request id"),this.setTimerHandle(this.operationHost.getServerHost().setTimeout((()=>{this.timerHandle=void 0,this.operationHost.executeWithRequestId(r,(()=>this.executeAction(n)),this.performanceData)}),t,e))}executeAction(e){var t,n,r,i,o,s;let a=!1;try{this.operationHost.isCancellationRequested()?(a=!0,null==(t=Hn)||t.instant(Hn.Phase.Session,"stepCanceled",{seq:this.requestId,early:!0})):(null==(n=Hn)||n.push(Hn.Phase.Session,"stepAction",{seq:this.requestId}),e(this),null==(r=Hn)||r.pop())}catch(e){null==(i=Hn)||i.popAll(),a=!0,e instanceof xr?null==(o=Hn)||o.instant(Hn.Phase.Session,"stepCanceled",{seq:this.requestId}):(null==(s=Hn)||s.instant(Hn.Phase.Session,"stepError",{seq:this.requestId,message:e.message}),this.operationHost.logError(e,`delayed processing of request ${this.requestId}`))}this.performanceData=this.operationHost.getPerformanceData(),!a&&this.hasPendingWork()||this.complete()}setTimerHandle(e){void 0!==this.timerHandle&&this.operationHost.getServerHost().clearTimeout(this.timerHandle),this.timerHandle=e}setImmediateId(e){void 0!==this.immediateId&&this.operationHost.getServerHost().clearImmediate(this.immediateId),this.immediateId=e}hasPendingWork(){return!!this.timerHandle||!!this.immediateId}};function ige(e,t){return{seq:0,type:"event",event:e,body:t}}function oge(e){return ze((({textSpan:e})=>e.start+100003*e.length),dX(e))}function sge(e,t,n){const r=e.getLanguageService().getDefinitionAtPosition(t.fileName,t.pos,!1,n),i=r&&fe(r);return i&&!i.isLocal?{fileName:i.fileName,pos:i.textSpan.start}:void 0}function age(e,t,n){for(const r of Ye(e)?e:e.projects)n(r,t);!Ye(e)&&e.symLinkedProjects&&e.symLinkedProjects.forEach(((e,t)=>{for(const r of e)n(r,t)}))}function cge(e,t,n,r,i,o,s){const a=new Map,c=We();c.enqueue({project:t,location:n}),age(e,n.fileName,((e,t)=>{const r={fileName:t,pos:n.pos};c.enqueue({project:e,location:r})}));const l=t.projectService,u=t.getCancellationToken(),d=dt((()=>t.isSourceOfProjectReferenceRedirect(r.fileName)?r:t.getLanguageService().getSourceMapper().tryGetGeneratedPosition(r))),p=dt((()=>t.isSourceOfProjectReferenceRedirect(r.fileName)?r:t.getLanguageService().getSourceMapper().tryGetSourcePosition(r))),f=new Set;e:for(;!c.isEmpty();){for(;!c.isEmpty();){if(u.isCancellationRequested())break e;const{project:e,location:t}=c.dequeue();if(a.has(e))continue;if(dge(e,t))continue;if(Phe(e),!e.containsFile(Y_e(t.fileName)))continue;const n=_(e,t);a.set(e,n??G_e),f.add(pge(e))}r&&(l.loadAncestorProjectTree(f),l.forEachEnabledProject((e=>{if(u.isCancellationRequested())return;if(a.has(e))return;const t=i(r,e,d,p);t&&c.enqueue({project:e,location:t})})))}return 1===a.size?he(a.values()):a;function _(e,t){const n=o(e,t);if(!n||!s)return n;for(const t of n)s(t,(t=>{const n=l.getOriginalLocationEnsuringConfiguredProject(e,t);if(!n)return;const r=l.getScriptInfo(n.fileName);for(const e of r.containingProjects)e.isOrphan()||a.has(e)||c.enqueue({project:e,location:n});const i=l.getSymlinkedProjects(r);i&&i.forEach(((e,t)=>{for(const r of e)r.isOrphan()||a.has(r)||c.enqueue({project:r,location:{fileName:t,pos:n.pos}})}))}));return n}}function lge(e,t){if(t.containsFile(Y_e(e.fileName))&&!dge(t,e))return e}function uge(e,t,n,r){const i=lge(e,t);if(i)return i;const o=n();if(o&&t.containsFile(Y_e(o.fileName)))return o;const s=r();return s&&t.containsFile(Y_e(s.fileName))?s:void 0}function dge(e,t){if(!t)return!1;const n=e.getLanguageService().getProgram();if(!n)return!1;const r=n.getSourceFile(t.fileName);return!!r&&r.resolvedPath!==r.path&&r.resolvedPath!==e.toPath(t.fileName)}function pge(e){return Qme(e)?e.canonicalConfigFilePath:e.getProjectName()}function fge({fileName:e,textSpan:t}){return{fileName:e,pos:t.start}}function _ge(e,t){return _X(e,t.getSourceMapper(),(e=>t.projectService.fileExists(e)))}function mge(e,t){return mX(e,t.getSourceMapper(),(e=>t.projectService.fileExists(e)))}function hge(e,t){return hX(e,t.getSourceMapper(),(e=>t.projectService.fileExists(e)))}var gge=["openExternalProject","openExternalProjects","closeExternalProject","synchronizeProjectList","emit-output","compileOnSaveAffectedFileList","compileOnSaveEmitFile","compilerOptionsDiagnostics-full","encodedSemanticClassifications-full","semanticDiagnosticsSync","suggestionDiagnosticsSync","geterrForProject","reload","reloadProjects","getCodeFixes","getCodeFixes-full","getCombinedCodeFix","getCombinedCodeFix-full","applyCodeActionCommand","getSupportedCodeFixes","getApplicableRefactors","getMoveToRefactoringFileSuggestions","getEditsForRefactor","getEditsForRefactor-full","organizeImports","organizeImports-full","getEditsForFileRename","getEditsForFileRename-full","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","getPasteEdits","copilotRelated"],Age=[...gge,"definition","definition-full","definitionAndBoundSpan","definitionAndBoundSpan-full","typeDefinition","implementation","implementation-full","references","references-full","rename","renameLocations-full","rename-full","quickinfo","quickinfo-full","completionInfo","completions","completions-full","completionEntryDetails","completionEntryDetails-full","signatureHelp","signatureHelp-full","navto","navto-full","documentHighlights","documentHighlights-full","preparePasteEdits"],yge=class e{constructor(e){this.changeSeq=0,this.regionDiagLineCountThreshold=500,this.handlers=new Map(Object.entries({status:()=>{const e={version:o};return this.requiredResponse(e)},openExternalProject:e=>(this.projectService.openExternalProject(e.arguments,!0),this.requiredResponse(!0)),openExternalProjects:e=>(this.projectService.openExternalProjects(e.arguments.projects),this.requiredResponse(!0)),closeExternalProject:e=>(this.projectService.closeExternalProject(e.arguments.projectFileName,!0),this.requiredResponse(!0)),synchronizeProjectList:e=>{const t=this.projectService.synchronizeProjectList(e.arguments.knownProjects,e.arguments.includeProjectReferenceRedirectInfo);if(!t.some((e=>e.projectErrors&&0!==e.projectErrors.length)))return this.requiredResponse(t);const n=w(t,(e=>e.projectErrors&&0!==e.projectErrors.length?{info:e.info,changes:e.changes,files:e.files,projectErrors:this.convertToDiagnosticsWithLinePosition(e.projectErrors,void 0)}:e));return this.requiredResponse(n)},updateOpen:e=>(this.changeSeq++,this.projectService.applyChangesInOpenFiles(e.arguments.openFiles&&I(e.arguments.openFiles,(e=>({fileName:e.file,content:e.fileContent,scriptKind:e.scriptKindName,projectRootPath:e.projectRootPath}))),e.arguments.changedFiles&&I(e.arguments.changedFiles,(e=>({fileName:e.fileName,changes:$(ue(e.textChanges),(t=>{const n=un.checkDefined(this.projectService.getScriptInfo(e.fileName)),r=n.lineOffsetToPosition(t.start.line,t.start.offset),i=n.lineOffsetToPosition(t.end.line,t.end.offset);return r>=0?{span:{start:r,length:i-r},newText:t.newText}:void 0}))}))),e.arguments.closedFiles),this.requiredResponse(!0)),applyChangedToOpenFiles:e=>(this.changeSeq++,this.projectService.applyChangesInOpenFiles(e.arguments.openFiles,e.arguments.changedFiles&&I(e.arguments.changedFiles,(e=>({fileName:e.fileName,changes:ue(e.changes)}))),e.arguments.closedFiles),this.requiredResponse(!0)),exit:()=>(this.exit(),this.notRequired(void 0)),definition:e=>this.requiredResponse(this.getDefinition(e.arguments,!0)),"definition-full":e=>this.requiredResponse(this.getDefinition(e.arguments,!1)),definitionAndBoundSpan:e=>this.requiredResponse(this.getDefinitionAndBoundSpan(e.arguments,!0)),"definitionAndBoundSpan-full":e=>this.requiredResponse(this.getDefinitionAndBoundSpan(e.arguments,!1)),findSourceDefinition:e=>this.requiredResponse(this.findSourceDefinition(e.arguments)),"emit-output":e=>this.requiredResponse(this.getEmitOutput(e.arguments)),typeDefinition:e=>this.requiredResponse(this.getTypeDefinition(e.arguments)),implementation:e=>this.requiredResponse(this.getImplementation(e.arguments,!0)),"implementation-full":e=>this.requiredResponse(this.getImplementation(e.arguments,!1)),references:e=>this.requiredResponse(this.getReferences(e.arguments,!0)),"references-full":e=>this.requiredResponse(this.getReferences(e.arguments,!1)),rename:e=>this.requiredResponse(this.getRenameLocations(e.arguments,!0)),"renameLocations-full":e=>this.requiredResponse(this.getRenameLocations(e.arguments,!1)),"rename-full":e=>this.requiredResponse(this.getRenameInfo(e.arguments)),open:e=>(this.openClientFile(Y_e(e.arguments.file),e.arguments.fileContent,fhe(e.arguments.scriptKindName),e.arguments.projectRootPath?Y_e(e.arguments.projectRootPath):void 0),this.notRequired(e)),quickinfo:e=>this.requiredResponse(this.getQuickInfoWorker(e.arguments,!0)),"quickinfo-full":e=>this.requiredResponse(this.getQuickInfoWorker(e.arguments,!1)),getOutliningSpans:e=>this.requiredResponse(this.getOutliningSpans(e.arguments,!0)),outliningSpans:e=>this.requiredResponse(this.getOutliningSpans(e.arguments,!1)),todoComments:e=>this.requiredResponse(this.getTodoComments(e.arguments)),indentation:e=>this.requiredResponse(this.getIndentation(e.arguments)),nameOrDottedNameSpan:e=>this.requiredResponse(this.getNameOrDottedNameSpan(e.arguments)),breakpointStatement:e=>this.requiredResponse(this.getBreakpointStatement(e.arguments)),braceCompletion:e=>this.requiredResponse(this.isValidBraceCompletion(e.arguments)),docCommentTemplate:e=>this.requiredResponse(this.getDocCommentTemplate(e.arguments)),getSpanOfEnclosingComment:e=>this.requiredResponse(this.getSpanOfEnclosingComment(e.arguments)),fileReferences:e=>this.requiredResponse(this.getFileReferences(e.arguments,!0)),"fileReferences-full":e=>this.requiredResponse(this.getFileReferences(e.arguments,!1)),format:e=>this.requiredResponse(this.getFormattingEditsForRange(e.arguments)),formatonkey:e=>this.requiredResponse(this.getFormattingEditsAfterKeystroke(e.arguments)),"format-full":e=>this.requiredResponse(this.getFormattingEditsForDocumentFull(e.arguments)),"formatonkey-full":e=>this.requiredResponse(this.getFormattingEditsAfterKeystrokeFull(e.arguments)),"formatRange-full":e=>this.requiredResponse(this.getFormattingEditsForRangeFull(e.arguments)),completionInfo:e=>this.requiredResponse(this.getCompletions(e.arguments,"completionInfo")),completions:e=>this.requiredResponse(this.getCompletions(e.arguments,"completions")),"completions-full":e=>this.requiredResponse(this.getCompletions(e.arguments,"completions-full")),completionEntryDetails:e=>this.requiredResponse(this.getCompletionEntryDetails(e.arguments,!1)),"completionEntryDetails-full":e=>this.requiredResponse(this.getCompletionEntryDetails(e.arguments,!0)),compileOnSaveAffectedFileList:e=>this.requiredResponse(this.getCompileOnSaveAffectedFileList(e.arguments)),compileOnSaveEmitFile:e=>this.requiredResponse(this.emitFile(e.arguments)),signatureHelp:e=>this.requiredResponse(this.getSignatureHelpItems(e.arguments,!0)),"signatureHelp-full":e=>this.requiredResponse(this.getSignatureHelpItems(e.arguments,!1)),"compilerOptionsDiagnostics-full":e=>this.requiredResponse(this.getCompilerOptionsDiagnostics(e.arguments)),"encodedSyntacticClassifications-full":e=>this.requiredResponse(this.getEncodedSyntacticClassifications(e.arguments)),"encodedSemanticClassifications-full":e=>this.requiredResponse(this.getEncodedSemanticClassifications(e.arguments)),cleanup:()=>(this.cleanup(),this.requiredResponse(!0)),semanticDiagnosticsSync:e=>this.requiredResponse(this.getSemanticDiagnosticsSync(e.arguments)),syntacticDiagnosticsSync:e=>this.requiredResponse(this.getSyntacticDiagnosticsSync(e.arguments)),suggestionDiagnosticsSync:e=>this.requiredResponse(this.getSuggestionDiagnosticsSync(e.arguments)),geterr:e=>(this.errorCheck.startNew((t=>this.getDiagnostics(t,e.arguments.delay,e.arguments.files))),this.notRequired(void 0)),geterrForProject:e=>(this.errorCheck.startNew((t=>this.getDiagnosticsForProject(t,e.arguments.delay,e.arguments.file))),this.notRequired(void 0)),change:e=>(this.change(e.arguments),this.notRequired(e)),configure:e=>(this.projectService.setHostConfiguration(e.arguments),this.notRequired(e)),reload:e=>(this.reload(e.arguments),this.requiredResponse({reloadFinished:!0})),saveto:e=>{const t=e.arguments;return this.saveToTmp(t.file,t.tmpfile),this.notRequired(e)},close:e=>{const t=e.arguments;return this.closeClientFile(t.file),this.notRequired(e)},navto:e=>this.requiredResponse(this.getNavigateToItems(e.arguments,!0)),"navto-full":e=>this.requiredResponse(this.getNavigateToItems(e.arguments,!1)),brace:e=>this.requiredResponse(this.getBraceMatching(e.arguments,!0)),"brace-full":e=>this.requiredResponse(this.getBraceMatching(e.arguments,!1)),navbar:e=>this.requiredResponse(this.getNavigationBarItems(e.arguments,!0)),"navbar-full":e=>this.requiredResponse(this.getNavigationBarItems(e.arguments,!1)),navtree:e=>this.requiredResponse(this.getNavigationTree(e.arguments,!0)),"navtree-full":e=>this.requiredResponse(this.getNavigationTree(e.arguments,!1)),documentHighlights:e=>this.requiredResponse(this.getDocumentHighlights(e.arguments,!0)),"documentHighlights-full":e=>this.requiredResponse(this.getDocumentHighlights(e.arguments,!1)),compilerOptionsForInferredProjects:e=>(this.setCompilerOptionsForInferredProjects(e.arguments),this.requiredResponse(!0)),projectInfo:e=>this.requiredResponse(this.getProjectInfo(e.arguments)),reloadProjects:e=>(this.projectService.reloadProjects(),this.notRequired(e)),jsxClosingTag:e=>this.requiredResponse(this.getJsxClosingTag(e.arguments)),linkedEditingRange:e=>this.requiredResponse(this.getLinkedEditingRange(e.arguments)),getCodeFixes:e=>this.requiredResponse(this.getCodeFixes(e.arguments,!0)),"getCodeFixes-full":e=>this.requiredResponse(this.getCodeFixes(e.arguments,!1)),getCombinedCodeFix:e=>this.requiredResponse(this.getCombinedCodeFix(e.arguments,!0)),"getCombinedCodeFix-full":e=>this.requiredResponse(this.getCombinedCodeFix(e.arguments,!1)),applyCodeActionCommand:e=>this.requiredResponse(this.applyCodeActionCommand(e.arguments)),getSupportedCodeFixes:e=>this.requiredResponse(this.getSupportedCodeFixes(e.arguments)),getApplicableRefactors:e=>this.requiredResponse(this.getApplicableRefactors(e.arguments)),getEditsForRefactor:e=>this.requiredResponse(this.getEditsForRefactor(e.arguments,!0)),getMoveToRefactoringFileSuggestions:e=>this.requiredResponse(this.getMoveToRefactoringFileSuggestions(e.arguments)),preparePasteEdits:e=>this.requiredResponse(this.preparePasteEdits(e.arguments)),getPasteEdits:e=>this.requiredResponse(this.getPasteEdits(e.arguments)),"getEditsForRefactor-full":e=>this.requiredResponse(this.getEditsForRefactor(e.arguments,!1)),organizeImports:e=>this.requiredResponse(this.organizeImports(e.arguments,!0)),"organizeImports-full":e=>this.requiredResponse(this.organizeImports(e.arguments,!1)),getEditsForFileRename:e=>this.requiredResponse(this.getEditsForFileRename(e.arguments,!0)),"getEditsForFileRename-full":e=>this.requiredResponse(this.getEditsForFileRename(e.arguments,!1)),configurePlugin:e=>(this.configurePlugin(e.arguments),this.notRequired(e)),selectionRange:e=>this.requiredResponse(this.getSmartSelectionRange(e.arguments,!0)),"selectionRange-full":e=>this.requiredResponse(this.getSmartSelectionRange(e.arguments,!1)),prepareCallHierarchy:e=>this.requiredResponse(this.prepareCallHierarchy(e.arguments)),provideCallHierarchyIncomingCalls:e=>this.requiredResponse(this.provideCallHierarchyIncomingCalls(e.arguments)),provideCallHierarchyOutgoingCalls:e=>this.requiredResponse(this.provideCallHierarchyOutgoingCalls(e.arguments)),toggleLineComment:e=>this.requiredResponse(this.toggleLineComment(e.arguments,!0)),"toggleLineComment-full":e=>this.requiredResponse(this.toggleLineComment(e.arguments,!1)),toggleMultilineComment:e=>this.requiredResponse(this.toggleMultilineComment(e.arguments,!0)),"toggleMultilineComment-full":e=>this.requiredResponse(this.toggleMultilineComment(e.arguments,!1)),commentSelection:e=>this.requiredResponse(this.commentSelection(e.arguments,!0)),"commentSelection-full":e=>this.requiredResponse(this.commentSelection(e.arguments,!1)),uncommentSelection:e=>this.requiredResponse(this.uncommentSelection(e.arguments,!0)),"uncommentSelection-full":e=>this.requiredResponse(this.uncommentSelection(e.arguments,!1)),provideInlayHints:e=>this.requiredResponse(this.provideInlayHints(e.arguments)),mapCode:e=>this.requiredResponse(this.mapCode(e.arguments)),copilotRelated:()=>this.requiredResponse(this.getCopilotRelatedInfo())})),this.host=e.host,this.cancellationToken=e.cancellationToken,this.typingsInstaller=e.typingsInstaller||Ahe,this.byteLength=e.byteLength,this.hrtime=e.hrtime,this.logger=e.logger,this.canUseEvents=e.canUseEvents,this.suppressDiagnosticEvents=e.suppressDiagnosticEvents,this.noGetErrOnBackgroundUpdate=e.noGetErrOnBackgroundUpdate;const{throttleWaitMilliseconds:t}=e;this.eventHandler=this.canUseEvents?e.eventHandler||(e=>this.defaultEventHandler(e)):void 0;const n={executeWithRequestId:(e,t,n)=>this.executeWithRequestId(e,t,n),getCurrentRequestId:()=>this.currentRequestId,getPerformanceData:()=>this.performanceData,getServerHost:()=>this.host,logError:(e,t)=>this.logError(e,t),sendRequestCompletedEvent:(e,t)=>this.sendRequestCompletedEvent(e,t),isCancellationRequested:()=>this.cancellationToken.isCancellationRequested()};this.errorCheck=new rge(n);const r={host:this.host,logger:this.logger,cancellationToken:this.cancellationToken,useSingleInferredProject:e.useSingleInferredProject,useInferredProjectPerProjectRoot:e.useInferredProjectPerProjectRoot,typingsInstaller:this.typingsInstaller,throttleWaitMilliseconds:t,eventHandler:this.eventHandler,suppressDiagnosticEvents:this.suppressDiagnosticEvents,globalPlugins:e.globalPlugins,pluginProbeLocations:e.pluginProbeLocations,allowLocalPluginLoads:e.allowLocalPluginLoads,typesMapLocation:e.typesMapLocation,serverMode:e.serverMode,session:this,canUseWatchEvents:e.canUseWatchEvents,incrementalVerifier:e.incrementalVerifier};switch(this.projectService=new Jhe(r),this.projectService.setPerformanceEventHandler(this.performanceEventHandler.bind(this)),this.gcTimer=new sme(this.host,7e3,this.logger),this.projectService.serverMode){case 0:break;case 1:gge.forEach((e=>this.handlers.set(e,(e=>{throw new Error(`Request: ${e.command} not allowed in LanguageServiceMode.PartialSemantic`)}))));break;case 2:Age.forEach((e=>this.handlers.set(e,(e=>{throw new Error(`Request: ${e.command} not allowed in LanguageServiceMode.Syntactic`)}))));break;default:un.assertNever(this.projectService.serverMode)}}sendRequestCompletedEvent(e,t){this.event({request_seq:e,performanceData:t&&vge(t)},"requestCompleted")}addPerformanceData(e,t){this.performanceData||(this.performanceData={}),this.performanceData[e]=(this.performanceData[e]??0)+t}addDiagnosticsPerformanceData(e,t,n){var r,i;this.performanceData||(this.performanceData={});let o=null==(r=this.performanceData.diagnosticsDuration)?void 0:r.get(e);o||((i=this.performanceData).diagnosticsDuration??(i.diagnosticsDuration=new Map)).set(e,o={}),o[t]=n}performanceEventHandler(e){switch(e.kind){case"UpdateGraph":this.addPerformanceData("updateGraphDurationMs",e.durationMs);break;case"CreatePackageJsonAutoImportProvider":this.addPerformanceData("createAutoImportProviderProgramDurationMs",e.durationMs)}}defaultEventHandler(e){switch(e.eventName){case Vme:this.projectsUpdatedInBackgroundEvent(e.data.openFiles);break;case Hme:this.event({projectName:e.data.project.getProjectName(),reason:e.data.reason},e.eventName);break;case Gme:this.event({projectName:e.data.project.getProjectName()},e.eventName);break;case Wme:case Zme:case ehe:case the:this.event(e.data,e.eventName);break;case zme:this.event({triggerFile:e.data.triggerFile,configFile:e.data.configFileName,diagnostics:w(e.data.diagnostics,(e=>ege(e,!0)))},e.eventName);break;case Yme:this.event({projectName:e.data.project.getProjectName(),languageServiceEnabled:e.data.languageServiceEnabled},e.eventName);break;case Kme:{const t="telemetry";this.event({telemetryEventName:e.eventName,payload:e.data},t);break}}}projectsUpdatedInBackgroundEvent(e){this.projectService.logger.info(`got projects updated in background ${e}`),e.length&&(this.suppressDiagnosticEvents||this.noGetErrOnBackgroundUpdate||(this.projectService.logger.info(`Queueing diagnostics update for ${e}`),this.errorCheck.startNew((t=>this.updateErrorCheck(t,e,100,!0)))),this.event({openFiles:e},Vme))}logError(e,t){this.logErrorWorker(e,t)}logErrorWorker(e,t,n){let r="Exception on executing command "+t;if(e.message&&(r+=":\n"+ez(e.message),e.stack&&(r+="\n"+ez(e.stack))),this.logger.hasLevel(3)){if(n)try{const{file:e,project:t}=this.getFileAndProject(n),i=t.getScriptInfoForNormalizedPath(e);if(i){const e=qK(i.getSnapshot());r+=`\n\nFile text of ${n.file}:${ez(e)}\n`}}catch{}if(e.ProgramFiles){r+=`\n\nProgram files: ${JSON.stringify(e.ProgramFiles)}\n`,r+="\n\nProjects::\n";let t=0;const n=e=>{r+=`\nProject '${e.projectName}' (${xme[e.projectKind]}) ${t}\n`,r+=e.filesToString(!0),r+="\n-----------------------------------------------\n",t++};this.projectService.externalProjects.forEach(n),this.projectService.configuredProjects.forEach(n),this.projectService.inferredProjects.forEach(n)}}this.logger.msg(r,"Err")}send(e){"event"!==e.type||this.canUseEvents?this.writeMessage(e):this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${tz(e)}`)}writeMessage(e){const t=nge(e,this.logger,this.byteLength,this.host.newLine);this.host.write(t)}event(e,t){this.send(ige(t,e))}doOutput(e,t,n,r,i,o){const s={seq:0,type:"response",command:t,request_seq:n,success:r,performanceData:i&&vge(i)};if(r){let t;if(Ye(e))s.body=e,t=e.metadata,delete e.metadata;else if("object"==typeof e)if(e.metadata){const{metadata:n,...r}=e;s.body=r,t=n}else s.body=e;else s.body=e;t&&(s.metadata=t)}else un.assert(void 0===e);o&&(s.message=o),this.send(s)}semanticCheck(e,t){var n,r;const i=jn();null==(n=Hn)||n.push(Hn.Phase.Session,"semanticCheck",{file:e,configFilePath:t.canonicalConfigFilePath});const o=Yhe(t,e)?G_e:t.getLanguageService().getSemanticDiagnostics(e).filter((e=>!!e.file));this.sendDiagnosticsEvent(e,t,o,"semanticDiag",i),null==(r=Hn)||r.pop()}syntacticCheck(e,t){var n,r;const i=jn();null==(n=Hn)||n.push(Hn.Phase.Session,"syntacticCheck",{file:e,configFilePath:t.canonicalConfigFilePath}),this.sendDiagnosticsEvent(e,t,t.getLanguageService().getSyntacticDiagnostics(e),"syntaxDiag",i),null==(r=Hn)||r.pop()}suggestionCheck(e,t){var n,r;const i=jn();null==(n=Hn)||n.push(Hn.Phase.Session,"suggestionCheck",{file:e,configFilePath:t.canonicalConfigFilePath}),this.sendDiagnosticsEvent(e,t,t.getLanguageService().getSuggestionDiagnostics(e),"suggestionDiag",i),null==(r=Hn)||r.pop()}regionSemanticCheck(e,t,n){var r,i,o;const s=jn();let a;null==(r=Hn)||r.push(Hn.Phase.Session,"regionSemanticCheck",{file:e,configFilePath:t.canonicalConfigFilePath}),this.shouldDoRegionCheck(e)&&(a=t.getLanguageService().getRegionSemanticDiagnostics(e,n))?(this.sendDiagnosticsEvent(e,t,a.diagnostics,"regionSemanticDiag",s,a.spans),null==(o=Hn)||o.pop()):null==(i=Hn)||i.pop()}shouldDoRegionCheck(e){var t;const n=null==(t=this.projectService.getScriptInfoForNormalizedPath(e))?void 0:t.textStorage.getLineInfo().getLineCount();return!!(n&&n>=this.regionDiagLineCountThreshold)}sendDiagnosticsEvent(e,t,n,r,i,o){try{const s=un.checkDefined(t.getScriptInfo(e)),a=jn()-i,c={file:e,diagnostics:n.map((n=>Khe(e,t,n))),spans:null==o?void 0:o.map((e=>bge(e,s)))};this.event(c,r),this.addDiagnosticsPerformanceData(e,r,a)}catch(e){this.logError(e,r)}}updateErrorCheck(e,t,n,r=!0){if(0===t.length)return;un.assert(!this.suppressDiagnosticEvents);const i=this.changeSeq,o=Math.min(n,200);let s=0;const a=()=>{if(s++,t.length>s)return e.delay("checkOne",o,l)},c=(t,n)=>{if(this.semanticCheck(t,n),this.changeSeq===i)return this.getPreferences(t).disableSuggestions?a():void e.immediate("suggestionCheck",(()=>{this.suggestionCheck(t,n),a()}))},l=()=>{if(this.changeSeq!==i)return;let n,o=t[s];if(Xe(o)?o=this.toPendingErrorCheck(o):"ranges"in o&&(n=o.ranges,o=this.toPendingErrorCheck(o.file)),!o)return a();const{fileName:l,project:u}=o;return Phe(u),u.containsFile(l,r)&&(this.syntacticCheck(l,u),this.changeSeq===i)?0!==u.projectService.serverMode?a():n?e.immediate("regionSemanticCheck",(()=>{const t=this.projectService.getScriptInfoForNormalizedPath(l);t&&this.regionSemanticCheck(l,u,n.map((e=>this.getRange({file:l,...e},t)))),this.changeSeq===i&&e.immediate("semanticCheck",(()=>c(l,u)))})):void e.immediate("semanticCheck",(()=>c(l,u))):void 0};t.length>s&&this.changeSeq===i&&e.delay("checkOne",n,l)}cleanProjects(e,t){if(t){this.logger.info(`cleaning ${e}`);for(const e of t)e.getLanguageService(!1).cleanupSemanticCache(),e.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",Pe(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e);return n.getEncodedSyntacticClassifications(t,e)}getEncodedSemanticClassifications(e){const{file:t,project:n}=this.getFileAndProject(e),r="2020"===e.format?"2020":"original";return n.getLanguageService().getEncodedSemanticClassifications(t,e,r)}getProject(e){return void 0===e?void 0:this.projectService.findProject(e)}getConfigFileAndProject(e){const t=this.getProject(e.projectFileName),n=Y_e(e.file);return{configFile:t&&t.hasConfigFile(n)?n:void 0,project:t}}getConfigFileDiagnostics(e,t,n){const r=S(H(t.getAllProjectErrors(),t.getLanguageService().getCompilerOptionsDiagnostics()),(t=>!!t.file&&t.file.fileName===e));return n?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(r):w(r,(e=>ege(e,!1)))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(e){return e.map((e=>({message:YU(e.messageText,this.host.newLine),start:e.start,length:e.length,category:ai(e),code:e.code,source:e.source,startLocation:e.file&&Zhe(Ms(e.file,e.start)),endLocation:e.file&&Zhe(Ms(e.file,e.start+e.length)),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,relatedInformation:w(e.relatedInformation,Xhe)})))}getCompilerOptionsDiagnostics(e){const t=this.getProject(e.projectFileName);return this.convertToDiagnosticsWithLinePosition(S(t.getLanguageService().getCompilerOptionsDiagnostics(),(e=>!e.file)),void 0)}convertToDiagnosticsWithLinePosition(e,t){return e.map((e=>({message:YU(e.messageText,this.host.newLine),start:e.start,length:e.length,category:ai(e),code:e.code,source:e.source,startLocation:t&&t.positionToLineOffset(e.start),endLocation:t&&t.positionToLineOffset(e.start+e.length),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,relatedInformation:w(e.relatedInformation,Xhe)})))}getDiagnosticsWorker(e,t,n,r){const{project:i,file:o}=this.getFileAndProject(e);if(t&&Yhe(i,o))return G_e;const s=i.getScriptInfoForNormalizedPath(o),a=n(i,o);return r?this.convertToDiagnosticsWithLinePosition(a,s):a.map((e=>Khe(o,i,e)))}getDefinition(t,n){const{file:r,project:i}=this.getFileAndProject(t),o=this.getPositionInFile(t,r),s=this.mapDefinitionInfoLocations(i.getLanguageService().getDefinitionAtPosition(r,o)||G_e,i);return n?this.mapDefinitionInfo(s,i):s.map(e.mapToOriginalLocation)}mapDefinitionInfoLocations(e,t){return e.map((e=>{const n=mge(e,t);return n?{...n,containerKind:e.containerKind,containerName:e.containerName,kind:e.kind,name:e.name,failedAliasResolution:e.failedAliasResolution,...e.unverified&&{unverified:e.unverified}}:e}))}getDefinitionAndBoundSpan(t,n){const{file:r,project:i}=this.getFileAndProject(t),o=this.getPositionInFile(t,r),s=un.checkDefined(i.getScriptInfo(r)),a=i.getLanguageService().getDefinitionAndBoundSpan(r,o);if(!a||!a.definitions)return{definitions:G_e,textSpan:void 0};const c=this.mapDefinitionInfoLocations(a.definitions,i),{textSpan:l}=a;return n?{definitions:this.mapDefinitionInfo(c,i),textSpan:bge(l,s)}:{definitions:c.map(e.mapToOriginalLocation),textSpan:l}}findSourceDefinition(e){var t;const{file:n,project:r}=this.getFileAndProject(e),i=this.getPositionInFile(e,n),o=r.getLanguageService().getDefinitionAtPosition(n,i);let s=this.mapDefinitionInfoLocations(o||G_e,r).slice();const a=0===this.projectService.serverMode&&(!J(s,(e=>Y_e(e.fileName)!==n&&!e.isAmbient))||J(s,(e=>!!e.failedAliasResolution)));if(a){const e=ze((e=>e.textSpan.start),dX(this.host.useCaseSensitiveFileNames));null==s||s.forEach((t=>e.add(t)));const o=r.getNoDtsResolutionProject(n),a=o.getLanguageService(),d=null==(t=a.getDefinitionAtPosition(n,i,!0,!1))?void 0:t.filter((e=>Y_e(e.fileName)!==n));if(J(d))for(const t of d){if(t.unverified){const n=l(t,r.getLanguageService().getProgram(),a.getProgram());if(J(n)){for(const t of n)e.add(t);continue}}e.add(t)}else{const t=s.filter((e=>Y_e(e.fileName)!==n&&e.isAmbient));for(const s of J(t)?t:function(){const e=r.getLanguageService(),t=e.getProgram(),o=MY(t.getSourceFile(n),i);if((Od(o)||UD(o))&&xb(o.parent))return wb(o,(t=>{var r;if(t===o)return;const i=null==(r=e.getDefinitionAtPosition(n,t.getStart(),!0,!1))?void 0:r.filter((e=>Y_e(e.fileName)!==n&&e.isAmbient)).map((e=>({fileName:e.fileName,name:jg(o)})));return J(i)?i:void 0}))||G_e;return G_e}()){const t=c(s.fileName,n,o);if(!t)continue;const r=this.projectService.getOrCreateScriptInfoNotOpenedByClient(t,o.currentDirectory,o.directoryStructureHost,!1);if(!r)continue;o.containsScriptInfo(r)||(o.addRoot(r),o.updateGraph());const i=a.getProgram(),l=un.checkDefined(i.getSourceFile(t));for(const t of u(s.name,l,i))e.add(t)}}s=Pe(e.values())}return s=s.filter((e=>!e.isAmbient&&!e.failedAliasResolution)),this.mapDefinitionInfo(s,r);function c(e,t,n){var i,o,s;const a=Ux(e);if(a&&e.lastIndexOf(Qq)===a.topLevelNodeModulesIndex){const c=e.substring(0,a.packageRootIndex),l=null==(i=r.getModuleResolutionCache())?void 0:i.getPackageJsonInfoCache(),u=r.getCompilationSettings(),d=e$(Lo(c,r.getCurrentDirectory()),Zq(l,r,u));if(!d)return;const p=Kq(d,{moduleResolution:2},r,r.getModuleResolutionCache()),f=E$(x$(e.substring(a.topLevelPackageNameIndex+1,a.packageRootIndex))),_=r.toPath(e);if(p&&J(p,(e=>r.toPath(e)===_)))return null==(o=n.resolutionCache.resolveSingleModuleNameWithoutWatching(f,t).resolvedModule)?void 0:o.resolvedFileName;{const r=`${f}/${UE(e.substring(a.packageRootIndex+1))}`;return null==(s=n.resolutionCache.resolveSingleModuleNameWithoutWatching(r,t).resolvedModule)?void 0:s.resolvedFileName}}}function l(e,t,r){var o;const s=r.getSourceFile(e.fileName);if(!s)return;const a=MY(t.getSourceFile(n),i),c=t.getTypeChecker().getSymbolAtLocation(a),l=c&&Hd(c,276);if(!l)return;return u((null==(o=l.propertyName)?void 0:o.text)||l.name.text,s,r)}function u(e,t,n){return q(kce.Core.getTopMostDeclarationNamesInFile(e,t),(e=>{const t=n.getTypeChecker().getSymbolAtLocation(e),r=ug(e);if(t&&r)return fle.createDefinitionInfo(r,n.getTypeChecker(),t,r,!0)}))}}getEmitOutput(e){const{file:t,project:n}=this.getFileAndProject(e);if(!n.shouldEmitFile(n.getScriptInfo(t)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const r=n.getLanguageService().getEmitOutput(t);return e.richResponse?{...r,diagnostics:e.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(r.diagnostics):r.diagnostics.map((e=>ege(e,!0)))}:r}mapJSDocTagInfo(e,t,n){return e?e.map((e=>{var r;return{...e,text:n?this.mapDisplayParts(e.text,t):null==(r=e.text)?void 0:r.map((e=>e.text)).join("")}})):[]}mapDisplayParts(e,t){return e?e.map((e=>"linkName"!==e.kind?e:{...e,target:this.toFileSpan(e.target.fileName,e.target.textSpan,t)})):[]}mapSignatureHelpItems(e,t,n){return e.map((e=>({...e,documentation:this.mapDisplayParts(e.documentation,t),parameters:e.parameters.map((e=>({...e,documentation:this.mapDisplayParts(e.documentation,t)}))),tags:this.mapJSDocTagInfo(e.tags,t,n)})))}mapDefinitionInfo(e,t){return e.map((e=>({...this.toFileSpanWithContext(e.fileName,e.textSpan,e.contextSpan,t),...e.unverified&&{unverified:e.unverified}})))}static mapToOriginalLocation(e){return e.originalFileName?(un.assert(void 0!==e.originalTextSpan,"originalTextSpan should be present if originalFileName is"),{...e,fileName:e.originalFileName,textSpan:e.originalTextSpan,targetFileName:e.fileName,targetTextSpan:e.textSpan,contextSpan:e.originalContextSpan,targetContextSpan:e.contextSpan}):e}toFileSpan(e,t,n){const r=n.getLanguageService(),i=r.toLineColumnOffset(e,t.start),o=r.toLineColumnOffset(e,Ia(t));return{file:e,start:{line:i.line+1,offset:i.character+1},end:{line:o.line+1,offset:o.character+1}}}toFileSpanWithContext(e,t,n,r){const i=this.toFileSpan(e,t,r),o=n&&this.toFileSpan(e,n,r);return o?{...i,contextStart:o.start,contextEnd:o.end}:i}getTypeDefinition(e){const{file:t,project:n}=this.getFileAndProject(e),r=this.getPositionInFile(e,t),i=this.mapDefinitionInfoLocations(n.getLanguageService().getTypeDefinitionAtPosition(t,r)||G_e,n);return this.mapDefinitionInfo(i,n)}mapImplementationLocations(e,t){return e.map((e=>{const n=mge(e,t);return n?{...n,kind:e.kind,displayParts:e.displayParts}:e}))}getImplementation(t,n){const{file:r,project:i}=this.getFileAndProject(t),o=this.getPositionInFile(t,r),s=this.mapImplementationLocations(i.getLanguageService().getImplementationAtPosition(r,o)||G_e,i);return n?s.map((({fileName:e,textSpan:t,contextSpan:n})=>this.toFileSpanWithContext(e,t,n,i))):s.map(e.mapToOriginalLocation)}getSyntacticDiagnosticsSync(e){const{configFile:t}=this.getConfigFileAndProject(e);return t?G_e:this.getDiagnosticsWorker(e,!1,((e,t)=>e.getLanguageService().getSyntacticDiagnostics(t)),!!e.includeLinePosition)}getSemanticDiagnosticsSync(e){const{configFile:t,project:n}=this.getConfigFileAndProject(e);return t?this.getConfigFileDiagnostics(t,n,!!e.includeLinePosition):this.getDiagnosticsWorker(e,!0,((e,t)=>e.getLanguageService().getSemanticDiagnostics(t).filter((e=>!!e.file))),!!e.includeLinePosition)}getSuggestionDiagnosticsSync(e){const{configFile:t}=this.getConfigFileAndProject(e);return t?G_e:this.getDiagnosticsWorker(e,!0,((e,t)=>e.getLanguageService().getSuggestionDiagnostics(t)),!!e.includeLinePosition)}getJsxClosingTag(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t),i=n.getJsxClosingTagAtPosition(t,r);return void 0===i?void 0:{newText:i.newText,caretOffset:0}}getLinkedEditingRange(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t),i=n.getLinkedEditingRangeAtPosition(t,r),o=this.projectService.getScriptInfoForNormalizedPath(t);if(void 0!==o&&void 0!==i)return function(e,t){const n=e.ranges.map((e=>({start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(e.start+e.length)})));return e.wordPattern?{ranges:n,wordPattern:e.wordPattern}:{ranges:n}}(i,o)}getDocumentHighlights(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=this.getPositionInFile(e,n),o=r.getLanguageService().getDocumentHighlights(n,i,e.filesToSearch);return o?t?o.map((({fileName:e,highlightSpans:t})=>{const n=r.getScriptInfo(e);return{file:e,highlightSpans:t.map((({textSpan:e,kind:t,contextSpan:r})=>({...Cge(e,r,n),kind:t})))}})):o:G_e}provideInlayHints(e){const{file:t,project:n}=this.getFileAndProject(e),r=this.projectService.getScriptInfoForNormalizedPath(t);return n.getLanguageService().provideInlayHints(t,e,this.getPreferences(t)).map((e=>{const{position:t,displayParts:n}=e;return{...e,position:r.positionToLineOffset(t),displayParts:null==n?void 0:n.map((({text:e,span:t,file:n})=>{if(t){un.assertIsDefined(n,"Target file should be defined together with its span.");const r=this.projectService.getScriptInfo(n);return{text:e,span:{start:r.positionToLineOffset(t.start),end:r.positionToLineOffset(t.start+t.length),file:n}}}return{text:e}}))}}))}mapCode(e){var t;const n=this.getHostFormatOptions(),r=this.getHostPreferences(),{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(e),s=this.projectService.getScriptInfoForNormalizedPath(i),a=null==(t=e.mapping.focusLocations)?void 0:t.map((e=>e.map((e=>{const t=s.lineOffsetToPosition(e.start.line,e.start.offset);return{start:t,length:s.lineOffsetToPosition(e.end.line,e.end.offset)-t}})))),c=o.mapCode(i,e.mapping.contents,a,n,r);return this.mapTextChangesToCodeEdits(c)}getCopilotRelatedInfo(){return{relatedFiles:[]}}setCompilerOptionsForInferredProjects(e){this.projectService.setCompilerOptionsForInferredProjects(e.options,e.projectRootPath)}getProjectInfo(e){return this.getProjectInfoWorker(e.file,e.projectFileName,e.needFileNameList,e.needDefaultConfiguredProjectInfo,!1)}getProjectInfoWorker(e,t,n,r,i){const{project:o}=this.getFileAndProjectWorker(e,t);Phe(o);return{configFileName:o.getProjectName(),languageServiceDisabled:!o.languageServiceEnabled,fileNames:n?o.getFileNames(!1,i):void 0,configuredProjectInfo:r?this.getDefaultConfiguredProjectInfo(e):void 0}}getDefaultConfiguredProjectInfo(e){var t;const n=this.projectService.getScriptInfo(e);if(!n)return;const r=this.projectService.findDefaultConfiguredProjectWorker(n,3);if(!r)return;let i,o;return r.seenProjects.forEach(((e,t)=>{t!==r.defaultProject&&(3!==e?(i??(i=[])).push(Y_e(t.getConfigFilePath())):(o??(o=[])).push(Y_e(t.getConfigFilePath())))})),null==(t=r.seenConfigs)||t.forEach((e=>(i??(i=[])).push(e))),{notMatchedByConfig:i,notInProject:o,defaultProject:r.defaultProject&&Y_e(r.defaultProject.getConfigFilePath())}}getRenameInfo(e){const{file:t,project:n}=this.getFileAndProject(e),r=this.getPositionInFile(e,t),i=this.getPreferences(t);return n.getLanguageService().getRenameInfo(t,r,i)}getProjects(e,t,n){let r,i;if(e.projectFileName){const t=this.getProject(e.projectFileName);t&&(r=[t])}else{const o=t?this.projectService.getScriptInfoEnsuringProjectsUptoDate(e.file):this.projectService.getScriptInfo(e.file);if(!o)return n?G_e:(this.projectService.logErrorForScriptInfoNotFound(e.file),J_e.ThrowNoProject());t||this.projectService.ensureDefaultProjectForFile(o),r=o.containingProjects,i=this.projectService.getSymlinkedProjects(o)}return r=S(r,(e=>e.languageServiceEnabled&&!e.isOrphan())),n||r&&r.length||i?i?{projects:r,symLinkedProjects:i}:r:(this.projectService.logErrorForScriptInfoNotFound(e.file??e.projectFileName),J_e.ThrowNoProject())}getDefaultProject(e){if(e.projectFileName){const t=this.getProject(e.projectFileName);if(t)return t;if(!e.file)return J_e.ThrowNoProject()}return this.projectService.getScriptInfo(e.file).getDefaultProject()}getRenameLocations(e,t){const n=Y_e(e.file),r=this.getPositionInFile(e,n),i=this.getProjects(e),o=this.getDefaultProject(e),s=this.getPreferences(n),a=this.mapRenameInfo(o.getLanguageService().getRenameInfo(n,r,s),un.checkDefined(this.projectService.getScriptInfo(n)));if(!a.canRename)return t?{info:a,locs:[]}:[];const c=function(e,t,n,r,i,o,s){const a=cge(e,t,n,sge(t,n,!0),uge,((e,t)=>e.getLanguageService().findRenameLocations(t.fileName,t.pos,r,i,o)),((e,t)=>t(fge(e))));if(Ye(a))return a;const c=[],l=oge(s);return a.forEach(((e,t)=>{for(const n of e)l.has(n)||_ge(fge(n),t)||(c.push(n),l.add(n))})),c}(i,o,{fileName:e.file,pos:r},!!e.findInStrings,!!e.findInComments,s,this.host.useCaseSensitiveFileNames);return t?{info:a,locs:this.toSpanGroups(c)}:c}mapRenameInfo(e,t){if(e.canRename){const{canRename:n,fileToRename:r,displayName:i,fullDisplayName:o,kind:s,kindModifiers:a,triggerSpan:c}=e;return{canRename:n,fileToRename:r,displayName:i,fullDisplayName:o,kind:s,kindModifiers:a,triggerSpan:bge(c,t)}}return e}toSpanGroups(e){const t=new Map;for(const{fileName:n,textSpan:r,contextSpan:i,originalContextSpan:o,originalTextSpan:s,originalFileName:a,...c}of e){let e=t.get(n);e||t.set(n,e={file:n,locs:[]});const o=un.checkDefined(this.projectService.getScriptInfo(n));e.locs.push({...Cge(r,i,o),...c})}return Pe(t.values())}getReferences(e,t){const n=Y_e(e.file),r=this.getProjects(e),i=this.getPositionInFile(e,n),o=function(e,t,n,r,i){var o,s;const a=cge(e,t,n,sge(t,n,!1),uge,((e,t)=>(i.info(`Finding references to ${t.fileName} position ${t.pos} in project ${e.getProjectName()}`),e.getLanguageService().findReferences(t.fileName,t.pos))),((e,t)=>{t(fge(e.definition));for(const n of e.references)t(fge(n))}));if(Ye(a))return a;const c=a.get(t);if(void 0===(null==(s=null==(o=null==c?void 0:c[0])?void 0:o.references[0])?void 0:s.isDefinition))a.forEach((e=>{for(const t of e)for(const e of t.references)delete e.isDefinition}));else{const e=oge(r);for(const t of c)for(const n of t.references)if(n.isDefinition){e.add(n);break}const t=new Set;for(;;){let n=!1;if(a.forEach(((r,i)=>{t.has(i)||i.getLanguageService().updateIsDefinitionOfReferencedSymbols(r,e)&&(t.add(i),n=!0)})),!n)break}a.forEach(((e,n)=>{if(!t.has(n))for(const t of e)for(const e of t.references)e.isDefinition=!1}))}const l=[],u=oge(r);return a.forEach(((e,t)=>{for(const n of e){const e=_ge(fge(n.definition),t),i=void 0===e?n.definition:{...n.definition,textSpan:Va(e.pos,n.definition.textSpan.length),fileName:e.fileName,contextSpan:hge(n.definition,t)};let o=A(l,(e=>uX(e.definition,i,r)));o||(o={definition:i,references:[]},l.push(o));for(const e of n.references)u.has(e)||_ge(fge(e),t)||(u.add(e),o.references.push(e))}})),l.filter((e=>0!==e.references.length))}(r,this.getDefaultProject(e),{fileName:e.file,pos:i},this.host.useCaseSensitiveFileNames,this.logger);if(!t)return o;const s=this.getPreferences(n),a=this.getDefaultProject(e),c=a.getScriptInfoForNormalizedPath(n),l=a.getLanguageService().getQuickInfoAtPosition(n,i),u=l?V8(l.displayParts):"",d=l&&l.textSpan,p=d?c.positionToLineOffset(d.start).offset:0,f=d?c.getSnapshot().getText(d.start,Ia(d)):"",_=R(o,(e=>e.references.map((e=>Sge(this.projectService,e,s)))));return{refs:_,symbolName:f,symbolStartOffset:p,symbolDisplayString:u}}getFileReferences(e,t){const n=this.getProjects(e),r=Y_e(e.file),i=this.getPreferences(r),o={fileName:r,pos:0},s=cge(n,this.getDefaultProject(e),o,o,lge,(e=>(this.logger.info(`Finding references to file ${r} in project ${e.getProjectName()}`),e.getLanguageService().getFileReferences(r))));let a;if(Ye(s))a=s;else{a=[];const e=oge(this.host.useCaseSensitiveFileNames);s.forEach((t=>{for(const n of t)e.has(n)||(a.push(n),e.add(n))}))}if(!t)return a;const c=a.map((e=>Sge(this.projectService,e,i)));return{refs:c,symbolName:`"${e.file}"`}}openClientFile(e,t,n,r){this.projectService.openClientFileWithNormalizedPath(e,t,n,!1,r)}getPosition(e,t){return void 0!==e.position?e.position:t.lineOffsetToPosition(e.line,e.offset)}getPositionInFile(e,t){const n=this.projectService.getScriptInfoForNormalizedPath(t);return this.getPosition(e,n)}getFileAndProject(e){return this.getFileAndProjectWorker(e.file,e.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(e){const{file:t,project:n}=this.getFileAndProject(e);return{file:t,languageService:n.getLanguageService(!1)}}getFileAndProjectWorker(e,t){const n=Y_e(e);return{file:n,project:this.getProject(t)||this.projectService.ensureDefaultProjectForFile(n)}}getOutliningSpans(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=r.getOutliningSpans(n);if(t){const e=this.projectService.getScriptInfoForNormalizedPath(n);return i.map((t=>({textSpan:bge(t.textSpan,e),hintSpan:bge(t.hintSpan,e),bannerText:t.bannerText,autoCollapse:t.autoCollapse,kind:t.kind})))}return i}getTodoComments(e){const{file:t,project:n}=this.getFileAndProject(e);return n.getLanguageService().getTodoComments(t,e.descriptors)}getDocCommentTemplate(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.getDocCommentTemplateAtPosition(t,r,this.getPreferences(t),this.getFormatOptions(t))}getSpanOfEnclosingComment(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.onlyMultiLine,i=this.getPositionInFile(e,t);return n.getSpanOfEnclosingComment(t,i,r)}getIndentation(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t),i=e.options?che(e.options):this.getFormatOptions(t);return{position:r,indentation:n.getIndentationAtPosition(t,r,i)}}getBreakpointStatement(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.getBreakpointStatementAtPosition(t,r)}getNameOrDottedNameSpan(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.getNameOrDottedNameSpan(t,r,r)}isValidBraceCompletion(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.isValidBraceCompletionAtPosition(t,r,e.openingBrace.charCodeAt(0))}getQuickInfoWorker(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=r.getLanguageService().getQuickInfoAtPosition(n,this.getPosition(e,i));if(!o)return;const s=!!this.getPreferences(n).displayPartsForJSDoc;if(t){const e=V8(o.displayParts);return{kind:o.kind,kindModifiers:o.kindModifiers,start:i.positionToLineOffset(o.textSpan.start),end:i.positionToLineOffset(Ia(o.textSpan)),displayString:e,documentation:s?this.mapDisplayParts(o.documentation,r):V8(o.documentation),tags:this.mapJSDocTagInfo(o.tags,r,s)}}return s?o:{...o,tags:this.mapJSDocTagInfo(o.tags,r,!1)}}getFormattingEditsForRange(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.projectService.getScriptInfoForNormalizedPath(t),i=r.lineOffsetToPosition(e.line,e.offset),o=r.lineOffsetToPosition(e.endLine,e.endOffset),s=n.getFormattingEditsForRange(t,i,o,this.getFormatOptions(t));if(s)return s.map((e=>this.convertTextChangeToCodeEdit(e,r)))}getFormattingEditsForRangeFull(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.options?che(e.options):this.getFormatOptions(t);return n.getFormattingEditsForRange(t,e.position,e.endPosition,r)}getFormattingEditsForDocumentFull(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.options?che(e.options):this.getFormatOptions(t);return n.getFormattingEditsForDocument(t,r)}getFormattingEditsAfterKeystrokeFull(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.options?che(e.options):this.getFormatOptions(t);return n.getFormattingEditsAfterKeystroke(t,e.position,e.key,r)}getFormattingEditsAfterKeystroke(e){const{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.projectService.getScriptInfoForNormalizedPath(t),i=r.lineOffsetToPosition(e.line,e.offset),o=this.getFormatOptions(t),s=n.getFormattingEditsAfterKeystroke(t,i,e.key,o);if("\n"===e.key&&(!s||0===s.length||function(e,t){return e.every((e=>Ia(e.span)({start:r.positionToLineOffset(e.span.start),end:r.positionToLineOffset(Ia(e.span)),newText:e.newText?e.newText:""})))}getCompletions(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getPosition(e,i),s=r.getLanguageService().getCompletionsAtPosition(n,o,{..._he(this.getPreferences(n)),triggerCharacter:e.triggerCharacter,triggerKind:e.triggerKind,includeExternalModuleExports:e.includeExternalModuleExports,includeInsertTextCompletions:e.includeInsertTextCompletions},r.projectService.getFormatCodeOptions(n));if(void 0===s)return;if("completions-full"===t)return s;const a=e.prefix||"",c=q(s.entries,(e=>{if(s.isMemberCompletion||Wt(e.name.toLowerCase(),a.toLowerCase())){const t=e.replacementSpan?bge(e.replacementSpan,i):void 0;return{...e,replacementSpan:t,hasAction:e.hasAction||void 0,symbol:void 0}}}));if("completions"===t)return s.metadata&&(c.metadata=s.metadata),c;return{...s,optionalReplacementSpan:s.optionalReplacementSpan&&bge(s.optionalReplacementSpan,i),entries:c}}getCompletionEntryDetails(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getPosition(e,i),s=r.projectService.getFormatCodeOptions(n),a=!!this.getPreferences(n).displayPartsForJSDoc,c=q(e.entryNames,(e=>{const{name:t,source:i,data:a}="string"==typeof e?{name:e,source:void 0,data:void 0}:e;return r.getLanguageService().getCompletionEntryDetails(n,o,t,s,i,this.getPreferences(n),a?tt(a,kge):void 0)}));return t?a?c:c.map((e=>({...e,tags:this.mapJSDocTagInfo(e.tags,r,!1)}))):c.map((e=>({...e,codeActions:w(e.codeActions,(e=>this.mapCodeAction(e))),documentation:this.mapDisplayParts(e.documentation,r),tags:this.mapJSDocTagInfo(e.tags,r,a)})))}getCompileOnSaveAffectedFileList(e){const t=this.getProjects(e,!0,!0),n=this.projectService.getScriptInfo(e.file);return n?function(e,t,n,r){const i=P(Ye(n)?n:n.projects,(t=>r(t,e)));return!Ye(n)&&n.symLinkedProjects&&n.symLinkedProjects.forEach(((e,n)=>{const o=t(n);i.push(...R(e,(e=>r(e,o))))})),Y(i,_t)}(n,(e=>this.projectService.getScriptInfoForPath(e)),t,((e,t)=>{if(!e.compileOnSaveEnabled||!e.languageServiceEnabled||e.isOrphan())return;const n=e.getCompilationSettings();return n.noEmit||KP(t.fileName)&&!function(e){return IC(e)||!!e.emitDecoratorMetadata}(n)?void 0:{projectFileName:e.getProjectName(),fileNames:e.getCompileOnSaveAffectedFileList(t),projectUsesOutFile:!!n.outFile}})):G_e}emitFile(e){const{file:t,project:n}=this.getFileAndProject(e);if(n||J_e.ThrowNoProject(),!n.languageServiceEnabled)return!!e.richResponse&&{emitSkipped:!0,diagnostics:[]};const r=n.getScriptInfo(t),{emitSkipped:i,diagnostics:o}=n.emitFile(r,((e,t,n)=>this.host.writeFile(e,t,n)));return e.richResponse?{emitSkipped:i,diagnostics:e.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(o):o.map((e=>ege(e,!0)))}:!i}getSignatureHelpItems(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getPosition(e,i),s=r.getLanguageService().getSignatureHelpItems(n,o,e),a=!!this.getPreferences(n).displayPartsForJSDoc;if(s&&t){const e=s.applicableSpan;return{...s,applicableSpan:{start:i.positionToLineOffset(e.start),end:i.positionToLineOffset(e.start+e.length)},items:this.mapSignatureHelpItems(s.items,r,a)}}return a||!s?s:{...s,items:s.items.map((e=>({...e,tags:this.mapJSDocTagInfo(e.tags,r,!1)})))}}toPendingErrorCheck(e){const t=Y_e(e),n=this.projectService.tryGetDefaultProjectForFile(t);return n&&{fileName:t,project:n}}getDiagnostics(e,t,n){this.suppressDiagnosticEvents||n.length>0&&this.updateErrorCheck(e,n,t)}change(e){const t=this.projectService.getScriptInfo(e.file);un.assert(!!t),t.textStorage.switchToScriptVersionCache();const n=t.lineOffsetToPosition(e.line,e.offset),r=t.lineOffsetToPosition(e.endLine,e.endOffset);n>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(t,M({span:{start:n,length:r-n},newText:e.insertString})))}reload(e){const t=Y_e(e.file),n=void 0===e.tmpfile?void 0:Y_e(e.tmpfile),r=this.projectService.getScriptInfoForNormalizedPath(t);r&&(this.changeSeq++,r.reloadFromFile(n))}saveToTmp(e,t){const n=this.projectService.getScriptInfo(e);n&&n.saveTo(t)}closeClientFile(e){if(!e)return;const t=Mo(e);this.projectService.closeClientFile(t)}mapLocationNavigationBarItems(e,t){return w(e,(e=>({text:e.text,kind:e.kind,kindModifiers:e.kindModifiers,spans:e.spans.map((e=>bge(e,t))),childItems:this.mapLocationNavigationBarItems(e.childItems,t),indent:e.indent})))}getNavigationBarItems(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=r.getNavigationBarItems(n);return i?t?this.mapLocationNavigationBarItems(i,this.projectService.getScriptInfoForNormalizedPath(n)):i:void 0}toLocationNavigationTree(e,t){return{text:e.text,kind:e.kind,kindModifiers:e.kindModifiers,spans:e.spans.map((e=>bge(e,t))),nameSpan:e.nameSpan&&bge(e.nameSpan,t),childItems:w(e.childItems,(e=>this.toLocationNavigationTree(e,t)))}}getNavigationTree(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=r.getNavigationTree(n);return i?t?this.toLocationNavigationTree(i,this.projectService.getScriptInfoForNormalizedPath(n)):i:void 0}getNavigateToItems(e,t){const n=this.getFullNavigateToItems(e);return R(n,t?({project:e,navigateToItems:t})=>t.map((t=>{const n=e.getScriptInfo(t.fileName),r={name:t.name,kind:t.kind,kindModifiers:t.kindModifiers,isCaseSensitive:t.isCaseSensitive,matchKind:t.matchKind,file:t.fileName,start:n.positionToLineOffset(t.textSpan.start),end:n.positionToLineOffset(Ia(t.textSpan))};return t.kindModifiers&&""!==t.kindModifiers&&(r.kindModifiers=t.kindModifiers),t.containerName&&t.containerName.length>0&&(r.containerName=t.containerName),t.containerKind&&t.containerKind.length>0&&(r.containerKind=t.containerKind),r})):({navigateToItems:e})=>e)}getFullNavigateToItems(e){const{currentFileOnly:t,searchValue:n,maxResultCount:r,projectFileName:i}=e;if(t){un.assertIsDefined(e.file);const{file:t,project:i}=this.getFileAndProject(e);return[{project:i,navigateToItems:i.getLanguageService().getNavigateToItems(n,r,t)}]}const o=this.getHostPreferences(),s=[],a=new Map;if(e.file||i){age(this.getProjects(e),void 0,(e=>c(e)))}else this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject((e=>c(e)));return s;function c(e){const t=S(e.getLanguageService().getNavigateToItems(n,r,void 0,e.isNonTsProject(),o.excludeLibrarySymbolsInNavTo),(t=>function(e){const t=e.name;if(!a.has(t))return a.set(t,[e]),!0;const n=a.get(t);for(const t of n)if(l(t,e))return!1;return n.push(e),!0}(t)&&!_ge(fge(t),e)));t.length&&s.push({project:e,navigateToItems:t})}function l(e,t){return e===t||!(!e||!t)&&(e.containerKind===t.containerKind&&e.containerName===t.containerName&&e.fileName===t.fileName&&e.isCaseSensitive===t.isCaseSensitive&&e.kind===t.kind&&e.kindModifiers===t.kindModifiers&&e.matchKind===t.matchKind&&e.name===t.name&&e.textSpan.start===t.textSpan.start&&e.textSpan.length===t.textSpan.length)}}getSupportedCodeFixes(e){if(!e)return G8();if(e.file){const{file:t,project:n}=this.getFileAndProject(e);return n.getLanguageService().getSupportedCodeFixes(t)}const t=this.getProject(e.projectFileName);return t||J_e.ThrowNoProject(),t.getLanguageService().getSupportedCodeFixes()}isLocation(e){return void 0!==e.line}extractPositionOrRange(e,t){let n,r;var i;return this.isLocation(e)?n=void 0!==(i=e).position?i.position:t.lineOffsetToPosition(i.line,i.offset):r=this.getRange(e,t),un.checkDefined(void 0===n?r:n)}getRange(e,t){const{startPosition:n,endPosition:r}=this.getStartAndEndPosition(e,t);return{pos:n,end:r}}getApplicableRefactors(e){const{file:t,project:n}=this.getFileAndProject(e),r=n.getScriptInfoForNormalizedPath(t);return n.getLanguageService().getApplicableRefactors(t,this.extractPositionOrRange(e,r),this.getPreferences(t),e.triggerReason,e.kind,e.includeInteractiveActions).map((e=>({...e,actions:e.actions.map((e=>({...e,range:e.range?{start:Zhe({line:e.range.start.line,character:e.range.start.offset}),end:Zhe({line:e.range.end.line,character:e.range.end.offset})}:void 0})))})))}getEditsForRefactor(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=r.getScriptInfoForNormalizedPath(n),o=r.getLanguageService().getEditsForRefactor(n,this.getFormatOptions(n),this.extractPositionOrRange(e,i),e.refactor,e.action,this.getPreferences(n),e.interactiveRefactorArguments);if(void 0===o)return{edits:[]};if(t){const{renameFilename:e,renameLocation:t,edits:n}=o;let i;if(void 0!==e&&void 0!==t){i=xge(qK(r.getScriptInfoForNormalizedPath(Y_e(e)).getSnapshot()),e,t,n)}return{renameLocation:i,renameFilename:e,edits:this.mapTextChangesToCodeEdits(n),notApplicableReason:o.notApplicableReason}}return o}getMoveToRefactoringFileSuggestions(e){const{file:t,project:n}=this.getFileAndProject(e),r=n.getScriptInfoForNormalizedPath(t);return n.getLanguageService().getMoveToRefactoringFileSuggestions(t,this.extractPositionOrRange(e,r),this.getPreferences(t))}preparePasteEdits(e){const{file:t,project:n}=this.getFileAndProject(e);return n.getLanguageService().preparePasteEditsForFile(t,e.copiedTextSpan.map((e=>this.getRange({file:t,startLine:e.start.line,startOffset:e.start.offset,endLine:e.end.line,endOffset:e.end.offset},this.projectService.getScriptInfoForNormalizedPath(t)))))}getPasteEdits(e){const{file:t,project:n}=this.getFileAndProject(e);if(vme(t))return;const r=e.copiedFrom?{file:e.copiedFrom.file,range:e.copiedFrom.spans.map((t=>this.getRange({file:e.copiedFrom.file,startLine:t.start.line,startOffset:t.start.offset,endLine:t.end.line,endOffset:t.end.offset},n.getScriptInfoForNormalizedPath(Y_e(e.copiedFrom.file)))))}:void 0,i=n.getLanguageService().getPasteEdits({targetFile:t,pastedText:e.pastedText,pasteLocations:e.pasteLocations.map((e=>this.getRange({file:t,startLine:e.start.line,startOffset:e.start.offset,endLine:e.end.line,endOffset:e.end.offset},n.getScriptInfoForNormalizedPath(t)))),copiedFrom:r,preferences:this.getPreferences(t)},this.getFormatOptions(t));return i&&this.mapPasteEditsAction(i)}organizeImports(e,t){un.assert("file"===e.scope.type);const{file:n,project:r}=this.getFileAndProject(e.scope.args),i=r.getLanguageService().organizeImports({fileName:n,mode:e.mode??(e.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(n),this.getPreferences(n));return t?this.mapTextChangesToCodeEdits(i):i}getEditsForFileRename(e,t){const n=Y_e(e.oldFilePath),r=Y_e(e.newFilePath),i=this.getHostFormatOptions(),o=this.getHostPreferences(),s=new Set,a=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject((e=>{const t=e.getLanguageService().getEditsForFileRename(n,r,i,o),c=[];for(const e of t)s.has(e.fileName)||(a.push(e),c.push(e.fileName));for(const e of c)s.add(e)})),t?a.map((e=>this.mapTextChangeToCodeEdit(e))):a}getCodeFixes(e,t){const{file:n,project:r}=this.getFileAndProject(e),i=r.getScriptInfoForNormalizedPath(n),{startPosition:o,endPosition:s}=this.getStartAndEndPosition(e,i);let a;try{a=r.getLanguageService().getCodeFixesAtPosition(n,o,s,e.errorCodes,this.getFormatOptions(n),this.getPreferences(n))}catch(t){const i=r.getLanguageService(),a=[...i.getSyntacticDiagnostics(n),...i.getSemanticDiagnostics(n),...i.getSuggestionDiagnostics(n)].map((e=>La(o,s-o,e.start,e.length)&&e.code)),c=e.errorCodes.find((e=>!a.includes(e)));throw void 0!==c&&(t.message=`BADCLIENT: Bad error code, ${c} not found in range ${o}..${s} (found: ${a.join(", ")}); could have caused this error:\n${t.message}`),t}return t?a.map((e=>this.mapCodeFixAction(e))):a}getCombinedCodeFix({scope:e,fixId:t},n){un.assert("file"===e.type);const{file:r,project:i}=this.getFileAndProject(e.args),o=i.getLanguageService().getCombinedCodeFix({type:"file",fileName:r},t,this.getFormatOptions(r),this.getPreferences(r));return n?{changes:this.mapTextChangesToCodeEdits(o.changes),commands:o.commands}:o}applyCodeActionCommand(e){const t=e.command;for(const e of Ke(t)){const{file:t,project:n}=this.getFileAndProject(e);n.getLanguageService().applyCodeActionCommand(e,this.getFormatOptions(t)).then((e=>{}),(e=>{}))}return{}}getStartAndEndPosition(e,t){let n,r;return void 0!==e.startPosition?n=e.startPosition:(n=t.lineOffsetToPosition(e.startLine,e.startOffset),e.startPosition=n),void 0!==e.endPosition?r=e.endPosition:(r=t.lineOffsetToPosition(e.endLine,e.endOffset),e.endPosition=r),{startPosition:n,endPosition:r}}mapCodeAction({description:e,changes:t,commands:n}){return{description:e,changes:this.mapTextChangesToCodeEdits(t),commands:n}}mapCodeFixAction({fixName:e,description:t,changes:n,commands:r,fixId:i,fixAllDescription:o}){return{fixName:e,description:t,changes:this.mapTextChangesToCodeEdits(n),commands:r,fixId:i,fixAllDescription:o}}mapPasteEditsAction({edits:e,fixId:t}){return{edits:this.mapTextChangesToCodeEdits(e),fixId:t}}mapTextChangesToCodeEdits(e){return e.map((e=>this.mapTextChangeToCodeEdit(e)))}mapTextChangeToCodeEdit(e){const t=this.projectService.getScriptInfoOrConfig(e.fileName);return!!e.isNewFile==!!t&&(t||this.projectService.logErrorForScriptInfoNotFound(e.fileName),un.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!e.isNewFile,hasScriptInfo:!!t}))),t?{fileName:e.fileName,textChanges:e.textChanges.map((e=>function(e,t){return{start:Ege(t,e.span.start),end:Ege(t,Ia(e.span)),newText:e.newText}}(e,t)))}:function(e){un.assert(1===e.textChanges.length);const t=me(e.textChanges);return un.assert(0===t.span.start&&0===t.span.length),{fileName:e.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:t.newText}]}}(e)}convertTextChangeToCodeEdit(e,t){return{start:t.positionToLineOffset(e.span.start),end:t.positionToLineOffset(e.span.start+e.span.length),newText:e.newText?e.newText:""}}getBraceMatching(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getPosition(e,i),s=r.getBraceMatchingAtPosition(n,o);return s?t?s.map((e=>bge(e,i))):s:void 0}getDiagnosticsForProject(e,t,n){if(this.suppressDiagnosticEvents)return;const{fileNames:r,languageServiceDisabled:i}=this.getProjectInfoWorker(n,void 0,!0,void 0,!0);if(i)return;const o=r.filter((e=>!e.includes("lib.d.ts")));if(0===o.length)return;const s=[],a=[],c=[],l=[],u=Y_e(n),d=this.projectService.ensureDefaultProjectForFile(u);for(const e of o)if(this.getCanonicalFileName(e)===this.getCanonicalFileName(n))s.push(e);else{this.projectService.getScriptInfo(e).isScriptOpen()?a.push(e):KP(e)?l.push(e):c.push(e)}const p=[...s,...a,...c,...l].map((e=>({fileName:e,project:d})));this.updateErrorCheck(e,p,t,!1)}configurePlugin(e){this.projectService.configurePlugin(e)}getSmartSelectionRange(e,t){const{locations:n}=e,{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(e),o=un.checkDefined(this.projectService.getScriptInfo(r));return w(n,(e=>{const n=this.getPosition(e,o),s=i.getSmartSelectionRange(r,n);return t?this.mapSelectionRange(s,o):s}))}toggleLineComment(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfo(n),o=this.getRange(e,i),s=r.toggleLineComment(n,o);if(t){const e=this.projectService.getScriptInfoForNormalizedPath(n);return s.map((t=>this.convertTextChangeToCodeEdit(t,e)))}return s}toggleMultilineComment(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getRange(e,i),s=r.toggleMultilineComment(n,o);if(t){const e=this.projectService.getScriptInfoForNormalizedPath(n);return s.map((t=>this.convertTextChangeToCodeEdit(t,e)))}return s}commentSelection(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getRange(e,i),s=r.commentSelection(n,o);if(t){const e=this.projectService.getScriptInfoForNormalizedPath(n);return s.map((t=>this.convertTextChangeToCodeEdit(t,e)))}return s}uncommentSelection(e,t){const{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),o=this.getRange(e,i),s=r.uncommentSelection(n,o);if(t){const e=this.projectService.getScriptInfoForNormalizedPath(n);return s.map((t=>this.convertTextChangeToCodeEdit(t,e)))}return s}mapSelectionRange(e,t){const n={textSpan:bge(e.textSpan,t)};return e.parent&&(n.parent=this.mapSelectionRange(e.parent,t)),n}getScriptInfoFromProjectService(e){const t=Y_e(e),n=this.projectService.getScriptInfoForNormalizedPath(t);return n||(this.projectService.logErrorForScriptInfoNotFound(t),J_e.ThrowNoProject())}toProtocolCallHierarchyItem(e){const t=this.getScriptInfoFromProjectService(e.file);return{name:e.name,kind:e.kind,kindModifiers:e.kindModifiers,file:e.file,containerName:e.containerName,span:bge(e.span,t),selectionSpan:bge(e.selectionSpan,t)}}toProtocolCallHierarchyIncomingCall(e){const t=this.getScriptInfoFromProjectService(e.from.file);return{from:this.toProtocolCallHierarchyItem(e.from),fromSpans:e.fromSpans.map((e=>bge(e,t)))}}toProtocolCallHierarchyOutgoingCall(e,t){return{to:this.toProtocolCallHierarchyItem(e.to),fromSpans:e.fromSpans.map((e=>bge(e,t)))}}prepareCallHierarchy(e){const{file:t,project:n}=this.getFileAndProject(e),r=this.projectService.getScriptInfoForNormalizedPath(t);if(r){const i=this.getPosition(e,r),o=n.getLanguageService().prepareCallHierarchy(t,i);return o&&JZ(o,(e=>this.toProtocolCallHierarchyItem(e)))}}provideCallHierarchyIncomingCalls(e){const{file:t,project:n}=this.getFileAndProject(e),r=this.getScriptInfoFromProjectService(t);return n.getLanguageService().provideCallHierarchyIncomingCalls(t,this.getPosition(e,r)).map((e=>this.toProtocolCallHierarchyIncomingCall(e)))}provideCallHierarchyOutgoingCalls(e){const{file:t,project:n}=this.getFileAndProject(e),r=this.getScriptInfoFromProjectService(t);return n.getLanguageService().provideCallHierarchyOutgoingCalls(t,this.getPosition(e,r)).map((e=>this.toProtocolCallHierarchyOutgoingCall(e,r)))}getCanonicalFileName(e){return Mo(this.host.useCaseSensitiveFileNames?e:lt(e))}exit(){}notRequired(e){return e&&this.doOutput(void 0,e.command,e.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(e){return{response:e,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(e,t){if(this.handlers.has(e))throw new Error(`Protocol handler already exists for command "${e}"`);this.handlers.set(e,t)}setCurrentRequest(e){un.assert(void 0===this.currentRequestId),this.currentRequestId=e,this.cancellationToken.setRequest(e)}resetCurrentRequest(e){un.assert(this.currentRequestId===e),this.currentRequestId=void 0,this.cancellationToken.resetRequest(e)}executeWithRequestId(e,t,n){const r=this.performanceData;try{return this.performanceData=n,this.setCurrentRequest(e),t()}finally{this.resetCurrentRequest(e),this.performanceData=r}}executeCommand(e){const t=this.handlers.get(e.command);if(t){const n=this.executeWithRequestId(e.seq,(()=>t(e)),void 0);return this.projectService.enableRequestedPlugins(),n}return this.logger.msg(`Unrecognized JSON command:${tz(e)}`,"Err"),this.doOutput(void 0,"unknown",e.seq,!1,void 0,`Unrecognized JSON command: ${e.command}`),{responseRequired:!1}}onMessage(e){var t,n,r,i,o,s,a;let c;this.gcTimer.scheduleCollect();const l=this.performanceData;let u,d;this.logger.hasLevel(2)&&(c=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${ez(this.toStringMessage(e))}`));try{u=this.parseMessage(e),d=u.arguments&&u.arguments.file?u.arguments:void 0,null==(t=Hn)||t.instant(Hn.Phase.Session,"request",{seq:u.seq,command:u.command}),null==(n=Hn)||n.push(Hn.Phase.Session,"executeCommand",{seq:u.seq,command:u.command},!0);const{response:o,responseRequired:s,performanceData:a}=this.executeCommand(u);if(null==(r=Hn)||r.pop(),this.logger.hasLevel(2)){const e=(p=this.hrtime(c),(1e9*p[0]+p[1])/1e6).toFixed(4);s?this.logger.perftrc(`${u.seq}::${u.command}: elapsed time (in milliseconds) ${e}`):this.logger.perftrc(`${u.seq}::${u.command}: async elapsed time (in milliseconds) ${e}`)}null==(i=Hn)||i.instant(Hn.Phase.Session,"response",{seq:u.seq,command:u.command,success:!!o}),o?this.doOutput(o,u.command,u.seq,!0,a):s&&this.doOutput(void 0,u.command,u.seq,!1,a,"No content available.")}catch(t){if(null==(o=Hn)||o.popAll(),t instanceof xr)return null==(s=Hn)||s.instant(Hn.Phase.Session,"commandCanceled",{seq:null==u?void 0:u.seq,command:null==u?void 0:u.command}),void this.doOutput({canceled:!0},u.command,u.seq,!0,this.performanceData);this.logErrorWorker(t,this.toStringMessage(e),d),null==(a=Hn)||a.instant(Hn.Phase.Session,"commandError",{seq:null==u?void 0:u.seq,command:null==u?void 0:u.command,message:t.message}),this.doOutput(void 0,u?u.command:"unknown",u?u.seq:0,!1,this.performanceData,"Error processing request. "+t.message+"\n"+t.stack)}finally{this.performanceData=l}var p}parseMessage(e){return JSON.parse(e)}toStringMessage(e){return e}getFormatOptions(e){return this.projectService.getFormatCodeOptions(e)}getPreferences(e){return this.projectService.getPreferences(e)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function vge(e){const t=e.diagnosticsDuration&&Pe(e.diagnosticsDuration,(([e,t])=>({...t,file:e})));return{...e,diagnosticsDuration:t}}function bge(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(Ia(e))}}function Cge(e,t,n){const r=bge(e,n),i=t&&bge(t,n);return i?{...r,contextStart:i.start,contextEnd:i.end}:r}function Ege(e,t){return Vhe(e)?{line:(n=e.getLineAndCharacterOfPosition(t)).line+1,offset:n.character+1}:e.positionToLineOffset(t);var n}function xge(e,t,n,r){const i=function(e,t,n){for(const{fileName:r,textChanges:i}of n)if(r===t)for(let t=i.length-1;t>=0;t--){const{newText:n,span:{start:r,length:o}}=i[t];e=e.slice(0,r)+n+e.slice(r+o)}return e}(e,t,r),{line:o,character:s}=$s(Ns(i),n);return{line:o+1,offset:s+1}}function Sge(e,{fileName:t,textSpan:n,contextSpan:r,isWriteAccess:i,isDefinition:o},{disableLineTextInReferences:s}){const a=un.checkDefined(e.getScriptInfo(t)),c=Cge(n,r,a),l=s?void 0:function(e,t){const n=e.lineToTextSpan(t.start.line-1);return e.getSnapshot().getText(n.start,Ia(n)).replace(/\r|\n/g,"")}(a,c);return{file:t,...c,lineText:l,isWriteAccess:i,isDefinition:o}}function kge(e){return void 0===e||e&&"object"==typeof e&&"string"==typeof e.exportName&&(void 0===e.fileName||"string"==typeof e.fileName)&&(void 0===e.ambientModuleName||"string"==typeof e.ambientModuleName&&(void 0===e.isPackageJsonImport||"boolean"==typeof e.isPackageJsonImport))}var Dge=(e=>(e[e.PreStart=0]="PreStart",e[e.Start=1]="Start",e[e.Entire=2]="Entire",e[e.Mid=3]="Mid",e[e.End=4]="End",e[e.PostEnd=5]="PostEnd",e))(Dge||{}),wge=class{constructor(){this.goSubtree=!0,this.lineIndex=new Pge,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new Nge,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){t&&(this.trailingText=""),e=e?this.initialText+e+this.trailingText:this.initialText+this.trailingText;const n=Pge.linesFromText(e).lines;let r,i;n.length>1&&""===n[n.length-1]&&n.pop();for(let e=this.endBranch.length-1;e>=0;e--)this.endBranch[e].updateCounts(),0===this.endBranch[e].charCount()&&(i=this.endBranch[e],r=e>0?this.endBranch[e-1]:this.branchNode);i&&r.remove(i);const o=this.startPath[this.startPath.length-1];if(n.length>0)if(o.text=n[0],n.length>1){let e=new Array(n.length-1),t=o;for(let t=1;t=0;){const n=this.startPath[r];e=n.insertAt(t,e),r--,t=n}let i=e.length;for(;i>0;){const t=new Nge;t.add(this.lineIndex.root),e=t.insertAt(this.lineIndex.root,e),i=e.length,this.lineIndex.root=t}this.lineIndex.root.updateCounts()}else for(let e=this.startPath.length-2;e>=0;e--)this.startPath[e].updateCounts();else{this.startPath[this.startPath.length-2].remove(o);for(let e=this.startPath.length-2;e>=0;e--)this.startPath[e].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,r,i){const o=this.stack[this.stack.length-1];let s;function a(e){return e.isLeaf()?new Bge(""):new Nge}switch(2===this.state&&1===i&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n),i){case 0:this.goSubtree=!1,4!==this.state&&o.add(n);break;case 1:4===this.state?this.goSubtree=!1:(s=a(n),o.add(s),this.startPath.push(s));break;case 2:4!==this.state?(s=a(n),o.add(s),this.startPath.push(s)):n.isLeaf()||(s=a(n),o.add(s),this.endBranch.push(s));break;case 3:this.goSubtree=!1;break;case 4:4!==this.state?this.goSubtree=!1:n.isLeaf()||(s=a(n),o.add(s),this.endBranch.push(s));break;case 5:this.goSubtree=!1,1!==this.state&&o.add(n)}this.goSubtree&&this.stack.push(s)}leaf(e,t,n){1===this.state?this.initialText=n.text.substring(0,e):2===this.state?(this.initialText=n.text.substring(0,e),this.trailingText=n.text.substring(e+t)):this.trailingText=n.text.substring(e+t)}},Ige=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return za(Va(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},Tge=class e{constructor(){this.changes=[],this.versions=new Array(e.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(tthis.currentVersion))return t%e.maxVersions}currentVersionToIndex(){return this.currentVersion%e.maxVersions}edit(t,n,r){this.changes.push(new Ige(t,n,r)),(this.changes.length>e.changeNumberThreshold||n>e.changeLengthThreshold||r&&r.length>e.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(const e of this.changes)n=n.edit(e.pos,e.deleteLen,e.insertedText);t=new Rge(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=e.maxVersions&&(this.minVersion=this.currentVersion-e.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(e){return this._getSnapshot().index.lineNumberToInfo(e)}lineOffsetToPosition(e,t){return this._getSnapshot().index.absolutePositionOfStartOfLine(e)+(t-1)}positionToLineOffset(e){return this._getSnapshot().index.positionToLineOffset(e)}lineToTextSpan(e){const t=this._getSnapshot().index,{lineText:n,absolutePosition:r}=t.lineNumberToInfo(e+1);return Va(r,void 0!==n?n.length:t.absolutePositionOfStartOfLine(e+2)-r)}getTextChangesBetweenVersions(e,t){if(!(e=this.minVersion){const n=[];for(let r=e+1;r<=t;r++){const e=this.versions[this.versionToIndex(r)];for(const t of e.changesSincePreviousVersion)n.push(t.getTextChangeRange())}return Ka(n)}}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){const n=new e,r=new Rge(0,n,new Pge);n.versions[n.currentVersion]=r;const i=Pge.linesFromText(t);return r.index.load(i.lines),n}};Tge.changeNumberThreshold=8,Tge.changeLengthThreshold=256,Tge.maxVersions=8;var Fge=Tge,Rge=class e{constructor(e,t,n,r=G_e){this.version=e,this.cache=t,this.index=n,this.changesSincePreviousVersion=r}getText(e,t){return this.index.getText(e,t-e)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof e&&this.cache===t.cache)return this.version<=t.version?Ya:this.cache.getTextChangesBetweenVersions(t.version,this.version)}},Pge=class e{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(e){return this.lineNumberToInfo(e).absolutePosition}positionToLineOffset(e){const{oneBasedLine:t,zeroBasedColumn:n}=this.root.charOffsetToLineInfo(1,e);return{line:t,offset:n+1}}positionToColumnAndLineText(e){return this.root.charOffsetToLineInfo(1,e)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(e){if(e<=this.getLineCount()){const{position:t,leaf:n}=this.root.lineNumberToInfo(e,0);return{absolutePosition:t,lineText:n&&n.text}}return{absolutePosition:this.root.charCount(),lineText:void 0}}load(t){if(t.length>0){const n=[];for(let e=0;e0&&e{n=n.concat(r.text.substring(e,e+t))}}),n}getLength(){return this.root.charCount()}every(e,t,n){n||(n=this.root.charCount());const r={goSubtree:!0,done:!1,leaf(t,n,r){e(r,t,n)||(this.done=!0)}};return this.walk(t,n-t,r),!r.done}edit(t,n,r){if(0===this.root.charCount())return un.assert(0===n),void 0!==r?(this.load(e.linesFromText(r).lines),this):void 0;{let e;if(this.checkEdits){const i=this.getText(0,this.root.charCount());e=i.slice(0,t)+r+i.slice(t+n)}const i=new wge;let o=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;const e=this.getText(t,1);r=r?e+r:e,n=0,o=!0}else if(n>0){const e=t+n,{zeroBasedColumn:i,lineText:o}=this.positionToColumnAndLineText(e);0===i&&(n+=o.length,r=r?r+o:o)}if(this.root.walk(t,n,i),i.insertLines(r,o),this.checkEdits){const t=i.lineIndex.getText(0,i.lineIndex.getLength());un.assert(e===t,"buffer edit mismatch")}return i.lineIndex}}static buildTreeFromBottom(e){if(e.length<4)return new Nge(e);const t=new Array(Math.ceil(e.length/4));let n=0;for(let r=0;r0?n[r]=i:n.pop(),{lines:n,lineMap:t}}},Nge=class e{constructor(e=[]){this.children=e,this.totalChars=0,this.totalLines=0,e.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const e of this.children)this.totalChars+=e.charCount(),this.totalLines+=e.lineCount()}execWalk(e,t,n,r,i){return n.pre&&n.pre(e,t,this.children[r],this,i),n.goSubtree?(this.children[r].walk(e,t,n),n.post&&n.post(e,t,this.children[r],this,i)):n.goSubtree=!0,n.done}skipChild(e,t,n,r,i){r.pre&&!r.done&&(r.pre(e,t,this.children[n],this,i),r.goSubtree=!0)}walk(e,t,n){if(0===this.children.length)return;let r=0,i=this.children[r].charCount(),o=e;for(;o>=i;)this.skipChild(o,t,r,n,0),o-=i,r++,i=this.children[r].charCount();if(o+t<=i){if(this.execWalk(o,t,n,r,2))return}else{if(this.execWalk(o,i-o,n,r,1))return;let e=t-(i-o);r++;for(i=this.children[r].charCount();e>i;){if(this.execWalk(0,i,n,r,3))return;e-=i,r++,i=this.children[r].charCount()}if(e>0&&this.execWalk(0,e,n,r,4))return}if(n.pre){const e=this.children.length;if(rt)return n.isLeaf()?{oneBasedLine:e,zeroBasedColumn:t,lineText:n.text}:n.charOffsetToLineInfo(e,t);t-=n.charCount(),e+=n.lineCount()}const n=this.lineCount();if(0===n)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};return{oneBasedLine:n,zeroBasedColumn:un.checkDefined(this.lineNumberToInfo(n,0).leaf).charCount(),lineText:void 0}}lineNumberToInfo(e,t){for(const n of this.children){const r=n.lineCount();if(r>=e)return n.isLeaf()?{position:t,leaf:n}:n.lineNumberToInfo(e,t);e-=r,t+=n.charCount()}return{position:t,leaf:void 0}}splitAfter(t){let n;const r=this.children.length,i=++t;if(t=0;e--)0===s[e].children.length&&s.pop()}t&&s.push(t),this.updateCounts();for(let e=0;e{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:e,reject:t})}));return this.installer.send(t),n}attach(e){this.projectService=e,this.installer=this.createInstallerProcess()}onProjectClosed(e){this.installer.send({projectName:e.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(e,t,n){const r=z_e(e,t,n);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${tz(r)}`),this.activeRequestCount0?this.activeRequestCount--:un.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){const e=this.requestQueue.dequeue();if(this.requestMap.get(e.projectName)===e){this.requestMap.delete(e.projectName),this.scheduleRequest(e);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${e.projectName}`)}this.projectService.updateTypingsForProject(e),this.event(e,"setTypings");break;case zW:this.projectService.watchTypingLocations(e)}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout((()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${tz(t)}`),this.installer.send(t)}),e.requestDelayMillis,`${t.projectName}::${t.kind}`)}};Oge.requestDelayMillis=100;var qge=Oge,$ge={};n($ge,{ActionInvalidate:()=>UW,ActionPackageInstalled:()=>JW,ActionSet:()=>jW,ActionWatchTypingLocations:()=>zW,Arguments:()=>LW,AutoImportProviderProject:()=>Bme,AuxiliaryProject:()=>Pme,CharRangeSection:()=>Dge,CloseFileWatcherEvent:()=>the,CommandNames:()=>tge,ConfigFileDiagEvent:()=>zme,ConfiguredProject:()=>Ome,ConfiguredProjectLoadKind:()=>Ehe,CreateDirectoryWatcherEvent:()=>ehe,CreateFileWatcherEvent:()=>Zme,Errors:()=>J_e,EventBeginInstallTypes:()=>HW,EventEndInstallTypes:()=>GW,EventInitializationFailed:()=>WW,EventTypesRegistry:()=>VW,ExternalProject:()=>qme,GcTimer:()=>sme,InferredProject:()=>Rme,LargeFileReferencedEvent:()=>Wme,LineIndex:()=>Pge,LineLeaf:()=>Bge,LineNode:()=>Nge,LogLevel:()=>H_e,Msg:()=>W_e,OpenFileInfoTelemetryEvent:()=>Xme,Project:()=>Fme,ProjectInfoTelemetryEvent:()=>Kme,ProjectKind:()=>xme,ProjectLanguageServiceStateEvent:()=>Yme,ProjectLoadingFinishEvent:()=>Gme,ProjectLoadingStartEvent:()=>Hme,ProjectService:()=>Jhe,ProjectsUpdatedInBackgroundEvent:()=>Vme,ScriptInfo:()=>bme,ScriptVersionCache:()=>Fge,Session:()=>yge,TextStorage:()=>yme,ThrottledOperations:()=>ome,TypingsInstallerAdapter:()=>qge,allFilesAreJsOrDts:()=>Dme,allRootFilesAreJsOrDts:()=>kme,asNormalizedPath:()=>X_e,convertCompilerOptions:()=>lhe,convertFormatOptions:()=>che,convertScriptKindName:()=>fhe,convertTypeAcquisition:()=>dhe,convertUserPreferences:()=>_he,convertWatchOptions:()=>uhe,countEachFileTypes:()=>Sme,createInstallTypingsRequest:()=>z_e,createModuleSpecifierCache:()=>Ghe,createNormalizedPathMap:()=>Z_e,createPackageJsonCache:()=>Whe,createSortedArray:()=>ime,emptyArray:()=>G_e,findArgument:()=>KW,formatDiagnosticToProtocol:()=>ege,formatMessage:()=>nge,getBaseConfigFileName:()=>ame,getDetailWatchInfo:()=>Fhe,getLocationInNewDocument:()=>xge,hasArgument:()=>YW,hasNoTypeScriptSource:()=>wme,indent:()=>ez,isBackgroundProject:()=>Mme,isConfigFile:()=>Vhe,isConfiguredProject:()=>Qme,isDynamicFileName:()=>vme,isExternalProject:()=>Lme,isInferredProject:()=>$me,isInferredProjectName:()=>eme,isProjectDeferredClose:()=>jme,makeAutoImportProviderProjectName:()=>nme,makeAuxiliaryProjectName:()=>rme,makeInferredProjectName:()=>tme,maxFileSize:()=>Jme,maxProgramSizeForNonTsFiles:()=>Ume,normalizedPathToPath:()=>K_e,nowString:()=>XW,nullCancellationToken:()=>zhe,nullTypingsInstaller:()=>Ahe,protocol:()=>cme,scriptInfoIsContainedByBackgroundProject:()=>Cme,scriptInfoIsContainedByDeferredClosedProject:()=>Eme,stringifyIndented:()=>tz,toEvent:()=>ige,toNormalizedPath:()=>Y_e,tryConvertScriptKindName:()=>phe,typingsInstaller:()=>q_e,updateProjectIfDirty:()=>Phe}),"undefined"!=typeof console&&(un.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:case 4:return console.log(t)}}})})({get exports(){return t},set exports(n){t=n,e.exports&&(e.exports=n)}})}(typescript)),typescript.exports}function requireReadTsconfig(){if(hasRequiredReadTsconfig)return readTsconfig;hasRequiredReadTsconfig=1,Object.defineProperty(readTsconfig,"__esModule",{value:!0}),readTsconfig.readTSConfig=async function(r,c="tsconfig.json"){const l=[];let u;try{u=requireTypescript()}catch{try{u=commonjsRequire(r+"/node_modules/typescript")}catch{}}if(!u)return void(0,n.memoizedWarn)("Could not find typescript. Please ensure that typescript is a devDependency. Falling back to compiled source.");const d=async t=>{const n=await a(t,(async t=>(await(0,e.readdir)(t)).includes("package.json")));if(n)try{const r=await(0,e.readFile)(t,"utf8"),i=u?.parseConfigFileTextToJson(t,r).config;if(l.push(i),i.extends){if(i.extends.startsWith(".")){const e=s(n,i.extends);return e?d(e):void 0}const e=s(n,i.extends);if(e)return d(e)}return i}catch(e){o(e)}};return await d((0,t.join)(r,c)),{compilerOptions:(0,i.mergeNestedObjects)(l,"compilerOptions"),"ts-node":(0,i.mergeNestedObjects)(l,"ts-node")}};const e=fs$7,t=path$1,n=requireWarn(),r=requireLogger(),i=requireUtil$f(),o=(0,r.makeDebug)("read-tsconfig");function s(e,t){try{return require.resolve(t,{paths:[e]})}catch{}}async function a(e,n){let r;try{r=await n(e)}catch{r=!1}if(r)return e;const i=(0,t.dirname)(e);return i!==e?a(i,n):void 0}return readTsconfig}sourceMapSupport.exports;var util$d={},hasRequiredUtil$d,hasRequiredTsPath;function requireUtil$d(){if(hasRequiredUtil$d)return util$d;hasRequiredUtil$d=1,Object.defineProperty(util$d,"__esModule",{value:!0}),util$d.collectUsableIds=void 0,util$d.makeDebug=function(...t){return(n,...r)=>(0,e.getLogger)(["config",...t].join(":")).debug(n,...r)},util$d.getPermutations=t,util$d.getCommandIdPermutations=function(e){return t(e.split(":")).flatMap((e=>e.join(":")))};const e=requireLogger();function t(e){if(0===e.length)return[];if(1===e.length)return[e];const n=[],r=t(e.slice(1)),i=e[0];for(let e=0,t=r.length;enew Set(e.flatMap((e=>e.split(":").map(((e,t,n)=>n.slice(0,t+1).join(":")))))),util$d}function requireTsPath(){return hasRequiredTsPath||(hasRequiredTsPath=1,function(e){var t=tsPath&&tsPath.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.TS_CONFIGS=void 0,e.tsPath=async function(t,_,m){const h=m?.options.isRoot?m:o.default.getInstance().get("rootPlugin");if(!_)return _;_=_.startsWith(t)?_:(0,r.join)(t,_);const g=a.settings.enableAutoTranspile??a.settings.tsnodeEnabled;if(!1===g)return d(`Skipping typescript path lookup for ${t} because enableAutoTranspile is explicitly set to false`),_;const A=(0,u.isProd)();if(void 0===g&&A&&"link"!==m?.type)return d(`Skipping typescript path lookup for ${t} because NODE_ENV is NOT "test" or "development"`),_;if(function(e,t,n){return(n||"commonjs"===e?.moduleType)&&"module"===t?.moduleType&&!t?.pjson.devDependencies?.tsx}(h,m,A)){d(`Skipping typescript path lookup for ${t} because it's an ESM module (NODE_ENV: ${process.env.NODE_ENV}, root plugin module type: ${h?.moduleType})`);const e=process.env.OCLIF_DISABLE_LINKED_ESM_WARNING&&(0,u.isTruthy)(process.env.OCLIF_DISABLE_LINKED_ESM_WARNING);return"link"!==m?.type||e||(0,s.memoizedWarn)(`${m?.name} is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.`),_}if(function(e,t,n){if("module"!==t?.moduleType||n)return!1;const r=Number.parseInt(process.version.replace("v","").split(".")[0],10);return"ts-node"===f&&r>=20}(0,m,A))return d(`Skipping typescript path lookup for ${t} because ts-node is run in node version ${process.version}"`),(0,s.memoizedWarn)("ts-node executable cannot transpile ESM in Node 20. Existing compiled source will be used instead. See https://github.com/oclif/core/issues/817."),_;try{return await async function(t,o,a){const _=await async function(t){try{if(e.TS_CONFIGS[t])return e.TS_CONFIGS[t];const n=await(0,l.readTSConfig)(t);if(!n)return;return d("tsconfig: %O",n),e.TS_CONFIGS[t]=n,e.TS_CONFIGS[t]}catch(e){if(function(e){return"code"in e&&"ENOENT"===e.code}(e))return;d(`Could not parse tsconfig.json. Skipping typescript path lookup for ${t}.`),(0,s.memoizedWarn)(`Could not parse tsconfig.json for ${t}. Falling back to compiled source.`)}}(t);if(!_)return o;d(`Determining path for ${o}`),"bun"===f?d(`Skipping ts-node registration for ${t} because the runtime is: ${f}`):(await async function(e,t){if(p.has(e))return;try{const n="module"===t?"tsx/esm/api":"tsx/cjs/api",r=require.resolve(n,{paths:[e]});if(!r)return;d("registering tsx at",e),d("tsx path:",r);const{href:o}=(0,i.pathToFileURL)(r);d("tsx href:",o);const{register:s}=await import(o);d("Successfully imported tsx"),s(),p.add(e)}catch(t){d(`Could not find tsx. Skipping tsx registration for ${e}.`),d(t)}}(t,a?.moduleType),await async function(e,t){if(p.has(e))return;d("registering ts-node at",e);const n=require.resolve("ts-node",{paths:[e,__dirname]});let i;d("ts-node path:",n);try{i=commonjsRequire(n),d("Successfully required ts-node")}catch(t){return d(`Could not find ts-node at ${n}. Skipping ts-node registration for ${e}.`),d(t),void(0,s.memoizedWarn)(`Could not find ts-node at ${n}. Please ensure that ts-node is a devDependency. Falling back to compiled source.`)}const o=[(0,r.join)(e,"node_modules","@types")],a=[];if(t.compilerOptions.rootDirs)for(const n of t.compilerOptions.rootDirs)a.push((0,r.join)(e,n));else t.compilerOptions.rootDir?a.push((0,r.join)(e,t.compilerOptions.rootDir)):t.compilerOptions.baseUrl?a.push((0,r.join)(e,t.compilerOptions.baseUrl)):a.push((0,r.join)(e,"src"));const{baseUrl:c,rootDir:l,...u}=t.compilerOptions,f={compilerOptions:{...u,rootDirs:a,typeRoots:o},...t["ts-node"],cwd:e,esm:t["ts-node"]?.esm??!0,experimentalSpecifierResolution:t["ts-node"]?.experimentalSpecifierResolution??"explicit",scope:!0,scopeDir:e,skipProject:!0,transpileOnly:!0};d("ts-node options: %O",f),i.register(f),p.add(e)}(t,_));const{baseUrl:m,outDir:h,rootDir:g,rootDirs:A}=_.compilerOptions,y=g??(A??[])[0]??m;if(!y)return d(`no rootDir, rootDirs, or baseUrl specified in tsconfig.json. Returning default path ${o}`),o;if(!h)return d(`no outDir specified in tsconfig.json. Returning default path ${o}`),o;const v=(0,r.join)(t,h),b=(0,r.join)(t,y),C=(0,r.relative)(v,o),E=(0,r.join)(b,C).replace(/\.js$/,"");if(d(`lib dir: ${v}`),d(`src dir: ${b}`),d(`src directory to find: ${E}`),(0,c.existsSync)(E))return d(`Found source directory for ${o} at ${E}`),E;const x=await Promise.all([(0,n.access)(`${E}.ts`).then((()=>`${E}.ts`)).catch((()=>!1)),(0,n.access)(`${E}.tsx`).then((()=>`${E}.tsx`)).catch((()=>!1))]);if(x.some(Boolean))return d(`Found source file for ${o} at ${E}`),E;d(`No source file found. Returning default path ${o}`),(0,u.isProd)()||(0,s.memoizedWarn)(`Could not find source for ${o} based on tsconfig. Defaulting to compiled source.`);return o}(t,_,m)}catch(e){return d(e),_}};const n=fs$7,r=path$1,i=require$$0$6,o=t(requireCache$2()),s=requireWarn(),a=requireSettings$4(),c=requireFs$4(),l=requireReadTsconfig(),u=requireUtil$f(),d=(0,requireUtil$d().makeDebug)("ts-path");e.TS_CONFIGS={};const p=new Set;const f=process.execPath.split(r.sep).includes("bun")?"bun":0===process.execArgv.length?"node":"--require"===process.execArgv[0]&&process.execArgv[1].split(r.sep).includes("ts-node")||process.execArgv[0].split(r.sep).includes("ts-node")?"ts-node":"--require"===process.execArgv[0]&&process.execArgv[1].split(r.sep).includes("tsx")?"tsx":"node"}(tsPath)),tsPath}var moduleLoader={},getPackageType={exports:{}},isNodeModules_1,hasRequiredIsNodeModules,cache$2,hasRequiredCache$1,async$7,hasRequiredAsync$7,sync$6,hasRequiredSync$6,hasRequiredGetPackageType,hasRequiredModuleLoader;function requireIsNodeModules(){if(hasRequiredIsNodeModules)return isNodeModules_1;hasRequiredIsNodeModules=1;const e=require$$0$8;return isNodeModules_1=function(t){let n=e.basename(t);return"\\"===e.sep&&(n=n.toLowerCase()),"node_modules"===n},isNodeModules_1}function requireCache$1(){return hasRequiredCache$1?cache$2:(hasRequiredCache$1=1,cache$2=new Map)}function requireAsync$7(){if(hasRequiredAsync$7)return async$7;hasRequiredAsync$7=1;const e=require$$0$8,{promisify:t}=require$$0__default,n=t(require$$0$7.readFile),r=requireIsNodeModules(),i=requireCache$1(),o=new Map;async function s(t){if(i.has(t))return i.get(t);if(o.has(t))return o.get(t);const a=async function(t){if(r(t))return"commonjs";try{return JSON.parse(await n(e.resolve(t,"package.json"))).type||"commonjs"}catch(e){}const i=e.dirname(t);return i===t?"commonjs":s(i)}(t);o.set(t,a);const c=await a;return i.set(t,c),o.delete(t),c}return async$7=function(t){return s(e.resolve(e.dirname(t)))}}function requireSync$6(){if(hasRequiredSync$6)return sync$6;hasRequiredSync$6=1;const e=require$$0$8,{readFileSync:t}=require$$0$7,n=requireIsNodeModules(),r=requireCache$1();function i(o){if(r.has(o))return r.get(o);const s=function(r){if(n(r))return"commonjs";try{return JSON.parse(t(e.resolve(r,"package.json"))).type||"commonjs"}catch(e){}const o=e.dirname(r);return o===r?"commonjs":i(o)}(o);return r.set(o,s),s}return sync$6=function(t){return i(e.resolve(e.dirname(t)))}}function requireGetPackageType(){if(hasRequiredGetPackageType)return getPackageType.exports;hasRequiredGetPackageType=1;const e=requireAsync$7(),t=requireSync$6();return getPackageType.exports=t=>e(t),getPackageType.exports.sync=t,getPackageType.exports}function requireModuleLoader(){if(hasRequiredModuleLoader)return moduleLoader;hasRequiredModuleLoader=1,Object.defineProperty(moduleLoader,"__esModule",{value:!0}),moduleLoader.load=async function(e,t){let r,i;try{return({filePath:r,isESM:i}=await d(e,t)),i?await import((0,n.pathToFileURL)(r).href):commonjsRequire(r)}catch(e){l(e,i,r??t)}},moduleLoader.loadWithData=async function(e,t){let r,i;try{({filePath:r,isESM:i}=await d(e,t));return{filePath:r,isESM:i,module:i?await import((0,n.pathToFileURL)(r).href):commonjsRequire(r)}}catch(e){l(e,i,r??t)}},moduleLoader.loadWithDataFromManifest=async function(e,r){const{id:o,isESM:s,relativePath:a}=e;if(!a)throw new i.ModuleLoadError(`Cached command ${o} does not have a relative path`);if(void 0===s)throw new i.ModuleLoadError(`Cached command ${o} does not have the isESM property set`);const c=(0,t.join)(r,a.join(t.sep));try{return{filePath:c,isESM:s,module:s?await import((0,n.pathToFileURL)(c).href):commonjsRequire(c)}}catch(e){l(e,s,c??r)}},moduleLoader.isPathModule=u;const e=fs$6,t=path$1,n=require$$0$6,r=requireTsPath(),i=requireModuleLoad(),o=requireFs$4(),s=requireGetPackageType(),a=[".ts",".js",".mjs",".cjs",".mts",".cts",".tsx",".jsx"],c=e=>void 0!==e.type;function l(e,t,n){if("MODULE_NOT_FOUND"===e.code||"ERR_MODULE_NOT_FOUND"===e.code)throw new i.ModuleLoadError(`${t?"import()":"require"} failed to load ${n}: ${e.message}`);throw e}function u(e){switch((0,t.extname)(e).toLowerCase()){case".js":case".jsx":case".ts":case".tsx":return"module"===s.sync(e);case".mjs":case".mts":return!0;default:return!1}}async function d(n,i){let s,a;try{a=require.resolve(i),s=u(a)}catch{a=(c(n)?await(0,r.tsPath)(n.root,i,n):await(0,r.tsPath)(n.root,i))??i;let l=!1,d=!1;if((0,o.existsSync)(a)){l=!0;try{(0,e.lstatSync)(a)?.isDirectory?.()&&(l=!1,d=!0)}catch{}}if(!l){let e=p(a);!e&&d&&(e=p((0,t.join)(a,"index"))),e&&(a=e)}s=u(a)}return{filePath:a,isESM:s}}function p(e){for(const t of a){const n=`${e}${t}`;if((0,o.existsSync)(n))return n}return null}return moduleLoader}var symbols$5={},hasRequiredSymbols$5;function requireSymbols$5(){return hasRequiredSymbols$5||(hasRequiredSymbols$5=1,Object.defineProperty(symbols$5,"__esModule",{value:!0}),symbols$5.SINGLE_COMMAND_CLI_SYMBOL=void 0,symbols$5.SINGLE_COMMAND_CLI_SYMBOL=Symbol("SINGLE_COMMAND_CLI").toString()),symbols$5}var cacheDefaultValue={},hasRequiredCacheDefaultValue;function requireCacheDefaultValue(){if(hasRequiredCacheDefaultValue)return cacheDefaultValue;hasRequiredCacheDefaultValue=1,Object.defineProperty(cacheDefaultValue,"__esModule",{value:!0}),cacheDefaultValue.cacheDefaultValue=void 0;return cacheDefaultValue.cacheDefaultValue=async(e,t)=>{if(!t||!e.noCacheDefault){if("function"==typeof e.defaultHelp)try{return await e.defaultHelp({flags:{},options:e})}catch{return}if("function"!=typeof e.default)return e.default;try{return await e.default({flags:{},options:e})}catch{}}},cacheDefaultValue}var ids={},hasRequiredIds;function requireIds(){if(hasRequiredIds)return ids;return hasRequiredIds=1,Object.defineProperty(ids,"__esModule",{value:!0}),ids.toStandardizedId=function(e,t){return e.replaceAll(new RegExp(t.topicSeparator,"g"),":")},ids.toConfiguredId=function(e,t){return e.replaceAll(new RegExp(":","g"),t.topicSeparator||":")},ids}var ux={},simple={},base$1={},hasRequiredBase$1,hasRequiredSimple;function requireBase$1(){if(hasRequiredBase$1)return base$1;hasRequiredBase$1=1,Object.defineProperty(base$1,"__esModule",{value:!0}),base$1.ActionBase=void 0;const e=require$$1$2,t=requireUtil$f();return base$1.ActionBase=class{std="stderr";stdmocks;type;stdmockOrigs={stderr:process.stderr.write,stdout:process.stdout.write};get output(){return this.globals.output}set output(e){this.globals.output=e}get running(){return Boolean(this.task)}get status(){return this.task?this.task.status:void 0}set status(e){const{task:t}=this;t&&t.status!==e&&(this._updateStatus(e,t.status),t.status=e)}get task(){return this.globals.action.task}set task(e){this.globals.action.task=e}pause(e,t){const{task:n}=this,r=n&&n.active;n&&r&&(this._pause(t),this._stdout(!1),n.active=!1);const i=e();return n&&r&&this._resume(),i}async pauseAsync(e,t){const{task:n}=this,r=n&&n.active;n&&r&&(this._pause(t),this._stdout(!1),n.active=!1);const i=await e();return n&&r&&this._resume(),i}start(e,t,n={}){this.std=n.stdout?"stdout":"stderr";const r={action:e,active:Boolean(this.task&&this.task.active),status:t};this.task=r,this._start(n),r.active=!0,this._stdout(!0)}stop(e="done"){const{task:t}=this;t&&(this._stop(e),t.active=!1,this.task=void 0,this._stdout(!1))}_flushStdout(){try{let e,t="";for(;this.stdmocks&&this.stdmocks.length>0;){const n=this.stdmocks.shift();e=n[0],this._write(e,n[1]),t+=n[1][0].toString("utf8")}t&&e&&"\n"!==t.at(-1)&&this._write(e,"\n")}catch(t){this._write("stderr",(0,e.inspect)(t))}}_pause(e){throw new Error("not implemented")}_resume(){this.task&&this.start(this.task.action,this.task.status)}_start(e){throw new Error("not implemented")}_stdout(t){try{if(t){if(this.stdmocks)return;this.stdmockOrigs={stderr:process.stderr.write,stdout:process.stdout.write},this.stdmocks=[],process.stdout.write=(...e)=>(this.stdmocks.push(["stdout",e]),!0),process.stderr.write=(...e)=>(this.stdmocks.push(["stderr",e]),!0)}else{if(!this.stdmocks)return;delete this.stdmocks,process.stdout.write=this.stdmockOrigs.stdout,process.stderr.write=this.stdmockOrigs.stderr}}catch(t){this._write("stderr",(0,e.inspect)(t))}}_stop(e){throw new Error("not implemented")}_updateStatus(e,t){}_write(e,n){switch(e){case"stdout":this.stdmockOrigs.stdout.apply(process.stdout,(0,t.castArray)(n));break;case"stderr":this.stdmockOrigs.stderr.apply(process.stderr,(0,t.castArray)(n));break;default:throw new Error(`invalid std: ${e}`)}}get globals(){commonjsGlobal.ux=commonjsGlobal.ux||{};const e=commonjsGlobal.ux;return e.action=e.action||{},e}},base$1}function requireSimple(){if(hasRequiredSimple)return simple;hasRequiredSimple=1,Object.defineProperty(simple,"__esModule",{value:!0});const e=requireBase$1();class t extends e.ActionBase{type="simple";_flush(){this._write(this.std,"\n"),this._flushStdout()}_pause(e){e?this._updateStatus(e):this._flush()}_render(e,t){this.task&&(this.task.active&&this._flush(),this._write(this.std,t?`${e}... ${t}`:`${e}...`))}_resume(){}_start(){this.task&&this._render(this.task.action,this.task.status)}_stop(e){this.task&&this._updateStatus(e,this.task.status,!0)}_updateStatus(e,t,n=!1){this.task&&(this.task.active&&!t?this._write(this.std,` ${e}`):this._write(this.std,`${this.task.action}... ${e}`),!n&&t||this._flush())}}return simple.default=t,simple}var spinner={},dots={interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2={interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3={interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4={interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5={interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6={interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7={interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8={interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9={interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10={interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11={interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12={interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots13={interval:80,frames:["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},dots8Bit={interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},sand={interval:80,frames:["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},line={interval:130,frames:["-","\\","|","/"]},line2={interval:100,frames:["⠂","-","–","—","–","-"]},pipe={interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots={interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling={interval:200,frames:[". ",".. ","..."," .."," ."," "]},star={interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2={interval:80,frames:["+","x","*"]},flip={interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger={interval:100,frames:["☱","☲","☴"]},growVertical={interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal={interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon={interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2={interval:120,frames:[".","o","O","°","O","o","."]},noise={interval:100,frames:["▓","▒","░"]},bounce={interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce={interval:120,frames:["▖","▘","▝","▗"]},boxBounce2={interval:100,frames:["▌","▀","▐","▄"]},triangle={interval:50,frames:["◢","◣","◤","◥"]},binary$4={interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc={interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle={interval:120,frames:["◡","⊙","◠"]},squareCorners={interval:180,frames:["◰","◳","◲","◱"]},circleQuarters={interval:120,frames:["◴","◷","◶","◵"]},circleHalves={interval:50,frames:["◐","◓","◑","◒"]},squish={interval:100,frames:["╫","╪"]},toggle$2={interval:250,frames:["⊶","⊷"]},toggle2={interval:80,frames:["▫","▪"]},toggle3={interval:120,frames:["□","■"]},toggle4={interval:100,frames:["■","□","▪","▫"]},toggle5={interval:100,frames:["▮","▯"]},toggle6={interval:300,frames:["ဝ","၀"]},toggle7={interval:80,frames:["⦾","⦿"]},toggle8={interval:100,frames:["◍","◌"]},toggle9={interval:100,frames:["◉","◎"]},toggle10={interval:100,frames:["㊂","㊀","㊁"]},toggle11={interval:50,frames:["⧇","⧆"]},toggle12={interval:120,frames:["☗","☖"]},toggle13={interval:80,frames:["=","*","-"]},arrow={interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2={interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3={interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar={interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall={interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley={interval:200,frames:["😄 ","😝 "]},monkey={interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts={interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock={interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth={interval:180,frames:["🌍 ","🌎 ","🌏 "]},material={interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon={interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner={interval:140,frames:["🚶 ","🏃 "]},pong={interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark={interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb={interval:100,frames:["d","q","p","b"]},weather={interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas={interval:400,frames:["🌲","🎄"]},grenade={interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point={interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer={interval:150,frames:["-","=","≡"]},betaWave={interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance={interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump={interval:80,frames:["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},soccerHeader={interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown={interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},speaker={interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse={interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse={interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse={interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel={interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic={interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},dwarfFortress={interval:80,frames:[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]},require$$0$4={dots:dots,dots2:dots2,dots3:dots3,dots4:dots4,dots5:dots5,dots6:dots6,dots7:dots7,dots8:dots8,dots9:dots9,dots10:dots10,dots11:dots11,dots12:dots12,dots13:dots13,dots8Bit:dots8Bit,sand:sand,line:line,line2:line2,pipe:pipe,simpleDots:simpleDots,simpleDotsScrolling:simpleDotsScrolling,star:star,star2:star2,flip:flip,hamburger:hamburger,growVertical:growVertical,growHorizontal:growHorizontal,balloon:balloon,balloon2:balloon2,noise:noise,bounce:bounce,boxBounce:boxBounce,boxBounce2:boxBounce2,triangle:triangle,binary:binary$4,arc:arc,circle:circle,squareCorners:squareCorners,circleQuarters:circleQuarters,circleHalves:circleHalves,squish:squish,toggle:toggle$2,toggle2:toggle2,toggle3:toggle3,toggle4:toggle4,toggle5:toggle5,toggle6:toggle6,toggle7:toggle7,toggle8:toggle8,toggle9:toggle9,toggle10:toggle10,toggle11:toggle11,toggle12:toggle12,toggle13:toggle13,arrow:arrow,arrow2:arrow2,arrow3:arrow3,bouncingBar:bouncingBar,bouncingBall:bouncingBall,smiley:smiley,monkey:monkey,hearts:hearts,clock:clock,earth:earth,material:material,moon:moon,runner:runner,pong:pong,shark:shark,dqpb:dqpb,weather:weather,christmas:christmas,grenade:grenade,point:point,layer:layer,betaWave:betaWave,fingerDance:fingerDance,fistBump:fistBump,soccerHeader:soccerHeader,mindblown:mindblown,speaker:speaker,orangePulse:orangePulse,bluePulse:bluePulse,orangeBluePulse:orangeBluePulse,timeTravel:timeTravel,aesthetic:aesthetic,dwarfFortress:dwarfFortress},cliSpinners$1,hasRequiredCliSpinners;function requireCliSpinners(){if(hasRequiredCliSpinners)return cliSpinners$1;hasRequiredCliSpinners=1;const e=Object.assign({},require$$0$4),t=Object.keys(e);return Object.defineProperty(e,"random",{get(){const n=Math.floor(Math.random()*t.length),r=t[n];return e[r]}}),cliSpinners$1=e}var ansiEscapes={exports:{}},hasRequiredAnsiEscapes,hasRequiredSpinner;function requireAnsiEscapes(){return hasRequiredAnsiEscapes||(hasRequiredAnsiEscapes=1,function(e){const t=e.exports;e.exports.default=t;const n="[",r="]",i="",o=";",s="Apple_Terminal"===process.env.TERM_PROGRAM;t.cursorTo=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");return"number"!=typeof t?n+(e+1)+"G":n+(t+1)+";"+(e+1)+"H"},t.cursorMove=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");let r="";return e<0?r+=n+-e+"D":e>0&&(r+=n+e+"C"),t<0?r+=n+-t+"A":t>0&&(r+=n+t+"B"),r},t.cursorUp=(e=1)=>n+e+"A",t.cursorDown=(e=1)=>n+e+"B",t.cursorForward=(e=1)=>n+e+"C",t.cursorBackward=(e=1)=>n+e+"D",t.cursorLeft="",t.cursorSavePosition=s?"7":"",t.cursorRestorePosition=s?"8":"",t.cursorGetPosition="",t.cursorNextLine="",t.cursorPrevLine="",t.cursorHide="[?25l",t.cursorShow="[?25h",t.eraseLines=e=>{let n="";for(let r=0;r[r,"8",o,o,t,i,e,r,"8",o,o,i].join(""),t.image=(e,t={})=>{let n=`${r}1337;File=inline=1`;return t.width&&(n+=`;width=${t.width}`),t.height&&(n+=`;height=${t.height}`),!1===t.preserveAspectRatio&&(n+=";preserveAspectRatio=0"),n+":"+e.toString("base64")+i},t.iTerm={setCwd:(e=process.cwd())=>`${r}50;CurrentDir=${e}${i}`,annotation:(e,t={})=>{let n=`${r}1337;`;const o=void 0!==t.x,s=void 0!==t.y;if((o||s)&&(!o||!s||void 0===t.length))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replace(/\|/g,""),n+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?n+=(o?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):n+=e,n+i}}}(ansiEscapes)),ansiEscapes.exports}function requireSpinner(){if(hasRequiredSpinner)return spinner;hasRequiredSpinner=1;var e=spinner&&spinner.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(spinner,"__esModule",{value:!0});const t=e(requireAnsis()),n=e(requireCliSpinners()),r=e(requireCache$2()),i=requireScreen(),o=requireTheme(),s=requireBase$1(),a=requireAnsiEscapes();class c extends s.ActionBase{type="spinner";color="magenta";frameIndex;frames;spinner;constructor(){super(),this.frames=this.getFrames(),this.frameIndex=0}colorize(e){return(0,o.colorize)(this.color,e)}_frame(){const e=this.frames[this.frameIndex];return this.frameIndex=++this.frameIndex%this.frames.length,this.colorize(e)}_lines(e){return t.default.strip(e).split("\n").map((e=>Math.ceil(e.length/i.errtermwidth))).reduce(((e,t)=>e+t),0)}_pause(e){this.spinner&&clearInterval(this.spinner),this._reset(),e&&this._render(` ${e}`),this.output=void 0}_render(e){if(!this.task)return;this._reset(),this._flushStdout();const t="spinner"===e?` ${this._frame()}`:e||"",n=this.task.status?` ${this.task.status}`:"";this.output=`${this.task.action}...${t}${n}\n`,this._write(this.std,this.output)}_reset(){if(!this.output)return;const e=this._lines(this.output);this._write(this.std,a.cursorLeft+a.cursorUp(e)+a.eraseDown),this.output=void 0}_start(e){this.color=r.default.getInstance().get("config")?.theme?.spinner??this.color,e.style&&(this.frames=this.getFrames(e)),this._reset(),this.spinner&&clearInterval(this.spinner),this._render(),this.spinner=setInterval((e=>this._render.bind(this)(e)),"win32"===process.platform?500:100,"spinner");this.spinner.unref()}_stop(e){this.task&&(this.task.status=e),this.spinner&&clearInterval(this.spinner),this._render(),this.output=void 0}getFrames(e){return e?.style?n.default[e.style].frames:n.default["win32"===process.platform?"line":"dots2"].frames}}return spinner.default=c,spinner}var colorizeJson={},hasRequiredColorizeJson,hasRequiredUx;function requireColorizeJson(){if(hasRequiredColorizeJson)return colorizeJson;hasRequiredColorizeJson=1,Object.defineProperty(colorizeJson,"__esModule",{value:!0}),colorizeJson.stringifyInput=r,colorizeJson.tokenize=i,colorizeJson.default=function(t,n){const r={...n,pretty:n?.pretty??!0};return i(t,r).reduce(((t,r)=>t+(0,e.colorize)(n?.theme?.[r.type],r.value)),"")};const e=requireTheme(),t=[{regex:/^\s+/,tokenType:"whitespace"},{regex:/^[{}]/,tokenType:"brace"},{regex:/^[[\]]/,tokenType:"bracket"},{regex:/^:/,tokenType:"colon"},{regex:/^,/,tokenType:"comma"},{regex:/^-?\d+(?:\.\d+)?(?:e[+-]?\d+)?/i,tokenType:"number"},{regex:/^"(?:\\.|[^"\\])*"(?=\s*:)/,tokenType:"key"},{regex:/^"(?:\\.|[^"\\])*"/,tokenType:"string"},{regex:/^true|^false/,tokenType:"boolean"},{regex:/^null/,tokenType:"null"}];function n(e,t,n){return JSON.stringify(e,function(e,t){const n=[],r=[];t||(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"});return function(i,o){if(n.length>0){const e=n.indexOf(this);~e?n.splice(e+1):n.push(this),~e?r.splice(e,Number.POSITIVE_INFINITY,i):r.push(i),n.includes(o)&&(o=t.call(this,i,o))}else n.push(o);return e?e.call(this,i,o):o}}(t,t),n)}function r(e,t){return t?.pretty?n("string"==typeof e?JSON.parse(e):e,void 0,2):"string"==typeof e?e:n(e)}function i(e,n){let i=r(e,n);const s=[];let a=!1;do{for(const e of t){const t=e.regex.exec(i);if(t){s.push({type:e.tokenType,value:t[0]}),i=i.slice(t[0].length),a=!0;break}}}while(o(i,a));return s}function o(e,t){return(e?.length??0)>0&&t}return colorizeJson}function requireUx(){return hasRequiredUx||(hasRequiredUx=1,function(e){var t=ux&&ux.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.ux=e.stdout=e.stderr=e.colorize=e.colorizeJson=e.warn=e.exit=e.error=void 0;const n=requireError$1(),r=requireExit(),i=requireWarn(),o=t(requireSimple()),s=t(requireSpinner()),a=t(requireColorizeJson()),c=requireTheme(),l=requireWrite();var u=requireError$1();Object.defineProperty(e,"error",{enumerable:!0,get:function(){return u.error}});var d=requireExit();Object.defineProperty(e,"exit",{enumerable:!0,get:function(){return d.exit}});var p=requireWarn();Object.defineProperty(e,"warn",{enumerable:!0,get:function(){return p.warn}});var f=requireColorizeJson();Object.defineProperty(e,"colorizeJson",{enumerable:!0,get:function(){return t(f).default}});var _=requireTheme();Object.defineProperty(e,"colorize",{enumerable:!0,get:function(){return _.colorize}});var m=requireWrite();Object.defineProperty(e,"stderr",{enumerable:!0,get:function(){return m.stderr}}),Object.defineProperty(e,"stdout",{enumerable:!0,get:function(){return m.stdout}});const h=!Boolean(process.stderr.isTTY)||process.env.CI||["dumb","emacs-color"].includes(process.env.TERM)?"simple":"spinner";e.ux={action:"spinner"===h?new s.default:new o.default,colorize:c.colorize,colorizeJson:a.default,error:n.error,exit:r.exit,stderr:l.stderr,stdout:l.stdout,warn:i.warn}}(ux)),ux}var command$1={},ensureArgObject={},hasRequiredEnsureArgObject;function requireEnsureArgObject(){if(hasRequiredEnsureArgObject)return ensureArgObject;return hasRequiredEnsureArgObject=1,Object.defineProperty(ensureArgObject,"__esModule",{value:!0}),ensureArgObject.ensureArgObject=function(e){return Array.isArray(e)?(e??[]).reduce(((e,t)=>({...e,[t.name]:t})),{}):e??{}},ensureArgObject}var docopts={},hasRequiredDocopts;function requireDocopts(){if(hasRequiredDocopts)return docopts;hasRequiredDocopts=1,Object.defineProperty(docopts,"__esModule",{value:!0}),docopts.DocOpts=void 0;const e=requireEnsureArgObject();class t{cmd;flagList;flagMap;constructor(e){this.cmd=e,this.flagMap={},this.flagList=Object.entries(e.flags||{}).filter((([e,t])=>!t.hidden)).map((([e,t])=>(this.flagMap[e]=t,t)))}static formatUsageType(e,t,n){if("option"!==e.type)return"";let r;return r=e.helpValue?"string"==typeof e.helpValue?[e.helpValue]:e.helpValue:e.options?[n?e.options.join("|"):"