UNPKG

prettier

Version:

Prettier is an opinionated code formatter

11 lines 1.15 MB
var V5=Object.create;var wf=Object.defineProperty;var H5=Object.getOwnPropertyDescriptor;var G5=Object.getOwnPropertyNames;var X5=Object.getPrototypeOf,$5=Object.prototype.hasOwnProperty;var C6=(e,t)=>()=>(e&&(t=e(e=0)),t);var mt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xh=(e,t)=>{for(var n in t)wf(e,n,{get:t[n],enumerable:!0})},A6=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of G5(t))!$5.call(e,_)&&_!==n&&wf(e,_,{get:()=>t[_],enumerable:!(a=H5(t,_))||a.enumerable});return e};var Ot=(e,t,n)=>(n=e!=null?V5(X5(e)):{},A6(t||!e||!e.__esModule?wf(n,"default",{value:e,enumerable:!0}):n,e)),$h=e=>A6(wf({},"__esModule",{value:!0}),e);var Ef={};Xh(Ef,{default:()=>Y5});var Q5,Y5,Cf=C6(()=>{Q5=()=>()=>{},Y5=Q5});var lt=mt((Iz,P7)=>{var K5=Object.defineProperty,pv=Object.getOwnPropertyNames,It=(e,t)=>function(){return e&&(t=(0,e[pv(e)[0]])(e=0)),t},Z5=(e,t)=>function(){return t||(0,e[pv(e)[0]])((t={exports:{}}).exports,t),t.exports},_g=(e,t)=>{for(var n in t)K5(e,n,{get:t[n],enumerable:!0})},Rd,Gf,ry,e9=It({"src/compiler/corePublic.ts"(){"use strict";Rd="5.3",Gf="5.3.3",ry=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(ry||{})}});function eo(e){return e?e.length:0}function wn(e,t){if(e)for(let n=0;n<e.length;n++){let a=t(e[n],n);if(a)return a}}function t9(e,t){if(e)for(let n=e.length-1;n>=0;n--){let a=t(e[n],n);if(a)return a}}function cg(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){let a=t(e[n],n);if(a!==void 0)return a}}function n9(e,t){for(let n of e){let a=t(n);if(a!==void 0)return a}}function r9(e,t,n){let a=n;if(e){let _=0;for(let p of e)a=t(a,p,_),_++}return a}function iy(e,t,n){let a=[];I.assertEqual(e.length,t.length);for(let _=0;_<e.length;_++)a.push(n(e[_],t[_],_));return a}function i9(e,t){if(e.length<=1)return e;let n=[];for(let a=0,_=e.length;a<_;a++)a&&n.push(t),n.push(e[a]);return n}function so(e,t){if(e){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function ir(e,t,n){if(e!==void 0)for(let a=n??0;a<e.length;a++){let _=e[a];if(t(_,a))return _}}function lg(e,t,n){if(e!==void 0)for(let a=n??e.length-1;a>=0;a--){let _=e[a];if(t(_,a))return _}}function ul(e,t,n){if(e===void 0)return-1;for(let a=n??0;a<e.length;a++)if(t(e[a],a))return a;return-1}function a9(e,t,n){if(e===void 0)return-1;for(let a=n??e.length-1;a>=0;a--)if(t(e[a],a))return a;return-1}function o9(e,t){for(let n=0;n<e.length;n++){let a=t(e[n],n);if(a)return a}return I.fail()}function rs(e,t,n=_o){if(e){for(let a of e)if(n(a,t))return!0}return!1}function fv(e,t,n=_o){return e.length===t.length&&e.every((a,_)=>n(a,t[_]))}function dv(e,t,n){for(let a=n||0;a<e.length;a++)if(rs(t,e.charCodeAt(a)))return a;return-1}function s9(e,t){let n=0;if(e)for(let a=0;a<e.length;a++){let _=e[a];t(_,a)&&n++}return n}function rr(e,t){if(e){let n=e.length,a=0;for(;a<n&&t(e[a]);)a++;if(a<n){let _=e.slice(0,a);for(a++;a<n;){let p=e[a];t(p)&&_.push(p),a++}return _}}return e}function _9(e,t){let n=0;for(let a=0;a<e.length;a++)t(e[a],a,e)&&(e[n]=e[a],n++);e.length=n}function c9(e){e.length=0}function xa(e,t){let n;if(e){n=[];for(let a=0;a<e.length;a++)n.push(t(e[a],a))}return n}function*l9(e,t){for(let n of e)yield t(n)}function u9(e,t){if(e)for(let n=0;n<e.length;n++){let a=e[n],_=t(a,n);if(a!==_){let p=e.slice(0,n);for(p.push(_),n++;n<e.length;n++)p.push(t(e[n],n));return p}}return e}function o_(e){let t=[];for(let n of e)n&&($t(n)?zn(t,n):t.push(n));return t}function zo(e,t){let n;if(e)for(let a=0;a<e.length;a++){let _=t(e[a],a);_&&($t(_)?n=zn(n,_):n=Et(n,_))}return n||Je}function mv(e,t){let n=[];if(e)for(let a=0;a<e.length;a++){let _=t(e[a],a);_&&($t(_)?zn(n,_):n.push(_))}return n}function*p9(e,t){for(let n of e){let a=t(n);a&&(yield*a)}}function hv(e,t){let n;if(e)for(let a=0;a<e.length;a++){let _=e[a],p=t(_,a);(n||_!==p||$t(p))&&(n||(n=e.slice(0,a)),$t(p)?zn(n,p):n.push(p))}return n||e}function f9(e,t){let n=[];for(let a=0;a<e.length;a++){let _=t(e[a],a);if(_===void 0)return;n.push(_)}return n}function wa(e,t){let n=[];if(e)for(let a=0;a<e.length;a++){let _=t(e[a],a);_!==void 0&&n.push(_)}return n}function*d9(e,t){for(let n of e){let a=t(n);a!==void 0&&(yield a)}}function m9(e,t){if(!e)return;let n=new Map;return e.forEach((a,_)=>{let p=t(_,a);if(p!==void 0){let[m,y]=p;m!==void 0&&y!==void 0&&n.set(m,y)}}),n}function h9(e,t,n){if(e.has(t))return e.get(t);let a=n();return e.set(t,a),a}function y9(e,t){return e.has(t)?!1:(e.add(t),!0)}function*g9(e){yield e}function b9(e,t,n){let a;if(e){a=[];let _=e.length,p,m,y=0,u=0;for(;y<_;){for(;u<_;){let x=e[u];if(m=t(x,u),u===0)p=m;else if(m!==p)break;u++}if(y<u){let x=n(e.slice(y,u),p,y,u);x&&a.push(x),y=u}p=m,u++}}return a}function v9(e,t){if(!e)return;let n=new Map;return e.forEach((a,_)=>{let[p,m]=t(_,a);n.set(p,m)}),n}function Ze(e,t){if(e)if(t){for(let n of e)if(t(n))return!0}else return e.length>0;return!1}function T9(e,t,n){let a;for(let _=0;_<e.length;_++)t(e[_])?a=a===void 0?_:a:a!==void 0&&(n(a,_),a=void 0);a!==void 0&&n(a,e.length)}function h_(e,t){return Ze(t)?Ze(e)?[...e,...t]:t:e}function S9(e,t){return t}function ug(e){return e.map(S9)}function x9(e,t,n){let a=ug(e);vv(e,a,n);let _=e[a[0]],p=[a[0]];for(let m=1;m<a.length;m++){let y=a[m],u=e[y];t(_,u)||(p.push(y),_=u)}return p.sort(),p.map(m=>e[m])}function w9(e,t){let n=[];for(let a of e)Ll(n,a,t);return n}function yv(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?x9(e,t,n):w9(e,t)}function E9(e,t){if(e.length===0)return Je;let n=e[0],a=[n];for(let _=1;_<e.length;_++){let p=e[_];switch(t(p,n)){case!0:case 0:continue;case-1:return I.fail("Array is unsorted.")}a.push(n=p)}return a}function C9(){return[]}function vl(e,t,n,a){if(e.length===0)return e.push(t),!0;let _=Jl(e,t,bt,n);return _<0?(e.splice(~_,0,t),!0):a?(e.splice(_,0,t),!0):!1}function gv(e,t,n){return E9(Xf(e,t),n||t||Ii)}function A9(e,t){if(e.length<2)return!0;for(let n=1,a=e.length;n<a;n++)if(t(e[n-1],e[n])===1)return!1;return!0}function k9(e,t,n,a){let _=3;if(e.length<2)return _;let p=t(e[0]);for(let m=1,y=e.length;m<y&&_!==0;m++){let u=t(e[m]);_&1&&n(p,u)>0&&(_&=-2),_&2&&a(p,u)>0&&(_&=-3),p=u}return _}function D9(e,t,n=_o){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++)if(!n(e[a],t[a],a))return!1;return!0}function P9(e){let t;if(e)for(let n=0;n<e.length;n++){let a=e[n];(t||!a)&&(t||(t=e.slice(0,n)),a&&t.push(a))}return t||e}function I9(e,t,n){if(!t||!e||t.length===0||e.length===0)return t;let a=[];e:for(let _=0,p=0;p<t.length;p++){p>0&&I.assertGreaterThanOrEqual(n(t[p],t[p-1]),0);t:for(let m=_;_<e.length;_++)switch(_>m&&I.assertGreaterThanOrEqual(n(e[_],e[_-1]),0),n(t[p],e[_])){case-1:a.push(t[p]);continue e;case 0:continue e;case 1:continue t}}return a}function Et(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function N9(e,t){return e===void 0?t:t===void 0?e:$t(e)?$t(t)?h_(e,t):Et(e,t):$t(t)?Et(t,e):[e,t]}function ay(e,t){return t<0?e.length+t:t}function zn(e,t,n,a){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,a);n=n===void 0?0:ay(t,n),a=a===void 0?t.length:ay(t,a);for(let _=n;_<a&&_<t.length;_++)t[_]!==void 0&&e.push(t[_]);return e}function Ll(e,t,n){return rs(e,t,n)?!1:(e.push(t),!0)}function bv(e,t,n){return e?(Ll(e,t,n),e):[t]}function vv(e,t,n){t.sort((a,_)=>n(e[a],e[_])||Mn(a,_))}function Xf(e,t){return e.length===0?e:e.slice().sort(t)}function*O9(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function Tv(e,t){let n=ug(e);return vv(e,n,t),n.map(a=>e[a])}function M9(e,t,n,a){for(;n<a;){if(e[n]!==t[n])return!1;n++}return!0}function y_(e){return e===void 0||e.length===0?void 0:e[0]}function L9(e){if(e)for(let t of e)return t}function pg(e){return I.assert(e.length!==0),e[0]}function J9(e){for(let t of e)return t;I.fail("iterator is empty")}function Pi(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function Ea(e){return I.assert(e.length!==0),e[e.length-1]}function jd(e){return e&&e.length===1?e[0]:void 0}function R9(e){return I.checkDefined(jd(e))}function j9(e){return e&&e.length===1?e[0]:e}function F9(e,t,n){let a=e.slice(0);return a[t]=n,a}function Jl(e,t,n,a,_){return Sv(e,n(t),n,a,_)}function Sv(e,t,n,a,_){if(!Ze(e))return-1;let p=_||0,m=e.length-1;for(;p<=m;){let y=p+(m-p>>1),u=n(e[y],y);switch(a(u,t)){case-1:p=y+1;break;case 0:return y;case 1:m=y-1;break}}return~p}function Fd(e,t,n,a,_){if(e&&e.length>0){let p=e.length;if(p>0){let m=a===void 0||a<0?0:a,y=_===void 0||m+_>p-1?p-1:m+_,u;for(arguments.length<=2?(u=e[m],m++):u=n;m<=y;)u=t(u,e[m],m),m++;return u}}return n}function Wn(e,t){return Wr.call(e,t)}function xv(e,t){return Wr.call(e,t)?e[t]:void 0}function fg(e){let t=[];for(let n in e)Wr.call(e,n)&&t.push(n);return t}function B9(e){let t=[];do{let n=Object.getOwnPropertyNames(e);for(let a of n)Ll(t,a)}while(e=Object.getPrototypeOf(e));return t}function U9(e){let t=[];for(let n in e)Wr.call(e,n)&&t.push(e[n]);return t}function q9(e,t){let n=new Array(e);for(let a=0;a<e;a++)n[a]=t(a);return n}function Bd(e,t){let n=[];for(let a of e)n.push(t?t(a):a);return n}function z9(e,...t){for(let n of t)if(n!==void 0)for(let a in n)Wn(n,a)&&(e[a]=n[a]);return e}function wv(e,t,n=_o){if(e===t)return!0;if(!e||!t)return!1;for(let a in e)if(Wr.call(e,a)&&(!Wr.call(t,a)||!n(e[a],t[a])))return!1;for(let a in t)if(Wr.call(t,a)&&!Wr.call(e,a))return!1;return!0}function W9(e,t,n=bt){let a=new Map;for(let _ of e){let p=t(_);p!==void 0&&a.set(p,n(_))}return a}function V9(e,t,n=bt){let a=[];for(let _ of e)a[t(_)]=n(_);return a}function Ev(e,t,n=bt){let a=Ud();for(let _ of e)a.add(t(_),n(_));return a}function H9(e,t,n=bt){return Bd(Ev(e,t).values(),n)}function G9(e,t){let n={};if(e)for(let a of e){let _=`${t(a)}`;(n[_]??(n[_]=[])).push(a)}return n}function X9(e){let t={};for(let n in e)Wr.call(e,n)&&(t[n]=e[n]);return t}function $9(e,t){let n={};for(let a in t)Wr.call(t,a)&&(n[a]=t[a]);for(let a in e)Wr.call(e,a)&&(n[a]=e[a]);return n}function Q9(e,t){for(let n in t)Wr.call(t,n)&&(e[n]=t[n])}function sn(e,t){return t?t.bind(e):void 0}function Ud(){let e=new Map;return e.add=Y9,e.remove=K9,e}function Y9(e,t){let n=this.get(e);return n?n.push(t):this.set(e,n=[t]),n}function K9(e,t){let n=this.get(e);n&&(Ov(n,t),n.length||this.delete(e))}function Z9(e){let t=(e==null?void 0:e.slice())||[],n=0;function a(){return n===t.length}function _(...m){t.push(...m)}function p(){if(a())throw new Error("Queue is empty");let m=t[n];if(t[n]=void 0,n++,n>100&&n>t.length>>1){let y=t.length-n;t.copyWithin(0,n),t.length=y,n=0}return m}return{enqueue:_,dequeue:p,isEmpty:a}}function eE(e,t){let n=new Map,a=0;function*_(){for(let m of n.values())$t(m)?yield*m:yield m}let p={has(m){let y=e(m);if(!n.has(y))return!1;let u=n.get(y);if(!$t(u))return t(u,m);for(let x of u)if(t(x,m))return!0;return!1},add(m){let y=e(m);if(n.has(y)){let u=n.get(y);if($t(u))rs(u,m,t)||(u.push(m),a++);else{let x=u;t(x,m)||(n.set(y,[x,m]),a++)}}else n.set(y,m),a++;return this},delete(m){let y=e(m);if(!n.has(y))return!1;let u=n.get(y);if($t(u)){for(let x=0;x<u.length;x++)if(t(u[x],m))return u.length===1?n.delete(y):u.length===2?n.set(y,u[1-x]):mg(u,x),a--,!0}else if(t(u,m))return n.delete(y),a--,!0;return!1},clear(){n.clear(),a=0},get size(){return a},forEach(m){for(let y of Bd(n.values()))if($t(y))for(let u of y)m(u,u,p);else{let u=y;m(u,u,p)}},keys(){return _()},values(){return _()},*entries(){for(let m of _())yield[m,m]},[Symbol.iterator]:()=>_(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return p}function $t(e){return Array.isArray(e)}function If(e){return $t(e)?e:[e]}function g_(e){return typeof e=="string"}function tE(e){return typeof e=="number"}function Ur(e,t){return e!==void 0&&t(e)?e:void 0}function wi(e,t){return e!==void 0&&t(e)?e:I.fail(`Invalid cast. The supplied value ${e} did not pass the test '${I.getFunctionName(t)}'.`)}function gr(e){}function $f(){return!1}function Cv(){return!0}function nE(){}function bt(e){return e}function Av(e){return e.toLowerCase()}function kv(e){return sy.test(e)?e.replace(sy,Av):e}function rE(){throw new Error("Not implemented")}function Qf(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function Fr(e){let t=new Map;return n=>{let a=`${typeof n}:${n}`,_=t.get(a);return _===void 0&&!t.has(a)&&(_=e(n),t.set(a,_)),_}}function iE(e){let t=new WeakMap;return n=>{let a=t.get(n);return a===void 0&&!t.has(n)&&(a=e(n),t.set(n,a)),a}}function aE(e,t){return(...n)=>{let a=t.get(n);return a===void 0&&!t.has(n)&&(a=e(...n),t.set(n,a)),a}}function oE(e,t,n,a,_){if(_){let p=[];for(let m=0;m<arguments.length;m++)p[m]=arguments[m];return m=>Fd(p,(y,u)=>u(y),m)}else return a?p=>a(n(t(e(p)))):n?p=>n(t(e(p))):t?p=>t(e(p)):e?p=>e(p):p=>p}function _o(e,t){return e===t}function s_(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Rl(e,t){return _o(e,t)}function Dv(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function Mn(e,t){return Dv(e,t)}function sE(e,t){return Mn(e==null?void 0:e.start,t==null?void 0:t.start)||Mn(e==null?void 0:e.length,t==null?void 0:t.length)}function _E(e,t){return Fd(e,(n,a)=>t(n,a)===-1?n:a)}function qd(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function cE(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function Ii(e,t){return Dv(e,t)}function dg(e){return e?qd:Ii}function lE(){return Kf}function Pv(e){Kf!==e&&(Kf=e,cy=void 0)}function uE(e,t){return(cy||(cy=Fv(Kf)))(e,t)}function pE(e,t,n,a){return e===t?0:e===void 0?-1:t===void 0?1:a(e[n],t[n])}function fE(e,t){return Mn(e?1:0,t?1:0)}function Iv(e,t,n){let a=Math.max(2,Math.floor(e.length*.34)),_=Math.floor(e.length*.4)+1,p;for(let m of t){let y=n(m);if(y!==void 0&&Math.abs(y.length-e.length)<=a){if(y===e||y.length<3&&y.toLowerCase()!==e.toLowerCase())continue;let u=dE(e,y,_-.1);if(u===void 0)continue;I.assert(u<_),_=u,p=m}}return p}function dE(e,t,n){let a=new Array(t.length+1),_=new Array(t.length+1),p=n+.01;for(let y=0;y<=t.length;y++)a[y]=y;for(let y=1;y<=e.length;y++){let u=e.charCodeAt(y-1),x=Math.ceil(y>n?y-n:1),d=Math.floor(t.length>n+y?n+y:t.length);_[0]=y;let S=y;for(let A=1;A<x;A++)_[A]=p;for(let A=x;A<=d;A++){let N=e[y-1].toLowerCase()===t[A-1].toLowerCase()?a[A-1]+.1:a[A-1]+2,q=u===t.charCodeAt(A-1)?a[A-1]:Math.min(a[A]+1,_[A-1]+1,N);_[A]=q,S=Math.min(S,q)}for(let A=d+1;A<=t.length;A++)_[A]=p;if(S>n)return;let T=a;a=_,_=T}let m=a[t.length];return m>n?void 0:m}function is(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function mE(e,t){return is(e,t)?e.slice(0,e.length-t.length):e}function hE(e,t){return is(e,t)?e.slice(0,e.length-t.length):void 0}function yE(e){let t=e.length;for(let n=t-1;n>0;n--){let a=e.charCodeAt(n);if(a>=48&&a<=57)do--n,a=e.charCodeAt(n);while(n>0&&a>=48&&a<=57);else if(n>4&&(a===110||a===78)){if(--n,a=e.charCodeAt(n),a!==105&&a!==73||(--n,a=e.charCodeAt(n),a!==109&&a!==77))break;--n,a=e.charCodeAt(n)}else break;if(a!==45&&a!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function gE(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return Nv(e,n),!0;return!1}function Nv(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function mg(e,t){e[t]=e[e.length-1],e.pop()}function Ov(e,t){return bE(e,n=>n===t)}function bE(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return mg(e,n),!0;return!1}function zd(e){return e?bt:kv}function vE({prefix:e,suffix:t}){return`${e}*${t}`}function TE(e,t){return I.assert(hg(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function Mv(e,t,n){let a,_=-1;for(let p of e){let m=t(p);hg(m,n)&&m.prefix.length>_&&(_=m.prefix.length,a=p)}return a}function Hn(e,t){return e.lastIndexOf(t,0)===0}function SE(e,t){return Hn(e,t)?e.substr(t.length):e}function Lv(e,t,n=bt){return Hn(n(e),n(t))?e.substring(t.length):void 0}function hg({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Hn(n,e)&&is(n,t)}function xE(e,t){return n=>e(n)&&t(n)}function yg(...e){return(...t)=>{let n;for(let a of e)if(n=a(...t),n)return n;return n}}function wE(e){return(...t)=>!e(...t)}function EE(e){}function Yf(e){return e===void 0?void 0:[e]}function CE(e,t,n,a,_,p){p=p||gr;let m=0,y=0,u=e.length,x=t.length,d=!1;for(;m<u&&y<x;){let S=e[m],T=t[y],A=n(S,T);A===-1?(a(S),m++,d=!0):A===1?(_(T),y++,d=!0):(p(T,S),m++,y++)}for(;m<u;)a(e[m++]),d=!0;for(;y<x;)_(t[y++]),d=!0;return d}function AE(e){let t=[];return Jv(e,t,void 0,0),t}function Jv(e,t,n,a){for(let _ of e[a]){let p;n?(p=n.slice(),p.push(_)):p=[_],a===e.length-1?t.push(p):Jv(e,t,p,a+1)}}function kE(e,t){if(e){let n=e.length,a=0;for(;a<n&&t(e[a]);)a++;return e.slice(0,a)}}function DE(e,t){if(e){let n=e.length,a=0;for(;a<n&&t(e[a]);)a++;return e.slice(a)}}function PE(){return!1}var Je,gg,Rv,oy,jv,Wr,sy,_y,Fv,cy,Kf,IE=It({"src/compiler/core.ts"(){"use strict";En(),Je=[],gg=new Map,Rv=new Set,oy=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(oy||{}),jv=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=ay(e,t),t<e.length))return e[t]},Wr=Object.prototype.hasOwnProperty,sy=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g,_y=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(_y||{}),Fv=(()=>{return t;function e(n,a,_){if(n===a)return 0;if(n===void 0)return-1;if(a===void 0)return 1;let p=_(n,a);return p<0?-1:p>0?1:0}function t(n){let a=new Intl.Collator(n,{usage:"sort",sensitivity:"variant"}).compare;return(_,p)=>e(_,p,a)}})()}}),ly,I,Bv=It({"src/compiler/debug.ts"(){"use strict";En(),En(),ly=(e=>(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))(ly||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(U){return e.currentLogLevel<=U}e.shouldLog=n;function a(U,ie){e.loggingHost&&n(U)&&e.loggingHost.log(U,ie)}function _(U){a(3,U)}e.log=_,(U=>{function ie($e){a(1,$e)}U.error=ie;function ye($e){a(2,$e)}U.warn=ye;function Te($e){a(3,$e)}U.log=Te;function tt($e){a(4,$e)}U.trace=tt})(_=e.log||(e.log={}));let p={};function m(){return t}e.getAssertionLevel=m;function y(U){let ie=t;if(t=U,U>ie)for(let ye of fg(p)){let Te=p[ye];Te!==void 0&&e[ye]!==Te.assertion&&U>=Te.level&&(e[ye]=Te,p[ye]=void 0)}}e.setAssertionLevel=y;function u(U){return t>=U}e.shouldAssert=u;function x(U,ie){return u(U)?!0:(p[ie]={level:U,assertion:e[ie]},e[ie]=gr,!1)}function d(U,ie){debugger;let ye=new Error(U?`Debug Failure. ${U}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(ye,ie||d),ye}e.fail=d;function S(U,ie,ye){return d(`${ie||"Unexpected node."}\r Node ${vt(U.kind)} was unexpected.`,ye||S)}e.failBadSyntaxKind=S;function T(U,ie,ye,Te){U||(ie=ie?`False expression: ${ie}`:"False expression.",ye&&(ie+=`\r Verbose Debug Information: `+(typeof ye=="string"?ye:ye())),d(ie,Te||T))}e.assert=T;function A(U,ie,ye,Te,tt){if(U!==ie){let $e=ye?Te?`${ye} ${Te}`:ye:"";d(`Expected ${U} === ${ie}. ${$e}`,tt||A)}}e.assertEqual=A;function N(U,ie,ye,Te){U>=ie&&d(`Expected ${U} < ${ie}. ${ye||""}`,Te||N)}e.assertLessThan=N;function q(U,ie,ye){U>ie&&d(`Expected ${U} <= ${ie}`,ye||q)}e.assertLessThanOrEqual=q;function Q(U,ie,ye){U<ie&&d(`Expected ${U} >= ${ie}`,ye||Q)}e.assertGreaterThanOrEqual=Q;function se(U,ie,ye){U==null&&d(ie,ye||se)}e.assertIsDefined=se;function fe(U,ie,ye){return se(U,ie,ye||fe),U}e.checkDefined=fe;function F(U,ie,ye){for(let Te of U)se(Te,ie,ye||F)}e.assertEachIsDefined=F;function W(U,ie,ye){return F(U,ie,ye||W),U}e.checkEachDefined=W;function Se(U,ie="Illegal value:",ye){let Te=typeof U=="object"&&Wn(U,"kind")&&Wn(U,"pos")?"SyntaxKind: "+vt(U.kind):JSON.stringify(U);return d(`${ie} ${Te}`,ye||Se)}e.assertNever=Se;function Qe(U,ie,ye,Te){x(1,"assertEachNode")&&T(ie===void 0||so(U,ie),ye||"Unexpected node.",()=>`Node array did not pass test '${gn(ie)}'.`,Te||Qe)}e.assertEachNode=Qe;function Be(U,ie,ye,Te){x(1,"assertNode")&&T(U!==void 0&&(ie===void 0||ie(U)),ye||"Unexpected node.",()=>`Node ${vt(U==null?void 0:U.kind)} did not pass test '${gn(ie)}'.`,Te||Be)}e.assertNode=Be;function st(U,ie,ye,Te){x(1,"assertNotNode")&&T(U===void 0||ie===void 0||!ie(U),ye||"Unexpected node.",()=>`Node ${vt(U.kind)} should not have passed test '${gn(ie)}'.`,Te||st)}e.assertNotNode=st;function _t(U,ie,ye,Te){x(1,"assertOptionalNode")&&T(ie===void 0||U===void 0||ie(U),ye||"Unexpected node.",()=>`Node ${vt(U==null?void 0:U.kind)} did not pass test '${gn(ie)}'.`,Te||_t)}e.assertOptionalNode=_t;function hn(U,ie,ye,Te){x(1,"assertOptionalToken")&&T(ie===void 0||U===void 0||U.kind===ie,ye||"Unexpected node.",()=>`Node ${vt(U==null?void 0:U.kind)} was not a '${vt(ie)}' token.`,Te||hn)}e.assertOptionalToken=hn;function yn(U,ie,ye){x(1,"assertMissingNode")&&T(U===void 0,ie||"Unexpected node.",()=>`Node ${vt(U.kind)} was unexpected'.`,ye||yn)}e.assertMissingNode=yn;function fi(U){}e.type=fi;function gn(U){if(typeof U!="function")return"";if(Wn(U,"name"))return U.name;{let ie=Function.prototype.toString.call(U),ye=/^function\s+([\w$]+)\s*\(/.exec(ie);return ye?ye[1]:""}}e.getFunctionName=gn;function cr(U){return`{ name: ${Go(U.escapedName)}; flags: ${an(U.flags)}; declarations: ${xa(U.declarations,ie=>vt(ie.kind))} }`}e.formatSymbol=cr;function He(U=0,ie,ye){let Te=Gr(ie);if(U===0)return Te.length>0&&Te[0][0]===0?Te[0][1]:"0";if(ye){let tt=[],$e=U;for(let[Ut,St]of Te){if(Ut>U)break;Ut!==0&&Ut&U&&(tt.push(St),$e&=~Ut)}if($e===0)return tt.join("|")}else for(let[tt,$e]of Te)if(tt===U)return $e;return U.toString()}e.formatEnum=He;let Qn=new Map;function Gr(U){let ie=Qn.get(U);if(ie)return ie;let ye=[];for(let tt in U){let $e=U[tt];typeof $e=="number"&&ye.push([$e,tt])}let Te=Tv(ye,(tt,$e)=>Mn(tt[0],$e[0]));return Qn.set(U,Te),Te}function vt(U){return He(U,nd,!1)}e.formatSyntaxKind=vt;function Jn(U){return He(U,dd,!1)}e.formatSnippetKind=Jn;function Ar(U){return He(U,pd,!1)}e.formatScriptKind=Ar;function Ht(U){return He(U,rd,!0)}e.formatNodeFlags=Ht;function rn(U){return He(U,id,!0)}e.formatModifierFlags=rn;function at(U){return He(U,fd,!0)}e.formatTransformFlags=at;function kr(U){return He(U,md,!0)}e.formatEmitFlags=kr;function an(U){return He(U,sd,!0)}e.formatSymbolFlags=an;function xt(U){return He(U,_d,!0)}e.formatTypeFlags=xt;function ut(U){return He(U,ld,!0)}e.formatSignatureFlags=ut;function Gt(U){return He(U,cd,!0)}e.formatObjectFlags=Gt;function cn(U){return He(U,Tl,!0)}e.formatFlowFlags=cn;function ht(U){return He(U,ad,!0)}e.formatRelationComparisonResult=ht;function Dr(U){return He(U,CheckMode,!0)}e.formatCheckMode=Dr;function Tt(U){return He(U,SignatureCheckMode,!0)}e.formatSignatureCheckMode=Tt;function Rn(U){return He(U,TypeFacts,!0)}e.formatTypeFacts=Rn;let yt=!1,jn;function ct(U){"__debugFlowFlags"in U||Object.defineProperties(U,{__tsDebuggerDisplay:{value(){let ie=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",ye=this.flags&-2048;return`${ie}${ye?` (${cn(ye)})`:""}`}},__debugFlowFlags:{get(){return He(this.flags,Tl,!0)}},__debugToString:{value(){return De(this)}}})}function Kt(U){yt&&(typeof Object.setPrototypeOf=="function"?(jn||(jn=Object.create(Object.prototype),ct(jn)),Object.setPrototypeOf(U,jn)):ct(U))}e.attachFlowNodeDebugInfo=Kt;let Zt;function lr(U){"__tsDebuggerDisplay"in U||Object.defineProperties(U,{__tsDebuggerDisplay:{value(ie){return ie=String(ie).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${ie}`}}})}function di(U){yt&&(typeof Object.setPrototypeOf=="function"?(Zt||(Zt=Object.create(Array.prototype),lr(Zt)),Object.setPrototypeOf(U,Zt)):lr(U))}e.attachNodeArrayDebugInfo=di;function Xr(){if(yt)return;let U=new WeakMap,ie=new WeakMap;Object.defineProperties(Ct.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Te=this.flags&33554432?"TransientSymbol":"Symbol",tt=this.flags&-33554433;return`${Te} '${yd(this)}'${tt?` (${an(tt)})`:""}`}},__debugFlags:{get(){return an(this.flags)}}}),Object.defineProperties(Ct.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let Te=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",tt=this.flags&524288?this.objectFlags&-1344:0;return`${Te}${this.symbol?` '${yd(this.symbol)}'`:""}${tt?` (${Gt(tt)})`:""}`}},__debugFlags:{get(){return xt(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?Gt(this.objectFlags):""}},__debugTypeToString:{value(){let Te=U.get(this);return Te===void 0&&(Te=this.checker.typeToString(this),U.set(this,Te)),Te}}}),Object.defineProperties(Ct.getSignatureConstructor().prototype,{__debugFlags:{get(){return ut(this.flags)}},__debugSignatureToString:{value(){var Te;return(Te=this.checker)==null?void 0:Te.signatureToString(this)}}});let ye=[Ct.getNodeConstructor(),Ct.getIdentifierConstructor(),Ct.getTokenConstructor(),Ct.getSourceFileConstructor()];for(let Te of ye)Wn(Te.prototype,"__debugKind")||Object.defineProperties(Te.prototype,{__tsDebuggerDisplay:{value(){return`${va(this)?"GeneratedIdentifier":Ae(this)?`Identifier '${Lt(this)}'`:Vn(this)?`PrivateIdentifier '${Lt(this)}'`:Tr(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:lo(this)?`NumericLiteral ${this.text}`:db(this)?`BigIntLiteral ${this.text}n`:Lo(this)?"TypeParameterDeclaration":Pa(this)?"ParameterDeclaration":L_(this)?"ConstructorDeclaration":d_(this)?"GetAccessorDeclaration":Zo(this)?"SetAccessorDeclaration":yb(this)?"CallSignatureDeclaration":zx(this)?"ConstructSignatureDeclaration":gb(this)?"IndexSignatureDeclaration":Wx(this)?"TypePredicateNode":J_(this)?"TypeReferenceNode":tu(this)?"FunctionTypeNode":bb(this)?"ConstructorTypeNode":Vx(this)?"TypeQueryNode":Pm(this)?"TypeLiteralNode":Hx(this)?"ArrayTypeNode":Gx(this)?"TupleTypeNode":Xx(this)?"OptionalTypeNode":$x(this)?"RestTypeNode":Qx(this)?"UnionTypeNode":Yx(this)?"IntersectionTypeNode":Kx(this)?"ConditionalTypeNode":Zx(this)?"InferTypeNode":Tb(this)?"ParenthesizedTypeNode":Sb(this)?"ThisTypeNode":e8(this)?"TypeOperatorNode":t8(this)?"IndexedAccessTypeNode":n8(this)?"MappedTypeNode":xb(this)?"LiteralTypeNode":vb(this)?"NamedTupleMember":nu(this)?"ImportTypeNode":vt(this.kind)}${this.flags?` (${Ht(this.flags)})`:""}`}},__debugKind:{get(){return vt(this.kind)}},__debugNodeFlags:{get(){return Ht(this.flags)}},__debugModifierFlags:{get(){return rn(aS(this))}},__debugTransformFlags:{get(){return at(this.transformFlags)}},__debugIsParseTreeNode:{get(){return xl(this)}},__debugEmitFlags:{get(){return kr(ai(this))}},__debugGetText:{value(tt){if(ya(this))return"";let $e=ie.get(this);if($e===void 0){let Ut=Ul(this),St=Ut&&oi(Ut);$e=St?Qo(St,Ut,tt):"",ie.set(this,$e)}return $e}}});yt=!0}e.enableDebugInfo=Xr;function Yn(U){let ie=U&7,ye=ie===0?"in out":ie===3?"[bivariant]":ie===2?"in":ie===1?"out":ie===4?"[independent]":"";return U&8?ye+=" (unmeasurable)":U&16&&(ye+=" (unreliable)"),ye}e.formatVariance=Yn;class Kn{__debugToString(){var ie;switch(this.kind){case 3:return((ie=this.debugInfo)==null?void 0:ie.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return iy(this.sources,this.targets||xa(this.sources,()=>"any"),(ye,Te)=>`${ye.__debugTypeToString()} -> ${typeof Te=="string"?Te:Te.__debugTypeToString()}`).join(", ");case 2:return iy(this.sources,this.targets,(ye,Te)=>`${ye.__debugTypeToString()} -> ${Te().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` `).join(` `)} m2: ${this.mapper2.__debugToString().split(` `).join(` `)}`;default:return Se(this)}}}e.DebugTypeMapper=Kn;function Ji(U){return e.isDebugging?Object.setPrototypeOf(U,Kn.prototype):U}e.attachDebugPrototypeIfDebug=Ji;function Pr(U){return console.log(De(U))}e.printControlFlowGraph=Pr;function De(U){let ie=-1;function ye(w){return w.id||(w.id=ie,ie--),w.id}let Te;(w=>{w.lr="\u2500",w.ud="\u2502",w.dr="\u256D",w.dl="\u256E",w.ul="\u256F",w.ur="\u2570",w.udr="\u251C",w.udl="\u2524",w.dlr="\u252C",w.ulr="\u2534",w.udlr="\u256B"})(Te||(Te={}));let tt;(w=>{w[w.None=0]="None",w[w.Up=1]="Up",w[w.Down=2]="Down",w[w.Left=4]="Left",w[w.Right=8]="Right",w[w.UpDown=3]="UpDown",w[w.LeftRight=12]="LeftRight",w[w.UpLeft=5]="UpLeft",w[w.UpRight=9]="UpRight",w[w.DownLeft=6]="DownLeft",w[w.DownRight=10]="DownRight",w[w.UpDownLeft=7]="UpDownLeft",w[w.UpDownRight=11]="UpDownRight",w[w.UpLeftRight=13]="UpLeftRight",w[w.DownLeftRight=14]="DownLeftRight",w[w.UpDownLeftRight=15]="UpDownLeftRight",w[w.NoChildren=16]="NoChildren"})(tt||(tt={}));let $e=2032,Ut=882,St=Object.create(null),Jt=[],Rt=[],z=Zn(U,new Set);for(let w of Jt)w.text=oa(w.flowNode,w.circular),er(w);let K=Ri(z),te=aa(K);return $r(z,0),jt();function Ee(w){return!!(w.flags&128)}function je(w){return!!(w.flags&12)&&!!w.antecedents}function pt(w){return!!(w.flags&$e)}function nt(w){return!!(w.flags&Ut)}function kt(w){let f=[];for(let X of w.edges)X.source===w&&f.push(X.target);return f}function qt(w){let f=[];for(let X of w.edges)X.target===w&&f.push(X.source);return f}function Zn(w,f){let X=ye(w),$=St[X];if($&&f.has(w))return $.circular=!0,$={id:-1,flowNode:w,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Jt.push($),$;if(f.add(w),!$)if(St[X]=$={id:X,flowNode:w,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Jt.push($),je(w))for(let O of w.antecedents)kn($,O,f);else pt(w)&&kn($,w.antecedent,f);return f.delete(w),$}function kn(w,f,X){let $=Zn(f,X),O={source:w,target:$};Rt.push(O),w.edges.push(O),$.edges.push(O)}function er(w){if(w.level!==-1)return w.level;let f=0;for(let X of qt(w))f=Math.max(f,er(X)+1);return w.level=f}function Ri(w){let f=0;for(let X of kt(w))f=Math.max(f,Ri(X));return f+1}function aa(w){let f=R(Array(w),0);for(let X of Jt)f[X.level]=Math.max(f[X.level],X.text.length);return f}function $r(w,f){if(w.lane===-1){w.lane=f,w.endLane=f;let X=kt(w);for(let $=0;$<X.length;$++){$>0&&f++;let O=X[$];$r(O,f),O.endLane>w.endLane&&(f=O.endLane)}w.endLane=f}}function Dn(w){if(w&2)return"Start";if(w&4)return"Branch";if(w&8)return"Loop";if(w&16)return"Assignment";if(w&32)return"True";if(w&64)return"False";if(w&128)return"SwitchClause";if(w&256)return"ArrayMutation";if(w&512)return"Call";if(w&1024)return"ReduceLabel";if(w&1)return"Unreachable";throw new Error}function Ne(w){let f=oi(w);return Qo(f,w,!1)}function oa(w,f){let X=Dn(w.flags);if(f&&(X=`${X}#${ye(w)}`),nt(w))w.node&&(X+=` (${Ne(w.node)})`);else if(Ee(w)){let $=[];for(let O=w.clauseStart;O<w.clauseEnd;O++){let ue=w.switchStatement.caseBlock.clauses[O];f8(ue)?$.push("default"):$.push(Ne(ue.expression))}X+=` (${$.join(", ")})`}return f==="circularity"?`Circular(${X})`:X}function jt(){let w=te.length,f=Jt.reduce((be,ge)=>Math.max(be,ge.lane),0)+1,X=R(Array(f),""),$=te.map(()=>Array(f)),O=te.map(()=>R(Array(f),0));for(let be of Jt){$[be.level][be.lane]=be;let ge=kt(be);for(let xe=0;xe<ge.length;xe++){let Ye=ge[xe],Ge=8;Ye.lane===be.lane&&(Ge|=4),xe>0&&(Ge|=1),xe<ge.length-1&&(Ge|=2),O[be.level][Ye.lane]|=Ge}ge.length===0&&(O[be.level][be.lane]|=16);let Le=qt(be);for(let xe=0;xe<Le.length;xe++){let Ye=Le[xe],Ge=4;xe>0&&(Ge|=1),xe<Le.length-1&&(Ge|=2),O[be.level-1][Ye.lane]|=Ge}}for(let be=0;be<w;be++)for(let ge=0;ge<f;ge++){let Le=be>0?O[be-1][ge]:0,xe=ge>0?O[be][ge-1]:0,Ye=O[be][ge];Ye||(Le&8&&(Ye|=12),xe&2&&(Ye|=3),O[be][ge]=Ye)}for(let be=0;be<w;be++)for(let ge=0;ge<X.length;ge++){let Le=O[be][ge],xe=Le&4?"\u2500":" ",Ye=$[be][ge];Ye?(ue(ge,Ye.text),be<w-1&&(ue(ge," "),ue(ge,v(xe,te[be]-Ye.text.length)))):be<w-1&&ue(ge,v(xe,te[be]+1)),ue(ge,Fn(Le)),ue(ge,Le&8&&be<w-1&&!$[be+1][ge]?"\u2500":" ")}return` ${X.join(` `)} `;function ue(be,ge){X[be]+=ge}}function Fn(w){switch(w){case 3:return"\u2502";case 12:return"\u2500";case 5:return"\u256F";case 9:return"\u2570";case 6:return"\u256E";case 10:return"\u256D";case 7:return"\u2524";case 11:return"\u251C";case 13:return"\u2534";case 14:return"\u252C";case 15:return"\u256B"}return" "}function R(w,f){if(w.fill)w.fill(f);else for(let X=0;X<w.length;X++)w[X]=f;return w}function v(w,f){if(w.repeat)return f>0?w.repeat(f):"";let X="";for(;X.length<f;)X+=w;return X}}e.formatControlFlowGraph=De})(I||(I={}))}}),NE=()=>{},OE=()=>{},ME=()=>{},ga=Date.now,LE=()=>{},Zf=new Proxy(()=>{},{get:()=>Zf});function k6(e){if(bg){let t=uy.get(e)??0;uy.set(e,t+1),td.set(e,ga()),ed==null||ed.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function JE(e,t,n){if(bg){let a=(n!==void 0?td.get(n):void 0)??ga(),_=(t!==void 0?td.get(t):void 0)??Uv,p=py.get(e)||0;py.set(e,p+(a-_)),ed==null||ed.measure(e,t,n)}}var ed,RE,bg,Uv,td,uy,py,Pz=It({"src/compiler/performance.ts"(){"use strict";En(),RE={enter:gr,exit:gr},bg=!1,Uv=ga(),td=new Map,uy=new Map,py=new Map}}),qv=()=>{},jE=()=>{},ba;function FE(e,t=!0){let n=ud[e.category];return t?n.toLowerCase():n}var nd,rd,id,fy,ad,dy,my,Tl,hy,od,yy,gy,by,vy,Ty,Sy,xy,wy,Ey,Cy,Ay,ky,Dy,Py,Iy,sd,Ny,Oy,My,Ly,_d,cd,Jy,Ry,jy,Fy,By,Uy,ld,qy,zy,Wy,Vy,Hy,Gy,ud,Xy,$y,Qy,Yy,Ky,Zy,e0,t0,n0,pd,r0,i0,a0,o0,s0,fd,dd,md,_0,c0,l0,u0,p0,f0,d0,m0,Wd,h0,zv=It({"src/compiler/types.ts"(){"use strict";nd=(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.UnparsedPrologue=307]="UnparsedPrologue",e[e.UnparsedPrepend=308]="UnparsedPrepend",e[e.UnparsedText=309]="UnparsedText",e[e.UnparsedInternalText=310]="UnparsedInternalText",e[e.UnparsedSyntheticReference=311]="UnparsedSyntheticReference",e[e.SourceFile=312]="SourceFile",e[e.Bundle=313]="Bundle",e[e.UnparsedSource=314]="UnparsedSource",e[e.InputFiles=315]="InputFiles",e[e.JSDocTypeExpression=316]="JSDocTypeExpression",e[e.JSDocNameReference=317]="JSDocNameReference",e[e.JSDocMemberName=318]="JSDocMemberName",e[e.JSDocAllType=319]="JSDocAllType",e[e.JSDocUnknownType=320]="JSDocUnknownType",e[e.JSDocNullableType=321]="JSDocNullableType",e[e.JSDocNonNullableType=322]="JSDocNonNullableType",e[e.JSDocOptionalType=323]="JSDocOptionalType",e[e.JSDocFunctionType=324]="JSDocFunctionType",e[e.JSDocVariadicType=325]="JSDocVariadicType",e[e.JSDocNamepathType=326]="JSDocNamepathType",e[e.JSDoc=327]="JSDoc",e[e.JSDocComment=327]="JSDocComment",e[e.JSDocText=328]="JSDocText",e[e.JSDocTypeLiteral=329]="JSDocTypeLiteral",e[e.JSDocSignature=330]="JSDocSignature",e[e.JSDocLink=331]="JSDocLink",e[e.JSDocLinkCode=332]="JSDocLinkCode",e[e.JSDocLinkPlain=333]="JSDocLinkPlain",e[e.JSDocTag=334]="JSDocTag",e[e.JSDocAugmentsTag=335]="JSDocAugmentsTag",e[e.JSDocImplementsTag=336]="JSDocImplementsTag",e[e.JSDocAuthorTag=337]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=338]="JSDocDeprecatedTag",e[e.JSDocClassTag=339]="JSDocClassTag",e[e.JSDocPublicTag=340]="JSDocPublicTag",e[e.JSDocPrivateTag=341]="JSDocPrivateTag",e[e.JSDocProtectedTag=342]="JSDocProtectedTag",e[e.JSDocReadonlyTag=343]="JSDocReadonlyTag",e[e.JSDocOverrideTag=344]="JSDocOverrideTag",e[e.JSDocCallbackTag=345]="JSDocCallbackTag",e[e.JSDocOverloadTag=346]="JSDocOverloadTag",e[e.JSDocEnumTag=347]="JSDocEnumTag",e[e.JSDocParameterTag=348]="JSDocParameterTag",e[e.JSDocReturnTag=349]="JSDocReturnTag",e[e.JSDocThisTag=350]="JSDocThisTag",e[e.JSDocTypeTag=351]="JSDocTypeTag",e[e.JSDocTemplateTag=352]="JSDocTemplateTag",e[e.JSDocTypedefTag=353]="JSDocTypedefTag",e[e.JSDocSeeTag=354]="JSDocSeeTag",e[e.JSDocPropertyTag=355]="JSDocPropertyTag",e[e.JSDocThrowsTag=356]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=357]="JSDocSatisfiesTag",e[e.SyntaxList=358]="SyntaxList",e[e.NotEmittedStatement=359]="NotEmittedStatement",e[e.PartiallyEmittedExpression=360]="PartiallyEmittedExpression",e[e.CommaListExpression=361]="CommaListExpression",e[e.SyntheticReferenceExpression=362]="SyntheticReferenceExpression",e[e.Count=363]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]=